Implement P0136R1, Rewording inheriting constructors.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
ef0f5d7c
JM
12016-11-01 Jason Merrill <jason@redhat.com>
2
3 * cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor.
4
aba19b62
MW
52016-10-31 Mark Wielaard <mjw@redhat.com>
6
7 * cplus-dem.c (ada_demangle): Initialize demangled to NULL and
8 XDELETEVEC demangled when unknown.
9
41f225de
NC
102016-10-17 Nick Clifton <nickc@redhat.com>
11
12 * Sync with gcc.
13
142016-09-19 Andrew Stubbs <ams@codesourcery.com>
15
16 * pex-win32.c (argv_to_cmdline): Quote zero-length parameters.
17 * testsuite/test-pexecute.c (main): Insert check for zero-length parameters.
18
192016-09-10 Mark Wielaard <mjw@redhat.com>
20
21 * cp-demangle.c (d_substitution): Change struct demangle_component
22 variable name from c to dc.
23
242016-08-12 Marek Polacek <polacek@redhat.com>
25
26 PR c/7652
27 * cp-demangle.c (d_print_mod): Add FALLTHRU.
28
292016-08-04 Marcel Böhme <boehme.marcel@gmail.com>
30
31 PR c++/71696
32 * cplus-dem.c: Prevent infinite recursion when there is a cycle
33 in the referencing of remembered mangled types.
34 (work_stuff): New stack to keep track of the remembered mangled
35 types that are currently being processed.
36 (push_processed_type): New method to push currently processed
37 remembered type onto the stack.
38 (pop_processed_type): New method to pop currently processed
39 remembered type from the stack.
40 (work_stuff_copy_to_from): Copy values of new variables.
41 (delete_non_B_K_work_stuff): Free stack memory.
42 (demangle_args): Push/Pop currently processed remembered type.
43 (do_type): Do not demangle a cyclic reference and push/pop
44 referenced remembered type.
45
fa3fcee7
NC
462016-07-29 Aldy Hernandez <aldyh@redhat.com>
47
48 * make-relative-prefix.c (make_relative_prefix_1): Fall back to
49 malloc if alloca argument is greater than MAX_ALLOCA_SIZE.
50
512016-07-15 Jason Merrill <jason@redhat.com>
52
53 * cp-demangle.c (cplus_demangle_operators): Add f[lrLR].
54 (d_expression_1): Handle them.
55 (d_maybe_print_fold_expression): New.
56 (d_print_comp_inner): Use it.
57 (d_index_template_argument): Handle negative index.
58
59 * cp-demangle.c (cplus_demangle_operators): Add sP and sZ.
60 (d_print_comp_inner): Handle them.
61 (d_template_args_1): Split out from d_template_args.
62 (d_args_length): New.
63
41f225de 642016-07-13 Marcel Böhme <boehme.marcel@gmail.com>
fa3fcee7
NC
65
66 PR c++/70926
67 * cplus-dem.c: Handle large values and overflow when demangling
68 length variables.
69 (demangle_template_value_parm): Read only until end of mangled string.
70 (do_hpacc_template_literal): Likewise.
71 (do_type): Handle overflow when demangling array indices.
72
732016-06-12 Brooks Moses <bmoses@google.com>
74
75 * cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length
76 VLAs.
77
c12969f8
AM
782016-05-31 Alan Modra <amodra@gmail.com>
79
80 * xmemdup.c (xmemdup): Use xmalloc rather than xcalloc.
81
fa3fcee7
NC
822016-05-19 Jakub Jelinek <jakub@redhat.com>
83
84 PR c++/70498
85 * cp-demangle.c (d_expression_1): Formatting fix.
86
872016-05-18 Artemiy Volkov <artemiyv@acm.org>
88
89 * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference
90 constant.
91 (demangle_template_value_parm): Handle tk_rvalue_reference
92 type kind.
93 (do_type): Support 'O' type id (rvalue references).
94
95 * testsuite/demangle-expected: Add tests.
96
972016-05-02 Marcel Böhme <boehme.marcel@gmail.com>
98
99 PR c++/70498
100 * cp-demangle.c: Parse numbers as integer instead of long to avoid
101 overflow after sanity checks. Include <limits.h> if available.
102 (INT_MAX): Define if necessary.
103 (d_make_template_param): Takes integer argument instead of long.
104 (d_make_function_param): Likewise.
105 (d_append_num): Likewise.
106 (d_identifier): Likewise.
107 (d_number): Parse as and return integer.
108 (d_compact_number): Handle overflow.
109 (d_source_name): Change variable type to integer for parsed number.
110 (d_java_resource): Likewise.
111 (d_special_name): Likewise.
112 (d_discriminator): Likewise.
113 (d_unnamed_type): Likewise.
114 * testsuite/demangle-expected: Add regression test cases.
115
1162016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
117
118 * configure: Remove SH5 support.
119
1202016-04-08 Marcel Böhme <boehme.marcel@gmail.com>
121
122 PR c++/69687
123 * cplus-dem.c: Include <limits.h> if available.
124 (INT_MAX): Define if necessary.
125 (remember_type, remember_Ktype, register_Btype, string_need):
126 Abort if we detect cases where we the size of the allocation would
127 overflow.
128
129 PR c++/70492
130 * cplus-dem.c (gnu_special): Handle case where consume_count returns
131 -1.
132
1332016-03-31 Mikhail Maltsev <maltsevm@gmail.com>
134 Marcel Bohme <boehme.marcel@gmail.com>
135
136 PR c++/67394
137 PR c++/70481
138 * cplus-dem.c (squangle_mop_up): Zero bsize/ksize after freeing
139 btypevec/ktypevec.
140 * testsuite/demangle-expected: Add coverage tests.
141
9d98de83
IB
1422016-01-27 Iain Buclaw <ibuclaw@gdcproject.org>
143
144 * d-demangle.c (dlang_call_convention): Handle extern Objective-C
145 function calling convention.
146 (dlang_call_convention_p): Likewise.
147 (dlang_type): Likewise.
148 * testsuite/d-demangle-expected: Add coverage tests.
149
1502016-01-27 Iain Buclaw <ibuclaw@gdcproject.org>
151
152 * d-demangle.c (dlang_function_args): Append ',' for variadic functions
153 only if parameters were seen before the elipsis symbol.
154 * testsuite/d-demangle-expected: Add coverage test for parameter-less
155 variadic functions.
156
1572016-01-27 Iain Buclaw <ibuclaw@gdcproject.org>
158
159 * d-demangle.c (dlang_type): Handle function types only in the context
160 of seeing a pointer type symbol.
161 * testsuite/d-demangle-expected: Update function pointer tests.
162
b36c1ccb
MF
1632016-01-05 Mike Frysinger <vapier@gentoo.org>
164
165 * argv.c (dupargv): Change arg to char * const *. Update comment.
166 (writeargv, countargv): Likewise.
167 * functions.texi (dupargv, writeargv, countargv): Likewise.
168
20321766
MF
1692016-01-05 Mike Frysinger <vapier@gentoo.org>
170
171 * argv.c (dupargv): Replace strlen/xmalloc/strcpy with xstrdup.
172
4bec0ef0
PP
1732015-12-28 Patrick Palka <ppalka@gcc.gnu.org>
174
175 * crc32.c: In the documentation, don't refer to GDB's
176 now-nonexistent crc32 implementation. In the table-generation
177 program embedded within the documentation, change the type of
178 the induction variables i and j from int to unsigned int, to
179 avoid undefined behavior.
180
13b356b2
NC
1812015-12-21 Nick Clifton <nickc@redhat.com>
182
183 PR 66827
184 * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left
185 shifting.
186
c4be2641
PA
1872015-11-27 Pedro Alves <palves@redhat.com>
188
189 PR other/61321
190 PR other/61233
c4be2641
PA
191 * cp-demangle.c (d_demangle_callback, d_make_comp): Handle
192 DEMANGLE_COMPONENT_CONVERSION.
193 (is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
194 instead of DEMANGLE_COMPONENT_CAST.
195 (d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION
196 component if handling a conversion.
197 (d_count_templates_scopes, d_print_comp_inner): Handle
198 DEMANGLE_COMPONENT_CONVERSION.
199 (d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead
200 of DEMANGLE_COMPONENT_CAST.
201 (d_print_cast): Rename as ...
202 (d_print_conversion): ... this. Adjust comments.
203 (d_print_cast): Rewrite - simply print the left subcomponent.
204 * cp-demint.c (cplus_demangle_fill_component): Handle
205 DEMANGLE_COMPONENT_CONVERSION.
206
207 * testsuite/demangle-expected: Add tests.
208
f3363926
MS
2092015-11-12 Mike Stump <mikestump@comcast.net>
210
211 * Makefile.in (etags tags TAGS): Use && instead of ;.
212
c20a0642
AM
2132015-11-09 Alan Modra <amodra@gmail.com>
214
215 * configure.ac: Check size of size_t.
216 * configure: Regenerate.
217 * config.in: Regenerate.
218
78d14d2b
AM
2192015-11-09 Alan Modra <amodra@gmail.com>
220
221 * obstack.c (_obstack_newchunk): Silence -Wc++compat warning.
222 (_obstack_begin_worker): Likewise. Move assignment to h->chunk
223 after alloc failure check.
224
e9f40d7d
AM
2252015-11-09 Alan Modra <amodra@gmail.com>
226
227 PR gdb/17133
228 * obstack.c (__alignof__): Expand alignof_type from alignof.h.
229 (obstack_exit_failure): Don't use exitfail.h.
230 (_): Include libintl.h when HAVE_LIBINTL_H and nls enabled.
231 Provide default. Don't include gettext.h.
232 (_Noreturn): Define.
233 * obstacks.texi: Adjust node references to external libc info files.
234
314dee8e
AM
2352015-11-09 Alan Modra <amodra@gmail.com>
236
237 PR gdb/17133
238 * obstack.c: Import current gnulib file.
239 * obstacks.texi: Updated doc, from glibc's manual/memory.texi.
240
82ef0f70
JB
2412015-11-06 Joel Brobecker <brobecker@adacore.com>
242
243 * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on
244 Android hosts.
245 * configure: Regenerate.
246
1e924157
JM
2472015-10-28 Jason Merrill <jason@redhat.com>
248
249 * Makefile.in (TAGS): Fix for separate build directory.
250
35a88fa5
IS
2512015-10-18 Roland McGrath <roland@gnu.org>
252 Iain Sandoe <iain@codesourcery.com>
253
254 PR other/63758
255 * pex-unix.c: Obtain the environment interface from settings in
256 environ.h rather than in-line code. Update copyright date.
257 * setenv.c: Likewise.
258 * xmalloc.c: Likewise.
259
e9a38816
JM
2602015-09-30 Jason Merrill <jason@redhat.com>
261
262 * cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe.
263 (cplus_demangle_type): Let d_cv_qualifiers handle it.
264 (d_dump, d_make_comp, has_return_type, d_encoding)
265 (d_count_templates_scopes, d_print_comp_inner)
266 (d_print_mod_list, d_print_mod, d_print_function_type)
267 (is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE.
268
68996839
NC
2692015-09-30 Nick Clifton <nickc@redhat.com>
270
271 Import the following patches from the GCC mainline:
272
273 2015-08-15 Ian Lance Taylor <iant@google.com>
274
275 * cp-demangle.c (d_abi_tags): Preserve di->last_name across any
276 ABI tags.
277
30379291
IB
2782015-08-11 Iain Buclaw <ibuclaw@gdcproject.org>
279
280 * d-demangle.c (dlang_parse_real): Remove call to strtod.
281 (strtod): Remove declaration.
282 * testsuite/d-demangle-expected: Update float and complex literal
283 tests to check correct hexadecimal demangling.
284
8a643cc3
L
2852015-07-14 H.J. Lu <hongjiu.lu@intel.com>
286
287 * configure: Regenerated.
288
d81bf7dd
MM
2892015-07-13 Mikhail Maltsev <maltsevm@gmail.com>
290
291 * cp-demangle.c (d_dump): Fix syntax error.
292 (d_identifier): Adjust type of len to match d_source_name.
293 (d_expression_1): Fix out-of-bounds access. Check code variable for
294 NULL before dereferencing it.
295 (d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER.
296 (d_print_comp_inner): Add NULL pointer check.
297 * cp-demangle.h (d_peek_next_char): Define as inline function when
298 CHECK_DEMANGLER is defined.
299 (d_advance): Likewise.
300 * testsuite/demangle-expected: Add new testcases.
301
6a8796db 3022015-07-09 Uros Bizjak <ubizjak@gmail.com>
aaae08a7 303
6a8796db
UB
304 * getruntime.c (RUSAGE_SELF): Define if not already defined.
305 (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
aaae08a7 306
f91ca6bc
IB
3072015-06-01 Jason Merrill <jason@redhat.com>
308
309 * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
310 extended qualifier.
311
3122015-05-22 Yunlian Jiang <yunlian@google.com>
313
314 * configure.ac: Add AC_GNU_SOURCE.
315 * Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
316 * configure, config.in: Rebuild.
317 * floatformat.c (_GNU_SOURCE): Don't define if already defined.
318
3192015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
320
321 * d-demangle.c (dlang_symbol_kinds): New enum.
322 (dlang_parse_symbol): Update signature. Handle an ambiguity between
323 pascal functions and template value arguments. Only check for a type
324 if parsing a function, or at the top level. Return failure if the
325 entire symbol was not successfully demangled.
326 (dlang_identifier): Update signature. Handle an ambiguity between two
327 adjacent digits in a mangled symbol string.
328 (dlang_type): Update call to dlang_parse_symbol.
329 (dlang_template_args): Likewise.
330 (dlang_parse_template): Likewise.
331 (dlang_demangle): Likewise.
332 * testsuite/d-demangle-expected: Fix bad tests found, and add problematic
333 examples to the unittests.
334
3352015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
336
337 * d-demangle.c (dlang_template_args): Skip over specialized template
338 parameters in mangled symbol.
339 * testsuite/d-demangle-expected: Add coverage and unittest for specialized
340 template parameters.
341
3422015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
343
344 * d-demangle.c (dlang_type): Handle cent and ucent types.
345 * testsuite/d-demangle-expected: Add coverage tests for cent and ucent.
346
3472015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
348
349 * d-demangle.c (dlang_attributes): Handle return attributes, ignoring
350 return parameters in the mangled string. Return NULL if have encountered
351 an unknown attribute.
352 (dlang_function_args): Handle return parameters in the mangled string.
353 * testsuite/d-demangle-expected: Add coverage tests for functions with
354 return parameters and return attributes.
355
3562015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
357
358 * d-demangle.c (dlang_identifier): Check encoded length of identifier
359 to verify strncmp matches entire string.
360 * testsuite/d-demangle-expected: Fix wrong test for postblit symbol.
361
3622015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
363
364 * d-demangle.c (dlang_type_modifiers): New function.
365 (dlang_type_modifier_p): New function.
366 (dlang_call_convention_p): Ignore any kind of type modifier.
367 (dlang_type): Handle and emit the type modifier after delegate types.
368 (dlang_parse_symbol): Handle and emit the type modifier after the symbol.
369 * testsuite/d-demangle-expected: Add coverage tests for all valid
370 usages of function symbols with type modifiers.
371
3722015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
373
374 * d-demangle.c (dlang_call_convention): Return NULL if have reached the
375 end of the symbol, but expected something to read.
376 (dlang_attributes): Likewise.
377 (dlang_function_type): Likewise.
378 (dlang_type): Likewise.
379 (dlang_identifier): Likewise.
380 (dlang_value): Likewise.
381
3822015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
383
384 * d-demangle.c (dlang_parse_string): Represent embedded whitespace or
385 non-printable characters as hex or escape sequences.
386 * testsuite/d-demangle-expected: Add test for templates with tabs and
387 newlines embedded into the signature.
388
519b5f61
JB
3892015-05-08 Joel Brobecker <brobecker@adacore.com>
390
391 * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
392 but not HAVE_SYS_TIME_H.
393
dfc0f57b
JB
3942015-04-22 Eli Zaretskii <eliz@gnu.org>
395
396 * setenv.c <environ>: Declare only if not a macro.
397
f91ca6bc
IB
3982015-04-14 Max Ostapenko <m.ostapenko@partner.samsung.com>
399
400 * testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.
401
4022015-04-10 Jakub Jelinek <jakub@redhat.com>
403 Iain Sandoe <iain@codesourcery.com>
404
405 PR target/65351
406 * configure: Regenerate.
407
4082015-04-07 Jakub Jelinek <jakub@redhat.com>
409 Iain Sandoe <iain@codesourcery.com>
410
411 PR target/65351
412 * configure: Regenerate.
413
1f99f6d0
JB
4142015-01-19 Eli Zaretskii <eliz@gnu.org>
415
416 * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
417 macros.
418
7c89917f
RE
4192014-12-24 Uros Bizjak <ubizjak@gmail.com>
420 Ben Elliston <bje@au.ibm.com>
421 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
422
423 * xasprintf.c: New file.
424 * Makefile.in (CFILES): Add xasprintf.c.
425 (REQUIRED_OFILES): Add xasprintf.$(objext).
426 (xasprintf.$(objext)): New target.
427 * functions.texi: Regenerate.
428
4292014-12-11 Uros Bizjak <ubizjak@gmail.com>
72f4393d
L
430 Ben Elliston <bje@au.ibm.com>
431 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
7c89917f
RE
432
433 * xvasprintf.c: New file.
434 * vprintf-support.h: Likewise.
435 * vprintf-support.c: Likewise.
436 * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c.
437 (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext).
438 (vprintf-support.$(objext), xvasprintf.$(objext)): New targets.
439 (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h.
440 * functions.texi: Regenerate.
441 * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size.
442
4432014-11-22 John David Anglin <danglin@gcc.gnu.org>
444
445 PR other/63694
446 * configure.ac: Check for strtol, strtoul, strtoll and strtoull
447 declarations.
448 * configure: Regenerated.
449
abdef8eb
JBG
4502014-11-12 Kirill Yukhin <kirill.yukhin@intel.com>
451
452 * testsuite/test-strtol.c (run_tests): Cast strtol return to
453 unsigned long.
454
4552014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
456 Manuel López-Ibáñez <manu@gcc.gnu.org>
457
458 PR driver/36312
459 * filename_cmp.c (canonical_filename_eq): New function to check if
460 file names are the same.
461 * functions.texi: Updated with documentation for new function.
462
4632014-11-11 David Malcolm <dmalcolm@redhat.com>
464
465 * ChangeLog.jit: New.
466
d3d7100a
RO
4672014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
468
469 * sigsetmask.c (_POSIX_SOURCE): Remove.
470
abdef8eb
JBG
4712014-10-28 Yury Gribov <y.gribov@samsung.com>
472
473 * strtoll.c: New file.
474 * strtoull.c: New file.
475 * configure.ac: Add long long checks. Add harness for strtoll and
476 strtoull. Check decls for strtol, strtoul, strtoll, strtoull.
477 * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
478 * config.in: Regenerate.
479 * configure: Regenerate.
480 * functions.texi: Regenerate.
481 * testsuite/Makefile.in (check-strtol): New rule.
482 (test-strtol): Likewise.
483 (mostlyclean): Clean up strtol test.
484 * testsuite/test-strtol.c: New test.
485
4862014-10-15 David Malcolm <dmalcolm@redhat.com>
487
488 * choose-temp.c (choose_tmpdir): Remove now-redundant local
489 copy of prototype.
490 * functions.texi: Regenerate.
491 * make-temp-file.c (choose_tmpdir): Convert return type from
492 char * to const char * - given that this returns a pointer to
493 a memoized allocation, the caller must not touch it.
494
4952014-10-14 Joel Brobecker <brobecker@adacore.com>
5af04e20
JB
496
497 * d-demangle.c: Replace strtold with strtod in global comment.
498 (strtold): Remove declaration.
499 (strtod): New declaration.
500 (dlang_parse_real): Declare value as double instead of long
501 double. Replace call to strtold by call to strtod.
502 Update format in call to snprintf.
503
b55f9678
IB
5042014-09-26 Jason Merrill <jason@redhat.com>
505
506 * cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
507
5082014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com>
509
510 * pex-common.h (struct pex_funcs): Add new parameter for open_write field.
511 * pex-unix.c (pex_unix_open_write): Add support for new parameter.
512 * pex-djgpp.c (pex_djgpp_open_write): Likewise.
513 * pex-win32.c (pex_win32_open_write): Likewise.
514 * pex-common.c (pex_run_in_environment): Likewise.
515
5162014-09-23 Iain Buclaw <ibuclaw@gdcproject.org>
517
518 * Makefile.in (CFILES): Add d-demangle.c.
519 (REQUIRED_OFILES): Add d-demangle.o.
520 * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
521 (cplus_demangle): Likewise.
522 * d-demangle.c: New file.
523 * testsuite/Makefile.in (really-check): Add check-d-demangle.
524 * testsuite/d-demangle-expected: New file.
525
5262014-09-19 Ian Lance Taylor <iant@google.com>
527
528 * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
529 handle objects with more than SHN_LORESERVE sections.
530 (simple_object_elf_write_shdr): Add sh_link parameter.
531 (simple_object_elf_write_to_file): Correctly handle objects with
532 more than SHN_LORESERVE sections.
533
5342014-08-29 Andrew Burgess <aburgess@broadcom.com>
535
536 * cp-demangle.c (d_dump): Only access field from s_fixed part of
537 the union for DEMANGLE_COMPONENT_FIXED_TYPE.
538 (d_count_templates_scopes): Likewise.
539
5402014-08-13 Gary Benson <gbenson@redhat.com>
541
542 * testsuite/demangler-fuzzer.c: New file.
543 * testsuite/Makefile.in (fuzz-demangler): New rule.
544 (demangler-fuzzer): Likewise.
545 (mostlyclean): Clean up demangler fuzzer.
546
173373c6
AB
5472014-06-11 Andrew Burgess <aburgess@broadcom.com>
548
549 * cplus-dem.c (do_type): Call string_delete even if the call to
550 demangle_template fails.
551
f69123aa
KT
5522014-06-01 Ray Donnelly <mingw.android@gmail.com>
553
554 * pex-win32.c (argv_to_cmdline): Don't quote
555 args unnecessarily
556
6143b823
PA
5572014-05-28 Pedro Alves <palves@redhat.com>
558
559 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
560 and DEMANGLE_COMPONENT_NUMBER.
561
6e933ccc
TS
5622014-05-22 Thomas Schwinge <thomas@codesourcery.com>
563
564 * testsuite/demangle-expected: Fix last commit.
565
0aaa9a3a
AB
5662014-05-14 Andrew Burgess <aburgess@broadcom.com>
567
568 * cplus-dmem.c (internal_cplus_demangle): Free any resources
569 allocated by possible previous call to gnu_special.
570 (squangle_mop_up): Reset pointers to NULL after calling free.
571 * testsuite/demangle-expected: New test case.
572
91662bad 5732014-05-08 Gary Benson <gbenson@redhat.com>
574
575 * cp-demangle.c (struct d_component_stack): New structure.
576 (struct d_print_info): New field component_stack.
577 (d_print_init): Initialize the above.
578 (d_print_comp_inner): Renamed from d_print_comp.
579 Do not restore template stack if it would cause a loop.
580 (d_print_comp): New function.
581 * testsuite/demangle-expected: New test cases.
582
3f48575a 5832014-04-17 Jakub Jelinek <jakub@redhat.com>
584
585 PR sanitizer/56781
586 * maint-tool: Also emit rule for noasan/ subdirectory.
587 * configure.ac (NOASANFLAG): Set and substitute.
588 * Makefile.in: Regenerated.
589 (NOASANFLAG): Set.
590 (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
591 subdir.
592 (stamp-noasandir): New goal.
593 * configure: Regenerated.
594
c3c3c691 5952014-04-01 Richard Biener <rguenther@suse.de>
596
597 * simple-object.c (simple_object_internal_write): Handle
598 EINTR and short writes.
599
81ad11e3 6002014-03-28 Richard Biener <rguenther@suse.de>
601
602 * simple-object.c (simple_object_internal_read): Handle
603 EINTR and short reads.
604
10fe779d 6052014-03-13 Uros Bizjak <ubizjak@gmail.com>
606
607 * regex.c (bzero) [!_LIBC]: Define without coma expression.
608 (regerror): Cast the call to memcpy to (void) to avoid unused
609 value warnings.
610
8458514f 6112014-01-28 Thomas Schwinge <thomas@codesourcery.com>
612
613 * cp-demangle.c (d_demangle_callback): Put an abort call in place,
614 to help the compiler.
615
281e9aa6 6162014-01-21 Tom Tromey <tromey@redhat.com>
617
618 * _doprint.c (checkit): Use stdarg, not VA_* macros.
619 * asprintf.c (asprintf): Use stdarg, not VA_* macros.
620 * concat.c (concat_length, concat_copy, concat_copy2, concat)
621 (reconcat): Use stdarg, not VA_* macros.
622 * snprintf.c (snprintf): Use stdarg, not VA_* macros.
623 * vasprintf.c (checkit): Use stdarg, not VA_* macros.
624 * vsnprintf.c (checkit): Use stdarg, not VA_* macros.
625
369be698
MF
6262014-01-06 Mike Frysinger <vapier@gentoo.org>
627
628 PR other/56780
629 * configure.ac: Delete target_header_dir assignment.
630 * configure: Regenerated.
631
fd259167
GB
6322014-01-06 Gary Benson <gbenson@redhat.com>
633
634 * cp-demangle.c (struct d_print_info): New fields
635 next_saved_scope, copy_templates, next_copy_template and
636 num_copy_templates.
637 (d_count_templates): New function.
638 (d_print_init): New parameter "dc".
639 Estimate numbers of templates and scopes required.
640 (d_print_free): Removed function.
641 (cplus_demangle_print_callback): Allocate stack for
642 templates and scopes. Removed call to d_print_free.
643 (d_copy_templates): Removed function.
644 (d_save_scope): New function.
645 (d_get_saved_scope): Likewise.
646 (d_print_comp): Replace state saving/restoring code with
647 calls to d_save_scope and d_get_saved_scope.
648
eafbc3bf
BM
6492013-12-23 Bill Maddox <maddox@google.com>
650
651 * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
652 Handle unified ctor/dtor.
653 (d_ctor_dtor_name): Handle unified ctor/dtor.
654
492e19d0 6552013-11-22 Cary Coutant <ccoutant@google.com>
72f4393d 656
492e19d0 657 PR other/59195
658 * cp-demangle.c (struct d_info_checkpoint): New struct.
659 (struct d_print_info): Add current_template field.
660 (d_operator_name): Set flag when processing a conversion
661 operator.
662 (cplus_demangle_type): When processing <template-args> for
663 a conversion operator, backtrack if necessary.
664 (d_expression_1): Renamed from d_expression.
665 (d_expression): New wrapper around d_expression_1.
666 (d_checkpoint): New function.
667 (d_backtrack): New function.
668 (d_print_init): Initialize current_template.
669 (d_print_comp): Set current_template.
670 (d_print_cast): Put current_template in scope for
671 printing conversion operator name.
672 (cplus_demangle_init_info): Initialize is_expression and
673 is_conversion.
674 * cp-demangle.h (struct d_info): Add is_expression and
675 is_conversion fields.
676 * testsuite/demangle-expected: New test cases.
677
f0c897ef 6782013-11-15 Andreas Schwab <schwab@linux-m68k.org>
679
680 * configure: Regenerate.
681
8467a2fd 6822013-11-12 Uros Bizjak <ubizjak@gmail.com>
683
684 * cp-demangle.c (d_copy_templates): Cast result of malloc
685 to (struct d_print_template *).
686 (d_print_comp): Cast result of realloc to (struct d_saved scope *).
687
689a1abf 6882013-10-29 Marc Glisse <marc.glisse@inria.fr>
689
690 PR tree-optimization/58689
691 * concat.c: Remove note about xmalloc.
692
eec65503 6932013-10-27 Gerald Pfeifer <gerald@pfeifer.com>
694
695 * testsuite/test-demangle.c: Include unistd.h.
8467a2fd 696
9548bbed 6972013-10-25 Gary Benson <gbenson@redhat.com>
698
699 * cp-demangle.c (struct d_saved_scope): New structure.
700 (struct d_print_info): New fields saved_scopes and
701 num_saved_scopes.
702 (d_print_init): Initialize the above.
703 (d_print_free): New function.
704 (cplus_demangle_print_callback): Call the above.
705 (d_copy_templates): New function.
706 (d_print_comp): New variables saved_templates and
707 need_template_restore.
8467a2fd 708 [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
709 Capture scope the first time the component is traversed, and use the
710 captured scope for subsequent traversals.
9548bbed 711 * testsuite/demangle-expected: Add regression test.
712
ae6da67e 7132013-10-23 Gerald Pfeifer <gerald@pfeifer.com>
714
715 * testsuite/test-expandargv.c: Include unistd.h.
716
26505cc0
DD
7172013-10-15 David Malcolm <dmalcolm@redhat.com>
718
719 * configure.ac: If --enable-host-shared, use -fPIC.
720 * configure: Regenerate.
721
7222013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com>
723
724 * cp-demangle.c (d_name): Demangle local-source-names.
725 * testsuite/demangle-expected: New test.
726
53f94b92
DD
7272013-09-10 Paolo Carlini <paolo.carlini@oracle.com>
728
729 PR bootstrap/58386
730 Revert:
731
732 2013-09-10 Gary Benson <gbenson@redhat.com>
733
734 * cp-demangle.c: Include hashtab.h.
735 (struct d_print_info): New field saved_scopes.
736 (d_print_init): Initialize the above.
737 (d_print_free): New function.
738 (cplus_demangle_print_callback): Call the above.
739 (struct d_saved_scope): New structure.
740 (d_store_scope): New function.
741 (d_free_scope) Likewise.
742 (d_restore_scope) Likewise.
743 (d_hash_saved_scope) Likewise.
744 (d_equal_saved_scope) Likewise.
745 (d_print_comp): New variable saved_scope.
746 [DEMANGLE_COMPONENT_REFERENCE,
747 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
748 time the component is traversed, and use the captured scope for
749 subsequent traversals.
46dd5233 750 * testsuite/demangle-expected: Add regression test.
53f94b92 751
eabdca0f
DD
7522013-09-10 Gary Benson <gbenson@redhat.com>
753
754 * cp-demangle.c: Include hashtab.h.
755 (struct d_print_info): New field saved_scopes.
756 (d_print_init): Initialize the above.
757 (d_print_free): New function.
758 (cplus_demangle_print_callback): Call the above.
759 (struct d_saved_scope): New structure.
760 (d_store_scope): New function.
761 (d_free_scope) Likewise.
762 (d_restore_scope) Likewise.
763 (d_hash_saved_scope) Likewise.
764 (d_equal_saved_scope) Likewise.
765 (d_print_comp): New variable saved_scope.
766 [DEMANGLE_COMPONENT_REFERENCE,
767 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
768 time the component is traversed, and use the captured scope for
769 subsequent traversals.
46dd5233 770 * testsuite/demangle-expected: Add regression test.
eabdca0f 771
21290977
DD
7722013-08-20 Alan Modra <amodra@gmail.com>
773
774 * floatformat.c (floatformat_ibm_long_double): Rename to..
775 (floatformat_ibm_long_double_big): ..this.
776 (floatformat_ibm_long_double_little): New.
777
bc771b3b
TG
7782013-07-09 Tristan Gingold <gingold@adacore.com>
779
780 * makefile.vms (OBJS): Add dwarfnames.obj
781
a4818a05
DD
7822013-05-31 Matt Burgess <matthew@linuxfromscratch.org>
783
784 PR other/56780
41f225de 785 * configure.ac: Move test for --enable-install-libiberty
a4818a05
DD
786 outside of the 'with_target_subdir' test so that it actually gets
787 run. Add output messages to show the test result.
41f225de
NC
788 * configure: Regenerate.
789 * Makefile.in (install_to_libdir): Place the
a4818a05
DD
790 installation of the libiberty library in the same guard as that
791 used for the headers to prevent it being installed unless
792 requested via --enable-install-libiberty.
793
3ecb7338
DD
7942013-05-06 David Edelsohn <dje.gcc@gmail.com>
795 Peter Bergner <bergner@vnet.ibm.com>
796 Segher Boessenkool <segher@kernel.crashing.org>
797 Jakub Jelinek <jakub@redhat.com>
798
799 * hashtab.c (hash_pointer): Remove conditional and avoid
800 unexecuted shift equal to wordsize.
801
a903d6ac 8022013-04-22 Andi Kleen <ak@linux.intel.com>
29f045bb
DD
803
804 * hashtab.c (hash_pointer): Move to end of file and reimplement.
805
3a4d2339
DD
8062013-04-03 Jason Merrill <jason@redhat.com>
807
dcd7e9d6
DD
808 * cp-demangle.c (cplus_demangle_type): Fix function quals.
809 (d_pointer_to_member_type): Simplify.
810
3a4d2339
DD
811 Demangle C++11 ref-qualifier.
812 * cp-demangle.c (d_ref_qualifier): New.
813 (d_nested_name, d_function_type): Use it.
814 (d_parmlist): Don't get confused by a ref-qualifier.
815 (cplus_demangle_type): Reorder ref-qualifier.
816 (d_pointer_to_member_type): Likewise.
817 (d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
818 DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
819 (d_make_comp, has_return_type, d_encoding): Likewise.
820 (d_print_comp, d_print_mod_list, d_print_mod): Likewise.
821 (d_print_function_type, is_ctor_or_dtor): Likewise.
822
3afd2652
DD
8232013-03-27 Kai Tietz <ktietz@redhat.com>
824
825 * configure: Regenerated.
826
eea30203 8272013-03-06 Tobias Burnus <burnus@net-b.de>
72edb7c2 828
eea30203
DD
829 * libiberty.texi: Update comment, remove lowersections.
830 * obstacks.texi: Regenerate.
831
8322013-03-05 Jakub Jelinek <jakub@redhat.com>
833
834 PR middle-end/56526
835 * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
836 wrapper_sect_offset to avoid a warning.
72edb7c2 837
2fd2526e
DD
8382013-03-01 Andreas Schwab <schwab@linux-m68k.org>
839
840 * obstacks.texi (Obstacks): Trim @node to only contain the
841 node name.
842 * libiberty.texi (Obstacks): Lower section.
843
a9c3ecea
DD
8442013-02-14 Jason Merrill <jason@redhat.com>
845
846 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
847 (d_print_comp): Likewise.
848
389d9b6c
DD
8492013-02-09 Jakub Jelinek <jakub@redhat.com>
850
851 PR other/56245
852 * regex.c (PTR_INT_TYPE): Define.
853 (EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.
854
fe4b0b46
KT
8552013-01-31 Kai Tietz <ktietz@redhat.com>
856
0f5f799a
DD
857 PR other/54620
858 * sha1.c (sha1_process_block): Handle case that size_t is
859 a wider-integer-scalar as a 32-bit unsigned integer.
860
861 PR other/53413
fe4b0b46
KT
862 * md5.c (md5_process_block): Handle case that size_t is
863 a wider-integer-scalar a 32-bit unsigned integer.
864
07a8e9f0
DD
8652013-01-04 Ian Lance Taylor <iant@google.com>
866
867 PR other/54800
868 * simple-object-mach-o.c (simple_object_mach_o_segment): Don't
869 bother to zero out a buffer we are about to set anyhow.
870
8712013-01-01 David Edelsohn <dje.gcc@gmail.com>
872
873 * simple-object-xcoff.c: New file.
874 * Makefile.in: Add it to build machinery.
875 * simple-object-common.h (simple_object_xcoff_functions): Declare.
876 * simple-object.c (format_functions): Add
877 simple_object_xcoff_functions.
878
1f3de044
DD
8792012-11-10 Jason Merrill <jason@redhat.com>
880
881 * cp-demangle.c (d_unqualified_name): Handle abi tags here.
882 (d_name): Not here.
883
8842012-11-09 Jason Merrill <jason@redhat.com>
885
886 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
887 (d_make_comp, d_find_pack, d_print_comp): Likewise.
888 (d_abi_tags): New.
889 (d_name): Call it.
890
995b61fe
DD
8912012-10-08 Jason Merrill <jason@redhat.com>
892
893 * cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
894 (d_make_comp, d_print_comp): Likewise.
895
8962012-09-18 Ian Lance Taylor <iant@google.com>
897
898 * strnlen.c: New file.
899 * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
900 present.
901 * Makefile.in: Rebuild dependencies.
902 (CFILES): Add strnlen.c.
903 (CONFIGURED_OFILES): Add ./strnlen.$(objext).
904 * configure, config.in, functions.texi: Rebuild.
905
906 * maint-tool: Accept .def files in the include directory.
907
9082012-09-18 Florian Weimer <fweimer@redhat.com>
909
910 PR other/54411
911 * objalloc.c (_objalloc_alloc): Add overflow check covering
912 alignment and CHUNK_HEADER_SIZE addition.
913
b9b64803
L
9142011-08-28 H.J. Lu <hongjiu.lu@intel.com>
915
916 * argv.c (dupargv): Replace malloc with xmalloc. Don't check
917 xmalloc return.
918 (buildargv): Likewise. Also replace strdup with xstrdup.
919 (expandargv): Don't check dupargv return.
920
bf8247ff
L
9212011-08-28 H.J. Lu <hongjiu.lu@intel.com>
922
923 PR binutils/14526
924 * argv.c (buildargv): Replace alloca with xmalloc/free.
925
e372c21c
AS
9262012-08-17 Andreas Schwab <schwab@linux-m68k.org>
927
928 * floatformat.c (floatformat_to_double): Correctly handle numbers
929 between 1 and 2. Simplify handling of denormal number.
930 (main): Test with 1.1.
931
902e4335
MF
9322012-07-31 Mike Frysinger <vapier@gentoo.org>
933
934 * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
935 to swap_bytes, and then call memcpy to move it to ctx->buffer.
936
9974286e
DD
9372012-07-26 Kazu Hirata <kazu@codesourcery.com>
938 Sandra Loosemore <sandra@codesourcery.com>
939
940 * pex-win32.c (pex_win32_exec_child): Only close original file
941 descriptors if child is launched successfully.
942
7c328963
DD
9432012-07-18 Jason Merrill <jason@redhat.com>
944
945 * cp-demangle.c (cplus_demangle_operators): Add *_cast.
946 (op_is_new_cast): New.
947 (d_expression, d_print_comp): Check it.
948
0429544a
DE
9492012-07-13 Doug Evans <dje@google.com>
950
951 * filename_cmp.c (filename_hash, filename_eq): New functions.
952
5afcec73
DD
9532012-06-29 Andreas Schwab <schwab@linux-m68k.org>
954
955 * copying-lib.texi (Library Copying): Don't use @heading inside
956 @enumerate.
957
67bf71fe
DD
9582012-05-22 Tom Tromey <tromey@redhat.com>
959
960 http://sourceware.org/bugzilla/show_bug.cgi?id=14065
961 * testsuite/demangle-expected: Add regression test.
962 * cp-demangle.c (d_find_pack): Return NULL for
963 DEMANGLE_COMPONENT_UNNAMED_TYPE.
964
fa66ec53
DD
9652012-04-27 Tom Tromey <tromey@redhat.com>
966
967 * dwarfnames.c: New file.
968 * Makefile.in (CFILES): Add dwarfnames.
969 (REQUIRED_OFILES): Add dwarfnames.
970 (./dwarfnames.$(objext)): New target.
971
b3641a6e
DD
9722012-04-04 Tristan Gingold <gingold@adacore.com>
973
974 * pex-unix.c (to_ptr32): Fix style.
975
24e829d0
DD
9762012-04-02 Tristan Gingold <gingold@adacore.com>
977
978 * stack-limit.c: Includes ansidecl.h.
979 (stack_limit_increase): Add ATTRIBUTE_UNUSED
980
9812012-03-20 Jason Merrill <jason@redhat.com>
982
983 * cp-demangle.c (cplus_demangle_type): Handle 'auto'.
984
4e3aa408
DD
9852012-03-07 Jason Merrill <jason@redhat.com>
986
987 * cp-demangle.c (cplus_demangle_operators): Add li.
988 (d_unqualified_name): Handle it specially.
989
1712e1d4
JJ
9902012-01-26 Jakub Jelinek <jakub@redhat.com>
991
992 * make-relative-prefix.c (make_relative_prefix_1): Avoid warning
993 about using preprocessor directives inside of macro arguments.
994
d12c31df
DD
9952012-01-22 Douglas B Rupp <rupp@gnat.com>
996
997 * configure: Regenerate.
998
fbfd63c0
DD
9992012-01-10 Jason Merrill <jason@redhat.com>
1000
1001 * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
1002 Omit a trailing space in the operator name.
1003
eb7b5ddb
DD
10042012-01-06 Jason Merrill <jason@redhat.com>
1005
1006 PR c++/6057
1007 PR c++/48051
1008 PR c++/50855
1009 PR c++/51322
1010 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
1011 DEMANGLE_COMPONENT_INITIALIZER_LIST.
1012 (d_make_comp): Likewise. Allow null right arg for
1013 DEMANGLE_COMPONENT_TRINARY_ARG2.
1014 (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
1015 (d_template_args, d_template_arg): Handle 'J' for argument packs.
1016 (d_exprlist): Add terminator parm.
1017 (d_expression, d_print_comp): Handle initializer lists, nullary
1018 expressions, prefix/suffix operators, and new.
1019 (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
1020 and DEMANGLE_COMPONENT_INITIALIZER_LIST.
1021 * testsuite/demangle-expected: Add tests.
1022
1023 * cp-demangle.c (cplus_demangle_type): decltype, pack expansion
1024 and vector are substitutable.
1025 (cplus_demangle_operators): Sort.
1026
10272012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1028
1029 * configure: Regenerate.
1030
dd28faae
DD
10312012-01-02 Jakub Jelinek <jakub@redhat.com>
1032
1033 * make-relative-prefix.c (make_relative_prefix_1): Avoid
1034 stack overflow if PATH contains just a single entry and
1035 HOST_EXECUTABLE_SUFFIX needs to be used.
1036
1037 PR driver/48306
1038 * make-relative-prefix.c: Include sys/stat.h.
1039 (make_relative_prefix_1): If access succeeds, check also stat
1040 if nstore is a regular file.
1041
604fcd65
AS
10422011-12-20 Andreas Schwab <schwab@linux-m68k.org>
1043
1044 * configure: Regenerate.
1045
3fee530e
DD
10462011-12-20 Tristan Gingold <gingold@adacore.com>
1047
1048 * aclocal.m4: Assume strncmp works in cross case.
1049 * configure: Regenerate
1050
a53e62cf
AS
10512011-12-19 Andreas Schwab <schwab@linux-m68k.org>
1052
1053 * configure: Regenerate.
1054
956a8f8b
DD
10552011-11-07 Richard Henderson <rth@redhat.com>
1056
1057 Merged from transactional-memory.
1058
1059 * cp-demangle.c (cplus_demangle_fill_ctor): Accept
1060 gnu_v3_object_ctor_group.
1061 (cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group.
1062 (d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group
1063 and gnu_v3_object_dtor_group.
1064 (d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE
1065 and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE.
1066 (d_make_comp, d_print_comp): Likewise.
1067 (d_special_name): Generate them.
1068
abc6552b
DD
10692011-11-04 Jason Merrill <jason@redhat.com>
1070
1071 PR c++/48370
1072 * cp-demangle.c (d_special_name, d_print_comp): Handle a
1073 discriminator number on DEMANGLE_COMPONENT_REFTEMP.
1074
cf185ad7
DD
10752011-11-02 Doug Evans <dje@google.com>
1076
1077 * Makefile.in (CFILES): Add timeval-utils.c.
1078 (REQUIRED_OFILES): Add timeval-utils.$(objext).
1079 (INSTALLED_HEADERS): Add timeval-utils.h.
1080 (timeval-utils.$(objext)): Add rule.
1081
eb2722c1
DD
10822011-10-28 Ian Lance Taylor <iant@google.com>
1083
1084 * setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
1085
85d7ed08
DD
10862011-10-26 Iain Sandoe <iains@gcc.gnu.org>
1087
1088 PR target/48108
1089 * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
1090 GNU_WRAPPER_NAMES): New macros.
1091 (simple_object_mach_o_segment): Handle wrapper scheme.
1092 (simple_object_mach_o_write_section_header): Allow the segment name
1093 to be supplied.
1094 (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure
1095 that the top-level segment name in the load command is empty.
1096 (simple_object_mach_o_write_to_file): Determine the number of
1097 sections during segment output, use that in writing the header.
1098
f9fb0b2d
DD
10992011-10-10 Ian Lance Taylor <iant@google.com>
1100
1101 PR c++/48665
1102 * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a
1103 function type, change them to apply to the "this" parameter.
1104 * testsuite/demangle-expected: Add test case.
1105
514c97d3
DD
11062011-09-28 Doug Evans <dje@google.com>
1107
1108 * timeval-utils.c: New file.
514c97d3
DD
1109
1110 * argv.c (countargv): New function.
1111
7955ede5
DD
11122011-09-23 Cary Coutant <ccoutant@google.com>
1113
1114 PR 40831
1115 * cp-demangle.c (d_make_comp): Add new component type.
1116 (cplus_demangle_mangled_name): Check for clone suffixes.
1117 (d_parmlist): Don't error out if we see '.'.
1118 (d_clone_suffix): New function.
1119 (d_print_comp): Print info for clone suffixes.
1120 * testsuite/demangle-expected: Add new testcases.
1121
634e4f4f 11222011-09-23 Ian Lance Taylor <iant@google.com>
139d7133 1123 Pierre Vittet <piervit@pvittet.com>
634e4f4f
DD
1124
1125 * md5.c (md5_process_bytes): Correct handling of unaligned
1126 buffer.
1127
601a99c6
DD
11282011-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1129
1130 * aclocal.m4: Include ../config/picflag.m4.
1131 * configure.ac (GCC_PICFLAG): Call it.
1132 (enable_shared): Clear PICFLAG unless shared.
1133 * configure: Regenerate.
1134
091c2a96
DD
11352011-08-12 Steve Ellcey <sje@cup.hp.com>
1136
1137 * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
1138
6b6bd65a
DD
11392011-08-06 Uros Bizjak <ubizjak@gmail.com>
1140
1141 * testsuite/test-expandargv.c (writeout_test): Check result of fwrite.
1142
11432011-08-01 Jason Merrill <jason@redhat.com>
1144
1145 PR c++/49932
1146 * cp-demangle.c (d_prefix): Handle decltype.
1147 * testsuite/demangle-expected: Test it.
1148
31ba042a
L
11492011-07-26 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * testsuite/demangle-expected: Remove an extra line.
1152
04aed652
DD
11532011-07-26 Ian Lance Taylor <iant@google.com>
1154
1155 * cp-demangle.c (d_print_init): Initialize pack_index field.
1156 (d_print_comp): Check for NULL template argument.
1157 * testsuite/demangle-expected: Add test case.
1158
17a16b0f
DD
11592011-07-22 Gerald Pfeifer <gerald@pfeifer.com>
1160
1161 PR target/49817
1162 * stack-limit.c: Include <stdint.h>.
1163
26ac1280
DD
11642011-07-22 Jakub Jelinek <jakub@redhat.com>
1165
1166 PR c++/49756
1167 * stack-limit.c: New file.
1168 * Makefile.in: Regenerate deps.
1169 (CFILES): Add stack-limit.c.
1170 (REQUIRED_OFILES): Add ./stack-limit.$(objext).
1171 * configure.ac (checkfuncs): Add getrlimit and setrlimit.
1172 (AC_CHECK_FUNCS): Likewise.
1173 * configure: Regenerated.
1174 * config.in: Regenerated.
1175
f2917a30
DD
11762011-07-04 Jason Merrill <jason@redhat.com>
1177
1178 * cp-demangle.c (d_expression): Handle 'this'.
1179 (d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
1180
7d6b320b
JB
11812011-07-01 Joel Brobecker <brobecker@adacore.com>
1182
1183 * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
1184 HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
1185
02e7efbf
JK
11862011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1187
1188 PR debug/49408
1189 * cp-demangle.c (d_print_comp): Suppress argument list for function
1190 references by the '&' unary operator. Keep also already processed
1191 variant without the argument list. Suppress argument list types for
1192 function call used in an expression.
1193 * testsuite/demangle-expected: Fix excessive argument list types in
1194 `test for typed function in decltype'. New testcase for no argument
1195 list types printed. 3 new testcases for function references by the
1196 '&' unary operator..
1197
b24539b3
DD
11982011-06-20 Jason Merrill <jason@redhat.com>
1199
1200 PR c++/37089
1201 * cp-demangle.c (d_print_comp): Handle reference smashing.
1202 * testsuite/demangle-expected: Test it.
1203
ddee5e46
DD
12042011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1205
1206 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
1207 Suppress d_print_mod for DMGL_RET_POSTFIX.
1208 * testsuite/demangle-expected: New testcases for --ret-postfix.
1209
12102011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1211
1212 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
1213 not pass DMGL_RET_POSTFIX or DMGL_RET_DROP. Support DMGL_RET_DROP.
1214 * testsuite/demangle-expected: New testcases for --ret-drop.
1215 * testsuite/test-demangle.c: Document --ret-drop in a comment.
1216 (main): New variable ret_drop, fill it, call cplus_demangle with it.
1217
12182011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1219
1220 * cp-demangle.c (struct d_print_info): Remove field options.
1221 (d_print_init): Remove parameter options.
1222 (cplus_demangle_print_callback): Update all the callers.
1223 (d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
1224 (d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
1225 Add parameter options, update all the callers.
1226
4ff224cb
DD
12272011-04-20 Jim Meyering <meyering@redhat.com>
1228
1229 * cp-demint.c (cplus_demangle_v3_components): Remove useless
1230 if-before-free.
1231 * cplus-dem.c (squangle_mop_up): Likewise.
1232 (delete_non_B_K_work_stuff): Likewise.
1233 * pex-common.c (pex_free): Likewise.
1234 * pex-msdos.c (pex_msdos_cleanup): Likewise.
1235 * pex-win32.c (mingw_rootify, msys_rootify): Likewise.
1236 (win32_spawn): Likewise.
1237 * regex.c (FREE_VAR, weak_alias): Likewise.
1238 * spaces.c (spaces): Likewise.
1239
a55c6f41
DD
12402011-04-10 Jim Meyering <meyering@redhat.com>
1241
1242 Avoid memory overrun in a test leading to potential double-free.
1243 * testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
1244 i.e., do copy the trailing NUL byte.
1245
083faca9
TG
12462011-03-31 Tristan Gingold <gingold@adacore.com>
1247
1248 * makefile.vms (OBJS): Add filename_cmp.obj
1249
007d6189
KT
12502011-02-28 Kai Tietz <kai.tietz@onevision.com>
1251
1252 * filename_cmp.c (filename_ncmp): New function.
1253 * functions.texi: Regenerated.
1254
d4d868a2
RW
12552011-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1256
1257 * splay-tree.c: Escape wrapping newlines in texinfo markup
1258 with '@', to fix function declaration output rendering.
1259 * gather-docs: Relax and improve macro name matching to actually
1260 match all current names and to allow input line wrapping.
1261 * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
1262 hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
1263 memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
1264 pexecute.txh, random.c, setenv.c, setproctitle.c,
1265 simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
1266 strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
1267 Wrap long texinfo input lines.
1268 * functions.texi: Regenerate.
1269
12702011-01-18 Mike Frysinger <vapier@gentoo.org>
1271
1272 * .gitignore: New file.
1273
98f0b5d4
DD
12742010-12-08 Doug Evans <dje@google.com>
1275
1276 * splay-tree.c (splay_tree_foreach_helper): Remove arg `sp',
1277 all callers updated. Rewrite to be non-recursive.
1278
531ff9fd
DD
12792010-11-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1280
1281 * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
1282
62b06a9e
DD
12832010-11-20 Anthony Green <green@moxielogic.com>
1284
1285 * configure.ac: Turn PR_SET_NAME link test into a test for
1286 sys/prctl.h.
1287 * configure, config.in: Rebuilt.
1288 * setproctitle.c: Test for HAVE_SYS_PRCTL_H.
1289 (setproctitle) Test for PR_SET_NAME definition.
1290
9b980aa1
RW
12912010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1292
1293 PR other/46202
1294 * Makefile.in (install-strip): New phony target.
1295 (install): Also mark as phony.
1296
f9e6589d
DD
12972010-11-16 Ian Lance Taylor <iant@google.com>
1298
1299 * simple-object.c (simple_object_attributes_merge): Rename from
1300 simple_object_attributes_compare. Call merge field.
1301 * simple-object-common.h (struct simple_object_functions): Rename
1302 attributes_compare field to attribute_merge.
1303 * simple-object-elf.c (EM_SPARC): Define.
1304 (EM_SPARC32PLUS): Define.
1305 (simple_object_elf_attributes_merge): Renamed from
1306 simple_object_elf_attributes_compare. Permit EM_SPARC and
1307 EM_SPARC32PLUS objects to be merged.
1308 (simple_object_elf_functions): Update function name.
1309 * simple-object-coff.c (simple_object_coff_attributes_merge):
1310 Rename from simple_object_coff_attributes_compare.
1311 (simple_object_coff_functions): Update function name.
1312 * simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
1313 Renamed from simple_object_mach_o_attributes_compare.
1314 (simple_object_mach_o_functions): Update function name.
1315
a0692e36
L
13162010-11-16 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 PR other/42670
1319 PR binutils/11137
1320 * cp-demangle.c (d_make_demangle_mangled_name): New.
1321 (d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
1322
1323 * testsuite/demangle-expected: Updated.
1324
28fadfc4
DD
13252010-11-14 Kai Tietz <kai.tietz@onevision.com>
1326
1327 * simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
1328 offset.
1329
361c3115
DD
13302010-11-12 Ian Lance Taylor <iant@google.com>
1331
1332 PR other/46332
1333 * cp-demangle.c (d_print_function_type): Don't print parentheses
1334 if there are no modifiers to print.
1335 * testsuite/demangle-expected: Tweak one test case, add another.
1336
9c55e064
RH
13372010-11-04 Richard Henderson <rth@redhat.com>
1338
1339 * configure.ac (AC_CHECK_HEADERS): Add process.h.
1340 (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
1341 (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
1342 * configure, config.in: Rebuild.
1343 * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
1344 [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
1345
ffa54e5c
DD
13462010-11-02 Ian Lance Taylor <iant@google.com>
1347 Dave Korn <dave.korn.cygwin@gmail.com>
1348 Iain Sandoe <iains@gcc.gnu.org>
1349
1350 * simple-object.c: New file.
1351 * simple-object-common.h: New file.
1352 * simple-object-elf.c: New file.
1353 * simple-object-mach-o.c: New file.
1354 * simple-object-coff.c: New file.
1355 * simple-object.txh: New file.
1356 * configure.ac: Add AC_TYPE_SSIZE_T.
1357 * Makefile.in: Rebuild dependencies.
1358 (CFILES): Add simple-object.c, simple-object-coff,
1359 simple-object-elf.c, and simple-object-mach-o.c.
1360 (REQUIRED_OFILES): Add corresponding object files.
1361 * configure: Rebuild.
1362 * config.in: Rebuild.
1363 * functions.texi: Rebuild.
1364
80347f88
DD
13652010-10-29 Ian Lance Taylor <iant@google.com>
1366
1367 * setproctitle.c: Add space after function name in @deftypefn
1368 comment.
1369 * functions.texi: Rebuild.
1370
85f1f7cf
DD
13712010-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1372
1373 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
1374 * configure: Regenerate.
1375
a903d6ac 13762010-10-07 Andi Kleen <ak@linux.intel.com>
94e48200
DD
1377
1378 * configure: Regenerate.
1379 * configure.ac: Turn PR_SET_NAME check into link check.
1380
a903d6ac 13812010-10-06 Andi Kleen <ak@linux.intel.com>
9711ae4d
DD
1382
1383 * Makefile.in (CFILES): Add setproctitle.
1384 (CONFIGURED_OFILES): Add setproctitle.
1385 (setproctitle): Add rule.
1386 * config.in: Regenerate.
1387 * configure: Regenerate.
1388 * configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
1389 * setproctitle.c: Add file.
1390 * functions.texi: Regenerate.
1391
6a44904e
DD
13922010-09-22 Tristan Gingold <gingold@adacore.com>
1393
1394 * cplus-dem.c (ada_demangle): Add comments.
1395 Handle stream and controlled type operations.
1396 Decoding of some uppercase letters moved before separators.
1397 * testsuite/demangle-expected: Add tests.
1398
57cf60a5
TT
13992010-09-10 James Lyon <jameslyon0@googlemail.com>
1400
1401 http://sourceware.org/bugzilla/show_bug.cgi?id=11572
1402 * cp-demangle.c (d_find_pack): Add case for
1403 DEMANGLE_COMPONENT_LAMBDA.
1404 * testsuite/demangle-expected: Add regression test.
1405
497462ef
DD
14062010-09-08 Tristan Gingold <gingold@adacore.com>
1407
1408 PR 44001
1409 * maint-tool (missing): Fix pattern for object file.
1410 (deps): Use $(objext) for object extension.
1411 * Makefile.in (objext): New variable.
1412 Replace all occurences of .o with .$(objext)
1413 Regenerate with maint-deps
1414 * configure.ac (pexecute): Set to the basename.
1415 * configure: Regenerate.
1416
23701f2e
DD
14172010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
1418
1419 * pex-common.c (pex_read_err): Set stderr_pipe to -1 if a
1420 corresponding stream has been opened.
1421 (pex_free): Close pipe file descriptors corresponding to child's
1422 stdout and stderr before waiting.
1423
9d8d6261
NC
14242010-08-13 Nick Clifton <nickc@redhat.com>
1425
1426 * argv.c (expandargv): Limit the number of times that response
1427 files are opened in order to prevent infinite recursion.
1428
ae30dc00
DD
14292010-07-21 Pascal Obry <obry@adacore.com>
1430
1431 * make-temp-file.c (choose_tmpdir): Append a dot to P_tmpdir if needed.
1432
f9e9243a
UW
14332010-07-06 Ken Werner <ken.werner@de.ibm.com>
1434
1435 * floatformat.c (floatformat_ieee_half_big): New variable.
1436 (floatformat_ieee_half_little): Likewise.
1437
6b13a44c
DD
14382010-06-14 Gerald Pfeifer <gerald@pfeifer.com>
1439
1440 * libiberty.texi: Remove reference to GCC 3 and 2001 (thrice).
1441 Update copyright years.
1442 Move to GFDL 1.3.
1443
3baae9d6
JJ
14442010-06-10 Jakub Jelinek <jakub@redhat.com>
1445
1446 PR other/43838
1447 * cp-demangle.c (struct d_print_info): Add flush_count field.
1448 (d_print_init): Initialize it to 0.
1449 (d_print_flush): Increment it.
1450 (d_print_comp): If needed flush before appending ", ". Only
1451 decrement dpi->len if no flushes happened during the recursive
1452 call.
1453 * testsuite/demangle-expected: Add a test for this.
1454
219a461e
DD
14552010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1456
1457 * splay-tree.c: Update copyright years.
1458 (splay_tree_new_typed_alloc): New.
1459 (splay_tree_new_with_allocator): Use it.
1460
1461 * hashtab.c: Update copyright years.
1462 (htab_create_typed_alloc): New.
1463 (htab_create_alloc): Use it.
1464
1465 * functions.texi: Regenerate.
1466
a2803021
DD
14672010-06-03 Joern Rennecke <joern.rennecke@embecosm.com>
1468 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1469
1470 PR bootstrap/42798
1471 * configure.ac: Check for declaration of 'basename(char *)'.
1472 * configure: Regenerate.
1473
14742010-05-26 Kai Tietz <kai.tietz@onevision.com>
0a5b531f
DD
1475
1476 * testsuite/demangle-expected: Add tests for __int128
1477 and unsigned __int128 types.
1478
cf383746
DD
14792010-05-06 Magnus Fromreide <magfr@lysator.liu.se>
1480 Jason Merrill <jason@redhat.com>
1481
1482 * cp-demangle.c (cplus_demangle_builtin_types): Add nullptr.
1483 (cplus_demangle_type): Handle nullptr.
1484 * testsuite/demangle-expected: Test it.
1485
2cd2156f
DD
14862010-04-23 Pedro Alves <pedro@codesourcery.com>
1487
1488 * lbasename.c (lbasename): Split into ...
1489 (unix_lbasename, dos_basename): ... these.
1490 (lbasename): ... and reimplement on top of them.
1491 * Makefile.in (lbasename.o): Add dependency on
1492 $(INCDIR)/filenames.h.
1493
45ecb02a
DD
14942010-04-07 Jakub Jelinek <jakub@redhat.com>
1495
1496 * regex.c (byte_re_match_2_internal): Avoid set but not used
1497 warning.
1498
f9b58c5b
DD
14992010-03-22 Jason Merrill <jason@redhat.com>
1500
1501 * cp-demangle.c (d_print_mod): Use () rather than [] for vectors.
1502
178bead7
DD
15032010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1504
1505 * Makefile.in (all): Do not use exec.
1506
fbe5da0e
DD
15072010-02-04 Tom Tromey <tromey@redhat.com>
1508
1509 * testsuite/demangle-expected: Add missing --format=gnu-v3.
1510
cbc43128
DD
15112010-02-03 Jason Merrill <jason@redhat.com>
1512
1513 * cp-demangle.c (d_expression): Handle dependent operator name.
1514
1515 PR c++/12909
1516 * cp-demangle.c (d_number_component, d_vector_type): New.
1517 (cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors.
1518
15192010-01-25 Ian Lance Taylor <iant@google.com>
1520
1521 * cp-demangle.c (cplus_demangle_type): Check for invalid type
1522 after "DF".
1523 * testsuite/demangle-expected: Add test.
1524
9ac9c2b6
DD
15252010-01-20 Jason Merrill <jason@redhat.com>
1526
1527 PR c++/42338
1528 * cp-demangle.c (d_print_comp): Fix array index printing.
1529
6d390a9e
DD
15302010-01-11 Tristan Gingold <gingold@adacore.com>
1531
1532 * cplus-dem.c (ada_demangle): Remove prototype.
1533 (grow_vect): Removed.
1534 (ada_demangle): Rewritten.
1535 (cplus_demangle): Fix indentation.
1536 * testsuite/demangle-expected: Add tests for Ada.
1537
ffe7cfdf
L
15382010-01-09 Ian Lance Taylor <iant@google.com>
1539
1540 PR other/42230
1541 * cp-demangle.c (d_demangle): Return dgs.alc on success.
1542
43e85a8f
DD
15432010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1544
1545 PR target/42316
1546 * configure.ac (PICFLAG): Use -fPIC on SH hosts.
1547 * configure: Regenerate.
1548
16b8170d
DE
15492009-12-07 Doug Evans <dje@google.com>
1550
1551 * pex-unix.c (pex_unix_exec_child): Save/restore environ.
1552
e96158fc
BE
15532009-11-26 Ben Elliston <bje@au.ibm.com>
1554
19afebda 1555 * configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order.
e96158fc
BE
1556 * configure: Regenerate.
1557
cf89a94a
BE
15582009-11-25 Ben Elliston <bje@au.ibm.com>
1559
1560 * functions.texi: Rebuild.
1561
23d03362
BE
15622009-11-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1563 Ben Elliston <bje@au.ibm.com>
1564
1565 * README: Mention changes to Makefile.in and functions.texi.
1566 * gather-docs: Mention 'make stamp-functions' in the header.
1567
c90188f6
BE
15682009-11-23 Ben Elliston <bje@au.ibm.com>
1569 Ian Lance Taylor <iant@google.com>
1570
1571 * pex-unix.c (pex_child_error): Improve warning avoidance by
1572 checking the results of write(3) and exiting with -2 if any write
1573 returns a negative value.
1574
ca938790
DD
15752009-11-22 Steve Ward <planet36@gmail.com>
1576
1577 * dyn-string.c (dyn_string_append_char): Fix typo in comment.
1578
17f99e29
BE
15792009-11-20 Ben Elliston <bje@au.ibm.com>
1580
1581 * pex-unix.c (pex_child_error): Define writeerr macro to avoid
1582 unused result warnings from write(3) calls. Undefine writeerr
1583 after all uses.
1584
79e31468
DD
15852009-10-08 Daniel Gutson <dgutson@codesourcery.com>
1586 Daniel Jacobowitz <dan@codesourcery.com>
1587 Pedro Alves <pedro@codesourcery.com>
1588
79e31468
DD
1589 * argv.c (consume_whitespace): New function.
1590 (only_whitespace): New function.
1591 (buildargv): Always use ISSPACE by calling consume_whitespace.
1592 (expandargv): Skip empty files. Do not stop at the first empty
1593 argument (calling only_whitespace)..
1594 * testsuite/test-expandargv.c: (test_data): Test empty lines
1595 and empty arguments.
1596 (run_tests): Fix false positives due to shorter arguments.
1597
664aa91f
DD
15982009-09-30 Martin Thuresson <martint@google.com>
1599
1600 * regex.c (byte_re_match_2_internal): Split declaration and
1601 assignment to avoid -Wc++-compat warning due to goto.
1602
16032009-09-29 Jason Merrill <jason@redhat.com>
1604
1605 * Makefile.in: Enable demangle target.
1606 * cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New.
1607 (d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas.
1608 (d_parmlist): Factor out from d_bare_function_type.
1609 (d_compact_number): Factor out from d_template_param and d_expression.
1610 (d_append_num): Factor out from d_print_comp.
1611 (d_print_comp, d_print_mod_list): Handle lambdas.
1612 * testsuite/demangle-expected: Add lambda tests.
1613
572771db
DD
16142009-09-23 Matthew Gingell <gingell@adacore.com>
1615
1616 * cplus-dem.c (ada_demangle): Ensure demangled is freed.
1617
074d710d
KT
16182009-09-22 Ozkan Sezer <sezeroz@gmail.com>
1619
1620 * choose-temp.c: Include unistd.h for mingw targets.
1621
a17fcd19
DD
16222009-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1623
1624 * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
1625
bc426d7a
DD
16262009-09-15 Tristan Gingold <gingold@adacore.com>
1627
1628 * config.h-vms (intptr_t): Define to compile hashtab.c
1629
b4a451f5
L
16302009-09-04 Ozkan Sezer <sezeroz@gmail.com>
1631
1632 PR target/39065
1633 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
1634 with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
1635 * config.in: Regenerated.
1636 * configure: Regenerated.
1637
fca6a796
L
16382009-09-03 Ozkan Sezer <sezeroz@gmail.com>
1639
1640 PR target/39065
1641 * configure.ac: Also check for intptr_t.
1642 * config.h.in: Regenerated.
1643 * configure: Regenerated.
1644 * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
1645 instead of of long.
1646
fce11aaa
TG
16472009-09-02 Tristan Gingold <gingold@adacore.com>
1648
1649 * vmsbuild.com: Removed as unused and superceeded by makefile.vms.
1650 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
1651 dependencies. Remove unused FORMAT variable.
1652 * configure.com: New file to create build.com DCL script for
1653 Itanium VMS or Alpha VMS.
1654
d444d2ba
RW
16552009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1656
1657 * configure.ac (AC_PREREQ): Bump to 2.64.
1658
7a0801a9
L
16592009-08-23 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 PR ld/10536
1662 * Makefile.in (install-html-recursive): Removed.
1663
75086676
DD
16642009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1665
1666 * config.in: Regenerate.
1667 * configure: Regenerate.
1668
626aaf89
DD
16692009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1670
1671 * Makefile.in (AUTOCONF, configure_deps): New variables.
1672 ($(srcdir)/configure): New rule, active only in maintainer mode.
1673
b0832eea
DD
16742009-07-29 Douglas B Rupp <rupp@gnat.com>
1675
1676 * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
1677
9fef968a
DD
16782009-07-27 Douglas B Rupp <rupp@gnat.com>
1679
1680 * pex-unix.c (vfork): Remove VMS specific definition (get from header
1681 file instead).
1682 (to_ptr32): New function.
1683 (pex_unix_exec_child): Use it.
1684
bdc0e08d
DD
16852009-07-24 Ian Lance Taylor <iant@google.com>
1686
1687 PR bootstrap/40854
1688 * crc32.c (xcrc32): Rename from crc32.
1689
6e881691
DD
16902009-07-24 Ian Lance Taylor <iant@google.com>
1691
1692 * crc32.c: New file.
1693 * Makefile.in: Rebuild dependencies.
1694 (CFILES): Add crc32.c.
1695 (REQUIRED_OFILES): Add ./crc32.o.
1696 * functions.texi: Rebuild.
1697
d5031754
DD
16982009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1699
1700 * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
1701 (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
1702 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
1703 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
1704 (d_demangle_callback): The variable type is now declared as enum.
1705 Replace parser of _GLOBAL_ symbols by a d_make_comp call.
1706
483d7cf4
DD
17072009-06-21 Jakub Jelinek <jakub@redhat.com>
1708
1709 * hashtab.c (htab_traverse): Don't call htab_expand for
1710 nearly empty hashtabs with sizes 7, 13 or 31.
1711
5d7aee10
NC
17122009-06-16 Nick Clifton <nickc@redhat.com>
1713
1714 PR 10197
1715 * testsuite/test-demangle.c: Rename getline to get_line to avoid
1716 conflicts with system function of the same name.
1717
8893fa20
DD
17182009-05-30 Eli Zaretskii <eliz@gnu.org>
1719
1720 * snprintf.c: Doc fix.
1721
1722 * vsnprintf.c: Doc fix.
1723
b69c3c55
KT
17242009-05-29 Kai Tietz <kai.tietz@onevision.com>
1725
6b6bd65a 1726 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
b69c3c55 1727
0dc69033
DD
17282009-05-29 Michael Matz <matz@suse.de>
1729
1730 * fibheap.c (fibheap_replace_key_data): Make sure we don't early
1731 out when forcing the minimum.
1732 (fibheap_delete_node): Assert that we managed to force the minimum.
1733
56ae5eb9
TG
17342009-05-25 Tristan Gingold <gingold@adacore.com>
1735
1736 * config.h-vms: Rewritten. Define configure macros.
1737 Use DEC-C builtin alloca.
1738
1739 * makefile.vms (OBJS): Update list.
1740 (OPT): New variable.
1741 (CFLAGS): Update compilation flags.
1742 (libiberty.olb): Do not depend on alloca-conf.h anymore.
1743
4e55d6c3
DD
17442009-05-19 Ian Lance Taylor <iant@google.com>
1745 Ben Elliston <bje@au.ibm.com>
1746
1747 * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
1748 (cplus_demangle_fill_dtor): Likewise.
1749
ed20019d
JB
17502009-05-17 Julian Brown <julian@codesourcery.com>
1751
1752 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
1753 standard handles (stdin, stdout, stderr) in parent.
1754
59cdf842
JB
17552009-04-29 Julian Brown <julian@codesourcery.com>
1756
6b6bd65a 1757 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
59cdf842 1758 (pex_win32_exec_child): Ensure each process has only one handle open
3ea74505
DD
1759 on pipe endpoints. Close standard input after creating child for
1760 symmetry with standard output/standard error.
59cdf842 1761
e1ad6b9a
DD
17622009-04-25 Eli Zaretskii <eliz@gnu.org>
1763
1764 * Makefile.in (needed-list): Target removed (not used in GCC
1765 3.0 and later). All references deleted.
1766 (mostlyclean): Remove references to needed.awk and needed2.awk.
1767
68724c3d
DD
17682009-04-14 Eli Zaretskii <eliz@gnu.org>
1769
1770 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
1771 existing and required library functions to with_target_subdir
1772 section, so that the native build does detect them at configure
1773 time.
1774 * configure: Regenerated.
6b6bd65a 1775
587c6b96
KT
17762009-04-13 Ozkan Sezer <sezeroz@gmail.com>
1777
6b6bd65a
DD
1778 PR target/39397
1779 * pex-common.h (struct pex_obj): Store pid values as pid_t,
1780 not as long (members *children and (*wait))
1781 * pex-common.c (pex_run_in_environment): Likewise.
1782 * pex-win32.c (pex_win32_wait): Return pid_t and properly check
1783 returned pid value.
1784 * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
1785 * pex-msdos.c (pex_msdos_wait): Likewise.
587c6b96 1786
3c72fdec
DD
17872009-04-07 Arnaud Patard <apatard@mandriva.com>
1788
41f225de
NC
1789 * configure.ac: Fix Linux/MIPS matching rule.
1790 * configure: Regenerate.
3c72fdec 1791
6e881691 17922009-03-27 Ian Lance Taylor <iant@google.com>
10e1b6bb
DD
1793
1794 * memmem.c: New file, from gnulib.
1795 * configure.ac: Add memmem to list of functions provided if they
1796 are not available on the host.
1797 * Makefile.in: Rebuild dependencies.
1798 (CFILES): Add memmem.c.
1799 (CONFIGURED_OFILES): Add memmem.o.
1800 * configure, config.in, functions.texi: Rebuild.
1801
e2e1864d
DD
18022009-03-23 Jason Merrill <jason@redhat.com>
1803
1804 * cp-demangle.c (d_expression): Handle pack expansion.
1805 (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
1806 (d_print_subexpr): Don't wrap function parms in ().
1807 (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
1808 not finding a pack.
1809
c743cf5d
DD
18102009-03-17 Jason Merrill <jason@redhat.com>
1811
1812 * cp-demangle.c (d_make_function_param): new fn.
1813 (cplus_demangle_mangled_name): Work around abi v2 bug.
1814 (d_expr_primary): Likewise.
1815 (cplus_demangle_operators): Add alignof ops.
1816 (d_expression): Handle function parameters and conversions
1817 with other than 1 operand.
1818 (d_print_comp): Handle function parameters. Fix bug with
1819 function used in type of function.
cbc43128 1820 * testsuite/demangle-expected: Update tests.
c743cf5d 1821
3ca747ab
DD
18222009-02-21 Mark Mitchell <mark@codesourcery.com>
1823
1824 * make-temp-file.c (<windows.h>): Include on Windows.
1825 (choose_tmpdir): On Windows, use GetTempPath.
1826
1b5bf944
DK
18272009-01-18 Dave Korn <dave.korn.cygwin@gmail.com>
1828
1829 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
1830 as it no longer shares libiberty object files.
1831 * configure: Regenerated.
1832
60cf58f5
DD
18332009-01-07 Jason Merrill <jason@redhat.com>
1834
1835 * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
1836
18372009-01-06 Ben Elliston <bje@au.ibm.com>
1838
1839 * cp-demangle.c (cplus_demangle_type): Return NULL if the
1840 character following a 'D' cannot be recognised.
1841
4e59450e
DD
18422008-12-18 Jason Merrill <jason@redhat.com>
1843
1844 PR c++/38561
1845 * cp-demangle.c (d_expression, d_print_comp): Revert
1846 cast changes.
1847
18482008-12-17 Jason Merrill <jason@redhat.com>
1849
1850 * cp-demangle.c (d_expression): Handle rvalue stubs too.
1851 [DEMANGLE_COMPONENT_CAST]: Update mangling.
1852 (d_print_comp): Avoid extra ", " with empty template argument packs.
1853 Remove handling for obsolete T() mangling.
1854
d2825c1a
DD
18552008-12-10 Jason Merrill <jason@redhat.com>
1856
1857 * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
1858 (d_print_comp, d_dump): Likewise.
1859
bb52de30
DJ
18602008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
1861
1862 * Makefile.in (CPPFLAGS): Define.
1863 (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
1864
eff85da5
DD
18652008-10-15 Paolo Bonzini <bonzini@gnu.org>
1866
1867 PR bootstrap/37137
1868 * Makefile.in (LIBCFLAGS): Remove.
1869 (FLAGS_TO_PASS): Don't mention it.
1870 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
1871
de8a05ff
DE
18722008-10-08 David Edelsohn <edelsohn@gnu.org>
1873
06d61999 1874 * xstrdup.c: Include <sys/types.h> after "config.h"
6b6bd65a 1875
899de170
L
18762008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1877
1878 * configure.ac: Call AC_SYS_LARGEFILE.
1879 * config.in: Regenerated.
1880 * configure: Likewise.
1881
1c08f2c8
DD
18822008-10-06 Jason Merrill <jason@redhat.com>
1883
1884 * cp-demangle.c (struct d_print_info): Add pack_index.
1885 (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
1886 (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and
1887 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
1888 (cplus_demangle_builtin_types): Add char16/32_t.
1889 (cplus_demangle_type): Recognize them.
1890 (d_template_args): Handle empty argument packs.
1891 (d_template_arg): Handle argument packs.
1892 (d_expression): Handle dependent name.
1893 (d_index_template_argument): New fn.
1894 (d_lookup_template_argument): New fn.
1895 (d_find_pack, d_pack_length): New fn.
1896 (d_print_subexpr): Split out...
1897 (d_print_comp): ...from here. Use d_*_template_argument.
1898 Handle empty arg lists. Support pack expansions.
1899 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
d053aef8 1900
ba8cb4ba
DD
19012008-09-09 Jason Merrill <jason@redhat.com>
1902
1903 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
1904 (d_make_comp): Likewise.
1905 (cplus_demangle_type): Handle decltype and DFP types.
1906 (cplus_demangle_operators): Call operator takes 2 args.
1907 (cplus_demangle_builtin_types): Add DFP types.
1908 (d_exprlist): New fn.
1909 (d_expression): Handle parm placeholders, T() and calls.
1910 (d_print_comp): Handle decltype, T() and calls.
1911 * testsuite/demangle-expected: Test the above.
1912
bd8aab1c
DD
19132008-08-07 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1914
1915 * pex-win32.c (argv_to_argc): New function.
1916 (spawn_script): Duplicate argv before calling win32_spawn.
1917
8975bb30
DD
19182008-07-31 Jakub Jelinek <jakub@redhat.com>
1919
1920 * mkstemps.c (mkstemps): Keep looping even for EISDIR.
1921
f562800d
DD
19222008-07-31 Denys Vlasenko <dvlasenk@redhat.com>
1923
1924 * mkstemps.c (mkstemps): If open failed with errno other than
1925 EEXIST, return immediately.
1926 * make-temp-file.c: Include errno.h.
1927 (make_temp_file): If mkstemps failed, print an error message
1928 before aborting.
1929
b7d9aef1
DD
19302008-07-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1931
1932 * maint-tool (deps): Output config.h instead of stamp-h.
1933 * Makefile.in: Rebuild deps.
1934 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
1935 Reverts 2007-07-11 change.
1936
2c197581
EB
19372008-06-19 Eric Blake <ebb9@byu.net>
1938
1939 Adjust strsignal to POSIX 200x prototype.
1940 * strsignal.c (strsignal): Remove const.
1941
c8536f38
DD
19422008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1943
1944 * configure: Regenerate.
1945
83ef53a9
DD
19462008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1947
1948 * libiberty.texi: Expand TABs, drop indentation outside examples.
1949 * obstacks.texi: Likewise.
1950
017c1138
DD
19512008-04-21 Aurelien Jarno <aurelien@aurel32.net>
1952
41f225de
NC
1953 * configure.ac: use -fPIC on Linux/MIPS hosts.
1954 * configure: Regenerate.
017c1138 1955
5ae54241
DD
19562008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
1957
1958 * testsuite/demangle-expected: Added tests for char16_t and char32_t.
1959
19602008-04-18 Paolo Bonzini <bonzini@gnu.org>
1961
1962 PR bootstrap/35457
1963 * aclocal.m4: Add override.m4.
1964 * configure: Regenerate.
1965
dddc49b7
DD
19662008-03-31 Ian Lance Taylor <iant@google.com>
1967
1968 * cp-demangle.c (d_substitution): Correct overflow check to avoid
1969 -fstrict-overflow optimizations.
1970
c779bab8
PB
19712008-03-27 Paolo Bonzini <bonzini@gnu.org>
1972
1973 * configure.ac (frags): Don't set, use frag instead.
1974 (PICFLAG): Set here and substitute.
1975 * Makefile.in (PICFLAG): Substitute from autoconf.
1976 * configure: Regenerate.
1977
b68965a0
DD
19782008-03-24 Ian Lance Taylor <iant@google.com>
1979
1980 * sha1.c: New file, from gnulib.
1981 * Makefile.in: Rebuild dependencies.
1982 (CFILES): Add sha1.c.
1983 (REQUIRED_OFILES): Add sha1.o.
1984
daddbc6e
DD
19852008-03-24 Doug Evans <dje@google.com>
1986
1987 * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
1988 return from strdup.
1989
6b357a9d
DD
19902008-03-12 Seongbae Park <seongbae.park@gmail.com>
1991
1992 * cplus-dem.c (malloc, realloc): Use void * instead of char *
1993 as return type.
1994
3f69c6bf
DD
19952008-03-11 Nick Clifton <nickc@redhat.com>
1996
1997 * md5.c (md5_process_bytes): Do not assume that memcpy will
1998 provide a return value.
1999
610f4894
BE
20002008-02-19 Ben Elliston <bje@au.ibm.com>
2001
2002 PR other/12618
2003 * testsuite/Makefile.in (mostlyclean): Remove any core file.
2004
830ef634
DD
20052008-01-26 David Daney <ddaney@avtrex.com>
2006
2007 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
2008 DEMANGLE_COMPONENT_COMPOUND_NAME, and
2009 DEMANGLE_COMPONENT_CHARACTER cases.
2010 (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
2011 DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
2012 (d_make_character): New function.
2013 (d_java_resource): Same.
2014 (d_special_name): Handle "Gr" case.
2015 (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
2016 DEMANGLE_COMPONENT_COMPOUND_NAME, and
2017 DEMANGLE_COMPONENT_CHARACTER cases.
2018 * testsuite/demangle-expected: Add test for java resource name
2019 mangling.
2020
b4b41ceb
BE
20212008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
2022
2023 * cplus-dem.c (demangle_function_name): Changed to return value
2024 indicating if a name was correctly demangled.
2025 (iterate_demangle_function): Use demangle_function_name return
2026 value.
2027
145f4ab5
DD
20282008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
2029
2030 PR other/33768
2031 * splay-tree.c (rotate_left): Fix minor typo in comment.
2032 (rotate_right): Likewise.
2033
38e654e2
DD
20342007-11-12 Joseph Myers <joseph@codesourcery.com>
2035
2036 * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
2037 compiler warnings.
2038 (floatformat_ibm_long_double): Use
2039 floatformat_ibm_long_double_is_valid.
2040
b14d30e1
JM
20412007-11-07 Joseph Myers <joseph@codesourcery.com>
2042 Daniel Jacobowitz <dan@codesourcery.com>
2043
2044 * floatformat.c (mant_bits_set): New.
2045 (floatformat_to_double): Use it. Note no special handling of
2046 split formats.
2047 (floatformat_from_double): Note no special handing of split
2048 formats.
2049 (floatformat_ibm_long_double_is_valid,
2050 floatformat_ibm_long_double): New.
2051 (floatformat_ieee_single_big, floatformat_ieee_single_little,
2052 floatformat_ieee_double_big, floatformat_ieee_double_little,
2053 floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
2054 floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
2055 floatformat_m68881_ext, floatformat_i960_ext,
2056 floatformat_m88110_ext, floatformat_m88110_harris_ext,
2057 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
2058 floatformat_ia64_spill_big, floatformat_ia64_spill_little,
2059 floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
2060 for addition of split_half field.
2061
3a0ab695
DD
20622007-09-06 Tom Tromey <tromey@redhat.com>
2063
2064 * pexecute.txh (pex_free): Document process killing.
2065
8969a67f 20662007-08-31 Douglas Gregor <doug.gregor@gmail.com>
2c197581 2067
8969a67f 2068 * cp-demangle.c (d_dump): Handle
2c197581 2069 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
8969a67f
DD
2070 (d_make_comp): Ditto.
2071 (cplus_demangle_type): Ditto.
2072 (d_print_comp): Ditto.
2073 (d_print_mod): Ditto.
2074 (d_print_function_type): Ditto.
2075
29d89e07
DD
20762007-08-24 Kai Tietz <kai.tietz@onevision.com>
2077
2078 * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
2079 * pex-djgpp.c: Likewise.
2080 * pex-msdos.c: Likewise.
2081 * pex-unix.c: Likewise.
2082 * pex-win32.c: Likewise.
2083
cefec409
DD
20842007-08-17 Michael Snyder <msnyder@access-company.com>
2085
2086 * make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
2087
9250f7f0
DD
20882007-08-03 Michael Snyder <msnyder@access-company.com>
2089
2090 * make-relative-prefix.c (make_relative_prefix_1): Fix resource
2091 leak.
2092
168b8298
MS
20932007-07-31 Michael Snyder <msnyder@access-company.com>
2094
2095 * cp-demangle.c (d_print_comp): Guard against null.
2096
642c7534
BE
20972007-07-25 Ben Elliston <bje@au.ibm.com>
2098
2099 * Makefile.in (CFILES): Remove ternary.c.
2100 (REQUIRED_OFILES): Remove ./ternary.o.
2101 (INSTALLED_HEADERS): Remove ternary.h.
2102 (ternary.o): Remove.
2103 * ternary.c: Remove.
2104
acf3a813
DD
21052007-07-23 DJ Delorie <dj@redhat.com>
2106
2107 * argv.c (writeargv): Fix typo in inline documentation.
2108 * functions.texi: Regenerate.
2109
008d60eb
DD
21102007-07-17 DJ Delorie <dj@redhat.com>
2111
2112 * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
2113 gettimeofday entry.
2114 * configure: Likewise.
2115
a590e8e7
AO
21162007-07-11 Alexandre Oliva <aoliva@redhat.com>
2117
2118 * maint-tool (deps): Output stamp-h instead of config.h.
2119 * Makefile.in: Rebuild deps.
2120 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
2121
db42c6e8
DD
21222007-07-02 Simon Baldwin <simonb@google.com>
2123
2124 * argv.c (writeargv): Removed declaration of unused variable.
2125
1f616ca1
PB
21262007-06-14 Paolo Bonzini <bonzini@gnu.org>
2127
2128 * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
2129 * configure: Regenerate.
2130
a104c397
PB
21312007-06-14 Paolo Bonzini <bonzini@gnu.org>
2132
2133 * aclocal.m4: Include config/warnings.m4.
2134 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
2135 * configure: Regenerate.
2136
958afec3
GK
21372007-06-07 Geoffrey Keating <geoffk@apple.com>
2138
2139 * configure.ac: Non-default multilibs can be cross compilations.
2140 * configure: Regenerate
2141
0c18fee5
DD
21422007-05-07 Nathan Froyd <froydnj@codesourcery.com>
2143
2144 * argv.c (writeargv): New function.
2145
8bf955e1
GK
21462007-05-05 Geoffrey Keating <geoffk@apple.com>
2147
2148 * cp-demangle.c (d_name): Detect local-source-name.
2149 (d_prefix): Likewise.
2150 (d_unqualified_name): Implement local-source-name.
2151
73bdefcf
JB
21522007-05-03 Joel Brobecker <brobecker@adacore.com>
2153
2154 * filename_cmp.c: Replace include of ctype.h by include of
2155 safe-ctype.h.
2156 (filename_cmp): Use TOLOWER instead of tolower for conversions
2157 that are locale-independent.
2158 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
2159
41f225de 21602007-04-11 Thomas Neumann <tneumann@users.sourceforge.net>
8535fe17
DD
2161
2162 * argv.c: Use ANSI C declarations.
2163 * make-relative-prefix.c: Likewise.
2164
34d8f01b
JB
21652007-04-06 Joel Brobecker <brobecker@adacore.com>
2166
2167 * filename_cmp.c (filename_cmp): Improve documentation.
2168
2657faa6
AS
21692007-04-02 Andreas Schwab <schwab@suse.de>
2170
2171 * filename_cmp.c: Include "config.h".
2172
9c577e89
DD
21732007-03-29 Joel Brobecker <brobecker@adacore.com>
2174
2175 * filename_cmp.c: New file.
2176 * Makefile.in (CFILES): Add filename_cmp.c.
2177 (REQUIRED_OFILES): Add filename_cmp.o
2178 (filename_cmp.o): New rule.
2179 * functions.texi: Regenerate.
2180
8d301070
GK
21812007-03-15 Geoffrey Keating <geoffk@apple.com>
2182
2183 * cp-demangle.c (d_encoding): Exit early on error.
2184 (d_pointer_to_member_type): Exit early if cplus_demangle_type
2185 returns NULL.
2186 (cplus_demangle_type): Likewise.
2187 * testsuite/demangle-expected: New testcase.
2188
d7831e7c
DD
21892007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
2190
2191 * Makefile.in: Add install-pdf target as copied from
2192 automake v1.10 rules.
2193 * testsuite/Makefile.in: Add dummy install-pdf target.
2194
563d09a5 21952007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de>
2c197581 2196 Eric Botcazou <ebotcazou@libertysurf.fr>
563d09a5
EB
2197
2198 PR other/16513
2199 * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
2200 Install headers in multilib independent location.
2201
1f92e180
DD
22022007-02-26 DJ Delorie <dj@redhat.com>
2203
2204 * configure.ac: add djgpp-specific results, so we don't have to
2205 link during a cross compilation.
2206 * configure: Regenerated.
2c197581 2207
6dd7f013
DD
22082007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2209
2210 * hex.c: Fix typo.
2211 * choose-temp.c: Likewise.
2212 * functions.texi: Regenerate.
2213
53d7966f
VP
22142007-01-31 Vladimir Prus <vladimir@codesourcery.com>
2215
2216 * pex-common.h (struct pex_obj): New fields
2c197581 2217 stderr_pipe and read_err.
53d7966f
VP
2218 * pex-common.c (pex_init_common): Initialize
2219 stderr_pipe.
2220 (pex_run_in_environment): Add error checking
2221 for PEX_STDERR_TO_PIPE. Create a pipe
2222 for stderr if necessary.
2223 (pex_read_err): New.
2224 (pex_free): Close read_err.
2225 * pexecute.txh: Document changes.
2226 * functions.texi: Regenerated.
2227
71f2e6f4
BE
22282007-01-31 Ben Elliston <bje@au.ibm.com>
2229
2230 * strsignal.c (psignal): Change type of signo to int.
2231 * functions.texi: Regenerate.
2232
208c1674
DD
22332007-01-29 Simon Baldwin <simonb@google.com>
2234
2235 * cp-demangle.h (cplus_demangle_operators): External definition
2236 suppressed if not building for libstdc++.
2237 * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
2238 to demangling, provides a malloc-less version of __cxa_demangle.
2239 (cplus_demangle_print_callback): Public callback version of
2240 cplus_demangle_print.
2241 (struct d_growable_string): New growable string structure.
2242 (d_growable_string_init): New function, provides support for
2243 growable strings separate from print info.
2244 (d_growable_string_resize): Likewise.
2245 (d_growable_string_append_buffer): Likewise.
2246 (d_growable_string_callback_adapter):): Likewise.
2247 (d_print_init): New print info initialization function.
2248 (d_print_error): Macro replace by inline function.
2249 (d_print_saw_error): Likewise.
2250 (d_append_char): Likewise.
2251 (d_append_buffer): Likewise.
2252 (d_append_string): New inline function, replaces the
2253 d_append_string_constant macro.
2254 (d_flush_buffer): New function, flushes buffer to callback.
2255 (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
2256 for unsupported dynamic arrays replaced by alloca().
2257 (d_demangle): Return string length estimating removed.
2258 (d_dump): Moved error case handling from call site into function.
2259 (d_print_resize): Function removed.
2260 (d_print_append_char): Likewise.
2261 (d_print_append_buffer): Likewise.
2262 (d_print_error): Likewise.
2263 (d_print_comp): Added special case handling for Java arrays.
2264 (java_demangle_v3): Removed string post-processing for Java arrays,
2265 now replaced by special case handling in d_print_comp.
2266 (cplus_demangle_v3_callback): Augmented interface to demangling,
2267 provides a malloc-less version of cplus_demangle_v3.
2268 (java_demangle_v3_callback): Augmented interface to demangling,
2269 provides a malloc-less version of java_demangle_v3.
2270
cc0732ba
BE
22712007-01-12 Ben Elliston <bje@au.ibm.com>
2272
0bbe7a79
BE
2273 * pex-unix.c (writeerr): Cast write result to void.
2274
cc0732ba
BE
2275 * choose-temp.c (choose_temp_base): Check the result of the call
2276 to mktemp rather than testing the length of the modified string.
2da20a1b 2277
6ef6358e
GK
22782006-12-20 Geoffrey Keating <geoffk@apple.com>
2279
2280 * cp-demangle.h: Add comment explaining what to do to avoid
2281 overrunning string.
2282 (d_check_char): New.
2283 (d_next_char): Don't advance past trailing '\0'.
2284 * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
2285 (d_nested_name): Likewise.
2286 (d_special_name): Likewise.
2287 (d_call_offset): Likewise.
2288 (d_function_type): Likewise.
2289 (d_array_type): Likewise.
2290 (d_pointer_to_member_type): Likewise.
2291 (d_template_param): Likewise.
2292 (d_template_args): Likewise.
2293 (d_template_arg): Likewise.
2294 (d_expr_primary): Likewise.
2295 (d_local_name): Likewise.
2296 (d_substitution): Likewise.
2297 (d_ctor_dtor_name): Use d_advance rather than d_next_char.
2298 * testsuite/test-demangle.c: Include sys/mman.h.
2299 (MAP_ANONYMOUS): Define.
2300 (protect_end): New.
2301 (main): Use protect_end.
2302 * testsuite/demangle-expected: Add testcases for overrunning
2303 the end of the string.
2304
d8f813d4 23052006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
2c197581 2306 J"orn Rennecke <joern.rennecke@st.com>
d8f813d4
JR
2307
2308 PR driver/29931
2309 * make-relative-prefix.c (make_relative_prefix_1): New function,
2310 broken out of make_relative_prefix. Make link resolution dependent
2311 on new parameter.
2312 (make_relative_prefix): Use make_relative_prefix_1.
2313 (make_relative_prefix_ignore_links): New function.
2314
fb347196
VP
23152006-11-08 Vladimir Prus <vladimir@codesourcery.com>
2316
2317 * pex-win32.c (no_suffixes): Remove.
2318 (std_suffixes): Add "" as first element.
2319 (find_executable): Remove detection of already-present
2320 extension. Try all suffixes in std_suffixes.
2c197581 2321
9e59254c
JB
23222006-11-07 Julian Brown <julian@codesourcery.com>
2323
2324 * floatformat.c (get_field): Fix segfault with little-endian word
2325 order on 64-bit hosts.
2326 (put_field): Likewise.
2327 (min): Move definition.
2328
3ac01eb2
DD
23292006-10-26 Danny Smith <dannysmith@users.sourceforge.net>
2330
2331 pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
2332 (find_executable): Likewise.
2333 (win32_spawn): Cast alloca return to (char**).
2334 Replace malloc with XNEWVEC.
2335 bcopy.c (bcopy): Add explict casts in assignments.
2336
78de3ccc
DD
23372006-10-25 Ben Elliston <bje@au.ibm.com>
2338
2339 * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
2c197581 2340
bff368bd
DD
23412006-10-10 Brooks Moses <bmoses@stanford.edu>
2342
2343 * Makefile.in: Added "pdf", "libiberty.pdf" target support.
2344 * testsuite/Makefile.in: Added empty "pdf" target.
2345
e63f184e
DD
23462006-09-22 Ian Lance Taylor <ian@airs.com>
2347
2348 PR other/29176
2349 * cp-demangle.c (d_substitution): Check for overflow when
2350 computing substitution index.
2351
069e4b19
CV
23522006-08-30 Corinna Vinschen <corinna@vinschen.de>
2353
2354 * configure.ac: Add case for Mingw as host.
2355 * configure: Regenerate.
2356
cb6c09ac
DD
23572006-08-27 Ian Lance Taylor <ian@airs.com>
2358
2359 PR driver/27622
2360 * pex-common.h (struct pex_funcs): Add toclose parameter to
2361 exec_child field.
2362 * pex-common.c (pex_run_in_environment): Pass toclose to
2363 exec_child.
2364 * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
2365 * pex-unix.c (pex_unix_exec_child): Likewise.
2366 * pex-msdos.c (pex_msdos_exec_child): Likewise.
2367 * pex-win32.c (pex_win32_exec_child): Likewise.
2368
2369 PR other/28797
2370 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
2371 for a qualified member which is not a function.
2372 * testsuite/demangle-expected: Add test case.
2373
a7d421b8
DD
23742006-07-27 Jan Hubicka <jh@suse.cz>
2375
2376 PR rtl-optimization/28071
2377 * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
2378 downsize the hashtable.
2379
6816f995
AO
23802006-07-04 Peter O'Gorman <peter@pogma.com>
2381
2382 * Makefile.in: chmod 644 before ranlib during install.
2383
7741be99
DD
23842006-06-02 Mark Shinwell <shinwell@codesourcery.com>
2385
2386 * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
2387 to environ.
2388
014a8caf
DD
23892006-06-01 Mark Shinwell <shinwell@codesourcery.com>
2390
2391 * pex-common.c: New function pex_run_in_environment.
2392 * pex-common.h: Add environment parameter to exec_child.
2393 * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
2394 * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
2395 (pex_djgpp_exec_child): Pass environment to child process.
2396 * pex-unix.c: Add environment parameter to pex_unix_exec_child.
2397 (pex_unix_exec_child): Pass environment to child process.
2398 * pex-win32.c: Add environment parameter to pex_win32_exec_child.
2399 New function env_compare for comparing VAR=VALUE pairs.
2400 (win32_spawn): Assemble environment block and pass to CreateProcess.
2401 (spawn_script): Pass environment through to win32_spawn.
2402 (pex_win32_exec_child): Pass environment through to spawn_script and
2403 win32_spawn.
2404 * functions.texi: Regenerate.
2405 * pexecute.txh: Document pex_run_in_environment.
2406
069c63e2
DD
24072006-05-28 Mark Shinwell <shinwell@codesourcery.com>
2408
2409 * mkstemps.c: Open temporary files in binary mode.
2410
f6b66e90
DD
24112006-05-12 Anton Blanchard <anton@samba.org>
2412
2413 * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
2414 hold "int%u_t".
2415
c77d28ac
JB
24162006-04-24 Julian Brown <julian@codesourcery.com>
2417
2418 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
2419
3db2e6dd
DD
24202006-03-29 Jim Blandy <jimb@codesourcery.com>
2421
b5d60b68 2422 * pex-common.c (pex_input_file, pex_input_pipe): New functions.
3db2e6dd
DD
2423 (pex_init_common): Initialize obj->input_file.
2424 (pex_run): Close any file opened by pex_input_file.
b5d60b68
DD
2425 * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
2426 * pex-common.h (struct pex_obj): New field input_file.
3db2e6dd 2427 (struct pex_funcs): New function ptr fdopenw.
b5d60b68
DD
2428 * pex-unix.c (pex_unix_fdopenw): New function.
2429 (funcs): List it as our fdopenw function.
2430 * pex-win32.c (pex_win32_fdopenw): New function.
2431 (funcs): List it as our fdopenw function.
2432 * pex-djgpp.c (funcs): Leave fdopenw null.
2433 * pex-msdos (funcs): Same.
2434 * functions.texi: Regenerated.
3db2e6dd
DD
2435
24362006-04-10 Jim Blandy <jimb@codesourcery.com>
2437
2438 * pex-common.c (temp_file): New function, containing guts of
2439 pex-style temporary file name generation.
2440 (pex_run): Use it.
2441
545c9aee
DD
24422006-04-06 Carlos O'Donell <carlos@codesourcery.com>
2443
2444 * Makefile.in: Add install-html, install-html-am, and
2c197581
EB
2445 install-html-recursive targets. Define mkdir_p and
2446 NORMAL_INSTALL.
545c9aee
DD
2447 * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
2448 * configure: Regenerate.
2449 * testsuite/Makefile.in: Add install-html and html targets.
2450
8e1e9959
DD
24512006-03-31 Mark Mitchell <mark@codesourcery.com>
2452
2453 * pex-win32.c (<errno.h>): Include.
2454 (fix_argv): Remove.
2455 (argv_to_cmdline): New function.
2456 (std_suffixes): New variable.
2457 (no_suffixes): Likewise.
2458 (find_executable): New function.
2459 (win32_spawn): Likewise.
2460 (spawn_script): Use win32_spawn instead of _spawnv[p].
2461 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
2462 (pex_win32_wait): Likewise.
2463
57b126a3
DD
24642006-03-24 Jim Blandy <jimb@codesourcery.com>
2465
2466 * pex-common.c (pex_run): Simplify output name handling.
2467
9223c945
DD
24682006-03-12 Jim Blandy <jimb@red-bean.com>
2469
2470 * pex-common.h (struct pex_obj): Doc fixes.
2471
24722006-03-11 Jim Blandy <jimb@red-bean.com>
2473
2474 * functions.texi: Regenerate.
2475
96f4851a
DD
24762006-02-21 Ben Elliston <bje@au.ibm.com>
2477
2478 * pexecute.c (pwait): Syntax fix for previous change.
2479
1c7a49d2
DD
24802006-02-17 Uttam Pawar <uttamp@us.ibm.com>
2481
2482 * pexecute.c (pwait): Free vector pointer.
2483 * partition.c (partition_print): Free class_elements pointer.
2484
e27d251e
DD
24852006-02-11 Roger Sayle <roger@eyesopen.com>
2486 R. Scott Bailey <scott.bailey@eds.com>
2487 Bill Northcott <w.northcott@unsw.edu.au>
2488
2489 PR bootstrap/16787
2490 * floatformat.c: Include <float.h> where available.
2491 (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
2492
fd7d450d
DD
24932006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
2494
2495 * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
2c197581 2496 supported.
fd7d450d
DD
2497 * configure: Regenerated.
2498
67d78caa
DD
24992006-01-20 Carlos O'Donell <carlos@codesourcery.com>
2500
2501 * testsuite/Makefile.in: Add test-expandargv test.
2502 * testsuite/test-expandargv.c: New test.
2503 * argv.c (expandargv): Check for errors with ferror,
2504 rather than just by looking at return value from fread.
2505
648c3dc0
DD
25062005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
2507
2508 * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
2509 to convert from "from".
2510 (floatformat_to_double): Likewise.
2511 (floatformat_from_double): Use explicit cast to convert from "to".
2512
7887b2ce
DD
25132005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
2514
2515 PR java/9861
2516 * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
2517 and include return type when found.
2518 (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
2519 conditional logic to change printing order of return type.when
2520 the DMGL_RET_POSTFIX option is present.
2521 (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
2522 call.
2523 * testsuite/test-demangle.c (main): Recognize option --ret-postfix
2524 * testsuite/demangle-expected: Test cases to verify extended encoding.
2525 Updated comment to document --ret-postfix option.
2c197581 2526
718c0ded
DD
25272005-11-06 Richard Guenther <rguenther@suse.de>
2528
2529 * splay-tree.c (rotate_left): New function.
2530 (rotate_right): Likewise.
2531 (splay_tree_splay_helper): Remove.
2532 (splay_tree_splay): Re-implement.
2533
fb10537e
DD
25342005-10-31 Mark Kettenis <kettenis@gnu.org>
2535
2536 * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
2537 New variables.
2538
5209596c
MM
25392005-10-07 Mark Mitchell <mark@codesourcery.com>
2540
2541 * at-file.texi: Fix typo.
2542
7b96829c
MM
25432005-10-03 Mark Mitchell <mark@codesourcery.com>
2544
2545 * at-file.texi: New file.
2546
48e79b0a
MM
25472005-09-27 Mark Mitchell <mark@codesourcery.com>
2548
2549 * argv.c (expandargv): Do not use xmalloc_failed.
2550
7b17bc29
MM
25512005-09-26 Mark Mitchell <mark@codesourcery.com>
2552
2553 * argv.c (safe-ctype.h): Include it.
2554 (ISBLANK): Remove.
2555 (stdio.h): Include.
2556 (buildargv): Use ISSPACE instead of ISBLANK.
2557 (expandargv): New function.
2558 * Makefile.in: Regenerated.
2559
f59e96e0
DD
25602005-09-14 Christopher Faylor <cgf@timesys.com>
2561
2562 * pex-win32.c: Include "windows.h".
2563 (backslashify): New function.
2564 (fix_argv): Use backslashify to convert path to windows format.
2565 Allocate one more place in new argv for potential executable from '#!'
2566 parsing.
2567 (tack_on_executable): New function. Conditional on USE_MINGW_MSYS
2568 (openkey): Ditto.
2569 (mingw_rootify): Ditto.
2570 (msys_rootify): Ditto.
2571 (spawn_script): New function.
2572 (pex_win32_exec_child): Save translated argv in newargv. Pass to
2573 spawn_script if spawnv* fails.
2574 (main): New function. Conditional on MAIN. Useful for testing.
2575
3b6940c0
DD
25762005-08-17 Mark Kettenis <kettenis@gnu.org>
2577
2578 * floatformat.c (floatformat_always_valid): Change type of last
2579 argument to `void *'.
2580 (floatformat_i387_ext_is_valid): Likewise.
2581 (floatformat_to_double): Change type of second argument to `const
2582 void *'.
2583 (floatformat_from_double): Change type of last argument to `void
2584 *'.
2585 (floatformat_is_valid): Change type of last argument to `const
2586 void *'.
2587 (ieee_test): Remove redundant casts.
2588
a9479c3f
KC
25892005-08-17 Kelley Cook <kcook@gcc.gnu.org>
2590
2591 * strverscmp.c: Update FSF address.
2592 * testsuite/Makefile.in: Likewise.
2593 * testsuite/test-demangle.c: Likewise.
2594 * testsuite/test-pexecute.c: Likewise.
2595
55060c0b
DD
25962005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2597
2598 * getopt.c: Include ansidecl.h before system headers.
2599
6038baea
DD
26002005-07-22 Ben Elliston <bje@gnu.org>
2601
2602 * getopt.c: Include "ansidecl.h".
2603 (_getopt_initialize): Mark argc and argv parameters as unused.
2604
26052005-07-22 Ben Elliston <bje@gnu.org>
2606
2607 * regex.c (regcomp): Change type of `i' from unsigned to int.
2608
c750388a
DD
26092005-07-22 Ben Elliston <bje@gnu.org>
2610
2611 Recover patch lost in the sourceware repository:
2612 2005-07-09 Ben Elliston <bje@au.ibm.com>
2613 * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
2614 * memmove.c: Likewise.
2615 * objalloc.c: Likewise.
2616
a4e5c0d8
DD
26172005-07-22 Ben Elliston <bje@gnu.org>
2618
2619 * configure.ac: Check for a getopt(3) declaration.
2620 * configure, config.in: Regenerate.
2621
4fe19082
DD
26222005-07-15 Ben Elliston <bje@au.ibm.com>
2623
2624 * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
2625
f2942ea4
DD
26262005-07-12 Ben Elliston <bje@au.ibm.com>
2627
2628 * floatformat.c (floatformat_to_double): Add a comment about a
2629 potential source of warnings when compiling this file.
2630
26312005-07-12 Ben Elliston <bje@au.ibm.com>
2632
2633 * pexecute.c (pexecute): Cast string litrals to char *.
2634 * regex.c (re_comp): Cast a call to gettext() to char *.
2635
4cf896a5
KC
26362005-07-07 Kelley Cook <kcook@gcc.gnu.org>
2637
2638 * config.table: Delete file. Move former contents into ...
2639 * configure.ac: ... here and escape any brackets for m4.
2640 * Makefile.in (config.status): Remove dependency on config.table.
2641 * configure: Regenerate.
2642
20ae7c34
KC
26432005-07-07 Kelley Cook <kcook@gcc.gnu.org>
2644
2645 * config.in: Regenerate for 6/20 change.
2646
6ba85b8c
DD
26472005-07-03 Steve Ellcey <sje@cup.hp.com>
2648
2649 PR other/13906
2650 * md5.c (md5_process_bytes): Check alignment.
2651
26522005-07-01 Ian Lance Taylor <ian@airs.com>
2653
2654 PR other/22268
2655 * cp-demangle.c (d_expr_primary): Don't run off the end of the
2656 string while looking for the end of a literal value.
2657 * testsuite/demangle-expected: Add test case.
2658
c3cca4c9
DD
26592005-06-30 Daniel Berlin <dberlin@dberlin.org>
2660
2661 * hashtab.c (EMPTY_ENTRY): Moved and renamed.
2c197581 2662 (DELETED_ENTRY): Ditto.
c3cca4c9 2663
67f3cb05
GK
26642005-06-20 Geoffrey Keating <geoffk@apple.com>
2665
2666 * strverscmp.c: New.
2667 * Makefile.in (CFILES): Add strverscmp.c.
2668 (CONFIGURED_OFILES): Add strverscmp.o.
2669 (strverscmp.o): New rule.
2670 (stamp-functions): Add $(srcdir) to files in source directory.
2671 * configure.ac (funcs): Add strverscmp.
2672 (AC_CHECK_FUNCS): Add strverscmp.
2673 * configure: Regenerate.
2674 * functions.texi: Regenerate.
2675
01e94249
DD
26762005-05-28 Eli Zaretskii <eliz@gnu.org>
2677
2678 * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
2679 * config.in, configure: Regenerate.
2680
839e4798
RH
26812005-05-25 Richard Henderson <rth@redhat.com>
2682
2683 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
2684 (d_make_comp, d_print_comp): Likewise.
2685 (d_special_name): Generate one.
2686 * testsuite/demangle-expected: Add a hidden alias test.
2687
abf6a75b
DD
26882005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
2689
2690 * configure.ac: Check declarations for calloc(), getenv(),
01e94249 2691 malloc(), realloc() and sbrk().
abf6a75b
DD
2692 * config.in: Regenerate.
2693 * configure: Likewise.
2694
2695 * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
2696 instead of xmalloc.
2697 * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
2698 * concat.c (liiberty_concat_ptr): Surround definition with an
2699 extern "C" block, if __cplusplus.
2700 (concat): Use XNEWVEC instead of xmalloc.
2701 (reconcat): Likewise.
2702 * cp-demangle.c (struct d_print_template): Rename member
01e94249 2703 "template" to "template_decl". Adjust use throughout the file.
abf6a75b
DD
2704 (d_print_resize): Properly cast return value of realloc().
2705 (cplus_demangle_print): Same for malloc().
2706 (d_demangle): Likewise.
2707 * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
2708 "typename" to "type_name".
2709 * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
2710 (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
2711 (demangle_template_value_parm): Likewise.
2712 (demangle_template): Likewise.
2713 (recursively_demangle): Likewise.
2714 (do_hpacc_template_literal): Likewise.
2715 (do_arg): Likewise.
2716 (remember_type): Likewise.
2717 (remember_Ktype): Likewise.
2718 (register_Btype): Likewise.
2719 (string_need): Use XRESIZEVEC instead of xrealloc().
2720 * dyn-string.c (dyn_string_init): Use XNEWVEC.
2721 (dyn_string_new): Use XNEW.
2722 (dyn_string_resize): Use XRESIZEVEC.
2723 * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
2724 * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
2725 Otherwise include <stdlib.h>.
2726 (exchange): Cast return value of malloc().
2727 * hashtab.c (htab_size): Define as both macro and non-inline
2728 function.
2729 (htab_elements): Likewise.
2730 * getpwd.c (getpwd): Use XNEWVEC.
2731 (htab_create_alloc_ex): Use C90 prototype-style.
2732 * lrealpath.c (lrealpath): Appropriately cast return value of
01e94249 2733 malloc().
abf6a75b
DD
2734 * make-relative-prefix.c (save_string): Likewise.
2735 * make-temp-file.c (try_dir): Rename from "try". Adjust use in
2736 the file.
2737 (choose_tmpdir): Use XNEWVEC.
2738 * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
2739 * pex-common.c (pex_init_common): Use XNEW.
2740 (pex_add_remove): Use XRESIZEVEC.
2741 (pex_run): Likewise.
2742 (pex_get_status_and_time): Likewise.
2743 * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
2744 * pex-msdos.c (pex_init): Use XNEW.
2745 (pex_msdos_exec_child): Likewise.
2746 (pex_msdos_exec_child): Use XRESIZEVEC.
2747 * pex-unix.c (pex_wait): Use XNEW.
2748 * pex-win32.c (fix_argv): Use XNEWVEC.
2749 * pexecute.c (pwait): Likewise.
2750 * setenv.c (setenv): Properly cast return value of malloc().
2751 * sigsetmask.c (sigsetmask): Rename local variables "old" and
2752 "new" to "old_sig" and "new_sig".
2753 * sort.c (main): Use XNEWVEC.
2754 * spaces.c (spaces): Cast return value of malloc().
2755 * strndup.c (strndup): Likewise.
2756 * ternary.c (ternary_insert): Use XNEW.
2757 * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
2758 with an extern "C" block if __cplusplus.
2759 * xstrdup.c (xstrdup): Cast return value of memcpy().
2760 * xstrerror.c (strerror): Enclose declaration in an extern "C"
2761 block if __cplusplus.
2762 * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
2763
2349f557
DD
27642005-05-16 Andreas Jaeger <aj@suse.de>
2765
2766 * getpwd.c: Remove unneeded prototype getcwd and move getwd so
2767 that it's only declared if needed.
2768
2769 * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
2770 defined.
2771
e9edcedc
DD
27722005-05-15 Andreas Jaeger <aj@suse.de>
2773
2774 * functions.texi: Regenerated.
2775
f13c9bea
DD
27762005-05-15 Eli Zaretskii <eliz@gnu.org>
2777
2778 * pexecute.txh: Enclose multi-word data types in @deftypefn in
2779 braces. Minor wording fixes. Use --- for em-dash. Use
2780 @enumerate in enumerated lists.
2781
e9edcedc
DD
2782 * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
2783 braces.
2784
282d9ec3
ILT
27852005-05-11 Eli Zaretskii <eliz@gnu.org>
2786
2787 * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
2788 sys/stat.h.
2789 (pex_init): Fix last argument to pex_init_common.
2790 (pex_djgpp_exec_child): Remove leading underscore from _open,
2791 _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
2792 which is undeclared, with `executable', which was unused. Remove
2793 unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
2794 (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
2795
75919f94
DD
27962005-05-11 Paul Brook <paul@codesourcery.com>
2797
2798 * Makefile.in: Regenerate dependencies.
2799
979c05d3
NC
28002005-05-10 Nick Clifton <nickc@redhat.com>
2801
2802 * Update the address and phone number of the FSF organization in
2803 the GPL notices in the following files:
75919f94
DD
2804 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
2805 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
2806 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
2807 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
2808 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
2809 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
2810 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
2811 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
2812 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
2813 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
2814 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
2815 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
2816 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
979c05d3 2817
0093138c
DD
28182005-05-06 Kelley Cook <kcook@gcc.gnu.org>
2819
2820 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
2821 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
2822 * configure: Regenerate.
2823
28242005-05-06 Kelley Cook <kcook@gcc.gnu.org>
2825
2826 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2827 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2828 * aclocal.m4: Don't include accross.m4.
2829 * configure, config.in: Regenerate.
2830
c631edf1
DD
28312005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2832
2833 * fopen_unlocked.c (unlock_std_streams): New.
f13c9bea 2834
c631edf1
DD
2835 * functions.texi: Regenerate.
2836
7b6f6286
DD
28372005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2838
2839 * fopen_unlocked.c (unlock_stream): New.
2840 Consolidate unlocking code into a helper function.
2841
2842 * functions.texi: Regenerate.
2843
fa99459d
DD
28442005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
2845
2846 * asprintf.c: Include config.h.
2847 * basename.c: Likewise.
2848 * fdmatch.c: Likewise.
2849 * hex.c: Likewise.
2850 * lbasename.c: Likewise.
2851 * spaces.c: Likewise.
2852 * xatexit.c:Likewise.
f13c9bea 2853 * configure.ac: Do check declarations for basename, ffs, asprintf
fa99459d
DD
2854 and vasprintf for real.
2855 * configure: Regenerate.
2856
ab70e2a5
DD
28572005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
2858
f13c9bea 2859 * argv.c (dupargv): Allocate space of argv[argc], not
ab70e2a5
DD
2860 sizeof(char *) of that amount. Cast result to char *.
2861
ea7143ac
DD
28622005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
2863
2864 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
f13c9bea 2865 Replace not with negate.
ea7143ac 2866
41c953f9
DD
28672005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
2868
2869 * configure.ac: Check declarations for basename, ffs, asprintf,
2870 vasprintf.
2871 * configure: Regenerate.
2872 * config.in: Likewise.
2873
ac119ae8
DD
28742005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2875
2876 * Makefile.in (CFILES): Add fopen_unlocked.c.
2877 (REQUIRED_OFILES): Add ./fopen_unlocked.o.
2878 Regenerate dependencies.
2879
2880 * configure.ac: Check for stdio_ext.h and __fsetlocking.
2881
2882 * fopen_unlocked.c: New file.
2883
2884 * functions.texi, configure, config.in: Regenerate.
2885
6e933b47
DD
28862005-04-04 Ian Lance Taylor <ian@airs.com>
2887
2888 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
2889 declaration before statement.
2890
aa55ccb1
DD
28912005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2892
14a88c49
DD
2893 * bcmp.c: Fix warnings and implement using memcmp.
2894 * bcopy.c: Fix warnings.
2895 * bzero.c: Fix warnings and implement using memset.
2896
aa55ccb1
DD
2897 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
2898 -Wstrict-prototypes.
2899 * configure, config.in: Regenerate.
2900
2901 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
2902 warnings and reconcile interfaces with relevant standards.
2903
b31a49d7
ILT
29042005-04-02 Ian Lance Taylor <ian@airs.com>
2905
2906 * cp-demangle.c: Update copyright.
2907
0e867e79
DD
29082005-03-31 Joseph S. Myers <joseph@codesourcery.com>
2909
2910 * gettimeofday.c: Add "Supplemental" to @deftypefn.
2911 * functions.texi: Regenerate.
2912
b109e79a
ILT
29132005-03-28 Ian Lance Taylor <ian@airs.com>
2914
2915 * pex-common.c: New file.
2916 * pex-one.c: New file.
2917 * pexecute.c: New file.
2918 * pex-common.h: Include <stdio.h>.
2919 (struct pex_obj): Define.
2920 (struct pex_funcs): Define.
2921 (pex_init_common): Declare.
2922 * pex-unix.c: Rewrite.
2923 * pex-win32.c: Rewrite.
2924 * pex-djgpp.c: Rewrite.
2925 * pex-msdos.c: Rewrite.
2926 * testsuite/text-pexecute.c: New file.
2927 * pexecute.txh: Rewrite.
2928 * configure.ac: Check for wait3 and wait4. Set CHECK to
2929 really-check rather than check-cplus-dem.
2930 * functions.texi: Rebuild.
2931 * Makefile.in: Rebuild dependencies.
2932 (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
2933 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
2934 * testsuite/Makefile.in (really-check): New target.
2935 (check-pexecute, test-pexecute): New targets.
2936 * configure: Rebuild.
2937
864e8148 29382005-03-28 Mark Kettenis <kettenis@gnu.org>
f13c9bea 2939
864e8148
DD
2940 * unlink-if-ordinary.c: Include <sys/types.h>.
2941
e064c173
DD
29422005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2943
2944 Convert libiberty to use ISO C prototype style 7/n.
2945 * regex.c (PARAMS): Remove definition.
2946 (PREFIX): Unconditionaly define using ISO C ## operator.
f13c9bea 2947 (init_syntax_once, extract_number, extract_number_and_incr,
e064c173 2948 print_fastmap, print_partial_compiled_pattern,
f13c9bea 2949 print_compiled_pattern, print_double_string, printchar,
e064c173
DD
2950 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
2951 regex_compile, store_op1, store_op2, insert_op1, insert_op2,
f13c9bea
DD
2952 at_begline_loc_p, at_endline_p, group_in_compile_stack,
2953 insert_space, wcs_compile_range, byte_compile_range,
2954 truncate_wchar, re_compile_fastmap, re_compile_fastmap,
2955 re_set_registers, re_search, re_search_2, re_search_3, re_match,
e064c173
DD
2956 re_match_2, count_mbs_length, wcs_re_match_2_internal,
2957 byte_re_match_2_internal, group_match_null_string_p,
2958 alt_match_null_string_p, common_op_match_null_string_p,
f13c9bea 2959 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
e064c173
DD
2960 regexec, regerror, regfree): Use ISO C prototype style.
2961 * partition.c: (elem_compare): Likewise.
2962 * cp-demangle.c (print_usage): Likewise.
2963
1e45deed
DD
29642005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2965
2966 Convert libiberty to use ISO C prototype style 5/n.
2967 * random.c (srandom, initstate, setstate, random): Use ISO C
f13c9bea 2968 prototypes.
1e45deed
DD
2969 * putenv.c (putenv): Likewise.
2970 * physmem.c (physmem_available, physmem_total, main): Likewise.
2971 * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
2972 * pex-unix.c (pexecute, pwait): Likewise.
2973 * pex-msdos.c (pexecute, pwait): Likewise.
2974 * pex-djgpp.c (pexecute, pwait): Likewise.
f13c9bea 2975 * partition.c (partition_new, partition_delete, partition_union)
1e45deed 2976 (elem_compare, partition_print): Likewise.
f13c9bea
DD
2977 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
2978 _obstack_allocated_p, _obstack_free, obstack_free,
1e45deed
DD
2979 _obstack_memory_used, print_and_abort, obstack_next_free,
2980 obstack_object_size, obstack_base): Likewise. Remove codes
2981 predicated on !defined(__STDC__).
f13c9bea 2982 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
1e45deed
DD
2983 objalloc_free_block): Use ISO C prototypes.
2984 * mkstemps.c (mkstemps): Likewise.
2985 * memset.c (memset): Likewise.
2986 * mempcpy.c (mempcpy): Likewise.
2987 * rename.c (rename): Likewise.
2988 * rindex.c (rindex): Likewise.
2989 * setenv.c (setenv, unsetenv): Likewise.
2990 * sigsetmask.c (sigsetmask): Likewise.
2991 * snprintf.c (snprintf): Likewise.
f13c9bea 2992 * sort.c (sort_pointers, xmalloc): Likewise.
1e45deed 2993 * spaces.c (spaces): Likewise.
f13c9bea
DD
2994 * splay-tree.c (splay_tree_delete_helper,
2995 splay_tree_splay_helper, splay_tree_splay,
1e45deed 2996 splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
f13c9bea 2997 splay_tree_new, splay_tree_xmalloc_allocate,
1e45deed 2998 splay_tree_new_with_allocator, splay_tree_delete,
f13c9bea
DD
2999 splay_tree_insert, splay_tree_remove, splay_tree_lookup,
3000 splay_tree_max, splay_tree_min, splay_tree_predecessor,
3001 splay_tree_successor, splay_tree_foreach,
1e45deed
DD
3002 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
3003 * stpcpy.c (stpcpy): Likewise.
3004 * stpncpy.c (stpncpy): Likewise.
3005 * strcasecmp.c (strcasecmp): Likewise.
3006 * strchr.c (strchr): Likewise.
3007 * strdup.c (strdup): Likewise.
3008
49b1fae4
DD
30092005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
3010
3011 Convert libiberty to use ISO C prototype style 6/n.
f13c9bea 3012 * strerror.c (init_error_tables, errno_max, strerror, strerrno,
49b1fae4
DD
3013 strtoerrno, main): Use ISO C prototype style.
3014 * strncasecmp.c (strncasecmp): Likewise.
3015 * strncmp.c (strncmp): Likewise.
3016 * strndup.c (strndup): Likewise.
3017 * strrchr.c (strrchr): Likewise.
f13c9bea 3018 * strsignal.c (init_signal_tables, signo_max, strsignal,
49b1fae4
DD
3019 strsigno, strtosigno, psignal, main): Likewise.
3020 * strstr.c (strstr): Likewise.
3021 * strtod.c (strtod, atof): Likewise.
3022 * strtol.c (strtol): Likewise.
3023 * strtoul.c (strtoul): Likewise.
f13c9bea 3024 * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
49b1fae4
DD
3025 ternary_recursivesearch): Likewise.
3026 * tmpnam.c (tmpnam): Likewise.
3027 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
3028 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
3029 * vfork.c (vfork): Likewise.
3030 * vfprintf.c (vfprintf): Likewise.
3031 * vprintf.c (vprintf): Likewise.
3032 * vsnprintf.c (vsnprintf, checkit, main): Likewise.
3033 * vsprintf.c (vsprintf): Likewise.
3034 * waitpid.c (waitpid): Likewise.
3035 * xatexit.c (xatexit, xatexit_cleanup): Likewise.
3036 * xexit.c (xexit): Likewise.
f13c9bea 3037 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
49b1fae4
DD
3038 xcalloc, xrealloc): Likewise.
3039 * xmemdup.c (xmemdup): Likewise.
3040 * xstrdup.c (xstrdup): Likewise.
3041 * xstrerror.c (xstrerror): Likewise.
3042 * xstrndup.c (xstrndup): Likewise.
3043
30442005-03-27 Andreas Jaeger <aj@suse.de>
3045
3046 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
3047 flags.
3048 * configure: Regenerated.
3049
30502005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
3051
3052 * getopt1.c (getopt_long_only): Fix thinko.
3053
30542005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
3055
3056 Convert libiberty to use ISO C prototype style 4/n.
3057 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
3058 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
3059 htab_create_alloc, htab_set_functions_ex, htab_create,
3060 htab_try_create, htab_delete, htab_empty,
3061 find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
3062 htab_find, htab_find_slot_with_hash, htab_find_slot,
3063 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
3064 htab_traverse_noresize, htab_traverse, htab_collisions,
3065 htab_hash_string, iterative_hash): Use ISO C prototype.
3066 * hex.c (hex_init): Likewise.
3067 * index.c (index): Likewise.
3068 * insque.c (insque, remque): Likewise.
3069 * lbasename.c (lbasename): Likewise.
3070 * lrealpath.c (lrealpath): Likewise.
3071 * make-relative-prefix.c (save_string, split_directories,
3072 free_split_directories, make_relative_prefix): Likewise.
3073 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
3074 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
3075 md5_buffer, md5_process_bytes, md5_process_block): Likewise.
3076 * memchr.c (memchr): Likewise.
3077 * memcpy.c (memcpy): Likewise.
3078 * memmove.c (memmove): Likewise.
3079 * gettimeofday.c (gettimeofday): Likewise.
3080 * getruntime.c (get_run_time): Likewise.
3081 * getpwd.c (getpwd, getpwd): Likewise.
3082 * getpagesize.c (getpagesize): Likewise.
3083 * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
3084 * getopt.c (my_index, exchange, _getopt_initialize,
3085 _getopt_internal, getopt, main): Likewise.
3086 * getcwd.c (getcwd): Likewise.
3087 * fnmatch.c (fnmatch): Likewise.
3088 * floatformat.c (floatformat_always_valid,
3089 floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
3090 put_field, floatformat_from_double, floatformat_is_valid,
3091 ieee_test, main): Likewise.
3092 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
3093 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
3094 fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
3095 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
3096 fibheap_delete, fibheap_empty, fibheap_extr_min_node,
3097 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
3098 fibheap_link, fibheap_cut, fibheap_cascading_cut,
3099 fibnode_insert_after, fibnode_remove): Likewise.
3100 * ffs.c (ffs): Likewise.
3101 * fdmatch.c (fdmatch): Likewise.
3102 * dyn-string.c (dyn_string_init, dyn_string_new,
3103 dyn_string_delete, dyn_string_release, dyn_string_resize,
3104 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
3105 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
3106 dyn_string_insert_cstr, dyn_string_insert_char,
3107 dyn_string_append, dyn_string_append_cstr,
3108 dyn_string_append_char, dyn_string_substring, dyn_string_eq):
3109 Likewise.
3110
9334f9c6
DD
31112005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
3112
3113 Convert libiberty to use ISO C prototype style 3/n.
49b1fae4
DD
3114 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
3115 consume_count_with_underscores, code_for_qualifier,
3116 qualifier_string, demangle_qualifier, cplus_demangle_opname,
3117 cplus_mangle_opname, cplus_demangle_set_style,
3118 cplus_demangle_name_to_style, cplus_demangle, grow_vect,
9334f9c6 3119 ada_demangle, internal_cplus_demangle, squangle_mop_up,
49b1fae4
DD
3120 work_stuff_copy_to_from, delete_non_B_K_work_stuff,
3121 delete_work_stuff, mop_up, demangle_signature,
3122 demangle_method_args, demangle_template_template_parm,
3123 demangle_expression, demangle_integral_value,
3124 demangle_real_value, demangle_template_value_parm,
3125 demangle_template, arm_pt, demangle_arm_hp_template,
3126 demangle_class_name, demangle_class, iterate_demangle_function,
3127 demangle_prefix, gnu_special, recursively_demangle, arm_special,
3128 demangle_qualified, get_count, do_type, demangle_fund_type,
3129 do_hpacc_template_const_value, do_hpacc_template_literal,
3130 snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
3131 register_Btype, remember_Btype, forget_B_and_K_types,
3132 forget_types, demangle_args, demangle_nested_args,
3133 demangle_function_name, string_need, string_delete, string_init,
3134 string_clear, string_empty, string_append, string_appends,
9334f9c6
DD
3135 string_appendn, string_prepend, string_prepends, string_prependn,
3136 string_append_template_idx): Use ISO C prootype style.
3137 * cp-demint.c (cplus_demangle_fill_component,
49b1fae4 3138 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
9334f9c6
DD
3139 cplus_demangle_v3_components): Likewise.
3140
31412005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
3142
3143 Convert libiberty to use ISO C prototype style 2/n.
3144 * cp-demangle.h: Remove uses of PARAMS.
3145 * cp-demangle.c: Likewise.
49b1fae4
DD
3146 (d_dump, cplus_demangle_fill_name,
3147 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
3148 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
3149 d_make_builtin_type, d_make_operator, d_make_extended_operator,
3150 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
3151 cplus_demangle_mangled_name, has_return_type,
3152 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
3153 d_prefix, d_unqualified_name, d_source_name, d_number,
3154 d_identifier, d_operator_name, d_special_name, d_call_offset,
3155 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
3156 d_function_type, d_bare_function_type, d_class_enum_type,
3157 d_array_type, d_pointer_to_member_type, d_template_param,
3158 d_template_args, d_template_arg, d_expression, d_expr_primary,
3159 d_local_name, d_discriminator, d_add_substitution,
3160 d_substitution, d_print_resize, d_print_append_char,
3161 d_print_append_buffer, d_print_error, cplus_demangle_print,
3162 d_print_comp, d_print_java_identifier, d_print_mod_list,
3163 d_print_mod, d_print_function_type, d_print_array_type,
3164 d_print_expr_op, d_print_cast, cplus_demangle_init_info,
3165 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
9334f9c6 3166 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
49b1fae4 3167 print_usage, main):
9334f9c6
DD
3168
31692005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
3170
3171 Convert libiberty to ISO C prototype style 1/n.
3172 * _doprnt.c: Remove conditional #include <varargs.h> on
3173 ANSI_PROTOTYPES as the latter is always assumed.
3174 (_doprnt, checkit, main): Use ISO C prototype.
3175 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
3176 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
49b1fae4 3177 (dupargv, freeargv, buildargv, main): Use ISO C prototype.
9334f9c6
DD
3178 * atexit.c (atexit): Likewise
3179 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
49b1fae4 3180 (asprintf): Use ISO C prototype.
9334f9c6
DD
3181 * basename.c (basename): Likewise
3182 * bcmp.c (bcmp): Likewise.
3183 * bcopy.c (bcopy): Likewise.
3184 * bzero.c (bzero): Likewise.
3185 * bsearch.c (bsearch): Likewise. Improve const-correctness.
3186 * choose-temp.c (choose_temp_base): Likewise.
3187 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
3188 (calloc): Use ISO C prototype.
3189 * clock.c (clock): Likewise.
3190 * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
49b1fae4 3191 (vconcat_length, vconcat_copy, concat_length, concat_copy,
9334f9c6
DD
3192 concat_copy2, concat, reconcat, main): Use ISO C prototype.
3193 * copysign.c (copysign): Likewise.
3194
0fad4bdb
DD
31952005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3196
3197 * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
3198 (REQUIRED_OFILES): Add xstrndup.o.
3199 (CONFIGURED_OFILES): Add strndup.o.
3200 Regenerate dependencies.
3201
3202 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
3203
3204 * strndup.c, xstrndup.c: New.
3205
3206 * config.in, configure, functions.texi: Regenerate.
3207
51e32d64
DD
32082005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3209
3210 * xmemdup.c, xstrdup.c: Expose the tail call.
3211
8ec32723
DD
32122005-03-09 Mark Mitchell <mark@codesourcery.com>
3213
3214 * configure.ac (funcs): Add gettimeofday.
3215 * configure: Regenerated.
3216 * gettimeofday.c: New file.
3217 * Makefile.in (CFILES): Add gettimeofday.
3218 (CONFIGURED_OFILES): Add gettimeofday.o.
3219 (./gettimeofday.o): New rule.
3220
27ff8836
ILT
32212005-03-09 Ian Lance Taylor <ian@airs.com>
3222
3223 * pex-os2.c: Remove.
3224 * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
3225 * Makefile.in (CFILES): Remove pex-os2.c.
3226 (CONFIGURED_OFILES): Remove pex-os2.o.
3227 (pex-os2.o): Remove target.
3228 * configure: Rebuild.
3229
48e39b59
ILT
32302005-03-07 Ian Lance Taylor <ian@airs.com>
3231
3232 * mpw-config.in: Remove.
3233 * mpw-make.sed: Remove.
3234 * mpw.c: Remove.
3235 * Makefile.in (CFILES): Remove pex-mpw.c.
3236 (CONFIGURED_OFILES): Remove pex-mpw.o.
3237 (mpw.o, pex-mpw.o): Remove targets.
3238 * maint-tool (undoc): Remove reference to mpw.c.
3239
65dce80e
DD
32402005-03-06 DJ Delorie <dj@redhat.com>
3241
3242 * configure.ac (target_header_dir): vfork is a stub under djgpp.
3243 * configure: Regenerated.
3244
190eb137
DD
32452005-03-01 Jan Beulich <jbeulich@novell.com>
3246
3247 * Makefile.in (CFILES): Add unlink-if-ordinary.c
3248 (REQUIRED_OFILES): Add unlink-if-ordinary.o.
3249 Add dependencies and rule for unlink-if-ordinary.o.
3250 * unlink-if-ordinary.c: New.
3251
bac7199c
DD
32522005-03-01 Ben Elliston <bje@au.ibm.com>
3253
3254 * hashtab.c (htab_find_slot_with_hash): Make function
3255 documentation clearer.
3256
aca9a742
JM
32572005-02-13 Jason Merrill <jason@redhat.com>
3258
3259 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
3260 arguments.
3261
b5c3b3de
DD
32622005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
3263
3264 * hex.c (hex_value): Group 'unsigned int' together to get correct
3265 markup.
3266 * functions.texi: Regenerated.
49b1fae4 3267
46a10049
DD
32682004-12-27 H.J. Lu <hongjiu.lu@intel.com>
3269
3270 * Makefile.in: Undo to 2004-12-17.
3271 * aclocal.m4: Likewise.
3272 * config.table: Likewise.
3273 * configure.ac: Likewise.
3274 * maint-tool: Likewise.
3275 * configure: Likewise.
3276
fbfdf750
DD
32772004-12-19 H.J. Lu <hongjiu.lu@intel.com>
3278
3279 PR bootstrap/19072
3280 * Makefile.in (enable_shared): New substitute.
3281 (LTTARGETLIB): New.
3282 (PREFIXTARGETLIB): New.
3283 (LTTESTLIB): New.
3284 (PREFIXTESTLIB): New.
3285 (CCLD): New.
3286 (LINK): New.
3287 ($(TARGETLIB)): Use $(LINK) to create libraries and create
3288 targets by hand.
3289 ($(TESTLIB)): Likewise.
3290 (mostlyclean): Don't remove .libs. Remove the libtool object
3291 directory.
3292
3293 * config.table (enable_shared): Removed.
3294
3295 * configure.ac (enable_static): Set to yes.
3296 (AC_PROG_LIBTOOL): Removed.
3297 (AM_DISABLE_SHARED): Uncommented.
3298 (AM_PROG_LIBTOOL): Likewise.
3299 (LIBOBJS): Add `./' to avoid VPATH.
3300 (LTLIBOBJS): Likewise.
3301 (enable_shared): Substitute.
3302 * configure: Regenerated.
3303
96e00b33
L
33042004-12-18 H.J. Lu <hongjiu.lu@intel.com>
3305
3306 * Makefile.in (top_builddir): Set to `.'.
3307 (OUTPUT_OPTION): Removed.
3308 (LIBTOOL): New.
3309 (LTLIBOBJS): New.
3310 (EXTRA_LTOFILES): New.
3311 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
3312 (all): Remove stamp-picdir.
3313 (LTCOMPILE): New.
3314 (.c.lo): New rule.
3315 (REQUIRED_LTOFILES): New.
3316 (CONFIGURED_LTOFILES): New.
3317 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
3318 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
3319 (stamp-picdir): Completely removed.
3320 (maint-missing): Pass $(REQUIRED_LTOFILES)
3321 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
3322 $(CONFIGURED_OFILES)
3323 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
3324 $(CONFIGURED_LTOFILES).
3325 (mostlyclean): Also remove *.lo .libs.
3326 Run "make maint-deps".
3327
3328 * aclocal.m4: Include ../libtool.m4.
3329
3330 * config.table: Don't check --enable-shared.
3331
3332 * configure.ac (AC_PROG_LIBTOOL): Add.
3333 (AC_PROG_CC_C_O): Removed.
3334 (OUTPUT_OPTION): Removed.
3335 (NO_MINUS_C_MINUS_O): Removed.
3336 (ltpexecute): New substitute.
3337 (LIBOBJS): Cleanup.
3338 * configure: Regenerated.
3339
3340 * maint-tool: Updated for .lo/libtool.
3341
40a59a4c
DD
33422004-12-11 Ben Elliston <bje@au.ibm.com>
3343
3344 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
3345 * configure: Regenerate.
3346 * config.in: Likewise.
3347
9923bc33
DD
33482004-12-07 DJ Delorie <dj@redhat.com>
3349
3350 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
3351 that recursion (and thus large stack space) is not needed.
3352
70615d15
DD
33532004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
3354
3355 * pex-unix.c: Fix the spelling of longjmp.
3356
eb129e35
DD
33572004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
3358
3359 PR other/18623
3360 * cp-demangle.c (d_call_offset): Remove useless local variables
3361 offset and virtual_offset.
3362 * cplus-dem.c (ada_demangle): Remove useless local variable
3363 at_start_name.
3364 (demangle_template): Remove useless local variable start.
3365
3e0f1404
DD
33662004-11-19 Roger Sayle <roger@eyesopen.com>
3367
3368 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
3369 "ansidecl.h" to avoid redeclaration errors with native compilers.
3370 * regex.c: Protect config.h from multiple inclusion.
3371
6cfb3176
DD
33722004-11-12 Mike Stump <mrs@apple.com>
3373
3374 * Makefile.in (libiberty.html): Fix html generation.
3375
f9b4e353
DD
33762004-09-08 Adam Nemet <anemet@lnxw.com>
3377
3378 * vasprintf.c: Accept __va_copy in addition to va_copy.
3379
49b1fae4 33802004-09-03 Paolo Bonzini <bonzini@gnu.org>
c7efc4d5
PB
3381
3382 * configure: Regenerate.
3383
49b1fae4 33842004-09-02 Paolo Bonzini <bonzini@gnu.org>
f5396bbe
PB
3385
3386 * configure.ac: Do not enable multilibs for build-side libiberty.
3387
49b1fae4 33882004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
950ad202
DD
3389
3390 * lrealpath.c (lrealpath): Add _WIN32 support.
3391
a21da8bf
DD
33922004-06-28 Zack Weinberg <zack@codesourcery.com>
3393
3394 * cp-demangle.h: Declare cplus_demangle_operators,
3395 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
3396 cplus_demangle_type as static if IN_GLIBCPP_V3.
3397
33982004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
3399
3400 PR other/16240
3401 * cp-demangle.c (d_expr_primary): Check for a failure return from
3402 cplus_demangle_type.
3403 * testsuite/demangle-expected: Add test case.
3404
9f7d3e7d
DD
34052004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
3406
3407 * pex-win32.c (fix_argv): Expand comment.
3408
0cb2db3a
DD
34092004-05-25 Daniel Jacobowitz <drow@false.org>
3410
3411 * Makefile.in: Add .NOEXPORT.
3412
25319993
DD
34132004-04-29 Douglas B Rupp <rupp@gnat.com>
3414
3415 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
3416 copyright.
3417
7e9f5c71
DD
34182004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3419
3420 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
3421 * configure: Regenerate.
3422
bb6a587d
DD
34232004-04-22 Richard Henderson <rth@redhat.com>
3424
3425 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
3426 (CHAR_BIT): Provide default.
3427 (struct prime_ent, prime_tab): New.
3428 (higher_prime_index): Rename from higher_prime_number, return index.
3429 (htab_mod_1): New.
3430 (htab_mod, htab_mod_m2): Use it.
3431 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
3432 (htab_expand): Likewise.
3433 * configure.ac: Check for stdint.h.
3434 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
3435 * config.in, configure: Rebuild.
3436
53239e41
DD
34372004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
3438
3439 * strerror.c: Include config.h, and redefine sys_nerr and
3440 sys_errlist, before including ansidecl.h and libiberty.h.
3441
d6ea4e80
DD
34422004-04-13 Jeff Law <law@redhat.com>
3443
3444 * hashtab.c (htab_remove_elt_with_hash): New function.
3445 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
3446
fe046a17
DD
34472004-03-31 Richard Henderson <rth@redhat.com>
3448
3449 * hashtab.c (htab_size): Move to top of file; mark inline.
3450 (htab_elements): Likewise.
3451 (htab_mod, htab_mod_m2): New.
3452 (htab_delete): Refactor htab->size and htab->entries.
3453 (htab_empty): Likewise.
3454 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
3455 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
3456 (htab_clear_slot): Use htab_size, htab_elements.
3457 (htab_traverse_noresize, htab_traverse): Likewise.
3458
e0c148a7
DD
34592004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
3460
12a7367e
DD
3461 * pex-unix.c (pexecute): Use vfork instead of fork, with
3462 appropriate changes to make this safe.
3463 * pex-common.h (STDERR_FILE_NO): Define.
3464
e0c148a7
DD
3465 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
3466 an 80 column screen. Run maint-deps.
3467
85f969cd
DD
34682004-03-09 Kelley Cook <kcook@gcc.gnu.org>
3469
3470 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
3471 * acconfig.h: Delete redundant file.
3472 * config.in: Regenerate.
3473 * configure: Regenerate.
3474
58670637
DD
34752004-03-09 Hans-Peter Nilsson <hp@axis.com>
3476
3477 * configure: Regenerate for config/accross.m4 correction.
3478
758d77be
DD
34792004-03-07 Andreas Jaeger <aj@suse.de>
3480
3481 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
3482 prototypes.
3483 (main): Initialize style.
3484
74aee4eb
DD
34852004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
3486
2d733211
DD
3487 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
3488 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
3489 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
3490 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
3491 short types to D_PRINT_DEFAULT. Change other integer types to use
3492 new D_PRINT_* values where appropriate. Change float types to
3493 D_PRINT_FLOAT.
3494 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
3495 values.
3496 * testsuite/demangle-expected: Adjust two test cases.
3497
3498 * cp-demangle.c (d_print_function_type): Print a space before the
3499 parenthesis around the function type in more cases.
3500 * testsuite/demangle-expected: Adjust one test case.
3501
099f84cf
DD
3502 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
3503 parentheses around a cast.
3504 * testsuite/demangle-expected: Adjust two test cases to match new
3505 output.
3506
74aee4eb
DD
3507 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
3508
3509 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
3510 push more than one of the same CV-qualifier on the top of the
3511 stack.
3512 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
3513 move the CV-qualifiers to apply to the element type instead.
3514 (d_print_array_type): When checking the modifiers, keep looking
3515 past ones which have been printed already.
3516 * testsuite/demangle-expected: Add three test cases.
3517
35182004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
3519
3520 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
3521 empty string correctly.
3522
3523 * cp-demangle.c (__cxa_demangle): It is not an error if status is
3524 not NULL. It is an error if the mangled name is the same as a
3525 built-in type name.
3526 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
3527 than cplus_demangle_v3.
3528
3529 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
3530 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
3531
f9375305
DD
35322004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
3533
3534 * regex.c: Include <ansidecl.h>.
3535 (regcomp): Cast i to int.
3536 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
3537
cbf0ee79
DD
35382004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
3539
3540 * configure.ac: Add m4_pattern_allow(LIBOBJS).
3541 * configure: Regenerate.
3542
37254c9a
DD
35432004-01-22 DJ Delorie <dj@redhat.com>
3544
3545 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
3546 with explicit build rules.
3547 (VPATH): Remove.
3548 (.c.o): Poison.
3549 * configure.ac (pexecute, LIBOBJS): Add ./ .
3550 * maint-tool: Build dependencies with explicit rules.
3551
211333f6
DD
35522004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3553
3554 * strdup.c (strdup): Constify the argument.
3555
3795d586
DD
35562004-01-14 Loren J. Rittle <ljrittle@acm.org>
3557
3558 * Makefile.in (distclean): Remove config.cache.
3559
2d6520ee
DJ
35602004-01-13 Daniel Jacobowitz <drow@mvista.com>
3561
3562 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
3563 takes two parameters.
3564 * cp-demint.c (cplus_demangle_fill_component): Likewise.
3565
59727473
DD
35662004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
3567
3568 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
3569 defined, rename some functions which are to become static via
3570 #define.
3571 (CP_STATIC_IF_GLIBCPP_V3): Define.
3572 (struct d_operator_info): Move definition to cp-demangle.h, and
3573 rename to demangle_operator_info. Change all uses.
3574 (enum d_builtin_type_print): Move definition to cp-demangle.h.
3575 (struct d_builtin_type_info): Move definition to cp-demangle.h,
3576 and rename to demangle_builtin_type_info. Change all uses.
3577 (enum d_comp_type): Move definition to include/demangle.h, and
3578 rename to demangle_component_type, and change all enums to start
3579 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
3580 (struct d_comp): Move definition to include/demangle.h, and rename
3581 to demangle_component. Change all uses.
3582 (struct d_info): Move definition to cp-demangle.h.
3583 (cplus_demangle_fill_name): New function.
3584 (cplus_demangle_fill_extended_operator): New function.
3585 (cplus_demangle_fill_ctor): New function.
3586 (cplus_demangle_fill_dtor): New function.
3587 (d_make_empty): Remove type parameter. Change all callers.
3588 (d_make_name): Use cplus_demangle_fill_name.
3589 (d_make_extended_operator): Use
3590 cplus_demangle_fill_extended_operator.
3591 (d_make_ctor): Use cplus_demangle_fill_ctor.
3592 (d_make_dtor): Use cplus_demangle_fill_dtor.
3593 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
3594 non-static by default. Change all callers.
3595 (cplus_demangle_operators): Rename from d_operators. Change all
3596 uses. Make non-static by default. Add sentinel at end of array.
3597 (d_operator_name): Adjust initialization of high for new sentinel
3598 in cplus_demangle_operators.
3599 (cplus_demangle_builtin_types): Rename from d_builtin_types.
3600 Change all uses. Make non-static by default. Change initializer
3601 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
3602 (cplus_demangle_type): Rename from d_type. Make non-static by
3603 default. Change all callers.
3604 (cplus_demangle_init_info): Rename from d_init_info. Make
3605 non-static by default. Change all callers.
3606 * cp-demangle.h: New file.
3607 * cp-demint.c: New file.
3608 * Makefile.in: Rebuild dependencies.
3609 (CFILES): Add cp-demint.c.
3610 (REQUIRED_OFILES): Add cp-demint.o.
3611
1a79b024
DD
36122004-01-09 Kelley Cook <kcook@gcc.gnu.org>
3613
3614 * configure.in: Rename file to ...
3615 * configure.ac: ... this.
3616 * Makefile.in: Update a comment for above change.
3617 * README: Likewise.
3618 * config.in: Regenerate.
3619
820542c9
DD
36202004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
3621
3622 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
3623 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
3624 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
3625 demangling template parameters.
3626 * testsuite/test-demangle.c (fail): New static function.
3627 (main): Support new options in input file: --no-params,
3628 --is-v3-ctor, and --is-v3-dtor.
3629 * testsuite/demangle-expected: Add --no-params to most tests, and
3630 add the correct result when parameters are not demangled. Add
3631 some simple tests for V3 constructor/destructor recognition.
3632
2f9c4058
DD
36332003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3634
3635 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
3636
4fd47f10
DJ
36372003-12-22 Daniel Jacobowitz <drow@mvista.com>
3638
3639 PR debug/13272
3640 * Makefile.in (lbasename.o): Depend on filenames.h.
3641 * lbasename.c: Include "filenames.h" instead of defining
3642 its macros locally.
3643
b6fb00c0
DD
36442003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
3645
3646 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
3647 dynamic arrays.
3648 (struct d_operator_info): Add len field.
3649 (struct d_builtin_type_info): Add len and java_len fields.
3650 (struct d_standard_sub_info): Add simple_len, full_len, and
3651 set_last_name_len fields.
3652 (struct d_comp): Add len field to s_string.
3653 (struct d_info): Add send, did_subs, and expansion fields.
3654 (d_append_string_constant): Define.
3655 (d_append_string): Remove. Change all users to use
3656 d_append_string_constant or d_append_buffer instead.
3657 (d_make_sub): Add len parameter. Change all callers.
3658 (d_name): Increase expansion when substituting std::.
3659 (d_unqualified_name): Increase expansion for an operator.
3660 (d_number): Don't use multiplication for negative numbers.
3661 (d_identifier): Make sure there are enough characters in the
3662 string for the specified length. Adjust expansion for an
3663 anonymous namespace.
3664 (d_operators): Initialize len field.
3665 (d_special_name, d_ctor_dtor_name): Increase expansion.
3666 (d_builtin_types): Initialize len and java_len fields.
3667 (d_type): Increase expansion for a builtin type.
3668 (d_cv_qualifiers): Increase expansion for each qualifier.
3669 (d_bare_function_type): Decrease expansion when removing single
3670 void parameter.
3671 (d_template_param): Increment did_subs.
3672 (d_expression): Increase expansion for an operator.
3673 (d_expr_primary): Decrease expansion for a type we will print
3674 specially.
3675 (standard_subs): Initialize new fields.
3676 (d_substitution): Increment did_subs when doing a normal
3677 substitution. Increase expansion for a special substitution.
3678 (d_print): Add estimate parameter. Change all callers.
3679 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
3680 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
3681 (d_print_java_identifier): Rename from d_print_identifier. Handle
3682 only Java case. Change caller.
3683 (d_init_info): Change return type to void. Change all callers.
3684 Initialize send, did_subs, and expansion fields. Do not
3685 initialize comps and subs fields.
3686 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
3687 arrays on stack. Make an estimate of the length of the demangled
3688 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
3689 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
3690 subs arrays on stack.
3691
2730f651
DD
36922003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
3693
3694 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
3695 after the identifier.
3696 * testsuite/demangle-expected: Add test case.
3697
d4edd112
DD
36982003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
3699
3700 Fix for PR c++/13447:
3701 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
3702 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
3703 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
3704 D_COMP_QUAL_NAME.
3705 (is_ctor_or_dtor): Likewise.
3706 (d_local_name): Use D_COMP_LOCAL_NAME rather than
3707 D_COMP_QUAL_NAME.
3708 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
3709 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
3710 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
3711 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
3712 * testsuite/demangle-expected: Add two test cases.
3713
3714 * cp-demangle.c (d_print_function_type): Clear the global modifier
3715 list when printing the modifiers, not just when printing the
3716 function parameters.
3717 * testsuite/demangle-expected: Add two test cases.
3718
d35d0cd4
DD
37192003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
3720
3721 * cp-demangle.c (d_print_function_type): Print the function
3722 parameters with no modifiers.
3723 * testsuite/demangle-expected: Add test case.
3724
3725 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
3726 expect that we've read the entire string.
3727 (is_ctor_or_dtor): Don't expect that we've read the entire
3728 string--reverse patch of 2003-11-29.
3729
09e9708c
DD
37302003-12-15 Brendan Kehoe <brendan@zen.org>
3731
41f225de 3732 * Makefile.in (floatformat.o): Add dependency on
09e9708c
DD
3733 config.h to accompany change of 2003-12-03.
3734
97ceaf5b
DD
37352003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
3736
3737 Fix handling of constructor/destructor of standard substitution:
3738 * cp-demangle.c (struct d_standard_sub_info): Define.
3739 (d_substitution): Add prefix argument. Change all callers.
3740 Rework handling of standard substitutions to print full name when
3741 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
3742 * testsuite/demangle-expected: Add test case.
3743
3744 Fix handling of negative literal constants:
3745 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
3746 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
3747 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
3748 (d_print_comp): Handle D_COMP_LITERAL_NEG.
3749 * testsuite/demangle-expected: Add test case.
3750
858b45cf
DD
37512003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
3752
3753 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
3754 (d_last_char): Define new macro.
3755 (d_make_name): Reject an empty name.
3756 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
3757 (d_substitution, d_print_identifier): Likewise.
3758 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
3759 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
3760 (d_print_mod) Use new d_last_char macro.
3761 (d_print_cast): Use new d_last_char macro.
3762 (is_ctor_or_dtor): Don't leak memory.
3763
3764 Fix handling of member function modifiers:
3765 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
3766 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
3767 (d_dump): Dump new d_comp_type values.
3768 (d_make_comp): Accept new d_comp_type values.
3769 (has_return_type): Only accept _THIS variants of qualifiers.
3770 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
3771 qualifiers.
3772 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
3773 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
3774 qualifiers and printing them at the end, add _THIS qualifiers to
3775 the modifier list.
3776 (d_print_comp) [D_COMP_*_THIS]: New cases.
3777 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
3778 qualifiers.
3779 (d_print_mod_list): Add suffix parameter. Change all callers.
3780 Keep walking the list even if the current modifier has been
3781 printed.
3782 (d_print_mod): Handle new _THIS qualifiers.
3783 (d_print_function_type): Handle new _THIS qualifiers when deciding
3784 whether to print a parenthesis. Put a space before the
3785 parenthesis in some cases. Call d_print_mod_list again at the
3786 end, passing suffix as 1.
3787 (is_ctor_or_dtor): Look for new _THIS qualifiers.
3788 * testsuite/demangle-expected: Add test case.
3789
3790 Fix for PR gcc/13304:
3791 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
3792 before the '<' is itself a '<', insert a space.
3793 (d_print_cast): Likewise.
3794 * testsuite/demangle-expected: Add test case.
3795
3796 Fix for PR gcc/13244:
3797 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
3798 which uses the '>' operator in an extra layer of parens.
3799 * testsuite/demangle-expected: Add test case.
3800
b52927b7
DD
38012003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
3802
3803 * floatformat.c: Include "config.h" and <string.h> if available.
3804 (INFINITY, NAN): Define if not defined by <math.h>.
3805 (floatformat_to_double): Handle NaN, infinity, and denormalized
3806 numbers.
3807 (floatformat_from_double): Likewise.
3808 (ieee_test): In debugging code, use little endian rather than big
3809 endian. Correct tests to handle NaN and to check correct sign of
3810 zero. Omit m68k extended test.
3811 (main): Add more debugging cases.
3812
24afc00d
DD
38132003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
3814
3815 * cp-demangle.c (d_demangle): Only return success if we consumed
3816 the entire demangled string.
3817 (is_ctor_or_dtor): Likewise.
3818
3819 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
3820 to restore expected result of EDG test case to original expected
3821 result.
3822
331c3da2
DD
38232003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
3824
3825 * cp-demangle.c (struct d_print_mod): Add templates field.
3826 (d_make_builtin_type): Check for NULL type.
3827 (d_make_extended_operator): Check for NULL name.
3828 (d_make_ctor, d_make_dtor): Likewise.
3829 (d_mangled_name): Add top_level parameter. Change all callers.
3830 (d_encoding): If DMGL_PARAMS is not set, strip off initial
3831 CV-qualifiers.
3832 (d_type): Check some return values we rely on.
3833 (d_bare_function_type, d_array_type): Likewise.
3834 (d_pointer_to_member_type, d_template_args): Likewise.
3835 (d_add_substitution): Fail if argument is NULL.
3836 (d_print_resize): Check whether buf is NULL.
3837 (d_print_comp): Save current templates list with each modifier.
3838 Don't pass the modifier list down when printing a template.
3839 (d_print_cast): Don't pass the modifier list down when printing a
3840 template.
3841 (d_print_mod_list): Temporarily set templates list while printing
3842 a modifier.
3843 (d_print_mod): Check that buf is not NULL before using it.
3844 (d_print_function_type): Print parens if there is no modifier.
3845 (d_init_info): Permit as many substitutions as there are
3846 characters in the mangled name.
3847 * testsuite/demangle-expected: Add two new test cases.
3848
51948b34
DD
38492003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
3850
3851 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
3852 d_demangle.
3853
6d95373e
DD
38542003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
3855
3856 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
3857 callers.
3858 (print_usage): Display new -p option.
3859 (long_options): Add --no-params.
3860 (main): Accept and handle -p.
3861
54a962d9
DD
38622003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
3863
3864 * cp-demangle.c (has_return_type): Skip qualifiers when checking
3865 whether we have a template.
3866 * testsuite/demangle-expected: Add four new tests.
3867
8fe0d347
DD
38682003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
3869
3870 * testsuite/demangle-expected: Minor changes to match output of
3871 new demangler: adjust whitespace in four tests, and change order
3872 of qualifiers in one test.
3873
3874 * cp-demangle.c: Complete rewrite.
3875
dd9d4b48
DD
38762003-11-19 Mark Mitchell <mark@codesourcery.com>
3877
3878 * cp-demangle.c (demangle_type): Correct thinko in substitution
3879 processing.
3880
0976f6a7
DD
38812003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
3882
3883 * cp-demangle.c (demangle_operator_name): Remove space before
3884 "sizeof".
3885 (demangle_type_ptr): Put qualifiers in the right place. Handle
3886 qualifiers in pointer to member specially.
3887 (demangle_type): Handle qualifiers for pointer or reference
3888 specially. Handle function type.
3889 (demangle_local_name): Save and restore caret around demangling of
3890 initial encoding.
3891
3892 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
3893 cplus_demangle.
3894
3895 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
3896
e7e6980b
DD
38972003-10-31 Andreas Jaeger <aj@suse.de>
3898
3899 * floatformat.c (floatformat_always_valid): Add unused attribute.
3900
97ceaf5b
DD
39012003-10-30 Josef Zlomek <zlomekj@suse.cz>
3902
3903 Jan Hubicka <jh@suse.cz>
3904 * vasprintf.c (int_vasprintf): Pass va_list by value.
3905 Use va_copy for copying va_list.
3906 (vasprintf): Pass va_list by value.
3907
686e72d7
DD
39082003-10-30 Josef Zlomek <zlomekj@suse.cz>
3909
3910 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
3911 instead of increasing n_elements when inserting to deleted slot.
3912
eec65ede
JB
39132003-10-20 J. Brobecker <brobecker@gnat.com>
3914
3915 * cplus-dem.c (demangle_template): Register a new Btype only
3916 when needed.
3917 * testsuite/demangle-expected: Add a new test.
3918
cd275bff
L
39192003-10-16 H.J. Lu <hongjiu.lu@intel.com>
3920
3921 * testsuite/demangle-expected: Update the expected output of
3922 _GLOBAL__I__Z2fnv.
3923
e3b1168e
DJ
39242003-10-02 Daniel Jacobowitz <drow@mvista.com>
3925
3926 * strerror.c: Revert last change. Declare static sys_nerr
3927 and sys_errlist using different names.
3928
efb150d5
DJ
39292003-10-01 Daniel Jacobowitz <drow@mvista.com>
3930
3931 * strerror.c: Don't provide or reference sys_errlist if
3932 strerror is available.
3933
b7ca9213
L
39342003-10-01 H.J. Lu <hongjiu.lu@intel.com>
3935
3936 * configure.in: Check if $MAKEINFO is missing.
3937 * configure: Regenerated.
3938
8ddbb593
DJ
39392003-09-24 Daniel Jacobowitz <drow@mvista.com>
3940
3941 * configure.in: Use AC_PROG_CPP_WERROR.
3942 * configure: Regenerated.
3943
5324d185
AC
39442003-09-22 Andrew Cagney <cagney@redhat.com>
3945
3946 * floatformat.c (floatformat_i387_ext_is_valid): New function.
3947 (floatformat_always_valid): New function.
3948 (floatformat_i387_ext): Initialize new "is_valid" field to
3949 "floatformat_i387_ext_is_valid".
3950 (floatformat_ieee_single_little): Initialize "is_valid" field to
3951 floatformat_always_valid.
3952 (floatformat_ieee_double_big): Ditto.
3953 (floatformat_ieee_double_little): Ditto.
3954 (floatformat_ieee_double_little): Ditto.
3955 (floatformat_ieee_double_littlebyte_bigword): Ditto.
3956 (floatformat_i960_ext): Ditto.
3957 (floatformat_m88110_ext): Ditto.
3958 (floatformat_m88110_harris_ext): Ditto.
3959 (floatformat_arm_ext_big): Ditto.
3960 (floatformat_arm_ext_littlebyte_bigword): Ditto.
3961 (floatformat_ia64_spill_big): Ditto.
3962 (floatformat_ia64_spill_little): Ditto.
3963 (floatformat_ia64_quad_big): Ditto.
3964 (floatformat_ia64_quad_little): Ditto.
3965 (floatformat_ia64_quad_little): Ditto.
3966 (floatformat_is_valid): Call "is_valid".
3967
34f4a113
AC
39682003-09-15 Andrew Cagney <cagney@redhat.com>
3969
3970 * floatformat.c (get_field): Make "data" constant.
3971 (floatformat_is_valid, floatformat_to_double): Make "from"
3972 constant, fix casts.
3973 (floatformat_from_double): Make "from" constant.
3974
3f2aacaf
DJ
39752003-09-15 Daniel Jacobowitz <drow@mvista.com>
3976
3977 * floatformat.c (floatformat_is_valid): New function.
3978 (get_field, put_field): Correct comments.
3979
aae66b9f
DD
39802003-09-06 Josef Zlomek <zlomekj@suse.cz>
3981
3982 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
3983 FIBHEAPKEY_T.
3984
60b04ee8
DD
39852003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3986
3987 PR bootstrap/12100
3988 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
3989 * configure: Rebuilt.
3990
2299a76d
DJ
39912003-08-27 Daniel Jacobowitz <drow@mvista.com>
3992
3993 * aclocal.m4: Include acx.m4 and no-executables.m4.
3994 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
3995 (LIB_AC_PROG_CC): Remove.
3996 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
3997 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
3998 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
3999 performing link tests.
4000 * configure: Regenerated.
4001
9ad1aa29
DD
40022003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
4003
a21da8bf 4004 * cp-demangle.c: Clarify what package(s) this is part of.
9ad1aa29 4005
dbb9d0f3
DD
40062003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
4007
4008 * pex-win32.c (pexecute): Mark parameters this_pname and
4009 temp_base as unused. Remove unused variables retries,
4010 sleep_interval. Initialize org_stdin, org_stdout.
4011 (pwait): Mark parameter flags as unused.
4012
40132003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
ab8c7bb1
DD
4014
4015 * pex-win32.c (fix_argv): Ensure that the executable pathname
4016 uses Win32 backslashes.
4017 (pexecute): Cast away constness when assigning *errmsg_arg.
4018
78c5b0a5
L
40192003-06-26 H.J. Lu <hongjiu.lu@intel.com>
4020
4021 * testsuite/demangle-expected: Add more GNU V3 testcases.
4022
70ecf948
DD
40232003-06-22 Zack Weinberg <zack@codesourcery.com>
4024
4025 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
4026 not HC_ASCII and HC_EBCDIC.
4027 Add documentation in form expected by gather-docs.
4028 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
4029 * Makefile.in, functions.texi: Regenerate.
4030
cbc0188b
DD
40312003-06-21 Zack Weinberg <zack@codesourcery.com>
4032
4033 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
4034 for charset determination.
4035
5f73c378
DD
40362003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
4037
4038 * configure.in: Add check for malloc.h needed by
4039 m68k for function free().
4040 * configure: Regenerated.
4041 * config.in: Add HAVE_MALLOC_H.
4042 * hashtab.c: include malloc.h were available for
4043 free().
4044
e69f6c8c 40452003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
cbc0188b 4046
e69f6c8c
DD
4047 PR bootstrap/10974
4048 * physmem.c: Update comment.
4049 * configure.in: Modify test for _system_configuration for older
4050 AIX systems.
4051
4052 * config.in, configure: Regenerated.
cbc0188b 4053
54c60684
DD
40542003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4055
4056 PR other/10810
4057 * test-demangle.c (getline): Fix fence-post error.
4058
5a4e47bd
NC
40592003-06-03 Nick Clifton <nickc@redhat.com>
4060
4061 * asprintf.c: Change comment to note that -1 is returned upon
4062 error.
4063 * vasprintf.c: Likewise.
4064 (vasprintf): Return -1 upon error.
4065 * functions.texi: Document changes to asprintf and vasprintf.
4066
916f5d13
DD
40672003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
4068
4069 * config.table: Accept i[345867]86 variant.
4070
e4f79046
JB
40712003-05-15 Jim Blandy <jimb@redhat.com>
4072
4073 * hex.c (_hex_value): Make this unsigned.
4074 (hex_value): Update documentation for new return type. hex_value
4075 now expands to an unsigned int expression, to avoid unexpected
4076 sign extension when we store it in a bfd_vma, which is larger than
4077 int on some platforms.
4078 * functions.texi: Regenerated.
4079
0f3538e7
DD
40802003-05-07 Josef Zlomek <zlomekj@suse.cz>
4081
4082 * splay-tree.c (splay_tree_predecessor): Fix comment.
4083 (splay_tree_successor): Fix comment.
4084
7108c5dc
JM
40852003-05-07 Jason Merrill <jason@redhat.com>
4086
eafaf5eb 4087 * hashtab.c (iterative_hash): New fn.
7108c5dc
JM
4088 * configure.in: Add AC_C_BIGENDIAN_CROSS.
4089 * aclocal.m4: Include accross.m4.
4090 * configure, config.in: Regenerate.
4091
0b555173
DD
40922003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4093
4094 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
4095 * configure: Regenerate.
4096
8730135a
DD
40972003-05-03 Carlo Wood <carlo@alinoe.com>
4098
4099 * cp-demangle.c: Fix typo in "char_traints" string-literal.
4100
341eccbc
DD
41012003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4102
4103 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
4104 (main): Test that we don't write too much data.
4105
2ed1e5cc
DD
41062003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4107
4108 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
4109 vsnprintf.
4110 * snprintf.c, vsnprintf.c: New files.
4111 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
4112 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
4113 Regenerate dependencies.
4114
4115 * functions.texi, configure, config.in: Regenerated.
4116
10b57b38
DD
41172003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4118
4119 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
4120 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
4121 and stpncpy.
4122 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
4123 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
4124 Regenerate dependencies.
4125
4126 * functions.texi, configure, config.in: Regenerated.
4127
ff773b85
DD
41282003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4129
4130 * argv.c: Fix comments.
4131 * calloc.c: Don't unnecessarily include "libiberty.h".
4132 (bzero): Add prototype.
4133 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
4134 * getcwd.c (getcwd): Use standard definition to avoid conflicts
4135 with system headers.
4136 * hashtab.c (htab_traverse): Delete unused variables.
4137 * rename.c: Include "ansidecl.h".
4138 (rename): Use standard definition to avoid conflicts with system
4139 headers.
4140 * strsignal.c: Rely on ANSI_PROTOTYPES.
4141 * strstr.c: Check GNUC >= 2, not GNUC == 2.
4142 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
4143 * vprintf.c: Include "ansidecl.h" earlier, rely on
4144 ANSI_PROTOTYPES.
4145 * vsprintf.c: Include "ansidecl.h" earlier, rely on
4146 ANSI_PROTOTYPES and possibly include <stdarg.h>.
cbc0188b 4147
ff773b85
DD
4148 * Makefile.in: Regenerate dependencies.
4149
bb325820
DD
41502003-04-15 DJ Delorie <dj@redhat.com>
4151
4152 * maint-tool (deps): Scan for headers in $srcdir also.
4153
258a4893
DD
41542003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4155
4156 PR target/10338
4157 PR bootstrap/10198
4158 PR bootstrap/10140
4159 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
4160 __mempcpy.
4161 * regex.c (regerror): Likewise.
4162
ff773b85
DD
41632003-04-14 Roger Sayle <roger@eyesopen.com>
4164
4165 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
4166 * memchr.c: Likewise.
4167 * strcasecmp.c: Likewise.
4168 * strncasecmp.c: Likewise.
4169 * strncmp.c: Likewise.
4170 * xatexit.c: Likewise.
4171 * xmalloc.c: Likewise.
4172
4173 * copysign.c: Use traditional function declaration instead of DEFUN.
4174 * sigsetmask.c: Likewise.
4175
4176 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
4177 * memset.c: Likewise.
4178
4179 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
4180 * memmove.c: Likewise.
4181
eec539c7
DD
41822003-04-14 Roger Sayle <roger@eyesopen.com>
4183
4184 * strdup.c (strdup): Tweak implementation to use memcpy.
4185
daf7c4ad
DD
41862003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4187
4188 * configure.in (HAVE_UINTPTR_T): Always define.
4189 * configure: Regenerated.
4190
aa072e59
AO
41912003-03-23 Alexandre Oliva <aoliva@redhat.com>
4192
4193 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
4194 instead of $$CC alone.
4195 (install_to_tooldir): Use it.
4196
f77ed96c
DD
41972003-17-03 Jan Hubicka <jh@suse.cz>
4198
4199 * hashtab.c (htab_traverse_noresize): Break out from ...
4200 * hashtab.c (htab_traverse): ... here.
4201
2336e177
DD
42022003-12-03 Jan Hubicka <jh@suse.cz>
4203
4204 * hashtab.c (htab_expand): Fix warning.
4205
4206 * hashtab.c (htab_expand): Compute the size of hashtable based
4207 on the number of elements actually used.
4208 (htab_traverse): Call htab_expand when table is too empty.
4209
d8cbbf95
DD
42102003-03-11 Carlo Wood <carlo@gnu.org>
4211
4212 * cplus-dem.c (demangle_integral_value): Correction to reflect
4213 patch of 2002-01-10 in order to also make negative multi-digits
4214 without leading underscore work.
4215
a01fefeb
DD
42162003-03-03 Mark Mitchell <mark@codesourcery.com>
4217
4218 * cplus-dem.c: Add license exception to copyright notice.
4219
638ceb1a
DD
42202003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4221
4222 * physmem.c: Formatting changes from upstream.
4223
ef803806
DD
42242003-02-24 Danny Smith <dannysmith@users.source.forge.net>
4225
4226 * physmem.c (physmem_total): Add _WIN32 support.
4227 (physmem_available): Likewise.
4228
181fa229
DD
42292003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4230
4231 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
4232 GSI_PHYSMEM.
4233 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
4234
cc529274
DD
42352003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4236
4237 * configure.in: Check for sys/systemcfg.h and
4238 _system_configuration.
4239 * physmem.c: Add support for AIX. Tweek formatting as per
4240 upstream coreutils beta.
4241
42422003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4243 Richard Earnshaw <rearnsha@arm.com>
4244 Geoffrey Keating <geoffk@apple.com>
cbc0188b 4245
cc529274
DD
4246 * configure.in: Check for sys/sysctl.h and sysctl.
4247 * physmem.c: Add support for *bsd and darwin.
4248 * Makefile.in: Generate depedency for physmem.o.
4249
192cbe66
DD
42502003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4251
4252 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
4253 Tru64 UNIX.
4254 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
4255 Tru64 UNIX.
4256
4257 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
4258 machine/hal_sysinfo.h, sys/table.h.
4259 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
4260 * configure, config.in: Regenerate.
4261
ff773b85
DD
42622003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4263
4264 * configure.in: Check for sys/sysmp.h and sysmp.
4265 * physmem.c: Pull upstream copy, add support for irix6.
4266
4267 * config.in, configure: Regenerated.
4268
900d2082
DD
42692003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4270
4271 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
4272 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
4273 pstat_getdynamic.
cbc0188b 4274
4938384a
DD
42752003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4276
4277 * Makefile.in (CFILES): Add physmem.c.
4278 (REQUIRED_OFILES): Add physmem.o.
4279 * configure.in: Check for sys/pstat.h.
4280 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
4281 * physmem.c: New file, copied from textutils.
4282
4283 * config.in, configure: Regenerated.
4284
ba61a412
DJ
42852003-02-20 Daniel Jacobowitz <drow@mvista.com>
4286
4287 * Makefile.in (CFILES): Add lrealpath.c.
4288 (REQUIRED_OFILES): Add lrealpath.o.
4289 (lrealpath.o): Add rule.
4290 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
4291 * configure.in: Add realpath and canonicalize_file_name to
4292 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
4293 for canonicalize_file_name.
4294 * lrealpath.c: New file.
4295 * make-relative-prefix.c: Update documentation.
4296 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
4297 * config.in: Regenerated.
4298 * configure: Regenerated.
4299 * functions.texi: Regenerated.
4300
25dfe0ac
DD
43012003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
4302
4303 * cplus_dem.c: Fix typo: intializes -> initializes.
4304
8b90eef4
AO
43052003-02-20 Alexandre Oliva <aoliva@redhat.com>
4306
4307 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4308 config.status.
4309 * configure: Rebuilt.
4310
fcd7c7c9
DD
43112003-02-13 Daniel Jacobowitz <drow@mvista.com>
4312
4313 Fix PR c++/7612.
4314 * cplus-dem.c (demangle_signature): Call string_delete.
4315 Remove extra string_init.
4316 (demangle_arm_hp_template): Call string_delete instead of
4317 string_clear. Add missing string_delete call.
4318 (demangle_qualified): Add missing string_delete call.
4319 (do_type): Remove unused variable btype. Add missing string_delete
4320 call. Call string_delete instead of string_clear.
4321 (demangle_fund_type): Move variable btype inside of the switch
4322 statement. Add missing string_delete call.
4323 (do_arg): Call string_delete instead of string_clear. Remove extra
4324 string_init.
4325 (demangle_nested_args): Free work->previous_argument.
4326
073c427b
DD
43272003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4328
4329 * acconfig.h: New file. Add uintptr_t.
4330 * config.in: Regenerated.
4331
f8bd3000
DD
43322003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
4333
4334 * libiberty.texi: Update to GFDL 1.2.
4335
85b9a938
DD
43362003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
4337
4338 * Makefile.in (libiberty_topdir): New subst.
4339 (mkinstalldirs): Redefine in terms of the above.
4340 * configure.in: AC_SUBST it.
4341 * configure: Regenerate.
4342
578460f2
AO
43432003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
4344
4345 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
4346 (info-subdir, install-info-subdir, clean-info-subdir)
4347 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
4348 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
4349 Pass $(FLAGS_TO_PASS).
4350
7f285245
AO
43512003-01-27 Alexandre Oliva <aoliva@redhat.com>
4352
4353 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
4354 /`$$CC -print-multi-os-directory`.
4355
5f9624e3
DJ
43562003-01-26 Daniel Jacobowitz <drow@mvista.com>
4357
4358 * hashtab.c (htab_create_alloc_ex): New function.
4359 (hatab_set_functions_ex): New function.
4360 (htab_delete, htab_expand): Support alternate allocation functions.
4361
9c2259b8
DD
43622003-01-24 Christopher Faylor <cgf@redhat.com>
4363
4364 * configure.in: Remove special pex-cygwin consideration.
4365 * configure: Regenerate.
4366 * pex-cygwin.c: Remove.
4367 * Makefile.in: Remove pex-cygwin.[co] lines.
4368
5a17353c
DD
43692003-01-24 Zack Weinberg <zack@codesourcery.com>
4370
4371 * Makefile.in (CFILES): Add pex-*.c.
4372 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
4373 (CONFIGURED_OFILES): Add pex-*.o.
4374 (TEXIFILES): Add pexecute.txh.
4375 (pexecute.o): Delete rule.
4376 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
4377 pex-unix.o, pex-win32.o): New rules.
4378 * configure.in: Change AC_INIT argument to xmalloc.c.
4379 Compute appropriate pexecute implementation and substitute it
4380 as @pexecute@.
4381
4382 * pexecute.c: Split up into...
4383 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
4384 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
4385 new files.
4386
4387 * functions.texi: Regenerate.
4388 * configure: Regenerate.
4389
eed2b28c
DD
43902003-01-20 Josef Zlomek <zlomekj@suse.cz>
4391
4392 * hashtab.c (htab_expand): Fix allocation of new entries.
4393
27a39a5f
DD
43942003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
4395
4396 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
4397
4398 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
4399 mkinstalldirs command.
4400
b51c1553
DD
44012002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
4402
4403 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
4404 Define for hosts with HOST_EXECUTABLE_SUFFIX.
4405
756954c3
DD
44062002-11-24 Nick Clifton <nickc@redhat.com>
4407
4408 * make-relative-prefix.c (make_relative_prefix): Ensure return
4409 string is empty before using strcat to construct it.
4410
2a80c0a4
DD
44112002-11-22 Daniel Jacobowitz <drow@mvista.com>
4412
4413 * Makefile.in: Add make-relative-prefix.c.
4414 * make-relative-prefix.c: New file.
4415 * functions.texi: Rebuilt.
4416
768b20d8
JJ
44172002-11-16 Jakub Jelinek <jakub@redhat.com>
4418
4419 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
4420 used with arguments in traditional C' warnings.
4421
f52d1d64
JJ
44222002-10-16 Jakub Jelinek <jakub@redhat.com>
4423
4424 * config.table: Use mh-s390pic for s390x too.
4425
0d3deb8d
DD
44262002-10-06 Andreas Jaeger <aj@suse.de>
4427
41f225de 4428 * cplus-dem.c (ada_demangle): Get rid of unneeded
0d3deb8d
DD
4429 variable and of strict-aliasing warning.
4430 (grow_vect): Use char as first parameter.
4431
1b67de92
DD
44322002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4433
4434 * Makefile.in (all): Fix multilib parallel build.
4435
585cc78f
DD
44362002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
4437
4438 * cp-demangle.c (demangling_new): Cast 0 to enum.
4439 (demangle_char): Cast return of strdup to char *.
4440 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
4441 (is_gnu_v3_mangled_dtor): Likewise.
4442 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
4443 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
4444 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
4445 * md5.c (md5_process_bytes): Cast results back to const void *.
4446 (md5_process_block): Add cast to const md5_uint32 *.
4447 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
4448 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
4449 unsigned short.
4450 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
4451 to void *.
4452 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
4453
e21b0cc1
NC
44542002-09-19 Nick Clifton <nickc@redhat.com>
4455
4456 * README: Update email addresses for bugs and patches.
4457
a54ba43f
DD
44582002-09-10 Mike Stump <mrs@apple.com>
4459
4460 * splay-tree.c (splay_tree_successor): Fix comments.
4461
44622002-09-11 Zack Weinberg <zack@codesourcery.com>
4463
4464 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
4465 * testsuite/Makefile.in: Adjust for test-demangle.
4466 * testsuite/regress-demangle: Deleted.
4467 * testsuite/test-demangle.c: New file.
4468 * testsuite/demangle-expected: Change \$ to $ throughout, now that
4469 this file is not being read by a shell script.
4470
01cea699
DD
44712002-09-05 Roger Sayle <roger@eyesopen.com>
4472
4473 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
4474
a2832523
DD
44752002-08-07 DJ Delorie <dj@redhat.com>
4476
4477 * regex.c (re_error_msgid): Just use a simple array of strings.
4478 (re_compile_pattern): Compensate.
4479 (re_comp): Likewise.
4480 (re_comp): Likewise.
4481 (regerror): Likewise.
4482
1e3f0be0
DD
44832002-07-29 Neil Booth <neil@daikokuya.co.uk>
4484
4485 * cplus-dem.c (PREPEND_BLANK): Remove.
4486
b851d07b
DD
44872002-07-10 Jason Merrill <jason@redhat.com>
4488
4489 * cp-demangle.c (demangle_identifier): Support extended Unicode
4490 characters.
4491
2a9dffbf
DD
44922002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4493
4494 * cp-demangle.c (demangle_v3_with_details): Wrap in
4495 !defined IN_GLIBCPP_V3.
4496
793011ca
DD
44972002-07-01 Mark Mitchell <mark@codesourcery.com>
4498
4499 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
4500 Set it for the "st" operator.
4501 (demangle_expression): Handle expressions with types as arguments.
4502
b39b76b8
DD
45032002-06-30 Douglas Rupp <rupp@gnat.com>
4504
4505 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
4506 * Makefile.in (OUTPUT_OPTION): Use.
4507
4748c6d8
DD
45082002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
4509
4510 * Makefile.in (install_to_libdir): Add $(DESTDIR).
4511 (install_to_tooldir): Likewise.
4512
f9c3326a
DD
45132002-06-17 Douglas Rupp <rupp@gnat.com>
4514
4515 * lbasename.c: Add 2002 to copyright.
4516 (IS_DIR_SEPARATOR): Remove VMS junk.
4517
18893690
DD
45182002-06-05 Geoffrey Keating <geoffk@redhat.com>
4519
4520 * hashtab.c (htab_create): New stub function for backward
4521 compatibility.
4522 (htab_try_create): Likewise.
4523
45242002-06-03 Geoffrey Keating <geoffk@redhat.com>
4525
4526 * hashtab.c (htab_create): Delete.
4527 (htab_try_create): Delete.
4528 (htab_create_alloc): New.
4529 (htab_delete): Support user-specified memory allocation.
4530 (htab_expand): Likewise.
4531
45322002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4533
4534 * configure.in: Fix typo in the code checking for sys_errlist.
4535 * configure: Regenerated.
4536
9296c8b2
DD
45372002-05-13 Andreas Schwab <schwab@suse.de>
4538
4539 * config.table: Use mh-x86pic also for x86-64.
4540
52d98c2d
DD
45412002-05-08 Alexandre Oliva <aoliva@redhat.com>
4542
4543 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
4544 script entry, and set LD to it when configuring multilibs.
4545 * configure: Rebuilt.
4546
cafa3917
DD
45472002-05-07 Mark Mitchell <mark@codesourcery.com>
4548
4549 * configure.in (AC_TYPE_PID_T): Use it.
4550 * configure: Regenerated.
4551 * getruntime.c: Include <sys/types.h>.
4552 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
4553
b1c933fc
RH
45542002-04-09 Richard Henderson <rth@redhat.com>
4555
4556 * hashtab.c (higher_prime_number): Use 7 as minimum.
4557 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
4558 (htab_find_slot_with_hash): Likewise.
4559
0c4460bb
DD
45602002-04-01 Phil Edwards <pme@gcc.gnu.org>
4561
4562 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
4563 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
4564 not compile if IN_GLIBCPP_V3 defined.
4565 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
4566
f2160d2b
DD
45672002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4568
3ebf1f59 4569 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
4570 if it is NULL.
4571
7dd4d42a
DD
45722002-03-27 DJ Delorie <dj@redhat.com>
4573
4574 * hex.c: Add documentation.
4575 (_hex_value): Provide non-ASCII empty table.
4576 (hex_init): Initialize the non-ASCII table.
4577 * functions.texi: Regenerate.
4578
38e57a35
DD
45792002-03-27 Mark Mitchell <mark@codesourcery.com>
4580
4581 * dyn-string.c: Add libgcc exception to copyright notice.
4582
cfed0715
DD
45832002-03-26 H.J. Lu (hjl@gnu.org)
4584
4585 * config.table: Support --with-build-subdir.
4586 * configure.in: Likewise.
4587 * configure: Rebuild.
4588
1504972f
DD
45892002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
4590
4591 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
4592 seen.
4593
35efcd67
DD
45942002-03-12 Mark Mitchell <mark@codesourcery.com>
4595
4596 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
4597 notice.
4598
dabc64ea
DD
45992002-03-11 Douglas B Rupp <rupp@gnat.com>
4600
4601 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
4602
3ddbd84c
JB
46032002-03-06 Jim Blandy <jimb@redhat.com>
4604
4605 * splay-tree.c (splay_tree_xmalloc_allocate,
4606 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
4607 prototyped definitions. Mark `data' arguments as unused.
4608
efdab807
AC
46092002-03-06 Andrew Cagney <ac131313@redhat.com>
4610
4611 * floatformat.c (floatformat_arm_ext_big): Delete definition.
4612
50d4562d
DD
46132002-03-04 Phil Edwards <pme@gcc.gnu.org>
4614
4615 * configure.in: Add --enable-install-libiberty option.
4616 * Makefile.in (INSTALLED_HEADERS): New variable.
4617 (install_to_libdir): Possibly also copy headers.
4618 * configure: Regenerated.
4619
46202002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
4621
4622 * xmalloc.c (xmalloc_fail): Clarify error message further.
4623
6e9980f5
DD
46242002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
4625
4626 * xmalloc.c (xmalloc_fail): Clarify error message.
4627
18893690 46282002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
4629
4630 * splay-tree.c (splay_tree_xmalloc_allocate,
4631 splay_tree_xmalloc_deallocate): New functions.
4632 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
4633 above functions and a dummy data pointer.
4634 (splay_tree_new_with_allocator): New function.
4635 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
4636 splay_tree_remove): Use the splay tree's allocation and
4637 deallocation functions.
4638
59ea9fe7
DD
46392002-02-19 Scott Snyder <snyder@fnal.gov>
4640
4641 * testsuite/demangle-expected: Add test case for infinite loop in
4642 demangler.
4643 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
4644 if do_type() doesn't make any progress --- prevents an infinite
4645 loop.
4646
6f848550
DD
46472002-02-18 Carlo Wood <carlo@gnu.org>
4648
4649 PR c++/5390
4650 * cplus-dem.c (demangle_integral_value): Accept multi-digit
4651 numbers that do not start with an underscore; This is needed
4652 for integer template parameters. This doesn't break anything
4653 because multi-digit numbers are never followed by a digit.
4654 * testsuite/demangle-expected: Corrected all mangled test
4655 cases with multi-digit template parameters: g++ 2.95.x does
4656 not generate underscores around these parameters.
4657
44354ae1
DD
46582002-02-05 Jason Merrill <jason@redhat.com>
4659
4660 * cplus-dem.c (flags): Add DMGL_VERBOSE
4661 (cplus_demangle_v3_p): Remove.
4662 (demangle_it): Add DMGL_TYPES to passed flags.
4663 * cp-demangle.c (cplus_demangle_v3_all): Remove.
4664 (cplus_demangle_v3_type): Remove.
4665 (cplus_demangle_v3): Add options parm.
4666
42da15d6
DD
46672002-02-02 H.J. Lu (hjl@gnu.org)
4668
4669 * cp-demangle.c (cp_demangle_type): Do not protect with
4670 IN_LIBGCC2.
4671 (cplus_demangle_v3_all): New.
4672 (cplus_demangle_v3): Call cplus_demangle_v3_all.
4673 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
4674
4675 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
4676 Initialized to cplus_demangle_v3.
4677 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
4678 of cplus_demangle_v3.
4679 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
4680 command line symbol.
4681
4682 * testsuite/regress-demangle: Pass the mangled name at the
4683 command line.
4684
b117c158
DD
46852002-02-01 H.J. Lu <hjl@gnu.org>
4686
4687 * cp-demangle.c (cp_demangle_type): Call demangling_new with
4688 DMGL_GNU_V3.
4689
c78d91b1
DD
46902002-01-31 Phil Edwards <pme@gcc.gnu.org>
4691
4692 * cp-demangle.c: Revert yesterday's change.
4693
bef8b55d
DD
46942002-01-31 Adam Megacz <adam@xwt.org>
4695
41f225de 4696 * configure.in: Treat mingw the same as cywin
bef8b55d
DD
4697 wrt HAVE_SYS_ERRLIST.
4698
2c955b8b
DD
46992002-01-30 Phil Edwards <pme@gcc.gnu.org>
4700
4701 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
4702 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
4703 cp_demangle_type.
4704 * testsuite/demangle-expected: New gnu-v3 test.
4705
58b1717a
RH
47062002-01-22 Momchil Velikov <velco@fadata.bg>
4707
4708 * configure.in (variable detection): Use arrays of unspecified
4709 size instead of plain integers.
4710
cc096b71
DD
47112002-01-18 DJ Delorie <dj@redhat.com>
4712
4713 * Makefile.in (TESTLIB): New. This library is for future
4714 testsuites.
4715 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
4716 break down by letter.
4717 (REQUIRED_OFILES): List long-to-compile files first.
4718 (maint-deps): New, target for updating dependencies.
4719 (dependencies): Update.
4720 * maint-tool: Add dependency-generating option.
4721 * configure.in: Check for _doprnt even if we're not providing it.
4722 * configure: Regenerate.
4723
4724 * _doprnt.c: Modifications to allow compiling on any platform.
4725 * copysign.c: Likewise.
4726 * putenv.c: Likewise.
4727 * setenv.c: Likewise.
4728 * vsprintf.c: Likewise.
4729
47302002-01-15 Douglas B Rupp <rupp@gnat.com>
4731
4732 * mkstemps.c (mkstemps): On VMS, open temp file with option
4733 that causes it to be deleted when closed.
4734
20d54542
DD
47352002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4736
c23795e2
DD
4737 * cp-demangle.c (long_options): Const-ify.
4738 * cplus-dem.c (long_options): Likewise.
4739
20d54542
DD
4740 * cplus-dem.c (mystrstr): Delete. All callers changed to use
4741 strstr instead.
4742
f348a7b1
DD
47432001-12-31 Ira Ruben <ira@apple.com>
4744
4745 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
4746 * configure: Regenerated.
4747
d86cd745
DD
47482001-12-24 Douglas B. Rupp <rupp@gnat.com>
4749
4750 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
4751 * configure: Regenerated.
4752
ae533646
DD
47532001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
4754
4755 PR other/2719
4756 * cplus-dem.c (consume_count): Treat negative count as an error.
4757 * testsuite/demangle-expected: Added testcase.
4758
c0eb281b
DD
4759Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
4760
4761 * configure.in: Hardcode that vfork works on VMS host.
4762 * configure: Regenerated.
4763
2da4c07f
RH
47642001-12-06 Richard Henderson <rth@redhat.com>
4765
4766 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
4767 (cplus_demangle): Support no_demangling.
4768
24acd898
DD
47692001-11-27 Zack Weinberg <zack@codesourcery.com>
4770
4771 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
4772 in libiberty context. Fix typo in leading comment.
4773 * configure.in: Fix various AC_DEFINEs so autoheader works.
4774 If any of vprintf, vsprintf, vfprintf is missing from libc,
4775 then AC_REPLACE_FUNCS(_doprnt).
4776
fec50157 47772001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 4778 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
4779
4780 * Makefile.in (stamp-h): Depend on Makefile for proper
4781 serialization.
4782 (*-subdir): Depend on config.h for proper serialization.
4783
5527febf
DD
47842001-11-26 DJ Delorie <dj@redhat.com>
4785
4786 * configure.in: Check for alloca.h (for regex.c and putenv.c).
4787 * configure: Regenerate.
4788 * config.h: Add HAVE_ALLOCA_H.
4789
941d74a0
DD
47902001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4791
4792 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
4793 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
4794 is available.
4795
dc579051
DD
4796Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
4797
4798 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
4799 * configure.in (HAVE_UINTPTR_T): Test for system defining
4800 uintptr_t and define HAVE_UINTPTR_T appropriately.
4801 * regex.c (uintptr_t): Do not provide a definition if the
4802 system provided one.
4803
4804 * regex.c (PREFIX): Provide an alternate definition for
4805 non-ANSI/ISO compilers.
4806 (ARG_PREFIX): Likewise.
4807
1a78a35a
DD
48082001-11-12 Jim Meyering <meyering@lucent.com>
4809
4810 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
4811 this code would end up calling gettext even in packages built
4812 with --disable-nls.
4813 * getopt.c (_): Likewise.
4814 * regex.c (_): Likewise.
4815
4e55c4b6
DD
48162001-11-03 Alan Modra <amodra@bigpond.net.au>
4817
4818 * configure.in: Cope with missing makeinfo.
4819 * configure: Regenerate.
4820
d311a83a
DD
48212001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4822
4823 * hex.c (hex_init): Provide empty stub.
4824
4825 * hex.c (hex_init): Delete.
4826 (_hex_value): Const-ify and initialize at compile-time.
4827
3bc62f91
DD
48282001-10-19 H.J. Lu <hjl@gnu.org>
4829
4830 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
4831 necessary.
4832
5d852400
DD
48332001-10-17 DJ Delorie <dj@redhat.com>
4834
4835 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
4836 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 4837 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
4838 Improve manual formatting.
4839 * functions.texi: Regenerate.
4840
ba19b94f
DD
48412001-10-15 DJ Delorie <dj@redhat.com>
4842
4843 * Makefile.in (TEXIFILES): Add fnmatch.txh.
4844 (maint-undoc): New.
4845 maint-tool: Add "undoc" tool.
4846 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
4847 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
4848 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
4849 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
4850 documentation.
4851 * fnmatch.txh: New.
4852 * functions.texi: Regenerate.
4853
56056af5
DD
48542001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
4855
4856 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
4857 * strtod.c: Use "ISO C" instead of "ANSI C".
4858 * functions.texi: Regenerate.
4859
99b58139
DD
48602001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
4861
4862 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
4863 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
4864 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
4865 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
4866 spelling. Give names to function arguments in documentation. Use
4867 (void) prototypes in documentation.
4868 * functions.texi: Regenerate.
4869
e6450fe5
DD
48702001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4871
4872 * argv.c (buildargv, tests, main): Const-ify.
4873 * cp-demangle.c (operator_code): Likewise.
4874 * cplus-dem.c (optable, libiberty_demanglers,
4875 cplus_demangle_set_style, cplus_demangle_name_to_style,
4876 print_demangler_list): Likewise.
4877 * hashtab.c (higher_prime_number): Likewise.
4878 * strcasecmp.c (charmap): Likewise.
4879 * strerror.c (error_info, strerror, main): Likewise.
4880 * strncasecmp.c (charmap): Likewise.
4881 * strsignal.c (signal_info): Likewise.
4882
da191b5b
DD
48832001-09-29 DJ Delorie <dj@redhat.com>
4884
4885 * configure: Regenerate.
4886
916aaa12
DD
48872001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4888
4889 * concat.c: Include stdlib.h.
4890
fa9f0e33
DD
48912001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
4892
4893 * libiberty.texi: (Top level): Add syncodeindex pg. Add
4894 @dircategory and @direntry directives. Add @finalout.
4895 (many nodes): Lose the next,prev,up pointers on the @nide line.
4896 (Using, Supplemental Functions, Replacement Functions): Fix
4897 markup.
4898 (Functions): Move around, to allow makeinfo to build the manual
4899 without next,prev,up pointers in thye node lines.
4900 (Licenses): Fix typos.
4901
4902 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
4903 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
4904 * functions.texi: Regenerate.
4905
4906 * copying-lib.texi: Lose the next,prev,up pointers on the @node
4907 line.
4908
49092001-09-27 DJ Delorie <dj@redhat.com>
4910
4911 * configure.in: Don't use in-tree texinfo, because libiberty must
4912 be built before it. Check for makeinfo version 4 or higher.
4913 * functions.texi: Regenerate.
4914
39423523
DD
49152001-09-20 DJ Delorie <dj@redhat.com>
4916 Phil Edwards <pedwards@disaster.jaj.com>
4917
4918 * configure.in (MAKEINFO, PERL): Detect these.
4919 (--enable-maintainer-mode): Add.
4920 * configure: Regenerate.
4921 * Makefile.in (MAKEINFO, PERL): Define.
4922 (libiberty.info, libiberty.dvi, libiberty.html): New.
4923 (CFILES): Add bsearch.c.
4924 (CONFIGURED_OFILES): New, list of objects configure might add.
4925 (maint-missing, maint-buildall): New, for maintainers only.
4926 (clean, mostlyclean): Add info/dvi/html files.
4927 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
4928 * gather-docs: New, for maintainers.
4929 * maint-tool: New, for maintainers.
4930 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
4931 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
4932 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
4933 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
4934 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
4935 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
4936 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
4937 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
4938 documentation.
4939
66c94e19
DD
49402001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4941
4942 * concat.c (reconcat): Fix for traditional C.
4943
99ee3a8f
DD
49442001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4945
4946 * concat.c (reconcat): New function.
4947
54c20242
DD
49482001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4949
4950 * concat.c (vconcat_length, vconcat_copy, concat_length,
4951 concat_copy, concat_copy2): New functions.
4952 (concat): Use vconcat_length/vconcat_copy.
4953
4954 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
4955 Define.
4956
843f21be
DD
49572001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4958
4959 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
4960 VA_FIXEDARG & VA_CLOSE.
4961
4962 * vasprintf.c: Check HAVE_STRING_H when including string.h.
4963 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
4964 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
4965
8a423cb3
DD
49662001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4967
4968 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
4969
dc676635
DD
49702001-08-23 Ulrich Drepper <drepper@redhat.com>
4971
4972 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
4973
49742001-08-23 Ulrich Drepper <drepper@redhat.com>
4975
4976 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
4977 instead of mbrtowc.
4978 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
4979 wcslen, and __wcscoll instead of wcscoll.
4980
f080c76d
DD
49812001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
4982
3ebf1f59
DD
4983 * fibheap.c (fibheap_init, fibnode_init): Remove.
4984 (fibheap_new, fibnode_new): Use xcalloc to allocate and
4985 initialize memory.
4986 (fibheap_insert): Remove check for node allocation failure.
f080c76d 4987
f01b59ed
DD
49882001-08-21 Richard Henderson <rth@redhat.com>
4989
4990 * Makefile.in (fibheap.o): Depend on config.h.
4991 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
4992 functions for inlining.
4993
4994Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
4995
4996 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
4997 hosting on cygwin.
4998 * configure: Regenerate.
4999
eb828599
AC
50002001-08-20 Andrew Cagney <ac131313@redhat.com>
5001
5002 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
5003 HARRIS_FLOAT_FORMAT.
5004 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
5005 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
5006 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
5007 (floatformat_m88110_harris_ext): New float formats.
5008
4e55c4b6
DD
50092001-08-20 Daniel Berlin <dan@cgsoftware.com>
5010
5011 * fibheap.c: New file. Fibonacci heap.
5012
5013 * Makefile.in (CFILES): Add fibheap.c.
5014 (REQUIRED_OFILES): Add fibheap.o.
5015 (fibheap.o): Add dependencies for fibheap.o.
5016
68a41de7
DD
50172001-08-17 Christopher Faylor <cgf@cygnus.com>
5018
5019 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
5020 * configure: Regenerate.
5021
8fc34799
DD
50222001-08-16 Richard Henderson <rth@redhat.com>
5023
5024 * hashtab.c (htab_hash_string): New.
5025
16bad250
AC
50262001-08-13 Andrew Cagney <ac131313@redhat.com>
5027
5028 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
5029 name.
5030
a9022147
DD
50312001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
5032
5033 * regex.c (wcs_regex_compile): Use appropriate string
5034 to compare with collating element.
5035 Fix the padding for the alignment.
5036
8aefe91a 50372001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
5038
5039 * lbasename.c (lbasename): Change function definition to return a
5040 const char pointer.
5041
e7e9b069
DD
50422001-08-07 Jason Merrill <jason_merrill@redhat.com>
5043
5044 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
5045 for".
5046
cc5144f8
DD
50472001-08-03 Richard Henderson <rth@redhat.com>
5048
5049 * Makefile.in (concat.o): Depend on config.h.
5050
8aefe91a
DD
50512001-07-30 Andreas Jaeger <aj@suse.de>
5052
5053 * concat.c: Include "config.h".
5054
86710ce2
DD
50552001-07-30 Andreas Jaeger <aj@suse.de>
5056
5057 * regex.c: Declare wcs functions only if compiling with
5058 MBS_SUPPORT.
5059 Don't use #elif for traditional C.
5060
50612001-07-23 Ulrich Drepper <drepper@redhat.com>
5062
5063 * regex.c: Revamp memory allocation for WCHAR functions to
5064 not use too much stack.
5065
50662001-07-30 Andreas Jaeger <aj@suse.de>
5067
5068 * regex.c: Declare wcs functions only if compiling with
5069 MBS_SUPPORT.
5070 Don't use #elif for traditional C.
5071
a5d8f731
DD
50722001-07-25 Daniel Jacobowitz <drow@mvista.com>
5073
5074 * Makefile.in (regex.o): Add dependency on config.h.
5075
6ad8a379
DD
50762001-07-18 Andreas Schwab <schwab@suse.de>
5077
5078 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
5079 underscore character.
5080
50812001-07-18 Ulrich Drepper <drepper@redhat.com>
5082
5083 * regex.c: Limit string length printed in debug messages to 100
5084 chars.
5085
50862001-07-18 Andreas Jaeger <aj@suse.de>
5087
5088 * regex.c: Place under LGPL version 2.1.
5089
2a6ef469
DD
50902001-07-10 Jeff Johnston <jjohnstn@redhat.com>
5091
5092 * Makefile.in: Add support for regex code.
5093 * regex.c: New file.
5094
7b78baae
DD
50952001-07-05 Mark Klein <mklein@dis.com>
5096
5097 * Makefile.in: Add ffs.c dependency.
5098 * configure.in: Add ffs.c.
5099 * ffs.c: New file.
5100
926150e2
DD
51012001-06-18 Richard Henderson <rth@redhat.com>
5102
5103 * concat.c: Include <sys/types.h>.
5104
11f6f21d
DD
51052001-06-11 Loren J. Rittle <ljrittle@acm.org>
5106
5107 bootstrap/3106
5108 * strerror.c (sys_nerr): Hide the OS header version.
5109 * strsignal.c (sys_nsig): Likewise.
5110
d42dae6c
DD
51112001-06-10 Richard Henderson <rth@redhat.com>
5112
5113 * concat.c: Include string.h. Fix int vs size_t usage.
5114 Simplify the iteration loops. Use memcpy.
5115
e05c6d27
DD
51162001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
5117
5118 * partition.c: Fix misspelling of `implementation'.
5119
b50c4073
DD
51202001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5121
5122 * md5.c (md5_init_ctx): Declare constants as unsigned.
5123 (md5_process_block): Likewise.
5124
457161bf
DD
51252001-05-07 Zack Weinberg <zackw@stanford.edu>
5126
5127 * cp-demangle.c (demangle_v3_with_details,
5128 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
5129 function definition.
5130 * ternary.c: Use K+R style function definitions. Use PTR, not
5131 void *. Make arguments constant where possible.
5132
e00bc6a7
DD
51332001-05-07 Mark Mitchell <mark@codesourcery.com>
5134
5135 * splay-tree.h (splay_tree_max): New function.
5136 (splay_tree_min): Likewise.
5137
400ee7e1
DB
51382001-04-15 Daniel Berlin <dan@cgsoftware.com>
5139
5140 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
5141
5142 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 5143
d9697354
DD
51442001-04-03 Zack Weinberg <zackw@stanford.edu>
5145
5146 * make-temp-file.c (try): Inline.
5147
a7bf099b
DD
51482001-02-28 Richard Henderson <rth@redhat.com>
5149
5150 * Makefile.in (make-temp-file.o): Depend on config.h.
5151
30a1def2
DD
51522001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5153
5154 * memchr.c (memchr): Adjust condition to avoid infinite loop.
5155
079c672a
DD
51562001-03-23 Jakub Jelinek <jakub@redhat.com>
5157
5158 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
5159 `_' not followed by a digit is invalid.
5160
a88e356a
JB
51612001-03-22 Jim Blandy <jimb@redhat.com>
5162
5163 * cp-demangle.c (string_list_delete): Use dyn_string_delete
5164 instead of free, to free the contents as well as the string
5165 structure.
5166
1dffcc66
DD
51672001-03-21 Zack Weinberg <zackw@stanford.edu>
5168
5169 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
5170 Don't default P_tmpdir to anything. Try /var/tmp before
5171 /usr/tmp.
5172
51732001-03-20 Zack Weinberg <zackw@stanford.edu>
5174
5175 * choose-temp.c: Split off make_temp_file, and the code
5176 duplicated between it and choose_temp_base, into...
5177 * make-temp-file.c: ... here; new file.
5178
5179 * Makefile.in (CFILES): Add make-temp-file.c.
5180 (REQUIRED_OFILES): Add make-temp-file.o.
5181
e61231f1
JB
51822001-03-20 Jim Blandy <jimb@redhat.com>
5183
5184 * cp-demangle.c (struct demangling_def): New fields:
5185 is_constructor and is_destructor.
5186 (demangling_new): Initialize them.
5187 (demangle_ctor_dtor_name): Set them, if we detect a constructor
5188 or destructor.
5189 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
5190 is_gnu_v3_mangled_dtor): New functions.
5191
a9cbbe6d
DD
51922001-03-20 Jason Merrill <jason@redhat.com>
5193
5194 * cplus-dem.c (main): Skip initial $.
5195
b1e51b3c
DD
51962001-03-15 Michael Meissner <meissner@redhat.com>
5197
5198 * hashtab.c (higher_prime_number): Silence warning that 4294967291
5199 might be a signed integer under pre-ISO C systems.
5200
8aa30e60 52012001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 5202 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 5203
41f225de
NC
5204 * lbasename.c: New file.
5205 * Makefile.in: Update for lbasename.
8aefe91a 5206
30673bf5
DD
52072001-03-06 Zack Weinberg <zackw@stanford.edu>
5208
5209 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
5210 * configure.in: Replace all alloca logic with a simple use of
5211 the above new macro.
5212 * config.table: Kill *-*-beos* entry.
5213 * config/mh-beos: Delete.
5214 * configure, config.in: Regenerate.
fa03f0a7 5215
30673bf5
DD
5216 * Makefile.in (ALLOCA, HFILES): Kill.
5217 (REQUIRED_OFILES): Add alloca.o.
5218 (alloca.o): Depend on libiberty.h.
5219 (argv.o): Don't depend on alloca-conf.h.
5220 * alloca-conf.h: Delete.
5221 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
5222 blocks. Provide the C alloca unconditionally. Use PTR where
5223 appropriate. Make i00afunc static.
5224 * argv.c: Don't include alloca-conf.h.
fa03f0a7 5225
5810f394
DD
52262001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
5227
5228 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 5229
a9db032a
DD
52302001-02-16 Loren J. Rittle <ljrittle@acm.org>
5231
5232 * cplus-dem.c (main): Initialize style.
fa03f0a7 5233
8aefe91a
DD
52342001-02-02 Phil Edwards <pme@sources.redhat.com>
5235
5236 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
5237
bc9bf259
DD
52382001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
5239
5240 Add support for Java demangling under the v3 ABI:
5241 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
5242 (struct demangling_def): Add `style' field.
5243 (demangling_new): New parameter `style'. Set it in demangling_t.
5244 (demangle_prefix): Use NAMESPACE_SEPARATOR.
5245 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
5246 (cp_demangle): New parameter `style'. Pass it to demangling_new().
5247 (main): Call cp_demangle with extra parameter.
5248 (java_demangle_v3): New function.
5249 (java_builtin_type_names): New. Table of primitive type names used
5250 for Java demangling.
5251 (demangle_builtin_type): Look up in java_builtin_type_names if doing
5252 Java output.
5253 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
5254 demangling.
5255 (long_options): Remove obsolete `java' option.
5256 (main): Remove explicit handling of `java' option. Instead, pass style
5257 parameter in cplus_demangle flags as gdb does.
5258 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 5259
f6528837
DD
52602000-12-29 DJ Delorie <dj@redhat.com>
5261
5262 * fnmatch.c: Make the note about the origins of this file more
5263 accurate, at least until we can sync with glibc.
5264 * getopt.c: Ditto.
5265 * getopt1.c: Ditto.
5266 * md5.c: Ditto.
5267 * obstack.c: Ditto.
9d969b59 5268
c6da642e
DD
52692000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5270
5271 * bsearch.c: New file.
5272 * configure.in (funcs): Add bsearch.
5273 (AC_CHECK_FUNCS): Likewise.
5274 * configure, config.in: Regenerate.
5275
ae7d06ad 52762000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
5277
5278 * safe-ctype.c: #include "ansidecl.h".
5279 * strtod.c: Likewise.
5280
ae7d06ad 52812000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
5282
5283 * strtoul.c: Include safe-ctype.h, not ctype.h.
5284
ac424eb3
DD
52852000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
5286
5287 * safe-ctype.c: New file.
5288 * Makefile.in (CFILES): Add safe-ctype.c.
5289 (REQUIRED_OFILES): Add safe-ctype.o.
5290
5291 * argv.c: Define ISBLANK and use it, not isspace.
5292 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
5293 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
5294 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
5295 before calling TOLOWER(c)/TOUPPER(c).
5296
4415a860
DD
52972000-12-07 Mike Stump <mrs@wrs.com>
5298
5299 * Makefile.in (distclean): When cleaning, remove testsuite.
5300
849ee224
DD
53012000-12-05 Jason Merrill <jason@redhat.com>
5302
5303 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
5304 name before allocating the dyn_string.
5305
ae7d06ad 53062000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
5307
5308 * cp-demangle.c: s/new_abi/v3/.
5309 * cplus-dem.c: Likewise.
5310 (current_demangling_style): Now auto_demangling.
5311 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 5312 (main): Use standard symbol chars for auto_demangling.
e49a569c 5313
ae7d06ad 53142000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
5315
5316 * hashtab.c (higher_prime_number): Use a table, rather than a
5317 seive, to find the next prime.
ae7d06ad
NC
5318
53192000-11-22 H.J. Lu <hjl@gnu.org>
5320
5321 * cplus-dem.c (main): Handle gnat_demangling.
5322
53232000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
5324
5325 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
5326 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
5327 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
5328 argument form of AC_DEFINE in dummy definitions block. Use
5329 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
5330 in dummy block. Preload cache variables instead of bypassing
5331 tests, where possible.
5332 * acconfig.h: Removed.
ae7d06ad 5333
2ea7befd
DD
5334 * xmalloc.c (xmalloc_failed): New function, does error
5335 reporting on failed allocation.
5336 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 5337
f1775526
HPN
53382000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
5339
5340 * cplus-dem.c (cplus_demangle): Fix formatting.
5341 (grow_vect): Ditto.
5342 (ada_demangle): Ditto.
5343 (internal_cplus_demangle): Ditto.
5344 (mop_up): Ditto.
5345
53462000-11-21 H.J. Lu <hjl@gnu.org>
5347
5348 * cplus-dem.c (main): Handle java_demangling.
5349
ae7d06ad 53502000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
5351
5352 * cplus-dem.c (grow_vect): Prototype.
5353 (ada_demangle): Cast the arg of ctype macros to unsigned char.
5354
5dd42ef4
HPN
53552000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
5356
5357 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
5358 parameter `option'.
5359
296731c1
DD
53602000-11-15 Kenneth Block <kenneth.block@compaq.com>
5361
8944fb9d 5362 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
5363 be used in GCC.
5364
6e53a714 53652000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 5366
5dd42ef4 5367 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
5368 list.
5369
99a4c1bd
HPN
53702000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
5371
5372 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
5373 xcalloc depending on htab->return_allocation_failure. Return zero
5374 if calloc fails.
99a4c1bd
HPN
5375 (htab_create): Update comment to cover memory allocation.
5376 (htab_try_create): New.
5377 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 5378 Update comment to cover this.
99a4c1bd 5379
e0f3df8f
HPN
53802000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
5381
5382 * hashtab.c: Change void * to PTR where necessary.
5383 (htab_create, htab_expand): Correct formatting of comment before
5384 function.
5385
ae7d06ad 53862000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
5387
5388 * cp-demangle.c (string_list_def): Add caret_position and comments.
5389 (result_caret_pos): New macro.
5390 (result_append_string): Rename to...
5391 (result_add_string): ... this, and insert at caret position.
ae7d06ad 5392 Rename throughout.
59666b35
DD
5393 (result_append): Rename to...
5394 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 5395 throughout.
59666b35
DD
5396 (result_append_char): Rename to...
5397 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 5398 throughout.
59666b35
DD
5399 (result_append_space): Remove.
5400 (string_list_new): Initialize caret position.
5401 (result_add_separated_char): Use caret position.
5402 (result_get_caret): New funtion.
5403 (result_set_caret): Likewise.
5404 (result_shift_caret): Likewise.
5405 (result_previous_char_is_space): Likewise.
5406 (substitution_start): Use caret position.
5407 (substitution_add): Likewise.
5408 (demangling_new): Initialize caret position.
5409 (demangle_encoding): Use caret position.
ae7d06ad 5410 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
5411 (demangle_type_ptr): Use switch statement. Handle pointers to
5412 arrays. Don't use result_append_space. Use caret position.
5413 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
5414 call to demangle_array_type.
5415 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 5416
ae7d06ad 54172000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
5418
5419 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
5420
54212000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
5422
5423 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
5424
54252000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5426
5427 * splay-tree.c: #include <stdio.h>.
5428
54292000-09-14 Hans-Peter Nilsson <hp@axis.com>
5430
5431 * testsuite/demangle-expected: Add two tests for anonymous
5432 namespaces.
5433 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
5434
54352000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
5436
5437 * splay-tree.c (splay_tree_predecessor): New function.
5438 (splay_tree_successor): Likewise.
ae7d06ad
NC
5439
54402000-09-10 Hans-Peter Nilsson <hp@axis.com>
5441
5442 * testsuite/demangle-expected: Add four tests for type_info
5443 mangling.
5444 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
5445 for a non-template non-qualified type_info function or node.
5446
54472000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5448
5449 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
5450
54512000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5452
5453 * md5.c: #include "ansidecl.h".
5454
54552000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5456
5457 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
5458 (demangle_type): Handle substitution candidates correctly in the
5459 face of special substitutions.
ae7d06ad
NC
5460
54612000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5462
5463 * cp-demangle.c (demangle_encoding): Rename variable.
5464 (demangle_name): Rename parameter. Handle return type
5465 suppression.
5466 (demangle_nested_name): Rename parameter.
5467 (demangle_prefix): Likewise. Change return type suppression.
5468 (demangle_unqualified_name): Add parameter. Flag constructors and
5469 conversion operators.
5470 (demangle_special_name): Fix comment.
5471 (demangle_type): Rename variable.
5472 (demangle_bare_function_type): Check for missing return type and
5473 parameter.
5474 (demangle_class_enum_type): Rename parameter.
5475 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
5476
54772000-08-31 DJ Delorie <dj@redhat.com>
5478
5479 * configure.in (Cygwin): special case cygwin only when we're
5480 building cygwin, not when we're hosting cygwin.
5481
54822000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5483
5484 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
5485 <expression>.
ae7d06ad
NC
5486
54872000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5488
5489 * cp-demangle.c (demangle_type_ptr): Increment position past
5490 pointer and reference characters.
ae7d06ad
NC
5491
54922000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5493
5494 * cp-demangle.c (demangle_nv_offset): New function.
5495 (demangle_v_offset): Likewise.
5496 (demangle_call_offset): Likewise.
5497 (demangle_special_name): Update thunk demangling to comply with
5498 ABI changes.
ae7d06ad
NC
5499
55002000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5501
5502 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
5503 (substitution_def): Remove template_parm_number.
5504 (NOT_TEMPLATE_PARM): Remove.
5505 (result_insert_string): New macro.
5506 (result_insert): Likewise.
5507 (result_insert_char): Likewise.
5508 (substitution_add): Remove last parameter. Don't store template
5509 parm number.
5510 (BFT_NO_RETURN_TYPE): Define as NULL.
5511 (demangle_encoding): Adjust call to demangle_bare_function_type.
5512 (demangle_name): Adjust substitution. Adjust call to
5513 substitution_add.
5514 (demangle_prefix): Adjust call to substitution_add.
5515 (demangle_identifier): Handle anonymous namespaces.
5516 (demangle_operator_name): Change demangling of vendor-extended
5517 operator to match ABI changes.
5518 (demangle_type_ptr): Change parameters. Make recursive. Handle
5519 substitutions here.
5520 (demangle_type): Adjust calls to demangle_template_param,
5521 substitution_add, and demangle_type_ptr. Fix substitution of
5522 templated types.
5523 (demangle_function_type): Change parameter to a pointer.
5524 (demangle_bare_function_type): Likewise. Adjust insertion point.
5525 (demangle_template_param): Remove last parameter.
5526 (demangle_expr_primary): Remove unused variable. Adjust call to
5527 demangle_template_param.
5528 (is_mangled_char): Accept `$' and `.'.
5529 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
5530 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
5531
55322000-08-31 Hans-Peter Nilsson <hp@axis.com>
5533
5534 * testsuite/demangle-expected: Add nine tests for
5535 underscore-after-number followed by five tests for name-signature
5536 delimiter.
5537
55382000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
5539
5540 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
5541
55422000-08-28 Jason Merrill <jason@redhat.com>
5543
5544 * Makefile.in (REQUIRED_OFILES): Add md5.o.
5545 (CFILES): Add md5.c.
5546 * md5.c: New file.
5547
55482000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5549
5550 * cp-demangle.c (demangle_name): Initialize template_p in local
5551 name case. Don't re-add substitutions as candidates.
5552 (demangle_nested_name): Use <unqualified-name>.
5553 (demangle_prefix): Likewise. Don't add template names as
5554 substitution candidates twice, or re-add a substitution or the
5555 last prefix component.
5556 (demangle_local_name): Adjust output format.
ae7d06ad
NC
5557
55582000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5559
5560 * cp-demangle.c (result_add_separated_char): Change parameter to
5561 int.
5562 (substitution_add): Don't check for duplicates. Check if
5563 previously allocated size is zero.
5564 (demangle_name): Remove duplicate check for std substitution.
5565 Clear template flag appropriately.
5566 (demangle_prefix): Remove argument to demangle_substitution.
5567 Don't check that template flag is already set.
5568 (demangle_operator_name): Add pt operator.
5569 (demangle_type): Don't treat r as built-in type. Remove argument
5570 to demangle_substitution. Fix substitution candidate mechanics.
5571 Handle <template-template-parm>s. Improve comments.
5572 (demangle_template_param): Don't handle template arg lists here.
5573 (demangle_substitution): Remove parameter.
5574 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
5575
55762000-08-24 Greg McGary <greg@mcgary.org>
74bcd529 5577
41f225de 5578 * random.c (end_ptr): Revert previous change.
ae7d06ad
NC
5579
55802000-08-24 Greg McGary <greg@mcgary.org>
74bcd529 5581
41f225de 5582 * cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
74bcd529 5583 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
41f225de 5584 * random.c (end_ptr): Likewise.
ae7d06ad
NC
5585
55862000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
5587
5588 * cp-demangle.c (result_close_template_list): Remove function.
5589 (result_add_separated_char): New function.
5590 (result_open_template_list): New macro.
5591 (result_close_template_list): Likewise.
5592 (demangle_prefix): Don't set template_p if the
5593 prefix ends with a ctor name.
5594 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
5595 (demangle_type): Check for template args after substitution.
5596 (demangle_template_args): Use result_open_template_list.
d3e85005 5597
ae7d06ad 55982000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 5599
ae7d06ad 5600 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 5601
ae7d06ad 56022000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
5603
5604 * config/mh-openedition.h: Added -DLE370 definition.
5605
a9f34fb6
JL
56062000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
5607
5608 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
5609 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
5610 Cast program to 'char *' in errmsg_arg assignment.
5611 (PWAIT_ERROR): Define.
5612 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
5613 to DJGPP's WIF* macros.
5614
90aaccd1 56152000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 5616 Jeff Law <law@cygnus.com>
90aaccd1 5617
ae7d06ad 5618 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 5619
90aaccd1 5620 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
5621 * rename.c: Include config.h, unistd.h
5622 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 5623
6ef554e3
HPN
56242000-07-24 Hans-Peter Nilsson <hp@axis.com>
5625
5626 * cplus-dem.c (work_stuff_copy_to_from): New.
5627 (delete_non_B_K_work_stuff): New.
5628 (delete_work_stuff): New.
5629 (mop_up): Break out work_stuff partly destruction to
5630 delete_non_B_K_work_stuff.
5631 (iterate_demangle_function): New.
5632 (demangle_prefix): Call iterate_demangle_function instead of
5633 demangle_function_name. Leave handling of name-signature
5634 __-delimiters to iterate_demangle_function.
5635 (demangle_integral_value): Strip an optional
5636 following underscore cautiously. Handle negative numbers.
5637
ae7d06ad 56382000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 5639
ae7d06ad 5640 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
5641 if (AUTO_DEMANGLING || GNU_DEMANGLING)
5642
ae7d06ad
NC
56432000-07-21 Alex Samuel <samuel@codesourcery.com>
5644
5645 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
5646 allocating ctor mangling.
5647 (demangle_array_type): Handle empty and non-constant array length.
5648
b1233257 56492000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
5650 Jeff Law <law@cygnus.com>
5651
5652 * configure.in (AC_CHECK_HEADERS): Add time.h.
5653 (AC_HEADER_TIME): Add check.
5654 * configure, config.in: Regenerate.
5655 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
5656
5657 * configure.in (AC_CHECK_HEADERS): Add limits.h.
5658 * configure, config.in: Regenerate.
5659 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
5660 * strtol.c, strtoul.c: #include "config.h". Portably #include
5661 <limits.h> and/or <sys/param.h>.
5662 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 5663
7d3ffcaf
JL
5664 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
5665 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
5666 * configure, config.in: Regenerate.
5667 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
5668
b1233257
JL
5669 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
5670
ae7d06ad
NC
56712000-07-21 Mike Stump <mrs@wrs.com>
5672
5673 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
5674 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
5675
56762000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5677
5678 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
5679
5680 * setenv.c (setenv): Initialize variable `ep'.
5681
5682 * sigsetmask.c (abort): Prototype.
5683
5684 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
5685 __STDC__ for stdarg.h include.
5686 (int_vasprintf): Prototype.
5687 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
5688 definition. Cast `global_total_width' in comparison.
5689 (main): Prototype. Return a value.
5690
5691 * vfork.c (fork): Prototype.
5692
5693 * xexit.c: Include config.h.
5694
9adf30b2
JL
56952000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
5696
5697 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
5698 and print it with %u.
5699
2ed78d1b
HPN
57002000-07-17 Hans-Peter Nilsson <hp@axis.com>
5701
5702 * testsuite/regress-demangle (failed test): Show result and
5703 expected output.
5704
0473bdf7
AH
57052000-07-07 Andrew Haley <aph@cygnus.com>
5706
5707 * cplus-dem.c (main): fflush() after emitting last char before
5708 waiting for input.
5709
03d5f569
JM
57102000-06-28 Alex Samuel <samuel@codesourcery.com>
5711
5712 * cp-demangle.c (demangle_encoding): Accept no substitutions.
5713 (demangle_name): Handle <substitution> followed by
5714 <unqualified-template-name>.
5715 (demangle_type): Follow special substitutions with
5716 <class-enum-type>
5717 (demangle_subtitution): Set template_p for special substitutions.
5718 (main): Fix typos.
ae7d06ad 5719
03d5f569
JM
57202000-06-27 Alex Samuel <samuel@codesourcery.com>
5721
5722 * cp-demangle.c (demangle_special_name): Swap base and derived
5723 class when demangling construction vtables.
5724
57252000-06-21 Alex Samuel <samuel@codesourcery.com>
5726
5727 * cp-demangle.c: Don't include ctype.h.
5728 (IS_DIGIT): New macro.
5729 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
5730 instead of isdigit and isalpanum.
5731 (demangling_def): Make name and next const pointers.
5732 (STATUS_ALLOCATION_FAILED): New status code.
5733 (dyn_string_append_space): Handle failure in
5734 dyn_string_append_char.
5735 (int_to_dyn_string): Likewise. Change return value to status_t.
5736 (string_list_new): Handle failure of dyn_string_init.
5737 (result_close_template_list): Change return type to status_t.
5738 Handle failure in dyn_string_append.
5739 (result_push): Change return value to status_t. Handle failure in
5740 string_list_new. Handle failure of result_push throughout.
5741 (substitution_add): Change return value to status_t. Handle
5742 dyn_string failures. Handle failure of substitution_add
5743 throughout.
5744 (template_arg_list_new): Return NULL on allocation failure.
5745 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
5746 Handle error result throughout.
5747 (result_append): Likewise.
5748 (result_append_char): Likewise.
5749 (result_append_space): Likewise.
5750 (demangling_new): Make argument a const pointer. Handle
5751 allocation failures.
5752 (demangle_template_args): Handle failure in template_arg_list_new
5753 and result_close_template_list.
5754 (demangle_discriminator): Return if int_to_dyn_string fails.
5755 (cp_demangle): Likewise.
5756 (cp_demangle_type): New function.
5757 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
5758 memory allocation failure.
5759 (main): Likewise.
5760 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
5761 IN_LIBGCC2.
5762 (dyn_string_init): Change return value to int. Handle
5763 RETURN_ON_ALLOCATION_FAILURE case.
5764 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
5765 (dyn_string_release): Delete the dyn_string.
5766 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
5767 (dyn_string_copy): Change return type to int.
5768 (dyn_string_copy_cstr): Likewise.
5769 (dyn_string_prepend): Likewise.
5770 (dyn_string_prepend_cstr): Likewise.
5771 (dyn_string_insert): Likewise.
5772 (dyn_string_insert_cstr): Likewise.
5773 (dyn_string_append): Likewise.
5774 (dyn_string_append_cstr): Likewise.
5775 (dyn_string_append_char): Likewise.
5776 (dyn_string_substring): Likewise.
ae7d06ad 5777
eb383413 57782000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 5779
eb383413
L
5780 * cp-demangle.c (demangle_operator_name): Add spaces before
5781 names beginning with a letter: delete, delete[], new, new[],
5782 sizeof.
5783 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 5784
eb383413
L
5785Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
5786
5787 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
5788
5789Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
5790
5791 * cp-demangle.c (stdio.h): File included unconditionaly.
5792 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
5793 * dyn-string.c (stdio.h): File included.
5794 * partition.c (partition_print): No `&' needed to take the address of
5795 a function.
5796
57972000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5798
5799 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 5800
eb383413
L
5801 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
5802
5803 * cp-demangle.c (demangle_char): Change parameter from char to int.
5804 (demangle_expression, demangle_expr_primary): Remove extra
5805 semi-colon in prototype.
5806
5807 * dyn-string.c (dyn_string_append_char): Change parameter from
5808 char to int.
5809
5810 * memcmp.c (memcmp): Constify.
5811
5812 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
5813 __extension__.
5814
5815 * partition.c (elem_compare): Prototype. Don't cast away
5816 const-ness.
5817
5818 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 5819
eb383413
L
58202000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5821
5822 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
5823
5824 * cp-demangle.c: Include demangle.h.
5825 (template_arg_list_new): DeANSIfy.
5826 (cp_demangle): Make static and add prototype.
5827 (operator_code, operators): Constify.
5828 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
5829
58302000-06-05 Alex Samuel <samuel@codesourcery.com>
5831
5832 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
5833 unsigned char.
5834 (demangle_unqualified_name): Likewise.
5835 (demangle_number_literally): Likewise.
5836 (demangle_type): Likewise.
5837 (demangle_substitution): Likewise.
5838 (is_mangled_char): Likewise, for isalnum.
5839
58402000-06-04 Alex Samuel <samuel@codesourcery.com>
5841
5842 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
5843 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
5844 (cp-demangle.o): New dependency.
5845 (dyn-string.o): Likewise.
5846
5847 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
5848
5849 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
5850 demangler.
5851 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
5852 demangling mode.
5853 (gnu_new_abi_symbol_characters): New function.
5854 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
5855 file.
5856 * cp-demangle.c: New file.
ae7d06ad 5857
f03aa80d
AC
5858Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
5859
5860 * floatformat.c: Add name to each floatformat field.
5861
77bfb694
JL
5862Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
5863
5864 * Makefile.in (objalloc.o): Depend on config.h
5865
5c82d20a
ZW
58662000-05-29 Zack Weinberg <zack@wolery.cumb.org>
5867
eb383413 5868 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
5869 if HAVE_STRING_H.
5870 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
5871 * objalloc.c: Include config.h. Include stdlib.h and don't
5872 declare malloc or free if HAVE_STDLIB_H.
5873 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
5874 else declare malloc without prototype. Include string.h if
5875 HAVE_STRING_H, else declare memset without prototype. Don't
5876 include stddef.h.
5877
eb383413
L
58782000-05-23 Mike Stump <mrs@wrs.com>
5879
5880 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 5881 -j3.
eb383413
L
5882
58832000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
5884
5885 * xmalloc.c: Include config.h for HAVE_SBRK definition.
5886
58872000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
5888
ae7d06ad 5889 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
5890 probably zero, also eliminate a warning on alpha.
5891
58922000-05-15 David Edelsohn <edelsohn@gnu.org>
5893
5894 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
5895 on $(enable_shared).
5896
58972000-05-10 Jakub Jelinek <jakub@redhat.com>
5898
5899 * config.table: Use mh-sparcpic for sparc*-*-*.
5900
59012000-05-08 Nick Clifton <nickc@cygnus.com>
5902
5903 * Makefile.in (CFILES): Add strncmp.c.
5904 (NEEDED): Add strncmp.
5905
59062000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 5907
eb383413
L
5908 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
5909 Cast the arguments to `islower' to `unsigned char'.
5910 (print_demangler_list): Prototype.
5911
5912Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
5913
5914 * sort.c (UCHAR_MAX): Provide fallback definition.
5915
59162000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
5917
5918 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
5919 SUBDIRS.
5920
eb383413
L
59212000-04-28 Kenneth Block <block@zk3.dec.com>
5922 Jason Merrill <jason@casey.cygnus.com>
5923
ae7d06ad
NC
5924 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
5925 (cplus_demangle_set_style): New function for setting style.
5926 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
5927
59282000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5929
5930 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
5931
5932 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
5933 (libiberty_AC_FUNC_STRNCMP): Invoke.
5934
5935 * strncmp.c: New file.
5936
5937Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
5938
5939 * hashtab.c (htab_expand): Add prototype.
5940 (find_empty_slot_for_expand): Likewise.
5941
59422000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5943
5944 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
5945 match prototype.
5946 (htab_expand): Cast the return value of xcalloc.
5947
59482000-04-24 Mark Mitchell <mark@codesourcery.com>
5949
5950 * hashtab.c (hash_pointer): New function.
5951 (eq_pointer): Likewise.
5952 (htab_hash_pointer): New variable.
5953 (htab_eq_pointer): Likewise.
5954
59552000-04-23 Mark Mitchell <mark@codesourcery.com>
5956
5957 * sort.c (sort_pointers): Fix endianness bugs.
5958
5959 * sort.c: New file.
5960 * Makefile.in (CFILES): Add sort.c
5961 (REQUIRED_OFILES): Add sort.o.
5962 (sort.o): New target.
5963
19be4303
JL
59642000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5965
5966 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
5967 4.3BSD systems.
5968
eb383413
L
5969Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5970
5971 * hashtab.c: Various minor cleanups.
5972 (htab_find_slot_with_hash): INSERT is now enum insert_option.
5973 (htab_find_slot): Likewise.
5974
59752000-04-16 Dave Pitts <dpitts@cozx.com>
5976
5977 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 5978
afe36a78
RH
59792000-04-05 Richard Henderson <rth@cygnus.com>
5980
5981 * splay-tree.c (splay_tree_remove): New.
5982
eb383413
L
59832000-03-30 Mark Mitchell <mark@codesourcery.com>
5984
5985 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
5986 codes.
5987 (htab_find_with_hash): Likewise.
5988 (htab_find_slot_with_hash): Likewise.
ae7d06ad 5989
eb383413
L
59902000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5991
5992 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
5993 unless it will be used. Rearrange loop for better
5994 optimization.
5995 (higher_prime_number): Add static prototype.
5996
b4fe2683
JM
5997Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
5998
5999 * Makefile.in (partition.o): Depend on config.h
6000
60012000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
6002
6003 * hashtab.c (find_empty_slot_for_expand): New function.
6004 (htab_expand): Use it instead of htab_find_slot.
6005 (htab_find_with_hash): Renamed from htab_find; now accepts extra
6006 argument HASH.
6007 (htab_find_slot_with_hash): Likewise for htab_find_slot.
6008 (htab_find): New wrapper function.
6009 (htab_find_slot): Likewise.
6010 (htab_traverse): Pass slot, not entry, to called function.
6011
60122000-03-09 Alex Samuel <samuel@codesourcery.com>
6013
6014 * Makefile.in (CFILES): Add partition.c.
6015 (REQUIRED_OFILES): Add partition.o.
6016 (partition.o): New rule.
6017 * partition.c: New file.
ae7d06ad 6018
b4fe2683
JM
60192000-03-09 Zack Weinberg <zack@wolery.cumb.org>
6020
6021 * hashtab.c (htab_create): Set del_f.
6022 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
6023 Use it.
6024
60252000-03-08 Zack Weinberg <zack@wolery.cumb.org>
6026
6027 * hashtab.c: Remove debugging variables (all_searches,
6028 all_collisions, all_expansions). Delete
6029 all_hash_table_collisions.
6030 (create_hash_table, delete_hash_table, empty_hash_table,
6031 find_hash_table_entry, remove_element_from_hash_table_entry,
6032 clear_hash_table_slot, traverse_hash_table, hash_table_size,
6033 hash_table_elements_number, hash_table_collisions): Rename to:
6034 htab_create, htab_delete, htab_empty, htab_find_slot,
6035 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
6036 htab_elements, htab_collisions.
6037 (htab_find): New function, handles common case where you don't
6038 plan to add or delete an entry.
6039 (htab_expand): Don't create a whole new table, just a new
6040 entry vector.
6041 (htab_find_slot): Simplify logic.
6042
08372f14
ILT
60431999-08-03 Ian Lance Taylor <ian@zembu.com>
6044
6045 * floatformat.c: Add casts to avoid signed/unsigned warnings.
6046 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
6047
6048 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
6049 $(TARGETLIB)n so it works on MSDOS.
6050 (install_to_tooldir): Likewise.
6051
9c8ac5a9
ILT
60521999-07-21 Ian Lance Taylor <ian@zembu.com>
6053
6054 From Mark Elbrecht:
6055 * makefile.dos: Remove; obsolete.
8f36e47c 6056 * configure.bat: Remove; obsolete.
9c8ac5a9 6057
0c0a36a4
ILT
60581999-07-11 Ian Lance Taylor <ian@zembu.com>
6059
6060 * splay-tree.c (splay_tree_insert): Add initialization to avoid
6061 warning.
6062
60632000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
6064
6065 * pexecute.c: Conditionally include string.h.
b4fe2683 6066 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
6067
60682000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6069
6070 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
6071 we're using gcc.
6072
6073 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
6074
60751999-12-27 Geoff Keating <geoffk@cygnus.com>
6076
6077 * vasprintf.c (int_vasprintf): Don't re-read the format character
6078 as this mishandles strings like '%%s'.
6079
60801999-12-05 Mark Mitchell <mark@codesourcery.com>
6081
6082 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
6083 rather than struct splay_tree_node.
6084 (splay_tree_insert): Use struct splay_tree_s rather than struct
6085 splay_tree.
6086
6087Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
6088
6089 * hashtab.c (sys/types.h): File included.
6090
60911999-11-22 Jason Merrill <jason@casey.cygnus.com>
6092
6093 * strtoul.c, strtol.c, random.c: Remove advertising clause from
6094 BSD license, pursuant with
6095
6096 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
6097
6098Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
6099
6100 * hashtab.c: Include stdio.h.
6101
6102Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
6103
6104 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
6105
6106Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
6107
6108 * xstrdup (sys/types.h): Include this file.
6109
61101999-10-28 Nathan Sidwell <nathan@acm.org>
6111
6112 * Makefile.in (SUBDIRS): New macro.
6113 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
6114 avoid multiple subdirectory cleaning.
6115 (*-subdir): Use SUBDIRS.
6116
61171999-10-25 Jim Kingdon <http://developer.redhat.com/>
6118
6119 * cplus-dem.c: Move declarations of standard_symbol_characters and
6120 hp_symbol_characters inside #ifdef MAIN to avoid compiler
6121 warnings.
6122
61231999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
6124
6125 * hashtab.c (find_hash_table_entry): When returning a
6126 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
6127 (clear_hash_table_slot): New function which deletes an entry
6128 by its position in the table, not its value.
6129 (traverse_hash_table): New function which calls a hook
6130 function for every live entry in the table.
6131
61321999-10-19 Mark Mitchell <mark@codesourcery.com>
6133
6134 * cplus-dem.c (INTBUF_SIZE): New macro.
6135 (string_append_template_idx): New function.
6136 (demangle_expression): Likewise.
6137 (demangle_integral_value): Use it.
6138 (demangle_real_value): New function, split out from ...
6139 (demangle_template_value_parm): ... here. Use
6140 string_append_template_idx. Use demangle_real_value.
6141 (demangle_template): Use string_append_template_idx.
6142 (demangle_qualified): Use consume_count_with_underscores.
6143 (get_count): Tweak formatting.
6144 (do_type): Use string_append_template_idx.
b4fe2683 6145
0c0a36a4
ILT
61461999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6147
6148 * calloc.c: Add a public domain notice.
6149
6150Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
6151
6152 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
6153
6154Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
6155
6156 * Makefile.in (CFILES): Add hashtab.c
6157 (REQUIRED_OFILES): Add hashtab.o
6158 (hashtab.o): Add dependencies.
6159 * hashtab.c: New file
6160
6161Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
6162
6163 * basename.c (DIR_SEPARATOR): New macro.
6164 (DIR_SEPARATOR_2): Likewise.
6165 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
6166 (IS_DIR_SEPARATOR): Likewise.
6167 (main): Handle MSDOS style pathname.
6168
61691999-10-11 Mark Mitchell <mark@codesourcery.com>
6170
6171 * cplus-dem.c (do_type): Handle pointer to member types whose
6172 enclosing classes have namespace scope.
6173
6174Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
6175
6176 * config.table: Provide a backup shell for executing move-if-change.
6177
61781999-10-02 Mark Mitchell <mark@codesourcery.com>
6179
6180 * xmalloc.c (xmalloc): Fix spelling error.
6181 (xcalloc, xrealloc): Likewise.
6182
61831999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6184
6185 * cplus-dem.c (fancy_abort, demangle_integral_value,
6186 demangle_arm_hp_template, recursively_demangle,
6187 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
6188 (program_name, program_version, fatal): Constify a char*.
6189 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
6190 (main): Call return, not exit.
6191
61921999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6193
6194 * choose-temp.c: Remove obsolete comment about gcc.
6195 (make_temp_file): Constify a char*.
6196
6197Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6198
6199 * xmemdup.c: Include sys/types.h.
6200
62011999-09-07 Jeff Garzik <jgarzik@pobox.com>
6202
6203 * xmemdup.c: New xmemdup function.
6204 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
6205
6206Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
6207
b4fe2683 6208 * config.table: Add openedition target.
0c0a36a4
ILT
6209 * config/mh-openedition: New file.
6210
6211Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
6212
6213 * pexecute.c (pexecute): Fill in temp_base when needed.
6214
62151999-08-31 Richard Henderson <rth@cygnus.com>
6216
6217 * getpwd.c: Check HAVE_GETCWD before defining it away.
6218
62191999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6220
6221 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
6222 (REQUIRED_OFILES): Add getpwd.o.
6223 (getpwd.o): Add target.
6224
6225 * configure.in (AC_PREREQ): Bump to 2.13.
6226 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
6227
6228 * getpwd.c: New file, moved here from gcc.
6229
62301999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6231
6232 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
6233 comparing against a signed quantity.
6234 (arm_special): Likewise.
6235 (demangle_fund_type): Likewise.
6236 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 6237 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
6238 (main): Constify variable `valid_symbols'.
6239
6240Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
6241
6242 * strtoul.c (strtoul): Add parentheses around && within ||.
6243
6244Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
6245
6246 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
6247 libdir, libsubdir and tooldir.
6248
62491999-08-01 Mark Mitchell <mark@codesourcery.com>
6250
6251 * splay-tree.c (splay_tree_insert): Return the new node.
6252
35ca97ea
RH
62531999-07-14 Richard Henderson <rth@cygnus.com>
6254
b4fe2683 6255 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
6256 prototyping directly.
6257 * choose-temp.c: Conditionally include string.h.
6258
0c0a36a4
ILT
62591999-07-12 Jason Merrill <jason@yorick.cygnus.com>
6260
6261 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
6262
af32ff69
ILT
62631999-07-11 Ian Lance Taylor <ian@zembu.com>
6264
6265 * splay-tree.c (splay_tree_insert): Add initialization to avoid
6266 warning.
6267
0c0a36a4
ILT
62681999-07-07 Jason Merrill <jason@yorick.cygnus.com>
6269
6270 * Makefile.in (needed-list): Only include stuff we actually need
6271 for libstdc++.
6272
62731999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6274
6275 * configure.in (checkfuncs): Add gettimeofday.
6276 * config.in, configure: Regenerated.
6277
6278Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
6279
6280 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
6281 the test fails.
6282 * configure: Regenerate.
6283
62841999-06-10 Mike Stump <mrs@wrs.com>
6285
6286 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
6287 parallel builds.
6288
62891999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6290
6291 * putenv.c: Include ansidecl.h to define `const'.
6292 * setenv.c: Likewise.
6293
6294Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
6295
6296 * Makefile.in (CFILES): Add putenv.c and setenv.c.
6297 * configure.in (funcs): Add putenv and setenv.
6298 (AC_CHECK_FUNCS): Check for putenv and setenv.
6299 * configure: Rebuilt.
6300 * putenv.c setenv.c: New files.
6301
6302 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
6303 bytes of space using malloc.
6304
6305Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
6306
6307 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
6308 the *mangled pointer beyond the end of the string. Clean up code to
6309 match prevailing coding style.
6310
63111999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6312
6313 * tmpnam.c (L_tmpnam): Fix typo.
6314
6315Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
6316
6317 * cplus-dem.c (standard_symbol_characters): Renamed from
6318 standard_symbol_alphabet. No longer modify TABLE.
6319 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
6320 modify TABLE.
6321 (main): Corresponding changes. Use strchr to determine if a
6322 character is valid.
6323
e9868447
JB
63241999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
6325
6326 * cplus-dem.c (main): Use table lookup to distinguish identifier
6327 characters from non-identifier characters.
6328 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
6329
33fbbfbc
RH
6330Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
6331
6332 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
6333 * getruntime.c: Only attempt to include sys/resource.h and
6334 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
6335 are defined.
6336
0c0a36a4
ILT
6337Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
6338
6339 * configure.in (alloca detection): Handle alloca directly for interix.
6340 * configure: Rebuilt.
6341
6342Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
6343
6344 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
6345
252b5132
RH
63461999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6347
6348 Fix from Dale Hawkins:
b4fe2683 6349 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
6350 reallocated properly if we use it again.
6351
6352 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
6353 stricter about syntax. Always null-terminate string.
6354
c1687039
ILT
6355Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
6356
6357 * configure.in (checkfuncs): Check for sbrk.
6358 * config.in: Rebuilt.
6359 * configure: Likewise.
6360 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
6361
0c0a36a4
ILT
63621999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
6363
6364 Fix from Marcus Daniels:
6365 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
6366 identifier looking for another underscore.
6367
6368Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
6369
6370 * pexecute.c: Change all references to __UWIN__ to _UWIN.
6371 * xmalloc.c: Likewise.
6372 (xcalloc): UWIN has sbrk.
6373 (xrealloc): Fix guard macro.
6374
252b5132
RH
63751999-04-11 Richard Henderson <rth@cygnus.com>
6376
6377 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
6378 or <alloca.h>.
6379 * clock.c (GNU_HZ): New definition.
6380 (clock): Use it.
6381 * getruntime.c: Likewise.
6382
6383 * config.table: Use mh-beos.
6384 * config/mh-beos: New file.
6385
0c0a36a4
ILT
63861999-04-11 Mark Mitchell <mark@codesourcery.com>
6387
6388 * cplus-dem.c (demangle_template_value_parm): Handle
6389 pointers-to-members.
6390 (do_type): Handle template parameters as qualifiers.
6391
252b5132
RH
63921999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
6393
6394 * cplus-dem.c: Attempt to handle overflows in counts with some
6395 semblance of grace.
6396 (consume_count): Detect overflows. Return -1 to indicate errors,
6397 instead of zero.
6398 (demangle_template_value_parm, demangle_template): Handle change
6399 to consume_count's return convention.
6400
0c0a36a4
ILT
64011999-04-05 Tom Tromey <tromey@cygnus.com>
6402
6403 * testsuite/regress-demangle: New file.
6404 * testsuite/demangle-expected: New file.
252b5132 6405
0c0a36a4
ILT
6406 * Makefile.in (all, check, installcheck, info, install-info,
6407 clean-info, dvi, install, etags, tags, mostlyclean, clean,
6408 distclean, maintainer-clean, realclean): Depend on corresponding
6409 `-subdir' target.
6410 (all-subdir check-subdir installcheck-subdir info-subdir
6411 install-info-subdir clean-info-subdir dvi-subdir
6412 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
6413 distclean-subdir maintainer-clean-subdir): New target.
6414 * testsuite/Makefile.in: New file.
6415 * configure: Rebuilt.
6416 * configure.in: Create testsuite/Makefile.
252b5132
RH
6417
64181999-04-02 Mark Mitchell <mark@codesourcery.com>
6419
6420 * splay-tree.h (splay_tree_compare_pointers): Define.
6421
64221999-03-30 Mark Mitchell <mark@codesourcery.com>
6423
6424 * splay-tree.c (splay_tree_compare_ints): Define.
6425
64261999-03-30 Tom Tromey <tromey@cygnus.com>
6427
6428 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
6429 don't advance input pointer.
6430 (demangle_class_name): If consume_count didn't find a count, do
6431 nothing. Don't bother with `strlen' sanity check; consume_count
6432 does it for us.
6433
64341999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6435
6436 From Art Haas <ahaas@neosoft.com>:
6437 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
6438 when doing arm or hp style.
6439 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 6440
252b5132
RH
6441Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
6442
6443 * pexecute.c (__CYGWIN32__): Rename to
6444 (__CYGWIN__): this.
6445 * xmalloc.c: Likewise.
6446
6447 Changes to support i386-pc-uwin.
6448 * configure.in (*-*-uwin*): Workaround for vfork bug.
6449 * configure: Regenerate.
6450 * pexecute.c (pexecute): Be like standard Unix.
6451 (pwait): Likewise.
6452 * xmalloc.c (first_break): Define.
6453 (xmalloc_set_program_name): Use.
6454 (xmalloc): Use.
6455
6456Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6457
6458 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
6459
6460Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
6461
6462 * config.table: Check cygwin*, not cygwin32*.
6463
6464Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
6465
6466 * Makefile.in: Change mkstemp -> mkstemps.
6467
6468Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
6469
6470 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
6471 * configure.in (funcs): Check for and conditionally add mkstemps to
6472 the list of functions libiberty will provide.
6473 * configure: Rebuilt.
b4fe2683 6474
252b5132
RH
6475Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
6476
b4fe2683 6477 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
6478 platforms that don't have HZ.
6479 * getruntime.c (HZ): Likewise.
6480
6481Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
6482
6483 * Makefile.in (xstrdup.o): Depend on config.h.
6484
6485Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
6486
6487 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
6488 freeing it.
6489
6490Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6491
6492 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
6493
6494Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6495
6496 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
6497 splay-tree.o.
6498
64991999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
6500
6501 * configure.in: Require autoconf 2.12.1 or higher.
6502
65031998-12-30 Michael Meissner <meissner@cygnus.com>
6504
6505 * random.c (NULL): Don't redefine NULL if it is already defined.
6506
6507Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6508
6509 * argv.c (buildargv): Cast the result of alloca in assignment.
6510
6511 * choose-temp.c: Include stdlib.h.
6512
6513 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
6514 (snarf_numeric_literal): Constify first parameter.
6515 (code_for_qualifier): Avoid a gcc extension, make the parameter an
6516 int, not a char.
252b5132
RH
6517 (demangle_qualifier): Likewise.
6518 (demangle_signature): Cast the argument of a ctype function to
6519 unsigned char.
6520 (arm_pt): Add parens around assignment used as truth value.
6521 (demangle_arm_hp_template): Constify variable `args'.
6522 (do_hpacc_template_const_value): Cast the argument of a ctype
6523 function to unsigned char.
6524 (do_hpacc_template_literal): Remove unused variable `i'.
6525 (snarf_numeric_literal): Constify parameter `args'.
6526 Cast the argument of a ctype function to unsigned char.
6527
6528 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 6529 avoid ambiguous `else'.
252b5132
RH
6530
6531 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
6532 `cstart' and `cend' to unsigned char. Cast the argument of macro
6533 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
6534
6535 * objalloc.c (free): Add prototype.
6536
6537Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
6538
6539 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
6540
6541Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
6542
6543 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 6544 doesn't exist.
252b5132 6545 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 6546
252b5132
RH
6547Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
6548
6549 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
6550 bumping the pointer we read from. Also prepend these codes,
6551 as we do in other places.
6552
65531998-12-18 Nick Clifton <nickc@cygnus.com>
6554
6555 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
6556 'const char *' in order to match its usage when calling siblings.
6557 (snarf_numeric_literal): Make first arg 'const char **' in order
6558 to match usage.
6559
6560Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6561
6562 * choose-temp.c: Don't check IN_GCC anymore.
6563
6564 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
6565 * memchr.c (memchr): Likewise.
6566 * memcpy.c (memcpy): Likewise.
6567 * memmove.c (memmove): Likewise.
6568
6569 * mkstemp.c: Don't check IN_GCC anymore.
6570 * pexecute.c: Likewise.
6571 * splay-tree.c: Likewise.
6572
6573 * strchr.c (strchr): Use `const', not `CONST'.
6574 * strrchr.c (strrchr): Likewise.
6575 * strtol.c (strtol): Likewise.
6576 * strtoul.c (strtoul): Likewise.
6577
6578Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
6579 Elena Zannoni <ezannoni@cygnus.com>
6580 Stan Shebs <shebs@cygnus.com>
6581 Edith Epstein <eepstein@cygnus.com>
6582 Andres MacLeod <amacleod@cygnus.com>
6583 Satish Pai <pai@apollo.hp.com>
6584
6585 * HP aCC demangling support.
6586 * cplus-dem.c
6587 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
6588 demangling correctly when -edg specified; set the demangling style
6589 when user specifies 'edg'. Set strip_underscore to
6590 prepends_underscore, if not HPUXHPPA. Set
6591 current_demangling_style to hp_demangling if HPUXHPPA. Set
6592 current demangling style correctly if the switch is hp. Read
6593 label correctly also in the HP style case.
252b5132 6594 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 6595 function.
252b5132 6596 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 6597 style for this case is the same as ARM.
252b5132
RH
6598 (demangle_args): handle EDG_DEMANGLING style; support HP style.
6599 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
6600 demangle_arm_pt.); check and set value of temp_start field in
6601 multiple places. Also, when ceching for end of template args,
6602 check to see if at end of static member of template class.
252b5132 6603 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 6604 include template args in string defining class.
252b5132
RH
6605 (demangle_class_name): use demangel_arm_hp_template.
6606 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
6607 HP_DEMANGLING and currently point at an 'X' in the mangled name.
6608 Handle EDG_DEMANGLING style. Handle constructor and destructor
6609 ops for HP style.
252b5132 6610 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
6611 styles. global destructor and constructor for HP style are same
6612 as for ARM style. Same for local variables.
252b5132
RH
6613 (demangle_qualified): handle EDG_DEMANGLING style.
6614 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
6615 cases '1' - '9' : initialize the temp_start field to -1 and handle
6616 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
6617 and AUTO_DEMANGLING styles. If expecting a function and managed
6618 to demangle the funct args, then handle the LUCID_DEMANGLING,
6619 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
6620 class name after "Lnnn_ in HP style case. HP style too needs to
6621 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 6622 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 6623 value param for HP/aCC.
252b5132 6624 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 6625 literal parameter for HP aCC.
252b5132
RH
6626 (recursively_demangle): new function
6627 (snarf_numeric_literal): new function.
6628 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 6629 to message.
252b5132
RH
6630
6631Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
6632
6633 * pexecute.c: Remove obsolete ifdefed cygwin code.
6634
6635Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6636
6637 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
6638 * cplus-dem.c: Likewise. Conform to libiberty.h.
6639 * pexecute.c: Likewise.
6640 * splay-tree.c: Likewise.
6641
66421998-11-25 Mike Stump <mrs@wrs.com>
6643
6644 * Makefile.in (splay-tree.o): Add config.h dependency.
6645
6646Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6647
6648 * configure.in: Use AC_PREREQ(2.12.1).
6649
66501998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
6651
b4fe2683 6652 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
6653
6654Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
6655
6656 * mpw.c (mpw_access): Add missing parens.
6657
6658Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6659
6660 * configure.in: Call AC_HEADER_SYS_WAIT.
6661
6662 * pexecute.c: Include sys/wait.h when !IN_GCC.
6663
6664Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
6665
6666 * pexecute.c: revert back to checking old Cygwin
6667 preprocessor symbol until some time has passed.
6668
6669Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
6670
6671 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
6672 since it will now support similar constructs.
6673
6674Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6675
6676 * configure.in: Check for calloc.
6677
6678 * calloc.c: New file.
6679
6680 * xmalloc.c (xcalloc): New function.
6681
6682Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
6683
6684 *cplus-dem.c (demangle_prefix): Use the last "__"
6685 in the mangled name when looking for the signature. This allows
6686 template names to begin with "__".
6687
66881998-11-08 Mark Mitchell <mark@markmitchell.com>
6689
6690 * cplus-dem.c (type_kind_t): Add tk_reference.
6691 (demangle_template_value_parm): Handle it.
6692 (do_type): Use it for references, instead of tk_pointer.
6693
6694 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
6695 not internal_cplus_demangle.
6696
6697Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6698
6699 * choose-temp.c: Don't include gansidecl.h.
6700 * mkstemp.c: Likewise.
6701 * pexecute.c: Likewise.
6702
6703Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
6704
b4fe2683
JM
6705 * configure.in: detect cygwin* instead of cygwin32*
6706 * configure: regenerate
252b5132
RH
6707
6708Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6709
6710 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
6711 whether to include config.h. Possibly include unistd.h in the
6712 !IN_GCC case. Define VFORK_STRING as a printable function call
6713 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
6714 defined, include vfork.h. If VMS is defined, define vfork()
6715 appropriately. Remove vfork check on USG, we're using autoconf.
6716 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
6717 locally what string to use.
252b5132
RH
6718
67191998-10-26 Mark Mitchell <mark@markmitchell.com>
6720
6721 * splay-tree.c: Tweak include directives to make sure declarations of
6722 xmalloc and free are available.
6723
67241998-10-25 Mark Mitchell <mark@markmitchell.com>
6725
6726 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
6727 anonymous namespaces.
6728
67291998-10-23 Mark Mitchell <mark@markmitchell.com>
6730
6731 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
6732 with type_quals.
6733 (TYPE_UNQUALIFIED): New macro.
6734 (TYPE_QUAL_CONST): Likewise.
6735 (TYPE_QUAL_VOLATILE): Likewise.
6736 (TYPE_QUAL_RESTRICT): Likewise.
6737 (code_for_qualifier): New function.
6738 (qualifier_string): Likewise.
6739 (demangle_qualifier): Likewise.
6740 (internal_cplus_demangle): Use them.
6741 (demangle_signature): Likewise.
6742 (demangle_template_value_parm): Likewise.
6743 (do_type): Likewise.
6744 (demangle_fund_type)): Likewise.
6745
6746Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6747
6748 * splay-tree.c (splay_tree_foreach_helper): Make definition static
6749 to match prototype.
6750
67511998-10-21 Mark Mitchell <mark@markmitchell.com>
6752
6753 * splay-tree.c: New file.
6754 * Makefile.in (CFILES): Add it.
6755 (REQUIRED_OFILES): Likewise.
6756 (splay-tree.o): Add dependencies.
6757
6758Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6759
6760 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
6761 range of 'K' index.
6762
6763Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6764
6765 * choose-temp.c: Prototype mkstemps() when IN_GCC.
6766
6767 * cplus-dem.c (consume_count): Cast argument of ctype macro to
6768 `unsigned char'.
6769 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
6770 comparing against one.
6771 (cplus_mangle_opname): Likewise.
6772 (demangle_integral_value): Cast argument of ctype macro to
6773 `unsigned char'.
6774 (demangle_template_value_parm): Likewise.
6775 (demangle_template): Initialize variable `bindex'. Cast the
6776 result of `strlen' to (int) when comparing against one. Remove
6777 unused variable `start_of_value_parm'.
6778 (demangle_class_name): Cast the result of `strlen' to (int) when
6779 comparing against one.
6780 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
6781 (gnu_special): Likewise. Cast the result of `strlen' to (int)
6782 when comparing against one.
6783 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
6784 (get_count): Likewise.
6785 (do_type): Likewise. Cast the result of `strlen' to (int) when
6786 comparing against one.
6787 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
6788 (demangle_function_name): Cast the result of `strlen' to (int)
6789 when comparing against one.
6790
6791 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
6792 comparing against one.
6793
6794Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
6795
b4fe2683
JM
6796 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
6797 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
6798 * config.in, configure: Rebuilt.
252b5132
RH
6799
6800 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
6801 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
6802 * config.in, configure: Rebuilt.
6803
6804Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
6805
b4fe2683 6806 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
6807
6808Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
6809
6810 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
6811
6812Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
6813
6814 * Merge egcs & devo libiberty.
6815
ba8cb4ba 68161998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
252b5132
RH
6817
6818 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
6819
6820Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6821
6822 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
8aefe91a
DD
6823 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
6824 IN_GCC.
252b5132
RH
6825
6826 * vasprintf.c: Include stdarg.h/varargs.h first.
6827
6828 * vprintf.c: Likewise.
6829
6830Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
6831
6832 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
6833 is the canonical copy. Define ISSPACE if !IN_GCC.
6834 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
6835 * getopt1.c, obstack.c: Similarly.
6836 * Makefile.in: Build mkstemp.o
6837
6838Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
6839
6840 * configure.in: Include asprintf in list of functions known not
6841 to be in newlib.
6842 * configure: Rebuild.
6843
6844Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
6845
6846 * cplus-dem.c (work_stuff): Add dllimported.
6847 (demangled_prefix): Mark symbols imported from PE DLL.
6848 (internal_cplus_demangled): Handle.
6849
68501998-08-17 Jason Merrill <jason@yorick.cygnus.com>
6851
6852 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
6853 stay failed.
6854
6855Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6856
6857 * cplus-dem.c: Include config.h if it exists. Also, only
6858 prototype malloc/realloc if we can't get stdlib.h.
6859
6860Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
6861
6862 * configure.in: Switch back to checking --with-target-subdir when
6863 deciding whether to check for newlib, undoing part of July 15
6864 change.
6865 * configure: Rebuild.
6866
6867Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
6868
6869 * cplus-dem.c (type_kind_t): New type.
6870 (demangle_template_value_parm): Add type_kind_t parameter. Rely
6871 on this paramter, rather than demangling the type again.
6872 (demangle_integral_value): Pass tk_integral.
6873 (demangle_template_: Pass the value returned from do_type.
6874 (do_type): Return a type_kind_t. Pass tk_integral to
6875 demangle_template_value_parm for array bounds.
6876 (demangle_fund_type): Likewise.
6877
6878 Also incorporate from GCC version:
6879
6880 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
6881
6882 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
6883
6884Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6885
6886 * cplus-dem.c (demangle_nested_args): Make function definition
6887 static to match the prototype.
6888
6889Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
6890
6891 * cplus-dem.c (type_kind_t): New type.
6892 (demangle_template_value_parm): Add type_kind_t parameter. Rely
6893 on this paramter, rather than demangling the type again.
6894 (demangle_integral_value): Pass tk_integral.
6895 (demangle_template_: Pass the value returned from do_type.
6896 (do_type): Return a type_kind_t. Pass tk_integral to
6897 demangle_template_value_parm for array bounds.
6898 (demangle_fund_type): Likewise.
6899
6900 Also incorporate from GCC version:
6901
6902 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
6903
6904 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
6905
6906Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
6907
6908 * Makefile.in (ALLOCA): New variable.
6909 ($(TARGETLIB)): Add $(ALLOCA) to library.
6910 (needed-list): Add $(ALLOCA).
6911 ($(ALLOCA)): Depend upon stamp-picdir.
6912
6913Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6914
6915 * cplus-dem.c (demangle_nested_args): Make function definition
6916 static to match the prototype.
6917
6918Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
6919
6920 * configure.in: Check --with-cross-host rather than
6921 --with-target-subdir when deciding whether build uses a cross
6922 compiler, and when deciding where to install the library.
6923 * configure: Rebuild.
6924
6925Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
6926
6927 * cplus-dem.c (demangle_nested_args): Return a value.
6928
6929Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
6930
6931 * cplus-dem.c (string): Move definition before work_stuff.
6932 (work_stuff): Add volatile_type, forgetting_types,
6933 previous_argument, and nrepeats fields.
6934 (SCOPE_STRING): New macro.
6935 (demangle_template): Add `remember' parameter. Add comment.
6936 Register the `B' code type here, if remembering. Tidy. Fix crash
6937 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
6938 (demangle_nested_args): New function.
6939 (internal_cplus_demangle): Handle volatile-qualified member
6940 functions.
6941 (mop_up): Delete the previous_argument string if present.
6942 (demangle_signature): Tidy. Handle volatile-qualified member
6943 functions. Handle back-references using the `B' code. Use extra
6944 parameter to demangle_template and SCOPE_STRING where appropriate.
6945 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
6946 code.
6947 (demangle_class): Use SCOPE_STRING.
6948 (gnu_special): Pass additional argument to demangle_template.
6949 Use SCOPE_STRING.
6950 (demangle_qualified): Save qualified types for later
6951 back-references. Handle constructors and destructors for template
6952 types correctly.
6953 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
6954 demangle_template. Use demangled_nested_args. Don't remember
6955 qualified types here; that's now done in demangle_qualified.
6956 Similarly for templates.
6957 (do_arg): Improve commment. Handle 'n' repeat code.
6958 (remember_type): Check forgetting_types.
6959 (demangle_args): Deal with 'n' repeat codes. Tidy.
6960
6961Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
6962
6963 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
6964 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
6965
6966Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
6967
6968 * configure.in (setobjs): Correct quoting error in cygwin32 case.
6969 From Chris Faylor <cgf@cygnus.com>.
6970
6971Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
6972
6973 * obstack.c: Update to latest FSF version.
6974
6975Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
6976
6977 * Makefile.in: Add a dependency on stamp-picdir for the
6978 objects, so that we can do a parallel build.
6979
6980Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
6981
6982 * configure.in (checkfuncs): Add missing "'".
6983
6984Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
6985
6986 * obstack.c (_obstack_memory_used): Elide this function if we're
6987 on a system with GNU libc.
6988
6989Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
6990
6991 * Makefile.in (distclean): Remove config.log.
6992
6993Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6994
6995 * Makefile.in (distclean): Don't remove alloca-conf.h.
6996
6997Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
6998
6999 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
7000
70011998-05-21 Mark Mitchell <mmitchell@usa.net>
7002
7003 * cplus-dem.c (do_type): Handle volatile qualification.
7004
70051998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
7006
7007 * configure.in: Check for unistd.h as well.
7008 * configure: Rebuild.
7009 * config.in: Rebuild.
7010 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
7011 is defined in unistd.h. Reformat conditional block for easier reading.
7012
7013 * config.table (shared): Default to no if ${enable_shared}
7014 is unset or empty; this logic is used by the toplevel
7015 configure scripts, too.
7016
7017Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
7018
7019 * config.table: Add line to set enable_shared in the Makefile
7020 as needed.
7021
7022Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7023
7024 * cplus-dem.c (squangle_mop_up): Change return type to void.
7025 (internal_cplus_demangle): Remove unused parameter `options'.
7026 All callers changed.
7027 (cplus_demangle_opname): Remove function wide variable `int i' and
7028 replace with `size_t i' at each location where it is used.
7029 (cplus_mangle_opname): change type of `i' from int to size_t.
7030
7031Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
7032
7033 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
7034 than sparc or sun.
7035 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
7036
7037Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
7038
7039 * configure.in: Set libiberty_topdir correctly when srcdir is
7040 "." and with_target_subdir is not set.
7041 * configure: Rebuild.
7042
7043Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
7044
7045 * configure.in: Add *-*-mingw32* case.
7046 * configure: Rebuild.
7047
7048Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
7049
7050 * config.table: Never use a PIC file for *-*-cygwin32*.
7051
7052 * Makefile.in (config.status): Depend upon config.table.
7053
7054 * configure.in: On a cygwin32 host, always compile random, and
7055 don't test for sys_siglist, strsignal, or psignal.
7056 * configure: Rebuild.
7057
7058 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
7059 * getcwd.c: Likewise.
7060 * getpagesize.c: Likewise.
7061 * getruntime.c: Likewise.
7062
7063Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
7064
7065 Use autoconf tests rather than the old dummy.c test:
7066 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
7067 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
7068 most functions. Add special cases to handle newlib and VxWorks.
7069 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
7070 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
7071 CONFIG_FILES is set; set ac_file before calling it.
7072 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
7073 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
7074 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
7075 (i[3456]-*-mingw32*): Remove.
7076 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
7077 (LIBOBJS): New variable.
7078 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
7079 (all): Depend upon needed-list. Don't check RULE1.
7080 (@target_makefile_frag@): Remove.
7081 (COMPILE.c): Include @DEFS@.
7082 (HFILES): Add alloca-conf.h.
7083 (REQUIRED_OFILES): Remove basename.o.
7084 ($(TARGETLIB)): New target.
7085 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
7086 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
7087 (needed-list, config.h): Rewrite.
7088 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
7089 (.always.): Remove.
7090 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
7091 (stamp-h): New target.
7092 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
7093 (basename.o): Don't depend upon config.h.
7094 (getruntime.o): Depend upon config.h.
7095 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
7096 NEED_on_exit.
7097 * basename.c: Don't include config.h. Don't check NEED_basename.
7098 * clock.c: Include config.h.
7099 * getcwd.c: Likewise.
7100 * getpagesize.c: Likewise.
7101 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
7102 HAVE_TIMES.
7103 * strerror.c: Change uses of NEED_sys_errlist to
7104 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
7105 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
7106 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
7107 HAVE_PSIGNAL.
7108 * acconfig.h: New file.
7109 * dummy.c: Remove.
7110 * functions.def: Remove.
7111 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
7112 * config/mh-windows (HDEFINES): Remove.
7113 * config/mh-cygwin32: Remove.
7114 * config/mh-go32: Remove.
7115 * config/mh-irix4: Remove.
7116 * config/mh-riscix: Remove.
7117 * config/mh-sysv4: Remove.
7118 * config/mt-mingw32: Remove.
7119 * config/mt-vxworks5: Remove.
7120 * config.in: New file, generated using autoheader.
7121 * configure: Rebuild.
7122
7123Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
7124
7125 * configure.in: Rewrite to use autoconf.
7126 * configure: Generate using autoconf.
7127 * config/mh-a68bsd: Remove.
7128 * config/mh-apollo68: Remove.
7129 * config/mh-hpbsd: Remove.
7130 * config/mh-ncr3000: Remove.
7131 * config/mh-sysv: Remove.
7132 * config/mh-aix (RANLIB, INSTALL): Don't define.
7133 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
7134 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
7135 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
7136 * config.table: Change config_shell to CONFIG_SHELL, and use
7137 libiberty_topdir to find move-if-change.
8aefe91a 7138 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
252b5132
RH
7139 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
7140 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
7141 * Makefile.in (srcdir): Set to @srcdir@.
7142 (VPATH): Likewise.
7143 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
7144 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
7145 (CC, CFLAGS, RANLIB)): Likewise.
7146 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
7147 (target_makefile_frag, host_makefile_frag): Add substitutions.
7148 (INSTALL_DEST): Set to @INSTALL_DEST@.
7149 (Makefile): Depend upon config.status. Don't depend upon
7150 $(host_makefile_frag) or $(target_makefile_frag).
7151 (config.status): New target.
7152
7153Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
7154
7155 * config/mt-sunos4: Remove. Should be handled by --with-headers
7156 and --with-libraries options at top level.
7157 * config.table: Never use mt-sunos4.
7158
7159 * alloca-conf.h: New file, combining alloca-norm.h and
7160 alloca-botch.h.
7161 * alloca-norm.h: Remove.
7162 * alloca-botch.h: Remove.
7163 * configure.in: Set shell variables files and links to empty.
7164 * config.table: Don't set shell variable files.
7165 * configure.bat: Don't create alloca-conf.h.
7166 * makefile.vms: Likewise.
7167 * mpw-config.in: Likewise.
7168 * vmsbuild.com: Likewise.
7169
7170Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
7171
7172 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
7173 target depending upon config.h.
7174 (alloca.o): Add target depending upon config.h
7175 (basename.o, choose-temp.o, fnmatch.o): Likewise.
7176 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
7177 (strsignal.o, xstrerror.o): Likewise.
7178
7179Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7180
7181 * cplus-dem.c (cplus_demangle_opname): Initialize work.
7182
7183Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
7184
7185 * cplus-dem.c (demangle_qualified): Replace missing else.
7186
7187Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7188
7189 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
7190 length in the name of a virtual table.
7191
7192Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
7193
7194 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
7195 (cplus_demangle_opname): Call mop_up_squangle.
7196 (cplus_demangle): Initialize squangle info, then call
7197 internal_cplus_demangle. (Most code moved there as well)
7198 (internal_cplus_demangle): New function, performs most of what use
7199 to be done in cplus_demangle, but is only called with this file.
7200 (squangle_mop_up): New function to clean up B and K code data.
7201 (mop_up): set pointers to NULL after freeing.
7202 (demangle_signature, demangle_template, demangle_class): Add
7203 switch elements to handle K and B codes.
7204 (demangle_prefix, gnu_special, demangle_qualified): Add
7205 code to handle K and B codes.
7206 (do_type, demangle_fund_type): Handle B and K codes.
7207 (remember_Ktype): New function to store K info.
7208 (register_Btype, remember_Btype): New functions for B codes.
7209 (forget_B_and_K_types): New function to destroy B and K info.
7210
7211Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
7212
7213 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
7214
7215Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
7216
7217 * config.table: Make locating frag files failsafe even for the
7218 special case if configuring and building in srcdir.
7219
7220Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
7221
7222 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
7223
7224Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
7225
7226 * choose-temp.c: Sync with copy in gcc.
7227
7228Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
7229
7230 * getopt.c: Update to latest FSF version.
7231 * getopt1.c: Likewise.
7232
7233Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
7234
7235 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
7236 strings that are not actually lengths.
7237
7238Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
7239
7240 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
7241 (.c.o): Check value of enable_shared, not PICFLAG.
7242 (stamp-picdir): Dito.
7243
7244Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
7245
b4fe2683
JM
7246 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
7247 since it gets built automatically
252b5132
RH
7248
7249Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
7250
7251 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
7252 the currently shipping OS.
7253
7254Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
7255
7256 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
7257 Add fnmatch.o and objalloc.o; remove vasprintf.o.
7258 [config.h]: Define NEED_strsignal.
7259
7260Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
7261
7262 * functions.def: Correct argument types for strerror and
7263 strsignal. Reported by Alex Gutman <agutman@emc.com>.
7264
7265Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
7266
7267 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
7268 values.
7269
7270Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
7271 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
7272
7273 Add mingw32 support.
7274 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
7275 (pwait): New function for mingw32.
7276
7277 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
7278 * config/mt-mingw32: New file.
7279 * xmalloc.c (first_break): Not used for mingw32.
7280 (xmalloc_set_program_name): Don't use sbrk on mingw32.
7281 (xmalloc): Likewise.
7282 (xrealloc): Likewise.
7283
7284Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
7285
7286 * choose-temp.c: Sync with gcc version.
7287
7288Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
7289
7290 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
7291 to all filenames in libdir and tooldir.
7292 (distclean): Do MULTICLEAN before deleting Makefile.
7293 (stamp-needed, stamp-config): Add MULTISRCTOP to
7294 pathname for move-if-change.
7295
7296Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
7297
7298 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
7299
7300Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
7301
7302 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
7303 was already defined previously.
7304
7305Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
7306
7307 * Makefile.in (INSTALL): Use ../install-sh, not install.
7308
7309Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
7310
7311 * Makefile.in (CFILES): Add pexecute.c.
7312
7313Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
7314
7315 * asprintf.c: Consistently use either stdarg or varargs.
7316
7317Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
7318
7319 * cplus-dem.c (demangle_signature): Don't look for return types on
7320 constructors. Handle member template constructors.
7321
7322Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
7323
7324 * README: Fix configuration instructions.
7325
7326Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
7327
7328 * pexecute.c: Update to current version from /gd/gnu/lib:
7329
7330 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
7331
b4fe2683 7332 * pexecute.c: Use spawn if __CYGWIN32__.
252b5132
RH
7333
7334 1997-08-08 Paul Eggert <eggert@twinsun.com>
7335
b4fe2683 7336 * pexecute.c: Include "config.h" first, as per autoconf manual.
252b5132
RH
7337
7338 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
7339
b4fe2683
JM
7340 * pexecute.c (fix_argv): New function.
7341 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
7342 Add underscore to cwait function call.
252b5132
RH
7343
7344Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
7345
b4fe2683
JM
7346 * cplus-dem.c (demangle_template): Add new parameter. Handle new
7347 template-function mangling.
7348 (consume_count_with_underscores): New function.
7349 (demangle_signature): Handle new name-mangling scheme.
252b5132
RH
7350
7351Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
7352
7353 * asprintf.c: stdarg.h when ALMOST_STDC
7354 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
8aefe91a 7355 strncasecmp.o.
252b5132
RH
7356
7357Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
7358
7359 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
7360
7361 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
7362
7363 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
7364
7365Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
7366
7367 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
7368
7369Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
7370
7371 * asprintf.c (asprintf): New file.
7372 * Makefile.in (CFILES): Add asprintf.c
7373 * functions.def: Ditto.
7374
7375Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
7376
7377 * argv.c (dupargv): New function, duplicate an argument vector.
7378
7379Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
7380
7381 * config/mh-cygwin32: also build random.o
7382
7383Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
7384
7385 * cplus-dem.c: Add 'extern' to prepends_underscore.
7386
7387Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
7388
7389 * cplus-dem.c: Various changes to produce Java output when passed
7390 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
7391 (main): Support --java and -j flags to set DMGL_JAVA.
7392
7393Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
7394
7395 * config/mh-go32 (CC, AR, RANLIB): Don't define.
7396
7397Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
7398
7399 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
7400 (pexecute.o): New target.
7401
7402 * Makefile.in (stamp-needed): New target, replacing needed-list.
7403 (needed-list): Just depend upon stamp-needed.
7404 (stamp-config): New target, replacing config.h.
7405 (config.h): Just depend upon stamp-config.
7406 (mostlyclean): Remove stamp-*.
7407
7408Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
7409
7410 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
7411 INSTALL_DATA for multilibbed installs
7412
7413Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
7414
7415 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
7416
7417 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
7418
7419 * choose-temp.c (try): Insist that temp dir be searchable.
7420
7421 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
7422
7423 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
7424 for current directory.
7425
7426 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
7427
7428 * pexecute.c: Remove special cases for cygwin32.
7429 (pwait): Remove local definition of `pid'.
7430
7431 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
7432
7433 * pexecute.c (vfork): Supply new definition for VMS.
7434 (pwait): Use waitpid instead of wait for VMS.
7435
7436Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7437
7438 * cplus-dem.c (do_type): Handle `J'.
7439 (demangle_fund_type): Print "complex" for it.
7440
7441Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
7442
7443 * configure.in: Don't turn on multilib here.
7444
7445Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
7446
7447 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
7448 elided; needed by gdb and not present in libc.
7449
7450Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
7451
7452 * Makefile.in (clean): Remove tmpmulti.out.
7453
7454Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
7455
7456 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
7457 Add new floatformat, mainly for ARM doubles.
7458
7459Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
7460
7461 * config.table: Use ${config_shell} with ${moveifchange}. From
7462 Thomas Graichen <graichen@rzpd.de>.
7463
7464Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
7465
7466 * configure.in: Enable multilibing by default.
7467 Update multilib template to read config-ml.in.
7468
7469Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
7470
7471 * makefile.vms: Add objalloc.
7472
7473Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
7474
7475 * cplus-dem.c (demangle_it): Add prototype declaration.
7476 (usage, fatal): Likewise.
7477
7478 * xexit.c (_xexit_cleanup): Add prototype.
7479
7480 * strerror.c (init_error_tables): Declare.
7481
7482Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
7483
7484 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
7485 * strsignal.c: Only define strsignal if NEED_strsignal.
7486 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
7487 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
7488 to xneeded-list.
7489 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
7490 (EXTRA_OFILES): Define to vasprintf.o.
7491 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
7492 (EXTRA_OFILES): Add vasprintf.o.
7493 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
7494 (vxneeded-list): Add vasprintf.o.
7495
7496Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
7497
7498 * objalloc.c: Include <stdio.h>.
7499
7500Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
7501
7502 * objalloc.c: New file.
7503 * Makefile.in (CFILES): Add objalloc.c
7504 (REQUIRED_OFILES): Add objalloc.o.
7505 (objalloc.o): New target.
7506
7507Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
7508
7509 * obstack.c: Update to current FSF version.
7510
7511Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
7512
7513 * cplus-dem.c: Add prototypes for all static functions.
7514 (mystrstr): Make static. Make arguments and result const.
7515 (cplus_match): Remove; not used.
7516
7517Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7518
7519 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
7520 __t* symbols.
7521
7522Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
7523
7524 * spaces.c: Declare malloc and free properly.
7525 * strsignal.c (init_signal_tables): Add prototype.
7526 * xatexit.c (_xexit_cleanup): Add parameter declarations.
7527
7528Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7529
7530 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
7531 also required because of xmalloc.o.
7532
7533Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
7534
7535 * strsignal.c: Unconditionally redefine sys_siglist around the
7536 inclusion of the system header files.
7537
7538Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
7539
7540 * makefile.vms: Remove 8 bit characters. Update to latest
7541 gcc release.
7542
7543Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
7544
7545 * strsignal.c: Use NEED_sys_siglist instead of
7546 LOSING_SYS_SIGLIST.
7547 * config.table: Don't use mh-lynxos.
7548 * config/mh-lynxos: Remove.
7549
7550Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
7551
7552 * cplus-dem.c: Fix indenting; make identical to the copy
7553 in GCC.
7554 (do_type, case 'M'): Check for a template as well as a class.
7555
7556Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7557
7558 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
7559 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
7560 libiberty is incorrect, as well.
7561
7562Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7563
7564 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
7565 alloca takes a size_t argument, not just unsigned.
7566
7567Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
7568
7569 * cplus-dem.c: Note that this file also lives in GCC.
7570
7571Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7572
7573 * alloca.c: Remove include of libiberty.h for hpux.
7574 * argv.c: Replace defs from libiberty.h.
7575 * spaces.c: Put back externs from removed from libiberty.h.
7576 * vasprintf.c: Remove include of libiberty.h for hpux.
7577
7578Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7579
7580 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
7581
7582Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7583
7584 * cplus-dem.c: Revert last two commits due to conflicts with
7585 hpux system headers.
7586
7587Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7588
7589 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
7590 Revert last commit due to conflicts with hpux system headers.
7591
7592Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7593
7594 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
7595 libiberty.h when compiled with a standard compiler.
7596
7597Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7598
7599 * alloca.c: Include libiberty.h for definition of xmalloc.
7600 Don't redefine NULL.
7601 * argv.c: Move prototypes to libiberty.h.
7602 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
7603 Don't redefine NULL.
7604 Use casts to eliminate compiler warnings.
7605 * spaces.c: Remove prototypes for malloc and free which are
7606 already in libibrty.h.
7607 * strcasecmp.c: Use casts to eliminate compiler warnings.
7608 * vasprintf.c: Include libiberty.h for definition of malloc.
7609 Don't redefine NULL.
7610 * vprintf.c: Include stdarg.h if __STDC__.
7611
7612Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
7613
7614 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
7615
7616Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
7617
7618 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
7619 upward components correctly.
7620
7621Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
7622
7623 * config.table, config/mh-windows: Add support for building under
7624 MSVC (the Microsoft build environment).
7625
7626Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
7627
7628 * fnmatch.c: Undef const if not __STDC__.
7629
7630Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
7631
7632 * fnmatch.c: New file.
7633 * Makefile.in (CFILES): Add fnmatch.c.
7634 (REQUIRED_OFILES): Add fnmatch.o.
7635 (fnmatch.o): New target.
7636
7637Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
7638
7639 * cplus-dem.c (demangle_template): Fix handling of address args.
7640 (gnu_special): Handle type_info stuff.
7641
7642Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7643
7644 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
7645 (mpwify_filename): Handle "::/" case.
7646
7647Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
7648
7649 * config/mh-cygwin32: new file (need -DNEED_basename and
7650 -DNEED_sys_siglist for native NT rebuilding)
7651 * config.table (*-*-cygwin32): new entry
7652 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
7653
7654Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7655
7656 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
7657
7658Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
7659
7660 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
7661 messed with arguments that included a '/', add escape chars
7662 to double quotes, remove const decl from arg that Mac
7663 compilers don't seem to like.
7664
7665Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
7666
7667 * pexecute.c: Update test for win32 (&& ! cygwin32).
7668 * choose-temp.c: fix WIN32 preprocessor defines
7669
7670Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
7671
7672 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
7673 to editing of default makefile rule.
7674
7675Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
7676
7677 * alloca-norm.h: Include <malloc.h> if _WIN32.
7678 * argv.c: Include non-prototyped decls for malloc and string
7679 functions if ! _WIN32 or if __GNUC__.
7680
7681Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
7682
7683 * config.h-vms: New file.
7684 * makefile.vms: Use it.
7685
7686Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
7687
7688 * getopt.c (_getopt_internal): If argc is 0, just return (before
7689 we reference *argv and segfault).
7690
7691Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
7692
7693 * Makefile.in (distclean): Add multilib.out.
7694
7695Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
7696
7697 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
7698 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
7699
7700Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
7701
7702 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
7703
7704 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
7705
7706 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
7707
7708 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
7709 (do_ofiles): Allow nonexistent source file in pass 3.
7710 (chk_deffunc): New routine.
7711
7712Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
7713
7714 * pexecute.c (PEXECUTE_VERBOSE): Define.
7715 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
7716
7717Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7718
7719 * Makefile.in (docdir): Removed.
7720
7721Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7722
7723 * Makefile.in (oldincludedir): Removed.
7724
7725Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7726
b4fe2683 7727 * Makefile.in (datadir): Set to $(prefix)/share.
252b5132
RH
7728
7729Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
7730
7731 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
7732 checking for errors from do_type.
7733
7734Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
7735
7736 * makefile.vms: New file.
7737 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
7738 than declaring malloc, realloc, and sbrk.
7739
7740Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
7741
7742 * pexecute.c: New file.
7743
7744Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
7745
7746 * xmalloc.c: Declare sbrk.
7747
7748Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7749
7750 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
7751 declaration.
7752
7753Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
7754
7755 * xstrerror.c: Include <stdio.h>.
7756
7757Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
7758
7759 * Makefile.in (CFILES): Add atexit.c.
7760
7761Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
7762
7763 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
7764
7765Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
7766
7767 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
7768 #include <stdio.h>
7769 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
7770
7771Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
7772
b4fe2683 7773 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
252b5132
RH
7774 Reverts Feb 8, 1995 change.
7775
7776Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
7777
7778 * choose-temp.c: New file.
7779 * Makefile.in (CFILES): Add choose-temp.c.
7780 (REQUIRED_OFILES): Add choose-temp.o.
7781
7782Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
7783
7784 * floatformat.c (floatformat_to_double): Don't bias exponent when
7785 handling zero's, denorms or NaNs.
7786
7787Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
7788
7789 * floatformat.c (floatformat_to_double): Fix bugs with handling
7790 numbers with fractions < 32 bits.
7791
7792Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
7793
7794 * config.table: Permit --enable-shared to specify a list of
7795 directories.
7796
7797Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
7798
7799 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
7800 arguments.
7801
7802Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
7803
7804 * configure.in: If srcdir is `.' and with_target_subdir is not
7805 `.', then set MULTISRCTOP before calling config-ml.in.
7806
7807Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
7808
7809 * mpw.c (mpw_open): Add debugging output option.
7810
7811Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
7812
7813 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
7814
7815Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
7816
7817 * mpw.c (mpwify_filename): Change 6 to 5 in
7818 strncmp (unixname, "/tmp/", 5).
7819
7820Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
7821
7822 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
7823 handle 0 as a pointer value parameter.
7824
7825Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
7826
7827 * Makefile.in (all): Depend upon required-list.
7828 (required-list): New target.
7829 (clean): Remove required-list.
7830
7831Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
7832
7833 * win32.c: Deleted.
7834 * config.table (i386-*-win32): Deleted.
7835 * config/mh-i386win32: Deleted.
7836
7837Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
7838
7839 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
7840 const char *.
7841 (cplus_mangle_opname): Change return type and opname parameter to
7842 const char *. Don't cast return value.
7843
7844Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
7845
7846 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
7847 definition.
7848
7849Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
7850
7851 * obstack.c: Update copyright to 1996.
7852 (_obstack_memory_used): Define new function. Called via
7853 obstack_memory_used macro.
7854
7855Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
7856
7857 * xstrdup.c: New file.
7858 * Makefile.in (CFILES): Add xstrdup.c.
7859 (REQUIRED_OFILES): Add xstrdup.o.
7860 (xstrdup.o): New target.
7861
7862Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
7863
7864 * atexit.c: New stub to provide atexit on systems that have
7865 on_exit, like SunOS 4.1.x systems.
7866 * functions.def (on_exit, atexit): Ditto.
7867
7868Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
7869
7870 * mpw.c (mpw_abort): Remove decl.
7871 (mpw_access): Move debugging printf.
7872
7873Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
7874
7875 * config.table: Consistently use ${host} rather than ${xhost} or
7876 ${target}.
7877 * configure.in: Don't bother to set ${xhost} before calling
7878 config.table.
7879
7880Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7881
7882 * Makefile.in (.c.o): Use test instead of the left bracket, to
7883 avoid problems with some versions of make.
7884
7885Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
7886
7887 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
7888
7889Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
7890
7891 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
7892 which was set to just alloca.o, which is now automatically marked
7893 as needed by the autoconfiguration process.
7894
7895Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
7896
7897 * config.table: Check ${with_cross_host} rather than comparing
7898 ${host} and ${target}.
7899
7900Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
7901
7902 * configure.in: If with_target_subdir is empty, set xhost to
7903 ${host} rather than ${target} before calling config.table.
7904
7905Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
7906
7907 * Makefile.in (MULTITOP): Deleted.
7908 (MULTISRCTOP, MULTIBUILDTOP): New.
7909 (FLAGS_TO_PASS): Delete INCDIR.
7910 (INCDIR): Add $(MULTISRCTOP).
7911 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
7912 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
7913 instead of cfg-ml-pos.in.
7914 (cross-compile check): Change to test for with_target_subdir.
7915 (EXTRA_LINKS): Delete.
7916
7917Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
7918
7919 * mpw-make.sed: Add getpagesize.c.o to needed-list.
7920 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
7921 functions that are supplied by Metrowerks libraries.
7922 (fstat): Clean up descriptor->pointer conversion code.
7923 (InstallConsole, etc): Empty definitions, for when linking
7924 with SIOUX.
7925
7926Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
7927
7928 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
7929 (.c.o): Stylistic change.
7930
7931Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
7932
7933 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
7934 phdm@info.ucl.ac.be (Philippe De Muyter).
7935
7936Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
7937
7938 * configure.in: Correct sed call.
7939
7940Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
7941
7942 * configure.in: Clean up / simplify for native.
7943
7944 * configure.in: Merge in stuff from ../xiberty/configure.in.
7945 * Makefile.in (CC): Add definition (so it can be overrridden
7946 by ../configure).
7947
7948Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
7949
7950 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
7951 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
7952 (link): Remove useless definition with error return.
7953 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
7954 Use UnsignedWide type for microsecond counts.
7955
7956Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
7957
7958 * memcmp.c (memcmp): Argument types are const void *, not void
7959 *const.
7960
7961 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
7962 sys/types.h.
7963 * strcasecmp.c (strcasecmp): Ditto.
7964
7965Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
7966
7967 * Makefile.in (BISON): Remove macro.
7968
7969Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
7970
7971 * Makefile.in (HFILES): Add default empty definition.
7972 * mpw-config.in (config.h): Only update if changed.
7973 * mpw-make.in: Remove.
7974 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
7975 * mpw.c: Remove semi-clone of strerror code.
7976 (sys_nerr, sys_errlist): Define here.
7977 (Microseconds): Only define as A-line trap if m68k Mac.
7978
7979Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
7980
7981 * Makefile.in (maintainer-clean): New synonym for distclean.
7982
7983Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
7984
7985 * config.table: For host, generalize rs6000-ibm-aix*
7986 to *-ibm-aix* so we also include powerpc.
7987
7988Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
7989
7990 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
7991
7992 * xstrerror.c: New file.
7993 * Makefile.in, vmsbuild.com: Compile it.
7994
7995Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
7996
7997 * config.table (i386-*-win32): New.
7998
7999Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
8000
8001 * Makefile.in (MULTITOP): New variable.
8002 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
8003 (all): Add multilib support.
8004 (install_to_tooldir, *clean): Likewise.
8005
8006Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
8007
8008 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
8009
8010Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
8011
8012 * vmsbuild.com: create "new-lib.olb", build libiberty under that
8013 name, and then make it become "liberty.olb" when done, so that an
8014 incomplete build attempt never leaves behind something which looks
8015 like a complete library.
8016
8017Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
8018
8019 * config/mh-i386pe: New file for PE hosts.
8020 * config.table: Understand PE hosts.
8021
8022Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8023
8024 * cplus-dem.c: Update from gcc.
8025
8026 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
b4fe2683 8027 <stddef.h>.
252b5132
RH
8028 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
8029
8030Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
8031
8032 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
8033 * mpw.c: Only test DebugPI once whenever printing debug info.
8034 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
8035 also fix to not write on input filename buffer.
8036 (mpw_access): Use stat() instead of open(), works for directories
8037 as well as files.
8038
8039Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8040
8041 * Makefile.in: Massage broken shells that require 'else true'.
8042
8043Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
8044
8045 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
8046 Declare __builtin_alloca in the sparc case, as argv.c did.
8047 * argv.c: Replace inline version of alloca-norm.h at start of file with
8048 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
8049 because alloca-norm.h needs to declare alloca as "PTR".
8050
8051Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
8052
8053 * win32.c: New file.
8054
8055Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8056
8057 * dummy.c: #include "alloca-conf.h".
8058
8059Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8060
8061 * Makefile.in (mostlyclean): Remove stamp-picdir.
8062 (clean): Don't.
8063
8064Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8065
8066 * config.table (frags): Use toplevel pic frags.
8067
8068 * Makefile.in (PICFLAG): New macro.
8069 (all): Depend on stamp-picdir.
8070 (needed-list): Ditto.
8071 (.c.o): Also build pic object.
8072 (stamp-picdir): New rule.
8073 (mostlyclean): Remove pic.
8074 (clean): Remove stamp-picdir.
8075
8076Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
8077
8078 * vmsbuild.com (config.h): Add `#define NEED_basename'.
8079
8080Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
8081
8082 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
8083 to libio-style copyright.
8084 * getpagesize.c: Remove FSF copyright.
8085
8086Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
8087
8088 Added improved VMS support from Pat Rankin:
8089
8090 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
8091
8092 * vmsbuild.com: new file.
8093
8094 * getpagesize.c (getpagesize): implement for VMS;
8095 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
8096 support for EVMSERR.
8097
8098Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
8099
8100 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
8101
8102 * floatformat.c (floatformat_arm_ext): Define.
8103
8104Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
8105
8106 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
8107 strerror.c, strsignal.c: Remove FSF copyright.
8108 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
8109
8110Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
8111
8112 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
8113 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
8114 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
8115 * strchr.c, strrchr.c: Add cast to suppress const warning.
8116
8117Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8118
8119 * cplus-dem.c: Use const instead of CONST. Don't include
b4fe2683 8120 ansidecl.h directly.
252b5132
RH
8121
8122Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8123
8124 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
b4fe2683 8125 xrealloc.
252b5132 8126 (-DMAIN): Don't rely on an externally-defined version number;
b4fe2683
JM
8127 instead, require the version number to be defined as a
8128 preprocessor macro. Handle the RS/6000 leading dot. Define
8129 xmalloc, xrealloc and fatal. Don't strip a leading underscore
8130 if we couldn't demangle the word.
252b5132
RH
8131
8132Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
8133
8134 (Old mpw.c change descriptions retained for informational value.)
8135 * mpw.c (warning_threshold): Default to .4 sec.
8136 (overflow_count, current_progress): New globals.
8137 (warn_if_spin_delay): Include current progress type,
8138 such as program name, in message.
8139 (mpw_start_progress): Set current_progress variable from arg.
8140 (mpw_end_progress): Report spin delays by power-of-two-size
8141 buckets instead of constant-size buckets.
8142
8143 * mpw.c: Clean up formatting, types, returns, etc.
8144 (ENOSYS): Define.
8145 (mpw_fread, mpw_fwrite): Define.
8146 (sleep): Define correctly.
8147
8148 * mpw.c: New code to implement cursor spinning support.
8149 (umask): New function.
8150 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
8151
8152 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
8153 basenames for MPW and MPW/Unix filenames.
8154 (mpw_special_init): New function, calls Macsbug if desired.
8155
8156 * mpw.c: Add GPL notice.
8157 (mpwify_filename): Add more transformations.
8158 (mpw_fopen): Call mpwify_filename on file names.
8159 (rename): Remove.
8160 (chdir, getcwd): Add simple definitions.
8161
8162 * mpw.c: Random cleanups, remove unused code bits.
8163 Added copy of strerror.c for gcc's use.
8164 (stat, fstat, _stat): New versions based on Guido van Rossum code.
8165
8166 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
8167
8168 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
8169 (fork, vfork, etc): Print error messages if called.
8170 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
8171 rename, chown): Define.
8172
8173 * mpw-config.in: New file, MPW version of configure.in.
8174 * mpw-make.in: New file, MPW version of Makefile.in.
8175 * mpw.c: New file, MPW compatibility routines.
8176
8177Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8178
8179 * basename.c: Include config.h before checking for NEED_basename.
8180
8181Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8182
8183 * functions.def: Add DEFFUNC for basename.
8184
8185 * basename.c: Only define basename if NEED_basename.
8186
8187Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8188
8189 * config.table: Fix --enable-shared logic for native builds.
8190
8191Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8192
8193 * cplus-dem.c (demangle_template): Demangle bool literals properly.
8194
8195Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
8196
8197 * strtol.c strtoul.c: Replace these with less buggy versions from
8198 NetBSD. (strtoul in particular couldn't handle base 16.)
8199
8200Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
8201
8202 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
8203
8204 * clock.c: If NO_SYS_PARAM_H is defined, don't include
8205 <sys/param.h>.
8206 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
8207
8208Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
8209
8210 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
8211 a number; ANSI appears to permit any expression, including a
8212 function call.
8213
8214 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
8215 xiberty.
8216 * config/mt-vxworks5: New file.
8217
8218Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
8219
8220 * basename.c (basename): Change argument to be const.
8221
8222Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8223
8224 * Makefile.in (lneeded-list): Don't worry about xmalloc.
8225
8226Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
8227
8228 * Makefile.in (distclean): Delete xhost-mkfrag.
8229
8230Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8231
8232 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
8233
8234Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
8235
8236 * hex.c: New file.
8237 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
8238 (hex.o): Add dependencies.
8239
8240 * cplus-dem.c (demangle_prefix): For GNU style constructor and
8241 destructor names, try demangling the remainder of the string.
8242
8243Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
8244
8245 * vasprintf.c (int_vasprintf): New static function.
8246 (vasprintf): Use int_vasprintf. Removes assumption that va_list
8247 is assignment compatible.
8248
8249Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
8250
8251 * Makefile.in (LIBCFLAGS): New variable.
8252 (FLAGS_TO_PASS): Pass it.
8253 (.c.o): Use it.
8254
8255Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
8256
8257 * getopt.c, getopt1.c: Do compile these functions under Linux,
8258 since many native versions are based on glibc but are buggy.
8259
8260Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
8261
8262 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
8263 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
8264
8265Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
8266
8267 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
8268 * functions.def: Remove vasprintf.
8269
8270Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8271
8272 * xmalloc.c (first_break): New static variable.
8273 (xmalloc_set_program_name): Record sbrk (0) in first_break.
8274 (xmalloc): If memory allocation fails, try to report how much
8275 memory was allocated by the program up to this point.
8276 (xrealloc): Likewise.
8277
8278Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
8279
8280 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
8281 when linking dummy.
8282 * config.table: Add host RISCiX Makefile frag.
8283 * config/mh-riscix: New file.
8284
8285Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8286
8287 * Makefile.in (FLAGS_TO_PASS): Define.
8288 ($(RULE1)): Use $(FLAGS_TO_PASS).
8289
8290Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8291
8292 * vasprintf.c: Include <string.h>.
8293 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
8294 * xatexit.c: Declare malloc.
8295
8296Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
8297
8298 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
8299 one below).
8300
8301Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
8302
8303 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
b4fe2683 8304 the type index is greater than 9.
252b5132
RH
8305
8306Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
8307
8308 * cplus-dem.c (demangle_qualified): accept optional '_' between
8309 qualified name. This is baecause the template name may end with
8310 numeric and can mixed up with the length of next qualified name.
8311
8312Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
8313
8314 * config/mt-sunos4: Use our standard location for cross-includes
8315 and cross-libs when the target is also a "host" environment (ie no
8316 newlib; includes and such don't belong to us). This is specific
8317 to the Cygnus Support environment.
8318
8319Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
8320
8321 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
8322 xxx<ch=81>.
8323
8324Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
8325
8326 * cplus-dem.c (main): flush stdout to make pipe work.
8327
8328Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
8329
8330 * config.table (*-*-cxux7*): Recognize.
8331 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
8332 Harris-specific float format.
8333 * config/mh-cxux7: New file.
8334
8335Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8336
8337 * cplus-dem.c (demangle_template): Make sure that the result of
8338 consume_count doesn't index beyond the end of the string.
8339
8340Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8341
8342 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
8343 earlier. Improve test for new vtable mangling. Change output back
8344 to `virtual table'.
8345
8346Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8347
8348 * obstack.c: Always compile this code, even if using the GNU
8349 library. Avoids problems with relatively recent binary
8350 incompatibility.
8351
8352Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8353
8354 * cplus-dem.c: Include libiberty.h.
8355 (xmalloc, xrealloc, free): Don't declare.
8356 (strstr): Don't declare parameters.
8357 (xmalloc, xrealloc): Don't define.
8358 (long_options): Add no-strip-underscores.
8359 (main): Call xmalloc_set_program_name. Pass n in short options to
8360 getopt_long. Handle option 'n' to not strip underscores.
8361 (usage): Mention -n and --no-strip-underscores.
8362
8363Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
8364
8365 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
b4fe2683 8366 space.
252b5132
RH
8367 (gnu_special): Demangle template and qualified names in a vtable name.
8368
8369Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
8370
8371 From gas-2.3 and binutils-2.4 net releases:
8372
8373 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
8374
8375 * makefile.dos: [new] Makefile for dos/go32
8376 * configure.bat: update for latest files
8377 * msdos.c: remove some functions now in libc.a
8378
8379Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
8380
8381 * cplus-dem.c (gnu_special): Recognize thunks, as well as
8382 the new naming style for vtables (when -fvtable-thunks).
8383
8384Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8385
8386 * Makefile.in (XTRAFLAGS): Don't define.
8387 (.c.o, dummy.o): Don't use XTRAFLAGS.
8388 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
8389
8390Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8391
8392 * vasprintf.c: New file.
8393 * Makefile.in, functions.def: Add it.
8394
8395Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
8396
8397 * cplus-dem.c (demangle_fund_type): Grok bool.
8398
8399Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
8400
8401 * config.table: Add go32
8402 * config/mh-go32: New template.
8403
8404Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
8405
8406 * config.table, config/mt-sunos4: config for when sun4 is cross target.
8407
8408Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8409
b4fe2683
JM
8410 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
8411 Declare strlen to return int. Don't include stddef.h.
252b5132
RH
8412
8413Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
8414
b4fe2683
JM
8415 * getopt.c: Delete use of IN_GCC to control whether
8416 stddef.h or gstddef.h is included.
252b5132
RH
8417
8418Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
8419
8420 * cplus-dem.c (demangle_signature): Fix a bug in template function
8421 type numbering.
8422
8423Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
8424
8425 * cplus-dem.c (demangle_signature): Fix template function with arm
8426 style argument type number, Tn.
8427
8428Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
8429
8430 * cplus-dem.c (optable): Add new[] and delete[].
8431
8432Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8433
8434 * argv.c (buildargv): Don't produce empty argument just because
8435 there is trailing whitespace.
8436
8437Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
8438
8439 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
8440 Handle 'p' same as 'P'.
8441 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
8442
8443Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8444
8445 * floatformat.c (get_field, put_field): Fix off by one error in
8446 little endian case.
8447
8448Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8449
8450 * floatformat.c (floatformat_from_double): Pass unsigned char *,
8451 not char *, to put_field.
8452
8453Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
8454
8455 * memmove.c: Re-wrote; placed in public domain.
8456
8457Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8458
8459 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
8460 __Q* as a constructor.
8461
8462Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
8463
8464 * ieee-float.c: Removed; no longer used.
8465 * Makefile.in: Changed accordingly.
8466
8467Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8468
8469 * floatformat.c (get_field): Removed unused local variable i.
8470 (put_field): Removed unused local variable i.
8471
8472Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8473
8474 * floatformat.c: New file, intended to replace ieee-float.c.
8475 * Makefile.in: Change accordingly.
8476
8477Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
8478
8479 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
8480 (_getopt_initialize): New function, broken out of _getopt_internal.
8481 (_getopt_internal):
8482 If long_only and the ARGV-element has the form "-f", where f is
8483 a valid short option, don't consider it an abbreviated form of
8484 a long option that starts with f. Otherwise there would be no
8485 way to give the -f short option.
8486
8487Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8488
b4fe2683
JM
8489 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
8490 Test just __STDC__, not emacs.
252b5132
RH
8491
8492Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8493
b4fe2683
JM
8494 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
8495 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
252b5132
RH
8496
8497Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
8498
b4fe2683 8499 * getopt.c (_NO_PROTO): Define before config.h is included.
252b5132
RH
8500
8501Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
8502
b4fe2683 8503 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
252b5132
RH
8504 <config.h> only under these, else "config.h".
8505
8506Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
8507
b4fe2683
JM
8508 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
8509 <config.h> instead of "config.h".
252b5132
RH
8510
8511Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
8512
8513 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
8514 whether to use prototypes or not.
8515 * strerror.c (const): Never undefine; let ansidecl.h handle it.
8516 * strsignal.c (const): Likewise.
8517
8518Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8519
8520 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
8521 Merging common and initialized variables need not be supported by
8522 ANSI C compilers.
8523 (xatexit): Initialize _xexit_cleanup if not already set.
8524 * xexit.c: Comment fix.
8525
8526Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8527
8528 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
8529 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
8530 assuming that realloc works correctly.
8531
8532Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8533
8534 * concat.c, ieee-float.c: Replace inclusion of <string.h>
8535 with explicit function declarations, as recommended by Ian Taylor.
8536
8537Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
8538
8539 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
8540 (malloc, realloc): Declare.
8541
8542Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8543
8544 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
8545 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
8546 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
8547 * xmalloc.c: Likewise.
8548 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
8549 macros, not <varargs.h> macros.
8550 * spaces.c (spaces): Make return type const. Don't crash if
8551 malloc returns NULL.
8552 * strerror.c (struct error_info): Make name and msg fields const.
8553 (error_names): Make const.
8554 (strerrno): Make const.
8555 (strtoerrno): Make argument const.
8556 * strsignal.c (struct signal_info): Make name and msg fields
8557 const.
8558 (signal_names, sys_siglist): Make const.
8559 (strsignal, strsigno): Make const.
8560 (strtosigno): Make argument const.
8561 * xatexit.c: Declare parameter types.
8562 * xmalloc.c (name): Make const.
8563 (xmalloc_set_program_name): Make argument const.
8564 * Makefile.in (INCDIR): Define.
8565 (.c.o): Use $(INCDIR).
8566 (dummy.o): Likewise.
8567 (argv.o, basename.o): New targets; depend on libiberty.h.
8568 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
8569 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
8570 (xmalloc.o): Likewise.
8571 (cplus-dem.o): New target; depend on demangle.h.
8572 (getopt.o, getopt1.o): New targets; depend on getopt.h.
8573 (ieee-float.o): New target; depend on ieee-float.h.
8574 (obstack.o): New target; depend on obstack.h.
8575
8576Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
8577
8578 Handle obstack_chunk_alloc returning NULL. This allows
8579 obstacks to be used by libraries, without forcing them
8580 to call exit or longjmp.
8581 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
8582 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
8583 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
8584
8585Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8586
8587 * concat.c, ieee-float.c: Include <string.h>.
8588
8589Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
8590
8591 * xmalloc.c (xmalloc_set_program_name): New function.
8592 (xmalloc, xrealloc): Include the name in the error message, if set.
8593
8594 * Replace atexit.c with xatexit.c.
8595 * Makefile.in (CFILES), functions.def: Change references.
8596
8597Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
8598
8599 * getruntime.c (get_run_time): Use getrusage or times if
8600 HAVE_GETRUSAGE or HAVE_TIMES are defined.
8601
8602Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
8603
8604 * atexit.c: New file.
8605 * Makefile.in (CFILES), functions.def: Add it.
8606 * xexit.c: New file.
8607 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
8608 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
8609 Change request for 0 bytes into request for 1 byte.
8610
8611Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8612
8613 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
8614 unsigned long, to avoid warnings.
8615
8616Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
8617
8618 * dummy.c: Don't include time.h ever; always define clock_t as
8619 "unsigned long". Until gcc/fixincludes ensures that clock_t
8620 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
8621 exist, clock_t probably doesn't either.
8622
8623Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
8624
8625 * clock.c, getruntime.c: New files.
8626 * Makefile.in: Add to file lists.
8627 * functions.def (clock): Add to list.
8628 * dummy.c (time.h): Add if __STDC__.
8629 (clock_t): #define as "unsigned long" if not __STDC__.
8630
8631Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8632
8633 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
8634 Edler).
8635
8636Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8637
8638 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
8639 linking.
8640
8641Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
8642
8643 * cplus-dem.c (demangle_arm_pt): New function. Common code
8644 for ARM template demangling.
8645 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
8646 * cplus-dem.c (demangle_prefix): Likewise.
8647
8648Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
8649
8650 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
8651
8652Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
8653
8654 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
8655 * strerror.c, strsignal.c: As a small space optimization, don't
8656 include messages when they aren't actually used.
8657
8658 Merge changes from takefive.co.at!joe (Josef Leherbauer)
8659 * cplus-dem.c (demangle_prefix, demangle_function_name,
8660 cplus_demangle_opname): Fixes for systems where cplus_marker
8661 is something other than '$'.
8662
8663Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
8664
8665 * waitpid.c: Simple-minded approcimation to waitpid
8666 using vanilla wait.
8667 * functions.def, Makefile.in: Update accordingly,
8668
8669Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
8670
8671 * cplus-dem.c(demangle_template): fix bug template instantiation
8672 with value of user defined type.
8673
8674Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
8675
8676 * cplus-dem.c(cplus_demangle_opname): add the subject new function
8677 to support unified search of operator in class.
8678
8679Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8680
8681 gcc -Wall lint:
8682 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
8683 "digit = *s" as condition in while loop.
8684
8685Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
8686
8687 * Makefile.in: pass SHELL to recursive make
8688
8689Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
8690
8691 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
8692 be (const char*), for ANSI (and gcc w/fixproto) consistency.
8693
8694Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8695
8696 * config.table: Make *-*-hiux* use mh-hpux.
8697
8698Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8699
8700 * config.table: Add * to end of all OS names.
8701
8702Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8703
8704 * Makefile.in (lneeded-list): ensure that object file names are
8705 not duplicated, as multiple instances of the same object file in
8706 a library causes problems on some machines
8707
8708Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8709
8710 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
8711
8712Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8713
8714 * strncasecmp.c: new file, implements strncasecmp
8715 * strcasecmp.c: new file, implement strcasecmp
8716
8717 * Makefile.in (CFILES): list these two new source files
8718
8719 * functions.def: add strcasecmp and strncasecmp entries
8720
8721Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8722
8723 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
8724 according to ANSI C.
8725
8726Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
8727
8728 * cplus-dem.c: add support of ARM global constructor/destructor,
8729 and 'G' for passing record or union in parameter.
8730
8731Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8732
8733 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
8734 should not be in functions.def.
8735
8736Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8737
8738 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
8739 not be in functions.def.
8740
8741Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
8742
8743 * cplus-dem.c: change globl constructor/destructor to proper name
8744
8745Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
8746
8747 * cplus-dem.c: fix bug in constructor/destructor
8748
8749Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
8750
8751 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
8752
8753Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
8754
8755 * cplus-dem.c: Fix demangle_template prototype
8756
8757Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
8758
8759 * cplus-dem.c: fix template demangling
8760 * cplus-dem.c: fix const type demangling
8761 * cplus-dem.c: fix constructor/destructor, virtual table,
8762 qualifier, global constructor/destructor demangling
8763
8764Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8765
8766 * strsignal.c, strerror.c: Use fully-bracketed initializer to
8767 keep gcc -Wall happy.
8768
8769Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
8770
8771 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
8772 patch.
8773
8774Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8775
8776 Patch from Paul Flinders:
8777 * cplus-dem.c (do_type): Deal with arrays.
8778
8779Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8780
8781 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
8782 than 9 classes.
8783
8784Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
8785
8786 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
8787 not initialized" warnings under HP/UX
8788
8789Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8790
8791 * strerror.c: Move include of stdio.h after sys_errlist #define.
8792 Also remove NULL definition (stdio.h always defines NULL, so it
8793 never did anything but clutter up the code).
8794
8795Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8796
8797 * Makefile.in, functions.def: handle xmalloc.c
8798
8799 * xmalloc.c: provide xmalloc and xrealloc functions
8800
8801Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8802
8803 * cplus-dem.c: Fix a comment.
8804
8805Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8806
8807 * getopt1.c: Declare const the way getopt.c does.
8808
8809Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8810
8811 * obstack.c, alloca.c: Update from FSF.
8812 * getopt.c, getopt1.c: Update to current FSF version, which
8813 doesn't use alloca.
8814
8815Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
8816
8817 * Makefile.in (demangle): Add the target with a message saying
8818 where demangle went.
8819
8820Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8821
8822 * Makefile.in: Remove obsolete `demangle' target.
8823
8824Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
8825
8826 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
8827 avoid infinite loop on vtbl symbols with disambiguating "junk"
8828 tacked on the end.
8829
8830Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8831
8832 * strsignal.c: work around some systems losing definitions of
8833 sys_siglist
8834
8835 * config/mh-lynxos: this system has a losing definition of
8836 sys_siglist
8837
8838 * config.table: use mh-lynxos for *-*-lynxos
8839
8840Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
8841
8842 * config.table: Add support for HPPA BSD hosts.
8843
8844 * config/mh-hpbsd: New file.
8845
8846Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
8847
8848 * Makefile.in (TAGS): make work when srcdir != objdir.
8849
8850Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8851
8852 * cplus-dem.c (main): Add long options, including --help and
8853 --version.
8854 (usage): New function from code in main.
8855
8856Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
8857
8858 * config.table: New shell scipt, sourced by both ./configure,in
8859 and ../xiberty/configure.in, to avoid maintainance lossages.
8860 * configure.in and ../xiberty/configure.in: Use config.table.
8861
8862 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
8863 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
8864 * ../xiberty/configure.in: Update from ./configure.in.
8865
8866Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8867
8868 * Makefile.in: remove parentdir support
8869
8870Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8871
8872 * cplus-dem.c (xrealloc): Match definition with prototype.
8873
8874Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8875
8876 * cplus-dem.c (demangle_prefix): Demangle cfront
8877 local variables as an extension to ARM demangling.
8878
8879Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8880
8881 * ieee-float.c: Don't require pointers to double to be aligned.
8882
8883Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
8884
b4fe2683 8885 (merge changes from dlong@cse.ucsc.edu)
252b5132
RH
8886 * cplus-dem.c (consume_count): Simplify.
8887 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
8888 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
8889
8890 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
8891 full prototypes.
8892 * cplus-dem.c (free): Add prototype.
8893 * cplus-dem.c (optable): Fully bracketize initializer.
8894
8895Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
8896
8897 * cplus-dem.c: Whether initial underscores are stripped
8898 depends on the external variable prepends_underscore
8899 (which is generated by the binutils Makefile).
8900
8901Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
8902
8903 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
8904
8905Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
8906
8907 * cplus-dem.c (consume_count): Return zero if arg does not
8908 start with digit, and don't consume any input.
8909
8910Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
8911
8912 * Makefile.in (demangle): Use ${srcdir} not $^.
8913
8914 * strtod.c: New file, needed at least for BSD 4.3.
8915
8916Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
8917
8918 * strsignal.c (sys_siglist): For ANSI compilations, type is
8919 "const char *const". Also remove conditionalization on __STDC__
8920 since const is defined away for non-ANSI.
8921
8922Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
8923
8924 * configure.in: Recognize *-*-hpux.
8925 * config/mh-hpux: New file.
8926
8927Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
8928
8929 * tmpnam.c: Added ANSI tmpnam() function.
8930 * functions.def, Makefile.in: Update accordingly.
8931
8932Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8933
8934 * cplus-dem.c (demangle_function_name): Get the demangling of
8935 stop__1A right.
8936
8937Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
8938
8939 * cplus-dem.c: Declare strstr return type.
8940
8941Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
8942
8943 * strsignal.c: Add some AIX signals.
8944
8945Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
8946
8947 * Makefile.in (MAKEOVERRIDES): Define to be empty.
8948
8949Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8950
8951 * Makefile.in: add installcheck & dvi targets
8952
8953Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
8954
8955 * ieee-float.c: New file, moved from ../gdb (since it is
8956 needed by ../opcode/m68k-dis.c).
8957
8958Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
8959
8960 * cplus-dem.c: Replace all references to cfront with ARM.
8961
8962Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
8963
8964 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
8965 to be more useful as a filter.
8966
8967Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
8968
8969 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
8970 destination directory before running $(RANLIB), in case that
8971 program tries to create a file in the current directory as part of
8972 its work.
8973
8974Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
8975
8976 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
8977 because BSD 4.4 lacks one. Isn't this fun?
8978
8979Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
8980
8981 * cplus-dem.c (demangle_signature): Set func_done after
8982 demangling a template.
8983 * cplus-dem.c (demangle_template): Fix several small bugs
8984 in demangling GNU style templates.
8985 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
8986 style constructors.
8987 * cplus-dem.c (gnu_special): Fix for templates in GNU style
8988 static data members.
8989
8990Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
8991
8992 * cplus-dem.c (demangle_signature): Modify to include type
8993 modifiers like static and const in remembered types.
8994
8995Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
8996
8997 * cplus-dem.c (demangled_qualified): Add new parameter that tells
8998 whether to prepend or append the qualifiers.
8999 * cplus-dem.c (string_prepends): Used now, remove #if 0.
9000 * cplus-dem.c (demangle_signature): Call demangle_qualified
9001 with prepending.
5dd42ef4 9002 * cplus-dem.c (gnu_special): Recognize static data members that
252b5132
RH
9003 use qualified names.
9004 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
9005 temporary buffer and the prepend or append them to the result,
9006 as specified by the new "append" flag.
9007 * cplus-dem.c (do_type): Call demangled_qualified with
9008 appending.
9009
9010Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
9011
9012 * strsignal.c (signal_table): Now const.
9013 (init_signal_tables): Variable eip now points to const.
9014
9015 * strerror.c (error_table): Now const.
9016 (init_error_tables): Variable eip now points to const.
9017
9018Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
9019
9020 * memchr.c (memchr): New (ANSI standard) function.
9021 * Makefile.in, functions.def: Added memchr.
9022 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
9023
9024Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9025
9026 * getopt.c: remove use of USG around <alloca.h>, which never meant
9027 anything anyway
9028
9029 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
9030 of USG and USGr4
9031
9032Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
9033
9034 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
9035 it's now a type according to the ANSI X3J16 working paper; output
9036 "wchar_t" for it.
9037 (demangle_template): Accept `w' as an integral type.
9038 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
9039 counterparts malloc and realloc to `char *'.
9040 (main): Exit with a 0 status.
9041 * Makefile.in (demangle): Don't expect the user to define
9042 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
9043 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
9044
9045Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
9046
9047 * Makefile.in (AR_FLAGS): Avoid verbosity.
9048 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
9049 replace USGr4 with HAVE_SYSCONF.
9050 * config/mh-solaris: Remove; mh-sysv4 works now.
9051 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
9052 * configure.in: Simplify host matching table, remove separate
9053 solaris config file.
9054
9055Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
9056
9057 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
9058
9059Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
9060
9061 * cplus-dem.c (xmalloc, xrealloc): Add decls.
9062 (remember_type): Don't cast xmalloc.
9063 (string_need): Likewise; don't cast xrealloc either.
9064
9065Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
9066
9067 * Makefile.in, functions.defs, rename.c: added simple
9068 implementation of rename, since some binutils programs use it.
9069
9070Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
9071
9072 * strsignal.c: Add appropriate 'const' to sys_siglist
9073 extern declaration (if __STDC__). (Needed for Linux.)
9074 * strsignal.c (strsignal): Add cast to remove const-ness.
9075
9076Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
9077
9078 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
9079 before "'s, diagnosed by BSD 4.4 awk.
9080
9081Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
9082
9083 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
9084 and $(NEEDED_LIST), to give some hooks for xiberty.
9085
9086Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9087
9088 * configure.in: use cpu-vendor-triple instead of nested cases
9089
9090Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
9091
9092 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
9093 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
9094 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
9095 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
9096 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
9097 Convert from using GPL to LGPL.
9098
9099Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
9100
9101 * Makefile.in (errors): Leave dummy.o and dummy around so that
9102 we can see how the needed list was generated (it's sometimes wrong).
9103 (mostlyclean): Remove them.
9104
9105Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
9106
9107 * getcwd.c: supply a default if MAXPATHLEN is not defined.
9108
9109 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
9110
9111Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
9112
9113 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
9114 when cross-compiling.
9115
9116Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
9117
9118 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
9119 as a time optimization.
9120
9121 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
9122 be more expensive than simply demangling.
9123
9124 * cplus-dem.c (cplus_match): new function.
9125
9126Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
9127
9128 * cplus-dem.c: #include <stdio.h>, to define NULL.
9129 Define current_demangling_style.
9130
9131Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
9132
9133 * cplus-dem.c: New file, moved from ../gdb.
9134 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
9135 function, to avoid compiling in target-dependency for CPLUS_MARKER.
9136 * cplus-dem.c (cplus_demangle): Allow demangling style option
9137 to be passed as a parameter, but using the global variable
9138 current_demangling_style as a default.
9139 * Makefile.in: Update for cplus-dem.c
9140
9141Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
9142
9143 * obstack.c: Merge in comment changes from FSF version. Now
9144 matches the FSF version exactly.
9145
9146Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
9147
9148 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
9149 least on losing DECstations!); use if-then-else instead.
9150
9151Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
9152
9153 * Makefile.in: always create installation directories.
9154
9155Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9156
b5d60b68 9157 * Makefile.in: clean up definition of CFILES, more comments
252b5132
RH
9158
9159Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
9160
9161 * getopt.c (my_index): Make first arg const to match strchr,
9162 which it sometimes is remapped to.
9163
9164Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
9165
9166 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
9167 * obstack.c (_obstack_begin): Initialize use_extra_arg.
9168 * obstack.c (_obstack_begin_1): New, from FSF version.
9169
9170Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
9171
9172 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
9173 extra_arg.
9174 * obstack.c (_obstack_begin): Remove area_id and flags arguments
9175 (previously added for mmalloc support, interface has changed).
9176 Also convert flags usage to use use_extra_arg and maybe_empty_object.
9177
9178Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
9179
9180 * argv.c: Move expandargv inline and eliminate static variables.
9181 Rewrite to always allocate in powers of two. Fix to return an
9182 argv with a single null string arg if passed a null string.
9183
9184Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
9185
9186 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
9187 "(void)" casts from function calls where the return value is
9188 ignored, in accordance with GNU coding standards.
9189
9190Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
9191
9192 * bcopy.c, strerror.c, strsignal.c: Lint.
9193
9194Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
9195
9196 * getopt.c: merge changes from make.
9197
9198Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
9199
9200 * alloca.c: Incorporate fixes from gdb/alloca.c.
9201 FIXME: Eventually move gdb's alloca configuration files here,
9202 and remove gdb/alloca.c and its Makefile.in support.
9203
9204Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
9205
9206 * dummy.c: Define NOTHING to /*nothing*/, change return type
9207 of main to int and return zero.
9208 * functions.def: Supply NOTHING as the fourth arg to macros
9209 that don't have an explicit arg, to satisfy picky preprocessors.
9210
9211Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
9212
9213 * Makefile.in: Clean up *clean rules, as per standards.texi.
9214
9215Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
9216
9217 * getopt.c, getopt1.c: merged largely gratuitous, mostly
9218 whitespace diffs from other prep distributions.
9219
9220Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
9221
9222 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
9223 it is broken on ncr 3000's.
9224
9225Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
9226
9227 * sigsetmask.c: Rewrite. Old one was very confused about its
9228 arguments and result. New one can't do much, but at least knows
9229 what it can't do, and it's good enough for GDB's use.
9230
9231Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
9232
9233 * functions.def: Use proper prototype for strtoul.
9234
9235Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
9236
9237 * Makefile.in: Add random.c.
9238 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
9239 * configure.in: update solaris2 config.
9240
9241Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
9242
9243 * random.c: Add for random() and srandom().
9244 * functions.def: Add random
9245
9246Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
9247
9248 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
9249 using /usr/ucb/install.
9250
9251Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
9252
9253 * strerror.c: Kludge to guard against a conflict with
9254 possible declaration of sys_errlist in errno.h.
9255
9256Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
9257
9258 * configure.in, config/mh-solaris: add solaris2 config support.
9259
9260Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
9261
9262 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
9263 is not defined (should be defined in signal.h, says Posix.).
9264
9265Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
9266
9267 * getopt.c: merged changes from make-3.62.11.
9268
9269Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
9270
9271 * getopt.c: merged changes from bison-1.18.
9272
9273Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
9274
9275 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
9276 since that introduces a circular dependency.
9277 ($(EXTRA_OFILES) are used to build config.h.)
9278
9279 * strtoul.c: Fixes to handle non-decimal bases better.
9280
9281Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
9282
9283 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
9284 * Makefile.dos: Finish MINUS_G eradication.
9285 * Makefile.in (CFILES): Add strsignal.c.
9286 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
9287 * Makefile.in (needed-list): Split creation of errors file to
9288 separate make target.
9289 * Makefile.in (config.h, needed2.awk, errors): New targets.
9290 * Makefile.in (clean): Split to multiple lines, add needed2.awk
9291 and config.h.
9292 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
9293 * functions.def (strerror): Remove from optional list.
9294 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
9295 * functions.def (strerror, psignal): DEFFUNC's
9296 * strerror.c: Rewrite from scratch to use sys_errlist only if
9297 available, add errno_max(), add strerrno(), add strtoerrno(),
9298 add test driver.
9299 * strsignal.c: New file, signal equivalent to strerror.c.
9300 Uses sys_siglist if available, defines signo_max(), strsignal(),
9301 strsigno(), strtosigno(), psignal(), and test driver.
9302
9303Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
9304
9305 * Makefile.in: do not print recursion line.
9306
9307 * Makefile.in: allow CFLAGS to be passed in from command line.
9308 Removed MINUS_G. Default CFLAGS to -g.
9309
9310Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
9311
9312 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
9313 so libg++ users don't have to be inconvenienced by a
9314 libc.a bug (libc.a needs copysign, but doesn't define it!).
9315 * configure.in: Use config/mh-aix.
9316 * strtoul.c: Handle '-' as required by ANSI.
9317 Clean up radix handling.
9318 * strstr.c: Fix buggy algorithm.
9319 * Makefile.in: Change so that ${EXTRA_OFILES} is
9320 appended to needed-list (which is used by libg++).
9321
9322Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
9323
9324 * configure.in: Recognize new ncr3000 config.
9325 * config/mh-ncr3000: New config file.
9326
9327Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
9328
9329 * argv.c, dummy.c: Lint.
9330
9331Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
9332
9333 * config/mh-sysv4: New config file.
9334 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
9335 host_os == sysv4.
9336 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
9337 pagesize.
9338
9339Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
9340
9341 * getopt.c: Lint.
9342
9343Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
9344
9345 * functions.def (alloca): Fix return type and args to avoid
9346 type clash with gcc's builtin alloca.
9347
9348Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
9349
9350 * configure.in, config/mh-irix4: irix4 support.
9351
9352 * Makefile.in, functions.def, alloca.c: added alloca.
9353
9354Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
9355
9356 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
9357
9358Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
9359
9360 * argv.c: Fix various external function definitions to be
9361 correct in an ANSI compilation environment.
9362
9363Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
9364
9365 * obstack.c: Changes to support calling mmalloc functions,
9366 which take an additional argument over malloc functions.
9367
9368Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
9369
9370 * added check target.
9371
9372Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
9373
9374 * argv.c: #include alloca-conf.h (needed by AIX).
9375
9376Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
9377
9378 * Makefile.in, configure.in: removed traces of namesubdir,
9379 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
9380 copyrights to '92, changed some from Cygnus to FSF.
9381
9382Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
9383
9384 * argv.c: Check in Fred's version which fixes problems with
9385 alloca().
9386
9387Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
9388
9389 * makefile.dos: Remove NUL to keep patch from failing.
9390
9391Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
9392
9393 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
9394
9395Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
9396
8aefe91a 9397 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
252b5132
RH
9398
9399Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
9400
9401 * argv.c: New file to build and destroy standard argument
9402 vectors from a command string.
9403
9404 * Makefile.in: Add argv.c and argv.o to appropriate macros.
9405
9406Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
9407
9408 * configure.in: Change svr4 references to sysv4.
9409
9410 * rindex.c: Declare return type of externally used function
9411 strrchr().
9412
9413Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
9414
9415 * Makefile.in: Remove "***" in normal output, since Make produces
9416 this on errors, and it's convenient to search for.
9417
9418Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
9419
9420 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
9421 New ANSI functions. The old non-ANSI functions (such as bcopy)
9422 should be avoided.
9423 * bcopy.c: Fix to correctly handle overlapping regions.
9424 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
9425 * functions.def: Add the new functions.
9426 * functions.def: Add 4th parameter to DEF macro,
9427 an ansidecl.h-style prototype.
9428 * dummy.c: Use expanded DEF macro to create a dummy function
9429 call, with correct parameter types. (This avoids some
9430 complaints from gcc about predefined builtins.)
9431
9432 Move the functionality of config/mh-default into Makefile.in.
9433 This avoid duplication, and simplifies things slightly.
9434 * Makefile.in: Tweak so we don't need config/mh-default.
9435 * README: Update.
9436 * configure.in: No longer need config/mh-default.
9437 * config/mh-default: Deleted.
9438 * config/mh-sysv: Remove lines copied from old mh-default.
9439
9440Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
9441
9442 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
9443 'mknod' device numbers.
9444
9445Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
9446
9447 * fdmatch.c, Makefile.in: Add new function that takes two
9448 open file descriptors and returns nonzero if they refer to
9449 the same file, zero otherwise. (used in gdb)
9450
9451Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
9452 From DJ:
9453 * msdos.c: stub functions for dos.
9454 * makefile.dos, configdj.bat: new.
9455 * getopt.c: Don't include alloca-conf.h in a GO32 world.
9456
9457
9458Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
9459
9460 * Makefile.in: infodir belongs in datadir.
9461
9462Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
9463
9464 * Makefile.in: remove spaces following hyphens because bsd make
9465 can't cope. added standards.text support. install using
9466 INSTALL_DATA.
9467
9468 * configure.in: remove commontargets as it is no longer a
9469 recognized hook.
9470
9471Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
9472
9473 * Makefile.in: idestdir and ddestdir go away. Added copyrights
9474 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
9475 and mandir now keyed off datadir by default.
9476
9477Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
9478
9479 * Makefile.in: find-needed.awk does not fit in 14 chars.
9480
9481 * Makefile.in: Suppress error checking when compiling the test
9482 program, because Ultrix make/sh aborts there due to a bug.
9483
9484Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
9485
9486 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
9487 * README: Explained how the auto-configuration works,
9488 and how to add new files and/or configurations.
9489
9490Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
9491
9492 * strtoul.c: Avoid defining ULONG_MAX if already defined;
9493 cast a const char * to char * for pedants.
9494
9495 * getopt.c: Only define "const" after local include files get to,
9496 and only if they haven't defined it.
9497
9498Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
9499
9500 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
9501 emulate it with getwd() if available. This avoids callers having
9502 to find a MAXPATHLEN or PATH_MAX value from somewhere.
9503 * Makefile.in, functions.def: getwd->getcwd.
9504 * configure.in: Use generic case for every system.
9505 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
9506 * config/mh-sysv: Use default handling, just add -DUSG.
9507
9508Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
9509
9510 * Makefile.in, config/mh-default: Re-do make magic
9511 so that for the default ("automatic") mode we only
9512 compile the files we actually need. Do this using
9513 a recursive make: The top-level generates the list
9514 of needed files (loosely, the ones missing in libc),
9515 and then passes that list to the recursive make.
9516 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
9517
9518Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
9519
9520 RS/6000 host support (grumble).
9521
9522 * configure.in: Build alloca-conf.h file from alloca-norm.h
9523 (everything else) or alloca-botch.h (rs/6000).
9524 * Makefile.in: Include . on the include path.
9525 * getopt.c: Use alloca-conf.h.
9526 * alloca-norm.h: How to declare alloca on reasonable machines.
9527 * alloca-botch.h: How to declare alloca on braindead machines.
9528
9529Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
9530
9531 * concat.c : New file, like concat() in gdb but can take a
9532 variable number of arguments rather than fixed at 3 args. For
9533 now, client applications must supply an xmalloc(), which is a
9534 front end function to malloc() that deals with out-of-memory
9535 conditions.
9536
9537 * Makefile.in: Add concat.c and concat.o to appropriate macros.
9538
9539Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
9540
9541 * config/mh-svr4: Add sigsetmask to list of required functions.
9542
9543Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
9544
9545 * vsprintf.c: New file.
9546 * functions.def, Makefile.in: Add vsprintf.
9547
9548Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
9549
9550 * configure.in, config/mh-rs6000: Add rs/6000 host support.
9551 * Makefile.in: Compile with debug info.
9552
9553Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
9554
9555 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
9556 config/mf-default: Added a default configuration mode,
9557 which includes into libiberty.a functions that are "missing" in libc.
9558 * strdup.c, vprintf.c, vfprintf.c: New files.
9559
9560Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
9561
9562 * config/hmake-svr4: New file.
9563
9564 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
9565
9566 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
9567 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
9568 files containing either portable C versions or emulations using
9569 native library calls.
9570
9571 * strerror.c: Add copyright, internal documentation, etc.
9572
9573 * strtol.c: Replace hardwired hex constants with some more
9574 portable macros. Remove illegal (according to gcc) cast.
9575
9576 * strtoul.c: Replace hardwired hex constant with more portable
9577 macro.
9578
9579 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
9580 can override them. Add new source and object file names to CFILES
9581 and OFILES respectively.
9582
9583 * configure.in: Add support for SVR4 makefile fragments.
9584
9585Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
9586
9587 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
9588 over-ridden by config/hmake-*
9589 * configure.in: added m88kcvs to sysv list
9590
9591Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
9592
9593 * Makefile.in: Most hosts need strerror, but one or two don't,
9594 and they override these definitions in the host-dependent makefile
9595 fragment.
9596 * config/hmake-mach: The odd man out on strerror -- it's supplied.
9597 * strerror.c: New file.
9598
9599 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
9600 it and bfd uses it.
9601 * configure.in, Makefile.in, config/hmake-mach: Only configure
9602 strtol & strotoul in on Mach.
9603
9604Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
9605
9606 * obstack.c: Merge with latest FSF version.
9607
9608\f
9609Local Variables:
9610version-control: never
9611End:
This page took 1.17187 seconds and 4 git commands to generate.