]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
gcc-dg.exp (${tool}_load): Call prune_file_path instead of prune_gcc_output.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
3d00119c
AB
12014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
2 Manuel López-Ibáñez <manu@gcc.gnu.org>
3
4 PR driver/36312
5 * filename_cmp.c (canonical_filename_eq): New function to check if
6 file names are the same.
7 * functions.texi: Updated with documentation for new function.
8
35485da9
DM
92014-11-11 David Malcolm <dmalcolm@redhat.com>
10
11 * ChangeLog.jit: New.
12
8c768629
RO
132014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14
15 * sigsetmask.c (_POSIX_SOURCE): Remove.
16
ea41822a
YG
172014-10-28 Yury Gribov <y.gribov@samsung.com>
18
19 * strtoll.c: New file.
20 * strtoull.c: New file.
21 * configure.ac: Add long long checks. Add harness for strtoll and
22 strtoull. Check decls for strtol, strtoul, strtoll, strtoull.
23 * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
24 * config.in: Regenerate.
25 * configure: Regenerate.
26 * functions.texi: Regenerate.
27 * testsuite/Makefile.in (check-strtol): New rule.
28 (test-strtol): Likewise.
29 (mostlyclean): Clean up strtol test.
30 * testsuite/test-strtol.c: New test.
31
e39423c0
DM
322014-10-15 David Malcolm <dmalcolm@redhat.com>
33
34 * choose-temp.c (choose_tmpdir): Remove now-redundant local
35 copy of prototype.
36 * functions.texi: Regenerate.
37 * make-temp-file.c (choose_tmpdir): Convert return type from
38 char * to const char * - given that this returns a pointer to
39 a memoized allocation, the caller must not touch it.
40
2a523cfe
JB
412014-10-14 Joel Brobecker <brobecker@adacore.com>
42
43 * d-demangle.c: Replace strtold with strtod in global comment.
44 (strtold): Remove declaration.
45 (strtod): New declaration.
46 (dlang_parse_real): Declare value as double instead of long
47 double. Replace call to strtold by call to strtod.
48 Update format in call to snprintf.
49
00eaaa50
JM
502014-09-26 Jason Merrill <jason@redhat.com>
51
52 * cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
53
29ce50b0
MO
542014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com>
55
56 * pex-common.h (struct pex_funcs): Add new parameter for open_write field.
57 * pex-unix.c (pex_unix_open_write): Add support for new parameter.
58 * pex-djgpp.c (pex_djgpp_open_write): Likewise.
59 * pex-win32.c (pex_win32_open_write): Likewise.
60 * pex-common.c (pex_run_in_environment): Likewise.
61
43b1b9ed
IB
622014-09-23 Iain Buclaw <ibuclaw@gdcproject.org>
63
64 * Makefile.in (CFILES): Add d-demangle.c.
65 (REQUIRED_OFILES): Add d-demangle.o.
66 * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
67 (cplus_demangle): Likewise.
68 * d-demangle.c: New file.
69 * testsuite/Makefile.in (really-check): Add check-d-demangle.
70 * testsuite/d-demangle-expected: New file.
71
0f1fbc83
ILT
722014-09-19 Ian Lance Taylor <iant@google.com>
73
74 * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
75 handle objects with more than SHN_LORESERVE sections.
76 (simple_object_elf_write_shdr): Add sh_link parameter.
77 (simple_object_elf_write_to_file): Correctly handle objects with
78 more than SHN_LORESERVE sections.
79
606f9e78
AB
802014-08-29 Andrew Burgess <aburgess@broadcom.com>
81
82 * cp-demangle.c (d_dump): Only access field from s_fixed part of
83 the union for DEMANGLE_COMPONENT_FIXED_TYPE.
84 (d_count_templates_scopes): Likewise.
85
635f4800
GB
862014-08-13 Gary Benson <gbenson@redhat.com>
87
88 * testsuite/demangler-fuzzer.c: New file.
89 * testsuite/Makefile.in (fuzz-demangler): New rule.
90 (demangler-fuzzer): Likewise.
91 (mostlyclean): Clean up demangler fuzzer.
92
ac8345a5
AB
932014-06-11 Andrew Burgess <aburgess@broadcom.com>
94
95 * cplus-dem.c (do_type): Call string_delete even if the call to
96 demangle_template fails.
97
ad484eca
RD
982014-06-01 Ray Donnelly <mingw.android@gmail.com>
99
100 * pex-win32.c (argv_to_cmdline): Don't quote
101 args unnecessarily
102
bc2eed9a
PA
1032014-05-28 Pedro Alves <palves@redhat.com>
104
105 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
106 and DEMANGLE_COMPONENT_NUMBER.
107
6aa9ea7f
TS
1082014-05-22 Thomas Schwinge <thomas@codesourcery.com>
109
110 * testsuite/demangle-expected: Fix last commit.
111
70c8c2b9
AB
1122014-05-14 Andrew Burgess <aburgess@broadcom.com>
113
114 * cplus-dmem.c (internal_cplus_demangle): Free any resources
115 allocated by possible previous call to gnu_special.
116 (squangle_mop_up): Reset pointers to NULL after calling free.
117 * testsuite/demangle-expected: New test case.
118
861c3495
GB
1192014-05-08 Gary Benson <gbenson@redhat.com>
120
121 * cp-demangle.c (struct d_component_stack): New structure.
122 (struct d_print_info): New field component_stack.
123 (d_print_init): Initialize the above.
124 (d_print_comp_inner): Renamed from d_print_comp.
125 Do not restore template stack if it would cause a loop.
126 (d_print_comp): New function.
127 * testsuite/demangle-expected: New test cases.
128
4f148bbc
JJ
1292014-04-17 Jakub Jelinek <jakub@redhat.com>
130
131 PR sanitizer/56781
132 * maint-tool: Also emit rule for noasan/ subdirectory.
133 * configure.ac (NOASANFLAG): Set and substitute.
134 * Makefile.in: Regenerated.
135 (NOASANFLAG): Set.
136 (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
137 subdir.
138 (stamp-noasandir): New goal.
139 * configure: Regenerated.
140
25336bb6
RB
1412014-04-01 Richard Biener <rguenther@suse.de>
142
143 * simple-object.c (simple_object_internal_write): Handle
144 EINTR and short writes.
145
2486c24a
RB
1462014-03-28 Richard Biener <rguenther@suse.de>
147
148 * simple-object.c (simple_object_internal_read): Handle
149 EINTR and short reads.
150
52684bb3
UB
1512014-03-13 Uros Bizjak <ubizjak@gmail.com>
152
153 * regex.c (bzero) [!_LIBC]: Define without coma expression.
154 (regerror): Cast the call to memcpy to (void) to avoid unused
155 value warnings.
156
e191f502
TS
1572014-01-28 Thomas Schwinge <thomas@codesourcery.com>
158
159 * cp-demangle.c (d_demangle_callback): Put an abort call in place,
160 to help the compiler.
161
d2d21de9
TT
1622014-01-21 Tom Tromey <tromey@redhat.com>
163
164 * _doprint.c (checkit): Use stdarg, not VA_* macros.
165 * asprintf.c (asprintf): Use stdarg, not VA_* macros.
166 * concat.c (concat_length, concat_copy, concat_copy2, concat)
167 (reconcat): Use stdarg, not VA_* macros.
168 * snprintf.c (snprintf): Use stdarg, not VA_* macros.
169 * vasprintf.c (checkit): Use stdarg, not VA_* macros.
170 * vsnprintf.c (checkit): Use stdarg, not VA_* macros.
171
0225cc0f
MF
1722014-01-06 Mike Frysinger <vapier@gentoo.org>
173
174 PR other/56780
175 * configure.ac: Delete target_header_dir assignment.
176 * configure: Regenerated.
177
0a15a50e
GB
1782014-01-06 Gary Benson <gbenson@redhat.com>
179
180 * cp-demangle.c (struct d_print_info): New fields
181 next_saved_scope, copy_templates, next_copy_template and
182 num_copy_templates.
183 (d_count_templates): New function.
184 (d_print_init): New parameter "dc".
185 Estimate numbers of templates and scopes required.
186 (d_print_free): Removed function.
187 (cplus_demangle_print_callback): Allocate stack for
188 templates and scopes. Removed call to d_print_free.
189 (d_copy_templates): Removed function.
190 (d_save_scope): New function.
191 (d_get_saved_scope): Likewise.
192 (d_print_comp): Replace state saving/restoring code with
193 calls to d_save_scope and d_get_saved_scope.
194
1f26ac87
JM
1952013-12-23 Bill Maddox <maddox@google.com>
196
197 * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
198 Handle unified ctor/dtor.
199 (d_ctor_dtor_name): Handle unified ctor/dtor.
200
85d09f61
CC
2012013-11-22 Cary Coutant <ccoutant@google.com>
202
203 PR other/59195
204 * cp-demangle.c (struct d_info_checkpoint): New struct.
205 (struct d_print_info): Add current_template field.
206 (d_operator_name): Set flag when processing a conversion
207 operator.
208 (cplus_demangle_type): When processing <template-args> for
209 a conversion operator, backtrack if necessary.
210 (d_expression_1): Renamed from d_expression.
211 (d_expression): New wrapper around d_expression_1.
212 (d_checkpoint): New function.
213 (d_backtrack): New function.
214 (d_print_init): Initialize current_template.
215 (d_print_comp): Set current_template.
216 (d_print_cast): Put current_template in scope for
217 printing conversion operator name.
218 (cplus_demangle_init_info): Initialize is_expression and
219 is_conversion.
220 * cp-demangle.h (struct d_info): Add is_expression and
221 is_conversion fields.
222 * testsuite/demangle-expected: New test cases.
223
66204992
AS
2242013-11-15 Andreas Schwab <schwab@linux-m68k.org>
225
226 * configure: Regenerate.
227
27297d2d
UB
2282013-11-12 Uros Bizjak <ubizjak@gmail.com>
229
230 * cp-demangle.c (d_copy_templates): Cast result of malloc
231 to (struct d_print_template *).
232 (d_print_comp): Cast result of realloc to (struct d_saved scope *).
233
eda14d6a
MG
2342013-10-29 Marc Glisse <marc.glisse@inria.fr>
235
236 PR tree-optimization/58689
237 * concat.c: Remove note about xmalloc.
238
4962e513
GP
2392013-10-27 Gerald Pfeifer <gerald@pfeifer.com>
240
241 * testsuite/test-demangle.c: Include unistd.h.
27297d2d 242
c24d86bc
GB
2432013-10-25 Gary Benson <gbenson@redhat.com>
244
245 * cp-demangle.c (struct d_saved_scope): New structure.
246 (struct d_print_info): New fields saved_scopes and
247 num_saved_scopes.
248 (d_print_init): Initialize the above.
249 (d_print_free): New function.
250 (cplus_demangle_print_callback): Call the above.
251 (d_copy_templates): New function.
252 (d_print_comp): New variables saved_templates and
253 need_template_restore.
27297d2d
UB
254 [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
255 Capture scope the first time the component is traversed, and use the
256 captured scope for subsequent traversals.
c24d86bc
GB
257 * testsuite/demangle-expected: Add regression test.
258
89ac0797
GP
2592013-10-23 Gerald Pfeifer <gerald@pfeifer.com>
260
261 * testsuite/test-expandargv.c: Include unistd.h.
262
459260ec
DM
2632013-10-15 David Malcolm <dmalcolm@redhat.com>
264
265 * configure.ac: If --enable-host-shared, use -fPIC.
266 * configure: Regenerate.
267
ea0882a0
PP
2682013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com>
269
270 * cp-demangle.c (d_name): Demangle local-source-names.
271 * testsuite/demangle-expected: New test.
272
8b415b27
PC
2732013-09-10 Paolo Carlini <paolo.carlini@oracle.com>
274
275 PR bootstrap/58386
276 Revert:
277
278 2013-09-10 Gary Benson <gbenson@redhat.com>
279
280 * cp-demangle.c: Include hashtab.h.
281 (struct d_print_info): New field saved_scopes.
282 (d_print_init): Initialize the above.
283 (d_print_free): New function.
284 (cplus_demangle_print_callback): Call the above.
285 (struct d_saved_scope): New structure.
286 (d_store_scope): New function.
287 (d_free_scope) Likewise.
288 (d_restore_scope) Likewise.
289 (d_hash_saved_scope) Likewise.
290 (d_equal_saved_scope) Likewise.
291 (d_print_comp): New variable saved_scope.
292 [DEMANGLE_COMPONENT_REFERENCE,
293 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
294 time the component is traversed, and use the captured scope for
295 subsequent traversals.
0e2cd22d 296 * testsuite/demangle-expected: Add regression test.
8b415b27 297
669ea36c
GB
2982013-09-10 Gary Benson <gbenson@redhat.com>
299
300 * cp-demangle.c: Include hashtab.h.
301 (struct d_print_info): New field saved_scopes.
302 (d_print_init): Initialize the above.
303 (d_print_free): New function.
304 (cplus_demangle_print_callback): Call the above.
305 (struct d_saved_scope): New structure.
306 (d_store_scope): New function.
307 (d_free_scope) Likewise.
308 (d_restore_scope) Likewise.
309 (d_hash_saved_scope) Likewise.
310 (d_equal_saved_scope) Likewise.
311 (d_print_comp): New variable saved_scope.
312 [DEMANGLE_COMPONENT_REFERENCE,
313 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
314 time the component is traversed, and use the captured scope for
315 subsequent traversals.
0e2cd22d 316 * testsuite/demangle-expected: Add regression test.
669ea36c 317
a98cbc36
AM
3182013-08-20 Alan Modra <amodra@gmail.com>
319
320 * floatformat.c (floatformat_ibm_long_double): Rename to..
321 (floatformat_ibm_long_double_big): ..this.
322 (floatformat_ibm_long_double_little): New.
323
3830d98a
TG
3242013-07-09 Tristan Gingold <gingold@adacore.com>
325
326 * makefile.vms (OBJS): Add dwarfnames.obj
327
8c9fddf4
MB
3282013-05-31 Matt Burgess <matthew@linuxfromscratch.org>
329
330 PR other/56780
331 * libiberty/configure.ac: Move test for --enable-install-libiberty
332 outside of the 'with_target_subdir' test so that it actually gets
333 run. Add output messages to show the test result.
334 * libiberty/configure: Regenerate.
335 * libiberty/Makefile.in (install_to_libdir): Place the
336 installation of the libiberty library in the same guard as that
337 used for the headers to prevent it being installed unless
338 requested via --enable-install-libiberty.
339
b768e8cf
DE
3402013-05-06 David Edelsohn <dje.gcc@gmail.com>
341 Peter Bergner <bergner@vnet.ibm.com>
342 Segher Boessenkool <segher@kernel.crashing.org>
343 Jakub Jelinek <jakub@redhat.com>
344
345 * hashtab.c (hash_pointer): Remove conditional and avoid
346 unexecuted shift equal to wordsize.
347
ecdbd01a 3482013-04-22 Andi Kleen <ak@linux.intel.com>
86210f13
AK
349
350 * hashtab.c (hash_pointer): Move to end of file and reimplement.
351
9eb85f27
JM
3522013-04-03 Jason Merrill <jason@redhat.com>
353
0861bec8
JM
354 * cp-demangle.c (cplus_demangle_type): Fix function quals.
355 (d_pointer_to_member_type): Simplify.
356
9eb85f27
JM
357 Demangle C++11 ref-qualifier.
358 * cp-demangle.c (d_ref_qualifier): New.
359 (d_nested_name, d_function_type): Use it.
360 (d_parmlist): Don't get confused by a ref-qualifier.
361 (cplus_demangle_type): Reorder ref-qualifier.
362 (d_pointer_to_member_type): Likewise.
363 (d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
364 DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
365 (d_make_comp, has_return_type, d_encoding): Likewise.
366 (d_print_comp, d_print_mod_list, d_print_mod): Likewise.
367 (d_print_function_type, is_ctor_or_dtor): Likewise.
368
071928d9
KT
3692013-03-27 Kai Tietz <ktietz@redhat.com>
370
371 * configure: Regenerated.
372
34d3a672
TB
3732013-03-06 Tobias Burnus <burnus@net-b.de>
374
375 * libiberty.texi: Update comment, remove lowersections.
376 * obstacks.texi: Regenerate.
377
233fa360
JJ
3782013-03-05 Jakub Jelinek <jakub@redhat.com>
379
380 PR middle-end/56526
381 * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
382 wrapper_sect_offset to avoid a warning.
383
40bf31ed
TB
3842013-03-01 Andreas Schwab <schwab@linux-m68k.org>
385
386 * obstacks.texi (Obstacks): Trim @node to only contain the
387 node name.
388 * libiberty.texi (Obstacks): Lower section.
389
622aac0b
JM
3902013-02-14 Jason Merrill <jason@redhat.com>
391
392 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
393 (d_print_comp): Likewise.
394
4ab7747c
JJ
3952013-02-09 Jakub Jelinek <jakub@redhat.com>
396
397 PR other/56245
398 * regex.c (PTR_INT_TYPE): Define.
399 (EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.
400
b1a2e8c6
KT
4012013-01-31 Kai Tietz <ktietz@redhat.com>
402
4cfc6e54
KT
403 PR other/54620
404 * sha1.c (sha1_process_block): Handle case that size_t is
405 a wider-integer-scalar as a 32-bit unsigned integer.
406
b7138297 407 PR other/53413
b1a2e8c6
KT
408 * md5.c (md5_process_block): Handle case that size_t is
409 a wider-integer-scalar a 32-bit unsigned integer.
410
ad8c59a1
ILT
4112013-01-04 Ian Lance Taylor <iant@google.com>
412
413 PR other/54800
414 * simple-object-mach-o.c (simple_object_mach_o_segment): Don't
415 bother to zero out a buffer we are about to set anyhow.
416
a9b01f00
DE
4172013-01-01 David Edelsohn <dje.gcc@gmail.com>
418
419 * simple-object-xcoff.c: New file.
420 * Makefile.in: Add it to build machinery.
421 * simple-object-common.h (simple_object_xcoff_functions): Declare.
422 * simple-object.c (format_functions): Add
423 simple_object_xcoff_functions.
424
c61e8502
JM
4252012-11-10 Jason Merrill <jason@redhat.com>
426
427 * cp-demangle.c (d_unqualified_name): Handle abi tags here.
428 (d_name): Not here.
429
7dbb85a7
JM
4302012-11-09 Jason Merrill <jason@redhat.com>
431
432 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
433 (d_make_comp, d_find_pack, d_print_comp): Likewise.
434 (d_abi_tags): New.
435 (d_name): Call it.
436
7c424acd
JM
4372012-10-08 Jason Merrill <jason@redhat.com>
438
439 * cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
440 (d_make_comp, d_print_comp): Likewise.
441
9a9baa52
ILT
4422012-09-18 Ian Lance Taylor <iant@google.com>
443
444 * strnlen.c: New file.
445 * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
446 present.
447 * Makefile.in: Rebuild dependencies.
448 (CFILES): Add strnlen.c.
449 (CONFIGURED_OFILES): Add ./strnlen.$(objext).
450 * configure, config.in, functions.texi: Rebuild.
451
452 * maint-tool: Accept .def files in the include directory.
453
ed770de9
FW
4542012-09-18 Florian Weimer <fweimer@redhat.com>
455
456 PR other/54411
457 * objalloc.c (_objalloc_alloc): Add overflow check covering
458 alignment and CHUNK_HEADER_SIZE addition.
459
fabfa16b
L
4602011-08-28 H.J. Lu <hongjiu.lu@intel.com>
461
462 * argv.c (dupargv): Replace malloc with xmalloc. Don't check
463 xmalloc return.
464 (buildargv): Likewise. Also replace strdup with xstrdup.
465 (expandargv): Don't check dupargv return.
466
55529d36
L
4672011-08-28 H.J. Lu <hongjiu.lu@intel.com>
468
469 PR binutils/14526
470 * argv.c (buildargv): Replace alloca with xmalloc/free.
471
c9ac76ae
AS
4722012-08-17 Andreas Schwab <schwab@linux-m68k.org>
473
474 * floatformat.c (floatformat_to_double): Correctly handle numbers
475 between 1 and 2. Simplify handling of denormal number.
476 (main): Test with 1.1.
477
d555a90e
MF
4782012-07-31 Mike Frysinger <vapier@gentoo.org>
479
480 * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
481 to swap_bytes, and then call memcpy to move it to ctx->buffer.
482
9cd6dd82
KH
4832012-07-26 Kazu Hirata <kazu@codesourcery.com>
484 Sandra Loosemore <sandra@codesourcery.com>
485
486 * pex-win32.c (pex_win32_exec_child): Only close original file
487 descriptors if child is launched successfully.
488
aefa74bd
JM
4892012-07-18 Jason Merrill <jason@redhat.com>
490
491 * cp-demangle.c (cplus_demangle_operators): Add *_cast.
492 (op_is_new_cast): New.
493 (d_expression, d_print_comp): Check it.
494
69488641
DE
4952012-07-13 Doug Evans <dje@google.com>
496
497 * filename_cmp.c (filename_hash, filename_eq): New functions.
498
8a8b3779
AS
4992012-06-29 Andreas Schwab <schwab@linux-m68k.org>
500
501 * copying-lib.texi (Library Copying): Don't use @heading inside
502 @enumerate.
503
d931f693
TT
5042012-05-22 Tom Tromey <tromey@redhat.com>
505
506 http://sourceware.org/bugzilla/show_bug.cgi?id=14065
507 * testsuite/demangle-expected: Add regression test.
508 * cp-demangle.c (d_find_pack): Return NULL for
509 DEMANGLE_COMPONENT_UNNAMED_TYPE.
510
11ec770e
TT
5112012-04-27 Tom Tromey <tromey@redhat.com>
512
513 * dwarfnames.c: New file.
514 * Makefile.in (CFILES): Add dwarfnames.
515 (REQUIRED_OFILES): Add dwarfnames.
516 (./dwarfnames.$(objext)): New target.
517
c1a96977
TG
5182012-04-04 Tristan Gingold <gingold@adacore.com>
519
520 * pex-unix.c (to_ptr32): Fix style.
521
63e1e57a
TG
5222012-04-02 Tristan Gingold <gingold@adacore.com>
523
524 * stack-limit.c: Includes ansidecl.h.
525 (stack_limit_increase): Add ATTRIBUTE_UNUSED
526
c19267cb
JM
5272012-03-20 Jason Merrill <jason@redhat.com>
528
529 * cp-demangle.c (cplus_demangle_type): Handle 'auto'.
530
c93ea196
JM
5312012-03-07 Jason Merrill <jason@redhat.com>
532
533 * cp-demangle.c (cplus_demangle_operators): Add li.
534 (d_unqualified_name): Handle it specially.
535
bfb676c1
JJ
5362012-01-26 Jakub Jelinek <jakub@redhat.com>
537
538 * make-relative-prefix.c (make_relative_prefix_1): Avoid warning
539 about using preprocessor directives inside of macro arguments.
540
daecebc8
DR
5412012-01-22 Douglas B Rupp <rupp@gnat.com>
542
543 * configure: Regenerate.
544
3abbe458
JM
5452012-01-10 Jason Merrill <jason@redhat.com>
546
547 * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
548 Omit a trailing space in the operator name.
549
49f2da1a
JM
5502012-01-06 Jason Merrill <jason@redhat.com>
551
4b6aaa99
JM
552 PR c++/6057
553 PR c++/48051
554 PR c++/50855
555 PR c++/51322
556 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
557 DEMANGLE_COMPONENT_INITIALIZER_LIST.
558 (d_make_comp): Likewise. Allow null right arg for
559 DEMANGLE_COMPONENT_TRINARY_ARG2.
560 (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
561 (d_template_args, d_template_arg): Handle 'J' for argument packs.
562 (d_exprlist): Add terminator parm.
563 (d_expression, d_print_comp): Handle initializer lists, nullary
564 expressions, prefix/suffix operators, and new.
565 (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
566 and DEMANGLE_COMPONENT_INITIALIZER_LIST.
567 * testsuite/demangle-expected: Add tests.
568
49f2da1a
JM
569 * cp-demangle.c (cplus_demangle_type): decltype, pack expansion
570 and vector are substitutable.
571 (cplus_demangle_operators): Sort.
572
925b0ed8
AK
5732012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
574
575 * configure: Regenerate.
576
341d3f6e
JJ
5772012-01-02 Jakub Jelinek <jakub@redhat.com>
578
579 * make-relative-prefix.c (make_relative_prefix_1): Avoid
580 stack overflow if PATH contains just a single entry and
581 HOST_EXECUTABLE_SUFFIX needs to be used.
582
583 PR driver/48306
584 * make-relative-prefix.c: Include sys/stat.h.
585 (make_relative_prefix_1): If access succeeds, check also stat
586 if nstore is a regular file.
587
4a5e00ca
AS
5882011-12-20 Andreas Schwab <schwab@linux-m68k.org>
589
590 * configure: Regenerate.
591
8c3db96e
TG
5922011-12-20 Tristan Gingold <gingold@adacore.com>
593
594 * aclocal.m4: Assume strncmp works in cross case.
595 * configure: Regenerate
596
095af58f
AS
5972011-12-19 Andreas Schwab <schwab@linux-m68k.org>
598
599 * configure: Regenerate.
600
0a35513e
AH
6012011-11-07 Richard Henderson <rth@redhat.com>
602
603 Merged from transactional-memory.
604
605 * cp-demangle.c (cplus_demangle_fill_ctor): Accept
606 gnu_v3_object_ctor_group.
607 (cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group.
608 (d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group
609 and gnu_v3_object_dtor_group.
610 (d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE
611 and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE.
612 (d_make_comp, d_print_comp): Likewise.
613 (d_special_name): Generate them.
614
b25dd954
JM
6152011-11-04 Jason Merrill <jason@redhat.com>
616
617 PR c++/48370
618 * cp-demangle.c (d_special_name, d_print_comp): Handle a
619 discriminator number on DEMANGLE_COMPONENT_REFTEMP.
620
4092fb6e
DE
6212011-11-02 Doug Evans <dje@google.com>
622
9f2f6d5e 623 * Makefile.in (CFILES): Add timeval-utils.c.
4092fb6e
DE
624 (REQUIRED_OFILES): Add timeval-utils.$(objext).
625 (INSTALLED_HEADERS): Add timeval-utils.h.
626 (timeval-utils.$(objext)): Add rule.
627
d6b0f0f1
ILT
6282011-10-28 Ian Lance Taylor <iant@google.com>
629
630 * setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
631
b20577ea
IS
6322011-10-26 Iain Sandoe <iains@gcc.gnu.org>
633
634 PR target/48108
635 * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
636 GNU_WRAPPER_NAMES): New macros.
637 (simple_object_mach_o_segment): Handle wrapper scheme.
638 (simple_object_mach_o_write_section_header): Allow the segment name
639 to be supplied.
640 (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure
641 that the top-level segment name in the load command is empty.
642 (simple_object_mach_o_write_to_file): Determine the number of
643 sections during segment output, use that in writing the header.
644
d58818f7
ILT
6452011-10-10 Ian Lance Taylor <iant@google.com>
646
647 PR c++/48665
648 * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a
649 function type, change them to apply to the "this" parameter.
650 * testsuite/demangle-expected: Add test case.
651
be50fcea
DE
6522011-09-28 Doug Evans <dje@google.com>
653
8c850a5a 654 * timeval-utils.c: New file.
8c850a5a 655
be50fcea
DE
656 * argv.c (countargv): New function.
657
2d2b02c4
CC
6582011-09-23 Cary Coutant <ccoutant@google.com>
659
660 PR 40831
661 * cp-demangle.c (d_make_comp): Add new component type.
662 (cplus_demangle_mangled_name): Check for clone suffixes.
663 (d_parmlist): Don't error out if we see '.'.
664 (d_clone_suffix): New function.
665 (d_print_comp): Print info for clone suffixes.
666 * testsuite/demangle-expected: Add new testcases.
667
d303ec8e 6682011-09-23 Ian Lance Taylor <iant@google.com>
ae0d176c 669 Pierre Vittet <piervit@pvittet.com>
d303ec8e
ILT
670
671 * md5.c (md5_process_bytes): Correct handling of unaligned
672 buffer.
673
e3aa9eba
RO
6742011-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
675
676 * aclocal.m4: Include ../config/picflag.m4.
677 * configure.ac (GCC_PICFLAG): Call it.
678 (enable_shared): Clear PICFLAG unless shared.
679 * configure: Regenerate.
680
c49b1a29
SE
6812011-08-12 Steve Ellcey <sje@cup.hp.com>
682
683 * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
684
bd820218
UB
6852011-08-06 Uros Bizjak <ubizjak@gmail.com>
686
687 * testsuite/test-expandargv.c (writeout_test): Check result of fwrite.
688
4bbff96e
JM
6892011-08-01 Jason Merrill <jason@redhat.com>
690
691 PR c++/49932
692 * cp-demangle.c (d_prefix): Handle decltype.
693 * testsuite/demangle-expected: Test it.
694
52bed4d7
L
6952011-07-26 H.J. Lu <hongjiu.lu@intel.com>
696
697 * testsuite/demangle-expected: Remove an extra line.
698
f2e6f32e
ILT
6992011-07-26 Ian Lance Taylor <iant@google.com>
700
701 * cp-demangle.c (d_print_init): Initialize pack_index field.
702 (d_print_comp): Check for NULL template argument.
703 * testsuite/demangle-expected: Add test case.
704
a0a22423
GP
7052011-07-22 Gerald Pfeifer <gerald@pfeifer.com>
706
707 PR target/49817
708 * stack-limit.c: Include <stdint.h>.
709
d423df48
JJ
7102011-07-22 Jakub Jelinek <jakub@redhat.com>
711
712 PR c++/49756
713 * stack-limit.c: New file.
714 * Makefile.in: Regenerate deps.
715 (CFILES): Add stack-limit.c.
716 (REQUIRED_OFILES): Add ./stack-limit.$(objext).
717 * configure.ac (checkfuncs): Add getrlimit and setrlimit.
718 (AC_CHECK_FUNCS): Likewise.
719 * configure: Regenerated.
720 * config.in: Regenerated.
721
a517066d
JM
7222011-07-04 Jason Merrill <jason@redhat.com>
723
724 * cp-demangle.c (d_expression): Handle 'this'.
725 (d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
726
985b34c7
JB
7272011-07-01 Joel Brobecker <brobecker@adacore.com>
728
729 * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
730 HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
731
cb0ad104
JK
7322011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
733
734 PR debug/49408
735 * cp-demangle.c (d_print_comp): Suppress argument list for function
736 references by the '&' unary operator. Keep also already processed
737 variant without the argument list. Suppress argument list types for
738 function call used in an expression.
739 * testsuite/demangle-expected: Fix excessive argument list types in
740 `test for typed function in decltype'. New testcase for no argument
741 list types printed. 3 new testcases for function references by the
742 '&' unary operator..
743
dd70e080
JM
7442011-06-20 Jason Merrill <jason@redhat.com>
745
746 PR c++/37089
747 * cp-demangle.c (d_print_comp): Handle reference smashing.
748 * testsuite/demangle-expected: Test it.
749
5fe8e1e9
JK
7502011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
753 Suppress d_print_mod for DMGL_RET_POSTFIX.
754 * testsuite/demangle-expected: New testcases for --ret-postfix.
755
f019462c
JK
7562011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
757
758 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
759 not pass DMGL_RET_POSTFIX or DMGL_RET_DROP. Support DMGL_RET_DROP.
760 * testsuite/demangle-expected: New testcases for --ret-drop.
761 * testsuite/test-demangle.c: Document --ret-drop in a comment.
762 (main): New variable ret_drop, fill it, call cplus_demangle with it.
763
743a99db
JK
7642011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
765
766 * cp-demangle.c (struct d_print_info): Remove field options.
767 (d_print_init): Remove parameter options.
768 (cplus_demangle_print_callback): Update all the callers.
769 (d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
770 (d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
771 Add parameter options, update all the callers.
772
04695783
JM
7732011-04-20 Jim Meyering <meyering@redhat.com>
774
775 * cp-demint.c (cplus_demangle_v3_components): Remove useless
776 if-before-free.
777 * cplus-dem.c (squangle_mop_up): Likewise.
778 (delete_non_B_K_work_stuff): Likewise.
779 * pex-common.c (pex_free): Likewise.
780 * pex-msdos.c (pex_msdos_cleanup): Likewise.
781 * pex-win32.c (mingw_rootify, msys_rootify): Likewise.
782 (win32_spawn): Likewise.
783 * regex.c (FREE_VAR, weak_alias): Likewise.
784 * spaces.c (spaces): Likewise.
785
4b9726d4
JM
7862011-04-10 Jim Meyering <meyering@redhat.com>
787
788 Avoid memory overrun in a test leading to potential double-free.
789 * testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
790 i.e., do copy the trailing NUL byte.
791
178aa0f6
TG
7922011-03-31 Tristan Gingold <gingold@adacore.com>
793
794 * makefile.vms (OBJS): Add filename_cmp.obj
795
94369251
KT
7962011-02-28 Kai Tietz <kai.tietz@onevision.com>
797
798 * filename_cmp.c (filename_ncmp): New function.
799 * functions.texi: Regenerated.
800
996c0cb0
RW
8012011-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
802
803 * splay-tree.c: Escape wrapping newlines in texinfo markup
804 with '@', to fix function declaration output rendering.
805 * gather-docs: Relax and improve macro name matching to actually
806 match all current names and to allow input line wrapping.
807 * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
808 hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
809 memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
810 pexecute.txh, random.c, setenv.c, setproctitle.c,
811 simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
812 strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
813 Wrap long texinfo input lines.
814 * functions.texi: Regenerate.
815
9e7955b2
MF
8162011-01-18 Mike Frysinger <vapier@gentoo.org>
817
818 * .gitignore: New file.
819
23346f36
DE
8202010-12-08 Doug Evans <dje@google.com>
821
822 * splay-tree.c (splay_tree_foreach_helper): Remove arg `sp',
823 all callers updated. Rewrite to be non-recursive.
824
4c7d97e6
RO
8252010-11-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
826
827 * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
828
52ae149d
AG
8292010-11-20 Anthony Green <green@moxielogic.com>
830
831 * configure.ac: Turn PR_SET_NAME link test into a test for
832 sys/prctl.h.
833 * configure, config.in: Rebuilt.
834 * setproctitle.c: Test for HAVE_SYS_PRCTL_H.
835 (setproctitle) Test for PR_SET_NAME definition.
836
455c8f48
RW
8372010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
838
839 PR other/46202
840 * Makefile.in (install-strip): New phony target.
841 (install): Also mark as phony.
842
d82f74d3
ILT
8432010-11-16 Ian Lance Taylor <iant@google.com>
844
845 * simple-object.c (simple_object_attributes_merge): Rename from
846 simple_object_attributes_compare. Call merge field.
847 * simple-object-common.h (struct simple_object_functions): Rename
848 attributes_compare field to attribute_merge.
849 * simple-object-elf.c (EM_SPARC): Define.
850 (EM_SPARC32PLUS): Define.
851 (simple_object_elf_attributes_merge): Renamed from
852 simple_object_elf_attributes_compare. Permit EM_SPARC and
853 EM_SPARC32PLUS objects to be merged.
854 (simple_object_elf_functions): Update function name.
855 * simple-object-coff.c (simple_object_coff_attributes_merge):
856 Rename from simple_object_coff_attributes_compare.
857 (simple_object_coff_functions): Update function name.
858 * simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
859 Renamed from simple_object_mach_o_attributes_compare.
860 (simple_object_mach_o_functions): Update function name.
861
431f321f
L
8622010-11-16 H.J. Lu <hongjiu.lu@intel.com>
863
864 PR other/42670
865 PR binutils/11137
866 * cp-demangle.c (d_make_demangle_mangled_name): New.
867 (d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
868
869 * testsuite/demangle-expected: Updated.
870
28d1e73f
KT
8712010-11-14 Kai Tietz <kai.tietz@onevision.com>
872
873 * simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
874 offset.
875
759fe240
ILT
8762010-11-12 Ian Lance Taylor <iant@google.com>
877
878 PR other/46332
879 * cp-demangle.c (d_print_function_type): Don't print parentheses
880 if there are no modifiers to print.
881 * testsuite/demangle-expected: Tweak one test case, add another.
882
3b63ca7e
RH
8832010-11-04 Richard Henderson <rth@redhat.com>
884
885 * configure.ac (AC_CHECK_HEADERS): Add process.h.
886 (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
887 (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
888 * configure, config.in: Rebuild.
889 * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
890 [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
891
1cfabf34
ILT
8922010-11-02 Ian Lance Taylor <iant@google.com>
893 Dave Korn <dave.korn.cygwin@gmail.com>
894 Iain Sandoe <iains@gcc.gnu.org>
895
896 * simple-object.c: New file.
897 * simple-object-common.h: New file.
898 * simple-object-elf.c: New file.
899 * simple-object-mach-o.c: New file.
900 * simple-object-coff.c: New file.
901 * simple-object.txh: New file.
902 * configure.ac: Add AC_TYPE_SSIZE_T.
903 * Makefile.in: Rebuild dependencies.
904 (CFILES): Add simple-object.c, simple-object-coff,
905 simple-object-elf.c, and simple-object-mach-o.c.
906 (REQUIRED_OFILES): Add corresponding object files.
907 * configure: Rebuild.
908 * config.in: Rebuild.
909 * functions.texi: Rebuild.
910
c3735614
ILT
9112010-10-29 Ian Lance Taylor <iant@google.com>
912
913 * setproctitle.c: Add space after function name in @deftypefn
914 comment.
915 * functions.texi: Rebuild.
916
0e0f02ff
RW
9172010-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
918
919 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
920 * configure: Regenerate.
921
ecdbd01a 9222010-10-07 Andi Kleen <ak@linux.intel.com>
4e00fad2
AK
923
924 * configure: Regenerate.
925 * configure.ac: Turn PR_SET_NAME check into link check.
926
ecdbd01a 9272010-10-06 Andi Kleen <ak@linux.intel.com>
6e9bd0f8
AK
928
929 * Makefile.in (CFILES): Add setproctitle.
930 (CONFIGURED_OFILES): Add setproctitle.
931 (setproctitle): Add rule.
932 * config.in: Regenerate.
933 * configure: Regenerate.
934 * configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
935 * setproctitle.c: Add file.
936 * functions.texi: Regenerate.
937
a69d9775
TG
9382010-09-22 Tristan Gingold <gingold@adacore.com>
939
940 * cplus-dem.c (ada_demangle): Add comments.
941 Handle stream and controlled type operations.
942 Decoding of some uppercase letters moved before separators.
943 * testsuite/demangle-expected: Add tests.
944
48255616
JL
9452010-09-10 James Lyon <jameslyon0@googlemail.com>
946
947 http://sourceware.org/bugzilla/show_bug.cgi?id=11572
948 * cp-demangle.c (d_find_pack): Add case for
949 DEMANGLE_COMPONENT_LAMBDA.
950 * testsuite/demangle-expected: Add regression test.
951
16f60fcb
TG
9522010-09-08 Tristan Gingold <gingold@adacore.com>
953
954 PR 44001
955 * maint-tool (missing): Fix pattern for object file.
956 (deps): Use $(objext) for object extension.
957 * Makefile.in (objext): New variable.
958 Replace all occurences of .o with .$(objext)
959 Regenerate with maint-deps
960 * configure.ac (pexecute): Set to the basename.
961 * configure: Regenerate.
962
93f36faa
MR
9632010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
964
965 * pex-common.c (pex_read_err): Set stderr_pipe to -1 if a
966 corresponding stream has been opened.
967 (pex_free): Close pipe file descriptors corresponding to child's
968 stdout and stderr before waiting.
969
ec760bea
NC
9702010-08-13 Nick Clifton <nickc@redhat.com>
971
972 * argv.c (expandargv): Limit the number of times that response
973 files are opened in order to prevent infinite recursion.
974
79cf7628
PO
9752010-07-21 Pascal Obry <obry@adacore.com>
976
977 * make-temp-file.c (choose_tmpdir): Append a dot to P_tmpdir if needed.
978
d414dde9
KW
9792010-07-06 Ken Werner <ken.werner@de.ibm.com>
980
981 * floatformat.c (floatformat_ieee_half_big): New variable.
982 (floatformat_ieee_half_little): Likewise.
983
1e913734
GP
9842010-06-14 Gerald Pfeifer <gerald@pfeifer.com>
985
986 * libiberty.texi: Remove reference to GCC 3 and 2001 (thrice).
987 Update copyright years.
988 Move to GFDL 1.3.
989
9c4d7e52
JJ
9902010-06-10 Jakub Jelinek <jakub@redhat.com>
991
992 PR other/43838
993 * cp-demangle.c (struct d_print_info): Add flush_count field.
994 (d_print_init): Initialize it to 0.
995 (d_print_flush): Increment it.
996 (d_print_comp): If needed flush before appending ", ". Only
997 decrement dpi->len if no flushes happened during the recursive
998 call.
999 * testsuite/demangle-expected: Add a test for this.
1000
a9429e29
LB
10012010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1002
1003 * splay-tree.c: Update copyright years.
1004 (splay_tree_new_typed_alloc): New.
1005 (splay_tree_new_with_allocator): Use it.
1006
1007 * hashtab.c: Update copyright years.
1008 (htab_create_typed_alloc): New.
1009 (htab_create_alloc): Use it.
1010
1011 * functions.texi: Regenerate.
1012
c3f247f4
RW
10132010-06-03 Joern Rennecke <joern.rennecke@embecosm.com>
1014 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1015
1016 PR bootstrap/42798
1017 * configure.ac: Check for declaration of 'basename(char *)'.
1018 * configure: Regenerate.
1019
10202010-05-26 Kai Tietz <kai.tietz@onevision.com>
a6766312
KT
1021
1022 * testsuite/demangle-expected: Add tests for __int128
1023 and unsigned __int128 types.
1024
14c2101d
JM
10252010-05-06 Magnus Fromreide <magfr@lysator.liu.se>
1026 Jason Merrill <jason@redhat.com>
1027
1028 * cp-demangle.c (cplus_demangle_builtin_types): Add nullptr.
1029 (cplus_demangle_type): Handle nullptr.
1030 * testsuite/demangle-expected: Test it.
1031
3009276c
PA
10322010-04-23 Pedro Alves <pedro@codesourcery.com>
1033
1034 * lbasename.c (lbasename): Split into ...
1035 (unix_lbasename, dos_basename): ... these.
1036 (lbasename): ... and reimplement on top of them.
1037 * Makefile.in (lbasename.o): Add dependency on
1038 $(INCDIR)/filenames.h.
1039
0bb8c134
JJ
10402010-04-07 Jakub Jelinek <jakub@redhat.com>
1041
1042 * regex.c (byte_re_match_2_internal): Avoid set but not used
1043 warning.
1044
ce30e6fd
JM
10452010-03-22 Jason Merrill <jason@redhat.com>
1046
1047 * cp-demangle.c (d_print_mod): Use () rather than [] for vectors.
1048
ef74edbd
RW
10492010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1050
1051 * Makefile.in (all): Do not use exec.
1052
2480e18f
TT
10532010-02-04 Tom Tromey <tromey@redhat.com>
1054
1055 * testsuite/demangle-expected: Add missing --format=gnu-v3.
1056
abfe01ce
JM
10572010-02-03 Jason Merrill <jason@redhat.com>
1058
f000c6a7
JM
1059 * cp-demangle.c (d_expression): Handle dependent operator name.
1060
abfe01ce
JM
1061 PR c++/12909
1062 * cp-demangle.c (d_number_component, d_vector_type): New.
1063 (cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors.
1064
79b754d4
ILT
10652010-01-25 Ian Lance Taylor <iant@google.com>
1066
1067 * cp-demangle.c (cplus_demangle_type): Check for invalid type
1068 after "DF".
1069 * testsuite/demangle-expected: Add test.
1070
4d43dcde
JM
10712010-01-20 Jason Merrill <jason@redhat.com>
1072
1073 PR c++/42338
1074 * cp-demangle.c (d_print_comp): Fix array index printing.
1075
5b40c067
TG
10762010-01-11 Tristan Gingold <gingold@adacore.com>
1077
1078 * cplus-dem.c (ada_demangle): Remove prototype.
1079 (grow_vect): Removed.
1080 (ada_demangle): Rewritten.
1081 (cplus_demangle): Fix indentation.
1082 * testsuite/demangle-expected: Add tests for Ada.
1083
9b2adcdb
L
10842010-01-09 Ian Lance Taylor <iant@google.com>
1085
1086 PR other/42230
1087 * cp-demangle.c (d_demangle): Return dgs.alc on success.
1088
ed945ad9
NI
10892010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1090
1091 PR target/42316
1092 * configure.ac (PICFLAG): Use -fPIC on SH hosts.
1093 * configure: Regenerate.
1094
698861dc
DE
10952009-12-07 Doug Evans <dje@google.com>
1096
1097 * pex-unix.c (pex_unix_exec_child): Save/restore environ.
1098
59a8dc25
BE
10992009-11-26 Ben Elliston <bje@au.ibm.com>
1100
1101 * configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order.
1102 * configure: Regenerate.
1103
1dd2c57b
BE
11042009-11-25 Ben Elliston <bje@au.ibm.com>
1105
1106 * functions.texi: Rebuild.
1107
f8766c93
MLI
11082009-11-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1109 Ben Elliston <bje@au.ibm.com>
1110
1111 * README: Mention changes to Makefile.in and functions.texi.
1112 * gather-docs: Mention 'make stamp-functions' in the header.
1113
5120dc38
BE
11142009-11-23 Ben Elliston <bje@au.ibm.com>
1115 Ian Lance Taylor <iant@google.com>
1116
1117 * pex-unix.c (pex_child_error): Improve warning avoidance by
1118 checking the results of write(3) and exiting with -2 if any write
1119 returns a negative value.
1120
d90a2c59
SW
11212009-11-22 Steve Ward <planet36@gmail.com>
1122
1123 * dyn-string.c (dyn_string_append_char): Fix typo in comment.
1124
c22c44ba
BE
11252009-11-20 Ben Elliston <bje@au.ibm.com>
1126
1127 * pex-unix.c (pex_child_error): Define writeerr macro to avoid
1128 unused result warnings from write(3) calls. Undefine writeerr
1129 after all uses.
1130
70277b30
DG
11312009-10-08 Daniel Gutson <dgutson@codesourcery.com>
1132 Daniel Jacobowitz <dan@codesourcery.com>
1133 Pedro Alves <pedro@codesourcery.com>
1134
1135 libiberty/
1136 * argv.c (consume_whitespace): New function.
1137 (only_whitespace): New function.
1138 (buildargv): Always use ISSPACE by calling consume_whitespace.
1139 (expandargv): Skip empty files. Do not stop at the first empty
1140 argument (calling only_whitespace)..
1141 * testsuite/test-expandargv.c: (test_data): Test empty lines
1142 and empty arguments.
1143 (run_tests): Fix false positives due to shorter arguments.
1144
4578037e
MT
11452009-09-30 Martin Thuresson <martint@google.com>
1146
1147 * regex.c (byte_re_match_2_internal): Split declaration and
1148 assignment to avoid -Wc++-compat warning due to goto.
1149
d5f4eddd
JM
11502009-09-29 Jason Merrill <jason@redhat.com>
1151
1152 * Makefile.in: Enable demangle target.
1153 * cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New.
1154 (d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas.
1155 (d_parmlist): Factor out from d_bare_function_type.
1156 (d_compact_number): Factor out from d_template_param and d_expression.
1157 (d_append_num): Factor out from d_print_comp.
1158 (d_print_comp, d_print_mod_list): Handle lambdas.
1159 * testsuite/demangle-expected: Add lambda tests.
1160
31a9bec4 11612009-09-23 Matthew Gingell <gingell@adacore.com>
30b639a8
MG
1162
1163 * cplus-dem.c (ada_demangle): Ensure demangled is freed.
1164
bcf11ab4
OS
11652009-09-22 Ozkan Sezer <sezeroz@gmail.com>
1166
1167 * choose-temp.c: Include unistd.h for mingw targets.
1168
50cb834f
RO
11692009-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1170
1171 * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
1172
384ed84d
TG
11732009-09-15 Tristan Gingold <gingold@adacore.com>
1174
1175 * config.h-vms (intptr_t): Define to compile hashtab.c
1176
0e497905
OS
11772009-09-04 Ozkan Sezer <sezeroz@gmail.com>
1178
1179 PR target/39065
1180 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
1181 with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
1182 * config.in: Regenerated.
1183 * configure: Regenerated.
1184
2e3dac6f
OS
11852009-09-03 Ozkan Sezer <sezeroz@gmail.com>
1186
1187 PR target/39065
1188 * configure.ac: Also check for intptr_t.
1189 * config.h.in: Regenerated.
1190 * configure: Regenerated.
1191 * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
1192 instead of of long.
1193
f071aaca
TG
11942009-09-02 Tristan Gingold <gingold@adacore.com>
1195
1196 * vmsbuild.com: Removed as unused and superceeded by makefile.vms.
1197 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
1198 dependencies. Remove unused FORMAT variable.
1199 * configure.com: New file to create build.com DCL script for
1200 Itanium VMS or Alpha VMS.
1201
df58e648
RW
12022009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1203
1204 * configure.ac (AC_PREREQ): Bump to 2.64.
1205
2eba9355
L
12062009-08-23 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 PR ld/10536
1209 * Makefile.in (install-html-recursive): Removed.
1210
5213506e
RW
12112009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1212
1213 * config.in: Regenerate.
1214 * configure: Regenerate.
1215
6efbd53f
RW
12162009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1217
1218 * Makefile.in (AUTOCONF, configure_deps): New variables.
1219 ($(srcdir)/configure): New rule, active only in maintainer mode.
1220
2958f4a2
DR
12212009-07-29 Douglas B Rupp <rupp@gnat.com>
1222
1223 * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
1224
b303ef51
DR
12252009-07-27 Douglas B Rupp <rupp@gnat.com>
1226
1227 * pex-unix.c (vfork): Remove VMS specific definition (get from header
1228 file instead).
1229 (to_ptr32): New function.
1230 (pex_unix_exec_child): Use it.
1231
330b922f
ILT
12322009-07-24 Ian Lance Taylor <iant@google.com>
1233
1234 PR bootstrap/40854
1235 * crc32.c (xcrc32): Rename from crc32.
1236
b524249c
ILT
12372009-07-24 Ian Lance Taylor <iant@google.com>
1238
1239 * crc32.c: New file.
1240 * Makefile.in: Rebuild dependencies.
1241 (CFILES): Add crc32.c.
1242 (REQUIRED_OFILES): Add ./crc32.o.
1243 * functions.texi: Rebuild.
1244
23b1a789
JK
12452009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1246
1247 * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
1248 (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
1249 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
1250 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
1251 (d_demangle_callback): The variable type is now declared as enum.
1252 Replace parser of _GLOBAL_ symbols by a d_make_comp call.
1253
a46f975b
JJ
12542009-06-21 Jakub Jelinek <jakub@redhat.com>
1255
1256 * hashtab.c (htab_traverse): Don't call htab_expand for
1257 nearly empty hashtabs with sizes 7, 13 or 31.
1258
ee07afa0
NC
12592009-06-16 Nick Clifton <nickc@redhat.com>
1260
1261 PR 10197
1262 * testsuite/test-demangle.c: Rename getline to get_line to avoid
1263 conflicts with system function of the same name.
1264
ec5c6f4a
EZ
12652009-05-30 Eli Zaretskii <eliz@gnu.org>
1266
1267 * snprintf.c: Doc fix.
1268
1269 * vsnprintf.c: Doc fix.
1270
bb870b58
KT
12712009-05-29 Kai Tietz <kai.tietz@onevision.com>
1272
bd820218 1273 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
bb870b58 1274
4cfaf1ec
MM
12752009-05-29 Michael Matz <matz@suse.de>
1276
1277 * fibheap.c (fibheap_replace_key_data): Make sure we don't early
1278 out when forcing the minimum.
1279 (fibheap_delete_node): Assert that we managed to force the minimum.
1280
0d38b677
TG
12812009-05-25 Tristan Gingold <gingold@adacore.com>
1282
1283 * config.h-vms: Rewritten. Define configure macros.
1284 Use DEC-C builtin alloca.
1285
1286 * makefile.vms (OBJS): Update list.
1287 (OPT): New variable.
1288 (CFLAGS): Update compilation flags.
1289 (libiberty.olb): Do not depend on alloca-conf.h anymore.
1290
7859dde7
ILT
12912009-05-19 Ian Lance Taylor <iant@google.com>
1292 Ben Elliston <bje@au.ibm.com>
1293
1294 * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
1295 (cplus_demangle_fill_dtor): Likewise.
1296
965cc3c3
JB
12972009-05-17 Julian Brown <julian@codesourcery.com>
1298
1299 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
1300 standard handles (stdin, stdout, stderr) in parent.
1301
6874160d
JB
13022009-04-29 Julian Brown <julian@codesourcery.com>
1303
bd820218 1304 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
6874160d
JB
1305 (pex_win32_exec_child): Ensure each process has only one handle open
1306 on pipe endpoints. Close standard input after creating child for
1307 symmetry with standard output/standard error.
1308
ae2040df
EZ
13092009-04-25 Eli Zaretskii <eliz@gnu.org>
1310
1311 * Makefile.in (needed-list): Target removed (not used in GCC
1312 3.0 and later). All references deleted.
1313 (mostlyclean): Remove references to needed.awk and needed2.awk.
1314
01459fb5
EZ
13152009-04-14 Eli Zaretskii <eliz@gnu.org>
1316
1317 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
1318 existing and required library functions to with_target_subdir
1319 section, so that the native build does detect them at configure
1320 time.
1321 * configure: Regenerated.
bd820218 1322
92c3e704
OS
13232009-04-13 Ozkan Sezer <sezeroz@gmail.com>
1324
bd820218
UB
1325 PR target/39397
1326 * pex-common.h (struct pex_obj): Store pid values as pid_t,
1327 not as long (members *children and (*wait))
1328 * pex-common.c (pex_run_in_environment): Likewise.
1329 * pex-win32.c (pex_win32_wait): Return pid_t and properly check
1330 returned pid value.
1331 * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
1332 * pex-msdos.c (pex_msdos_wait): Likewise.
92c3e704 1333
020e3d02
AP
13342009-04-07 Arnaud Patard <apatard@mandriva.com>
1335
bd820218
UB
1336 * libiberty/configure.ac: Fix Linux/MIPS matching rule.
1337 * libiberty/configure: Regenerate.
020e3d02 1338
b524249c 13392009-03-27 Ian Lance Taylor <iant@google.com>
5fbd9447
ILT
1340
1341 * memmem.c: New file, from gnulib.
1342 * configure.ac: Add memmem to list of functions provided if they
1343 are not available on the host.
1344 * Makefile.in: Rebuild dependencies.
1345 (CFILES): Add memmem.c.
1346 (CONFIGURED_OFILES): Add memmem.o.
1347 * configure, config.in, functions.texi: Rebuild.
1348
6afcfe0a
JM
13492009-03-23 Jason Merrill <jason@redhat.com>
1350
1351 * cp-demangle.c (d_expression): Handle pack expansion.
1352 (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
1353 (d_print_subexpr): Don't wrap function parms in ().
1354 (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
1355 not finding a pack.
1356
448545cb
JM
13572009-03-17 Jason Merrill <jason@redhat.com>
1358
1359 * cp-demangle.c (d_make_function_param): new fn.
1360 (cplus_demangle_mangled_name): Work around abi v2 bug.
1361 (d_expr_primary): Likewise.
1362 (cplus_demangle_operators): Add alignof ops.
1363 (d_expression): Handle function parameters and conversions
1364 with other than 1 operand.
1365 (d_print_comp): Handle function parameters. Fix bug with
1366 function used in type of function.
79b754d4 1367 * testsuite/demangle-expected: Update tests.
448545cb 1368
8c9abf1f
MM
13692009-02-21 Mark Mitchell <mark@codesourcery.com>
1370
1371 * make-temp-file.c (<windows.h>): Include on Windows.
1372 (choose_tmpdir): On Windows, use GetTempPath.
1373
04f9f7b5
DK
13742009-01-18 Dave Korn <dave.korn.cygwin@gmail.com>
1375
1376 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
1377 as it no longer shares libiberty object files.
1378 * configure: Regenerated.
1379
30471e01
JM
13802009-01-07 Jason Merrill <jason@redhat.com>
1381
1382 * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
1383
381009fe
BE
13842009-01-06 Ben Elliston <bje@au.ibm.com>
1385
1386 * cp-demangle.c (cplus_demangle_type): Return NULL if the
1387 character following a 'D' cannot be recognised.
1388
938e76ad
JM
13892008-12-18 Jason Merrill <jason@redhat.com>
1390
1391 PR c++/38561
1392 * cp-demangle.c (d_expression, d_print_comp): Revert
1393 cast changes.
1394
a77f94e2
JM
13952008-12-17 Jason Merrill <jason@redhat.com>
1396
1397 * cp-demangle.c (d_expression): Handle rvalue stubs too.
1398 [DEMANGLE_COMPONENT_CAST]: Update mangling.
1399 (d_print_comp): Avoid extra ", " with empty template argument packs.
1400 Remove handling for obsolete T() mangling.
1401
07523e7c
JM
14022008-12-10 Jason Merrill <jason@redhat.com>
1403
1404 * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
1405 (d_print_comp, d_dump): Likewise.
1406
b36c386c
DJ
14072008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
1408
1409 * Makefile.in (CPPFLAGS): Define.
1410 (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
1411
269f1d98
PB
14122008-10-15 Paolo Bonzini <bonzini@gnu.org>
1413
61b74e12 1414 PR bootstrap/37137
269f1d98
PB
1415 * Makefile.in (LIBCFLAGS): Remove.
1416 (FLAGS_TO_PASS): Don't mention it.
1417 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
1418
0c9e8424
DE
14192008-10-08 David Edelsohn <edelsohn@gnu.org>
1420
1421 * xstrdup.c: Include <sys/types.h> after "config.h"
bd820218 1422
d208e2d2
JK
14232008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1424
1425 * configure.ac: Call AC_SYS_LARGEFILE.
1426 * config.in: Regenerated.
1427 * configure: Likewise.
1428
38179091
JM
14292008-10-06 Jason Merrill <jason@redhat.com>
1430
1431 * cp-demangle.c (struct d_print_info): Add pack_index.
1432 (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
1433 (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and
1434 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
1435 (cplus_demangle_builtin_types): Add char16/32_t.
1436 (cplus_demangle_type): Recognize them.
1437 (d_template_args): Handle empty argument packs.
1438 (d_template_arg): Handle argument packs.
1439 (d_expression): Handle dependent name.
1440 (d_index_template_argument): New fn.
1441 (d_lookup_template_argument): New fn.
1442 (d_find_pack, d_pack_length): New fn.
1443 (d_print_subexpr): Split out...
1444 (d_print_comp): ...from here. Use d_*_template_argument.
1445 Handle empty arg lists. Support pack expansions.
1446 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
1447
5a3d7e74
JM
14482008-09-09 Jason Merrill <jason@redhat.com>
1449
1450 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
1451 (d_make_comp): Likewise.
1452 (cplus_demangle_type): Handle decltype and DFP types.
1453 (cplus_demangle_operators): Call operator takes 2 args.
1454 (cplus_demangle_builtin_types): Add DFP types.
1455 (d_exprlist): New fn.
1456 (d_expression): Handle parm placeholders, T() and calls.
1457 (d_print_comp): Handle decltype, T() and calls.
1458 * testsuite/demangle-expected: Test the above.
1459
98b45309
AL
14602008-08-07 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1461
1462 * pex-win32.c (argv_to_argc): New function.
1463 (spawn_script): Duplicate argv before calling win32_spawn.
1464
60ecfb1b
JJ
14652008-07-31 Jakub Jelinek <jakub@redhat.com>
1466
1467 * mkstemps.c (mkstemps): Keep looping even for EISDIR.
1468
a23eb008
DV
14692008-07-31 Denys Vlasenko <dvlasenk@redhat.com>
1470
1471 * mkstemps.c (mkstemps): If open failed with errno other than
1472 EEXIST, return immediately.
1473 * make-temp-file.c: Include errno.h.
1474 (make_temp_file): If mkstemps failed, print an error message
1475 before aborting.
1476
f59a2f55
RW
14772008-07-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1478
1479 * maint-tool (deps): Output config.h instead of stamp-h.
1480 * Makefile.in: Rebuild deps.
1481 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
1482 Reverts 2007-07-11 change.
1483
6819ba36
EB
14842008-06-19 Eric Blake <ebb9@byu.net>
1485
1486 Adjust strsignal to POSIX 200x prototype.
1487 * strsignal.c (strsignal): Remove const.
1488
18c04407
RW
14892008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1490
1491 * configure: Regenerate.
1492
6ccde948
RW
14932008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1494
1495 * libiberty.texi: Expand TABs, drop indentation outside examples.
1496 * obstacks.texi: Likewise.
1497
951b54cc
AJ
14982008-04-21 Aurelien Jarno <aurelien@aurel32.net>
1499
1500 * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
1501 * libiberty/configure: Regenerate.
1502
b6baa67d
KVH
15032008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
1504
1505 * testsuite/demangle-expected: Added tests for char16_t and char32_t.
1506
deb984e6
PB
15072008-04-18 Paolo Bonzini <bonzini@gnu.org>
1508
1509 PR bootstrap/35457
1510 * aclocal.m4: Add override.m4.
1511 * configure: Regenerate.
1512
eeda7b98
ILT
15132008-03-31 Ian Lance Taylor <iant@google.com>
1514
1515 * cp-demangle.c (d_substitution): Correct overflow check to avoid
1516 -fstrict-overflow optimizations.
1517
c91c9c2e
PB
15182008-03-27 Paolo Bonzini <bonzini@gnu.org>
1519
1520 * configure.ac (frags): Don't set, use frag instead.
1521 (PICFLAG): Set here and substitute.
1522 * Makefile.in (PICFLAG): Substitute from autoconf.
1523 * configure: Regenerate.
1524
598848e4
ILT
15252008-03-24 Ian Lance Taylor <iant@google.com>
1526
1527 * sha1.c: New file, from gnulib.
1528 * Makefile.in: Rebuild dependencies.
1529 (CFILES): Add sha1.c.
1530 (REQUIRED_OFILES): Add sha1.o.
1531
01b11940
DE
15322008-03-24 Doug Evans <dje@google.com>
1533
1534 * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
1535 return from strdup.
1536
5a9340fd
SP
15372008-03-12 Seongbae Park <seongbae.park@gmail.com>
1538
1539 * cplus-dem.c (malloc, realloc): Use void * instead of char *
1540 as return type.
1541
73b38fce
NC
15422008-03-11 Nick Clifton <nickc@redhat.com>
1543
1544 * md5.c (md5_process_bytes): Do not assume that memcpy will
1545 provide a return value.
1546
5ff3a208
BE
15472008-02-19 Ben Elliston <bje@au.ibm.com>
1548
1549 PR other/12618
1550 * testsuite/Makefile.in (mostlyclean): Remove any core file.
1551
e5df4fb1
DD
15522008-01-26 David Daney <ddaney@avtrex.com>
1553
1554 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
1555 DEMANGLE_COMPONENT_COMPOUND_NAME, and
1556 DEMANGLE_COMPONENT_CHARACTER cases.
1557 (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
1558 DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
1559 (d_make_character): New function.
1560 (d_java_resource): Same.
1561 (d_special_name): Handle "Gr" case.
1562 (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
1563 DEMANGLE_COMPONENT_COMPOUND_NAME, and
1564 DEMANGLE_COMPONENT_CHARACTER cases.
1565 * testsuite/demangle-expected: Add test for java resource name
1566 mangling.
1567
62b445b3
TJB
15682008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
1569
1570 * cplus-dem.c (demangle_function_name): Changed to return value
1571 indicating if a name was correctly demangled.
1572 (iterate_demangle_function): Use demangle_function_name return
1573 value.
1574
daf6ff4c
MLI
15752008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1576
1577 PR other/33768
1578 * splay-tree.c (rotate_left): Fix minor typo in comment.
1579 (rotate_right): Likewise.
1580
983a6f8d
JM
15812007-11-12 Joseph Myers <joseph@codesourcery.com>
1582
1583 * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
1584 compiler warnings.
1585 (floatformat_ibm_long_double): Use
1586 floatformat_ibm_long_double_is_valid.
1587
da59326f
JM
15882007-11-07 Joseph Myers <joseph@codesourcery.com>
1589 Daniel Jacobowitz <dan@codesourcery.com>
1590
1591 * floatformat.c (mant_bits_set): New.
1592 (floatformat_to_double): Use it. Note no special handling of
1593 split formats.
1594 (floatformat_from_double): Note no special handing of split
1595 formats.
1596 (floatformat_ibm_long_double_is_valid,
1597 floatformat_ibm_long_double): New.
1598 (floatformat_ieee_single_big, floatformat_ieee_single_little,
1599 floatformat_ieee_double_big, floatformat_ieee_double_little,
1600 floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
1601 floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
1602 floatformat_m68881_ext, floatformat_i960_ext,
1603 floatformat_m88110_ext, floatformat_m88110_harris_ext,
1604 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
1605 floatformat_ia64_spill_big, floatformat_ia64_spill_little,
1606 floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
1607 for addition of split_half field.
1608
48492bdf
TT
16092007-09-06 Tom Tromey <tromey@redhat.com>
1610
1611 * pexecute.txh (pex_free): Document process killing.
1612
1ab28be5 16132007-08-31 Douglas Gregor <doug.gregor@gmail.com>
6819ba36 1614
1ab28be5 1615 * cp-demangle.c (d_dump): Handle
6819ba36 1616 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
1ab28be5
DG
1617 (d_make_comp): Ditto.
1618 (cplus_demangle_type): Ditto.
1619 (d_print_comp): Ditto.
1620 (d_print_mod): Ditto.
1621 (d_print_function_type): Ditto.
1622
1651030c
KT
16232007-08-24 Kai Tietz <kai.tietz@onevision.com>
1624
1625 * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
1626 * pex-djgpp.c: Likewise.
1627 * pex-msdos.c: Likewise.
1628 * pex-unix.c: Likewise.
1629 * pex-win32.c: Likewise.
1630
9c79ad8b
MS
16312007-08-17 Michael Snyder <msnyder@access-company.com>
1632
1633 * make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
1634
fd83e387
MS
16352007-08-03 Michael Snyder <msnyder@access-company.com>
1636
1637 * make-relative-prefix.c (make_relative_prefix_1): Fix resource
1638 leak.
1639
ac847e32
MS
16402007-07-31 Michael Snyder <msnyder@access-company.com>
1641
1642 * cp-demangle.c (d_print_comp): Guard against null.
1643
f4f29b59
BE
16442007-07-25 Ben Elliston <bje@au.ibm.com>
1645
1646 * Makefile.in (CFILES): Remove ternary.c.
1647 (REQUIRED_OFILES): Remove ./ternary.o.
1648 (INSTALLED_HEADERS): Remove ternary.h.
1649 (ternary.o): Remove.
1650 * ternary.c: Remove.
1651
f4e00f44
DD
16522007-07-23 DJ Delorie <dj@redhat.com>
1653
1654 * argv.c (writeargv): Fix typo in inline documentation.
1655 * functions.texi: Regenerate.
1656
6a9131e7
DD
16572007-07-17 DJ Delorie <dj@redhat.com>
1658
1659 * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
1660 gettimeofday entry.
1661 * configure: Likewise.
1662
0f3d38b6
AO
16632007-07-11 Alexandre Oliva <aoliva@redhat.com>
1664
1665 * maint-tool (deps): Output stamp-h instead of config.h.
1666 * Makefile.in: Rebuild deps.
1667 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
1668
38bb3485
SB
16692007-07-02 Simon Baldwin <simonb@google.com>
1670
1671 * argv.c (writeargv): Removed declaration of unused variable.
1672
aa2480c5
PB
16732007-06-14 Paolo Bonzini <bonzini@gnu.org>
1674
1675 * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
1676 * configure: Regenerate.
1677
3bbd5a19
PB
16782007-06-14 Paolo Bonzini <bonzini@gnu.org>
1679
1680 * aclocal.m4: Include config/warnings.m4.
1681 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
1682 * configure: Regenerate.
1683
abea993f
GK
16842007-06-07 Geoffrey Keating <geoffk@apple.com>
1685
1686 * configure.ac: Non-default multilibs can be cross compilations.
1687 * configure: Regenerate
1688
2091ff66
NF
16892007-05-07 Nathan Froyd <froydnj@codesourcery.com>
1690
1691 * argv.c (writeargv): New function.
1692
a2aa65f0
GK
16932007-05-05 Geoffrey Keating <geoffk@apple.com>
1694
1695 * cp-demangle.c (d_name): Detect local-source-name.
1696 (d_prefix): Likewise.
1697 (d_unqualified_name): Implement local-source-name.
1698
186c60ab
JB
16992007-05-03 Joel Brobecker <brobecker@adacore.com>
1700
1701 * filename_cmp.c: Replace include of ctype.h by include of
1702 safe-ctype.h.
1703 (filename_cmp): Use TOLOWER instead of tolower for conversions
1704 that are locale-independent.
1705 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
1706
017133fd
TN
17072007-04-11 Thomas Neumann tneumann@users.sourceforge.net
1708
1709 * argv.c: Use ANSI C declarations.
1710 * make-relative-prefix.c: Likewise.
1711
96a94ff4
JB
17122007-04-06 Joel Brobecker <brobecker@adacore.com>
1713
1714 * filename_cmp.c (filename_cmp): Improve documentation.
1715
320fc205
AS
17162007-04-02 Andreas Schwab <schwab@suse.de>
1717
1718 * filename_cmp.c: Include "config.h".
1719
cde515d9
JB
17202007-03-29 Joel Brobecker <brobecker@adacore.com>
1721
1722 * filename_cmp.c: New file.
1723 * Makefile.in (CFILES): Add filename_cmp.c.
1724 (REQUIRED_OFILES): Add filename_cmp.o
1725 (filename_cmp.o): New rule.
1726 * functions.texi: Regenerate.
1727
771904f1
GK
17282007-03-15 Geoffrey Keating <geoffk@apple.com>
1729
1730 * cp-demangle.c (d_encoding): Exit early on error.
1731 (d_pointer_to_member_type): Exit early if cplus_demangle_type
1732 returns NULL.
1733 (cplus_demangle_type): Likewise.
1734 * testsuite/demangle-expected: New testcase.
1735
267686a7
BM
17362007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1737
1738 * Makefile.in: Add install-pdf target as copied from
1739 automake v1.10 rules.
1740 * testsuite/Makefile.in: Add dummy install-pdf target.
1741
5f81370d 17422007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de>
6819ba36 1743 Eric Botcazou <ebotcazou@libertysurf.fr>
5f81370d
PB
1744
1745 PR other/16513
1746 * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
1747 Install headers in multilib independent location.
1748
f86b57e4
DD
17492007-02-26 DJ Delorie <dj@redhat.com>
1750
1751 * configure.ac: add djgpp-specific results, so we don't have to
1752 link during a cross compilation.
1753 * configure: Regenerated.
6819ba36 1754
15b16eb5
RW
17552007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1756
1757 * hex.c: Fix typo.
1758 * choose-temp.c: Likewise.
1759 * functions.texi: Regenerate.
1760
7cf4c53d
VP
17612007-01-31 Vladimir Prus <vladimir@codesourcery.com>
1762
1763 * pex-common.h (struct pex_obj): New fields
6819ba36 1764 stderr_pipe and read_err.
7cf4c53d
VP
1765 * pex-common.c (pex_init_common): Initialize
1766 stderr_pipe.
1767 (pex_run_in_environment): Add error checking
1768 for PEX_STDERR_TO_PIPE. Create a pipe
1769 for stderr if necessary.
1770 (pex_read_err): New.
1771 (pex_free): Close read_err.
1772 * pexecute.txh: Document changes.
1773 * functions.texi: Regenerated.
1774
ae452ed1
BE
17752007-01-31 Ben Elliston <bje@au.ibm.com>
1776
1777 * strsignal.c (psignal): Change type of signo to int.
1778 * functions.texi: Regenerate.
1779
456cc5cf
SB
17802007-01-29 Simon Baldwin <simonb@google.com>
1781
1782 * cp-demangle.h (cplus_demangle_operators): External definition
1783 suppressed if not building for libstdc++.
1784 * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
1785 to demangling, provides a malloc-less version of __cxa_demangle.
1786 (cplus_demangle_print_callback): Public callback version of
1787 cplus_demangle_print.
1788 (struct d_growable_string): New growable string structure.
1789 (d_growable_string_init): New function, provides support for
1790 growable strings separate from print info.
1791 (d_growable_string_resize): Likewise.
1792 (d_growable_string_append_buffer): Likewise.
1793 (d_growable_string_callback_adapter):): Likewise.
1794 (d_print_init): New print info initialization function.
1795 (d_print_error): Macro replace by inline function.
1796 (d_print_saw_error): Likewise.
1797 (d_append_char): Likewise.
1798 (d_append_buffer): Likewise.
1799 (d_append_string): New inline function, replaces the
1800 d_append_string_constant macro.
1801 (d_flush_buffer): New function, flushes buffer to callback.
1802 (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
1803 for unsupported dynamic arrays replaced by alloca().
1804 (d_demangle): Return string length estimating removed.
1805 (d_dump): Moved error case handling from call site into function.
1806 (d_print_resize): Function removed.
1807 (d_print_append_char): Likewise.
1808 (d_print_append_buffer): Likewise.
1809 (d_print_error): Likewise.
1810 (d_print_comp): Added special case handling for Java arrays.
1811 (java_demangle_v3): Removed string post-processing for Java arrays,
1812 now replaced by special case handling in d_print_comp.
1813 (cplus_demangle_v3_callback): Augmented interface to demangling,
1814 provides a malloc-less version of cplus_demangle_v3.
1815 (java_demangle_v3_callback): Augmented interface to demangling,
1816 provides a malloc-less version of java_demangle_v3.
1817
7d37bf39
BE
18182007-01-12 Ben Elliston <bje@au.ibm.com>
1819
1a8e58a3
BE
1820 * pex-unix.c (writeerr): Cast write result to void.
1821
4d4f0164
BE
1822 * choose-temp.c (choose_temp_base): Check the result of the call
1823 to mktemp rather than testing the length of the modified string.
7d37bf39 1824
5165f125
GK
18252006-12-20 Geoffrey Keating <geoffk@apple.com>
1826
1827 * cp-demangle.h: Add comment explaining what to do to avoid
1828 overrunning string.
1829 (d_check_char): New.
1830 (d_next_char): Don't advance past trailing '\0'.
1831 * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
1832 (d_nested_name): Likewise.
1833 (d_special_name): Likewise.
1834 (d_call_offset): Likewise.
1835 (d_function_type): Likewise.
1836 (d_array_type): Likewise.
1837 (d_pointer_to_member_type): Likewise.
1838 (d_template_param): Likewise.
1839 (d_template_args): Likewise.
1840 (d_template_arg): Likewise.
1841 (d_expr_primary): Likewise.
1842 (d_local_name): Likewise.
1843 (d_substitution): Likewise.
1844 (d_ctor_dtor_name): Use d_advance rather than d_next_char.
1845 * testsuite/test-demangle.c: Include sys/mman.h.
1846 (MAP_ANONYMOUS): Define.
1847 (protect_end): New.
1848 (main): Use protect_end.
1849 * testsuite/demangle-expected: Add testcases for overrunning
1850 the end of the string.
1851
334737af 18522006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
6819ba36 1853 J"orn Rennecke <joern.rennecke@st.com>
334737af
AS
1854
1855 PR driver/29931
1856 * make-relative-prefix.c (make_relative_prefix_1): New function,
1857 broken out of make_relative_prefix. Make link resolution dependent
1858 on new parameter.
1859 (make_relative_prefix): Use make_relative_prefix_1.
1860 (make_relative_prefix_ignore_links): New function.
1861
e9903c67
VP
18622006-11-08 Vladimir Prus <vladimir@codesourcery.com>
1863
1864 * pex-win32.c (no_suffixes): Remove.
1865 (std_suffixes): Add "" as first element.
1866 (find_executable): Remove detection of already-present
1867 extension. Try all suffixes in std_suffixes.
6819ba36 1868
36b82060
JB
18692006-11-07 Julian Brown <julian@codesourcery.com>
1870
1871 * floatformat.c (get_field): Fix segfault with little-endian word
1872 order on 64-bit hosts.
1873 (put_field): Likewise.
1874 (min): Move definition.
1875
7445de0a
DS
18762006-10-26 Danny Smith <dannysmith@users.sourceforge.net>
1877
1878 pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
1879 (find_executable): Likewise.
1880 (win32_spawn): Cast alloca return to (char**).
1881 Replace malloc with XNEWVEC.
1882 bcopy.c (bcopy): Add explict casts in assignments.
1883
97977a91
BE
18842006-10-25 Ben Elliston <bje@au.ibm.com>
1885
1886 * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
6819ba36 1887
b5422ad7
BM
18882006-10-10 Brooks Moses <bmoses@stanford.edu>
1889
1890 * Makefile.in: Added "pdf", "libiberty.pdf" target support.
1891 * testsuite/Makefile.in: Added empty "pdf" target.
1892
53e3e587
ILT
18932006-09-22 Ian Lance Taylor <ian@airs.com>
1894
1895 PR other/29176
1896 * cp-demangle.c (d_substitution): Check for overflow when
1897 computing substitution index.
1898
70aec81b
CV
18992006-08-30 Corinna Vinschen <corinna@vinschen.de>
1900
1901 * configure.ac: Add case for Mingw as host.
1902 * configure: Regenerate.
1903
022d4166
ILT
19042006-08-27 Ian Lance Taylor <ian@airs.com>
1905
5317e1c7
ILT
1906 PR driver/27622
1907 * pex-common.h (struct pex_funcs): Add toclose parameter to
1908 exec_child field.
1909 * pex-common.c (pex_run_in_environment): Pass toclose to
1910 exec_child.
1911 * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
1912 * pex-unix.c (pex_unix_exec_child): Likewise.
1913 * pex-msdos.c (pex_msdos_exec_child): Likewise.
1914 * pex-win32.c (pex_win32_exec_child): Likewise.
1915
022d4166
ILT
1916 PR other/28797
1917 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
1918 for a qualified member which is not a function.
1919 * testsuite/demangle-expected: Add test case.
1920
3050098b
JH
19212006-07-27 Jan Hubicka <jh@suse.cz>
1922
1923 PR rtl-optimization/28071
1924 * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
1925 downsize the hashtable.
1926
706601d9
PG
19272006-07-04 Peter O'Gorman <peter@pogma.com>
1928
1929 * Makefile.in: chmod 644 before ranlib during install.
1930
239559e7
MS
19312006-06-02 Mark Shinwell <shinwell@codesourcery.com>
1932
1933 * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
1934 to environ.
1935
ea60341e
MS
19362006-06-01 Mark Shinwell <shinwell@codesourcery.com>
1937
1938 * pex-common.c: New function pex_run_in_environment.
1939 * pex-common.h: Add environment parameter to exec_child.
1940 * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
1941 * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
1942 (pex_djgpp_exec_child): Pass environment to child process.
1943 * pex-unix.c: Add environment parameter to pex_unix_exec_child.
1944 (pex_unix_exec_child): Pass environment to child process.
1945 * pex-win32.c: Add environment parameter to pex_win32_exec_child.
1946 New function env_compare for comparing VAR=VALUE pairs.
1947 (win32_spawn): Assemble environment block and pass to CreateProcess.
1948 (spawn_script): Pass environment through to win32_spawn.
1949 (pex_win32_exec_child): Pass environment through to spawn_script and
1950 win32_spawn.
1951 * functions.texi: Regenerate.
1952 * pexecute.txh: Document pex_run_in_environment.
1953
8967e029
MS
19542006-05-28 Mark Shinwell <shinwell@codesourcery.com>
1955
1956 * mkstemps.c: Open temporary files in binary mode.
1957
824bceb0
AB
19582006-05-12 Anton Blanchard <anton@samba.org>
1959
1960 * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
1961 hold "int%u_t".
1962
9fff6432
JB
19632006-04-24 Julian Brown <julian@codesourcery.com>
1964
1965 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
1966
8eff378c
JB
19672006-03-29 Jim Blandy <jimb@codesourcery.com>
1968
f33a23a0 1969 * pex-common.c (pex_input_file, pex_input_pipe): New functions.
8eff378c
JB
1970 (pex_init_common): Initialize obj->input_file.
1971 (pex_run): Close any file opened by pex_input_file.
f33a23a0
AP
1972 * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
1973 * pex-common.h (struct pex_obj): New field input_file.
8eff378c 1974 (struct pex_funcs): New function ptr fdopenw.
f33a23a0
AP
1975 * pex-unix.c (pex_unix_fdopenw): New function.
1976 (funcs): List it as our fdopenw function.
1977 * pex-win32.c (pex_win32_fdopenw): New function.
1978 (funcs): List it as our fdopenw function.
1979 * pex-djgpp.c (funcs): Leave fdopenw null.
1980 * pex-msdos (funcs): Same.
1981 * functions.texi: Regenerated.
8eff378c 1982
5ea49f9c
JB
19832006-04-10 Jim Blandy <jimb@codesourcery.com>
1984
1985 * pex-common.c (temp_file): New function, containing guts of
1986 pex-style temporary file name generation.
1987 (pex_run): Use it.
1988
cf61af07
CD
19892006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1990
1991 * Makefile.in: Add install-html, install-html-am, and
6819ba36
EB
1992 install-html-recursive targets. Define mkdir_p and
1993 NORMAL_INSTALL.
cf61af07
CD
1994 * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
1995 * configure: Regenerate.
1996 * testsuite/Makefile.in: Add install-html and html targets.
1997
bd9e7c5c
MM
19982006-03-31 Mark Mitchell <mark@codesourcery.com>
1999
2000 * pex-win32.c (<errno.h>): Include.
2001 (fix_argv): Remove.
2002 (argv_to_cmdline): New function.
2003 (std_suffixes): New variable.
2004 (no_suffixes): Likewise.
2005 (find_executable): New function.
2006 (win32_spawn): Likewise.
2007 (spawn_script): Use win32_spawn instead of _spawnv[p].
2008 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
2009 (pex_win32_wait): Likewise.
2010
58df1c41
JB
20112006-03-24 Jim Blandy <jimb@codesourcery.com>
2012
2013 * pex-common.c (pex_run): Simplify output name handling.
2014
7d898fa2
JB
20152006-03-12 Jim Blandy <jimb@red-bean.com>
2016
2017 * pex-common.h (struct pex_obj): Doc fixes.
2018
ddbbee51
JB
20192006-03-11 Jim Blandy <jimb@red-bean.com>
2020
2021 * functions.texi: Regenerate.
2022
f49712d8
BE
20232006-02-21 Ben Elliston <bje@au.ibm.com>
2024
2025 * pexecute.c (pwait): Syntax fix for previous change.
2026
8f629dc5
UP
20272006-02-17 Uttam Pawar <uttamp@us.ibm.com>
2028
2029 * pexecute.c (pwait): Free vector pointer.
2030 * partition.c (partition_print): Free class_elements pointer.
2031
12c61ac3
RS
20322006-02-11 Roger Sayle <roger@eyesopen.com>
2033 R. Scott Bailey <scott.bailey@eds.com>
2034 Bill Northcott <w.northcott@unsw.edu.au>
2035
2036 PR bootstrap/16787
2037 * floatformat.c: Include <float.h> where available.
2038 (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
2039
e8f9ec35
GDR
20402006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
2041
2042 * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
6819ba36 2043 supported.
e8f9ec35
GDR
2044 * configure: Regenerated.
2045
974c2c56
CD
20462006-01-20 Carlos O'Donell <carlos@codesourcery.com>
2047
2048 * testsuite/Makefile.in: Add test-expandargv test.
2049 * testsuite/test-expandargv.c: New test.
2050 * argv.c (expandargv): Check for errors with ferror,
2051 rather than just by looking at return value from fread.
2052
573b07c7
GDR
20532005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
2054
2055 * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
2056 to convert from "from".
2057 (floatformat_to_double): Likewise.
2058 (floatformat_from_double): Use explicit cast to convert from "to".
2059
92aed1cb
TL
20602005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
2061
2062 PR java/9861
2063 * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
2064 and include return type when found.
2065 (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
2066 conditional logic to change printing order of return type.when
2067 the DMGL_RET_POSTFIX option is present.
2068 (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
2069 call.
2070 * testsuite/test-demangle.c (main): Recognize option --ret-postfix
2071 * testsuite/demangle-expected: Test cases to verify extended encoding.
2072 Updated comment to document --ret-postfix option.
6819ba36 2073
73a08f87
RG
20742005-11-06 Richard Guenther <rguenther@suse.de>
2075
2076 * splay-tree.c (rotate_left): New function.
2077 (rotate_right): Likewise.
2078 (splay_tree_splay_helper): Remove.
2079 (splay_tree_splay): Re-implement.
2080
0432a5de
MK
20812005-10-31 Mark Kettenis <kettenis@gnu.org>
2082
2083 * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
2084 New variables.
2085
cb120852
MM
20862005-10-07 Mark Mitchell <mark@codesourcery.com>
2087
2088 * at-file.texi: Fix typo.
2089
36dd6d31
MM
20902005-10-03 Mark Mitchell <mark@codesourcery.com>
2091
2092 * at-file.texi: New file.
2093
affbb54a
MM
20942005-09-27 Mark Mitchell <mark@codesourcery.com>
2095
2096 * argv.c (expandargv): Do not use xmalloc_failed.
2097
97393d0a
MM
20982005-09-26 Mark Mitchell <mark@codesourcery.com>
2099
2100 * argv.c (safe-ctype.h): Include it.
2101 (ISBLANK): Remove.
2102 (stdio.h): Include.
2103 (buildargv): Use ISSPACE instead of ISBLANK.
2104 (expandargv): New function.
240921b9 2105 * Makefile.in: Regenerated.
97393d0a 2106
0d676b85
CF
21072005-09-14 Christopher Faylor <cgf@timesys.com>
2108
2109 * pex-win32.c: Include "windows.h".
2110 (backslashify): New function.
2111 (fix_argv): Use backslashify to convert path to windows format.
2112 Allocate one more place in new argv for potential executable from '#!'
2113 parsing.
2114 (tack_on_executable): New function. Conditional on USE_MINGW_MSYS
2115 (openkey): Ditto.
2116 (mingw_rootify): Ditto.
2117 (msys_rootify): Ditto.
2118 (spawn_script): New function.
2119 (pex_win32_exec_child): Save translated argv in newargv. Pass to
2120 spawn_script if spawnv* fails.
2121 (main): New function. Conditional on MAIN. Useful for testing.
2122
e89b6c1c
MK
21232005-08-17 Mark Kettenis <kettenis@gnu.org>
2124
2125 * floatformat.c (floatformat_always_valid): Change type of last
2126 argument to `void *'.
2127 (floatformat_i387_ext_is_valid): Likewise.
2128 (floatformat_to_double): Change type of second argument to `const
2129 void *'.
2130 (floatformat_from_double): Change type of last argument to `void
2131 *'.
2132 (floatformat_is_valid): Change type of last argument to `const
2133 void *'.
2134 (ieee_test): Remove redundant casts.
2135
0cbe2a68
KC
21362005-08-17 Kelley Cook <kcook@gcc.gnu.org>
2137
2138 * strverscmp.c: Update FSF address.
2139 * testsuite/Makefile.in: Likewise.
2140 * testsuite/test-demangle.c: Likewise.
2141 * testsuite/test-pexecute.c: Likewise.
2142
ca1cc111
KG
21432005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2144
2145 * getopt.c: Include ansidecl.h before system headers.
2146
f4f94d6b
BE
21472005-07-22 Ben Elliston <bje@gnu.org>
2148
2149 * getopt.c: Include "ansidecl.h".
2150 (_getopt_initialize): Mark argc and argv parameters as unused.
2151
8cfb7ab7
BE
21522005-07-22 Ben Elliston <bje@gnu.org>
2153
2154 * regex.c (regcomp): Change type of `i' from unsigned to int.
2155
b4db223f
BE
21562005-07-22 Ben Elliston <bje@gnu.org>
2157
2158 Recover patch lost in the sourceware repository:
2159 2005-07-09 Ben Elliston <bje@au.ibm.com>
2160 * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
2161 * memmove.c: Likewise.
2162 * objalloc.c: Likewise.
2163
8b82b724
BE
21642005-07-22 Ben Elliston <bje@gnu.org>
2165
2166 * configure.ac: Check for a getopt(3) declaration.
2167 * configure, config.in: Regenerate.
2168
7c22afcb
BE
21692005-07-15 Ben Elliston <bje@au.ibm.com>
2170
2171 * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
2172
72f93778
BE
21732005-07-12 Ben Elliston <bje@au.ibm.com>
2174
2175 * floatformat.c (floatformat_to_double): Add a comment about a
2176 potential source of warnings when compiling this file.
2177
6c5844d2
BE
21782005-07-12 Ben Elliston <bje@au.ibm.com>
2179
2180 * pexecute.c (pexecute): Cast string litrals to char *.
2181 * regex.c (re_comp): Cast a call to gettext() to char *.
2182
769b009e
KC
21832005-07-07 Kelley Cook <kcook@gcc.gnu.org>
2184
2185 * config.table: Delete file. Move former contents into ...
2186 * configure.ac: ... here and escape any brackets for m4.
2187 * Makefile.in (config.status): Remove dependency on config.table.
2188 * configure: Regenerate.
2189
f379ddd1
KC
21902005-07-07 Kelley Cook <kcook@gcc.gnu.org>
2191
2192 * config.in: Regenerate for 6/20 change.
2193
6cbfa10e
SE
21942005-07-03 Steve Ellcey <sje@cup.hp.com>
2195
2196 PR other/13906
2197 * md5.c (md5_process_bytes): Check alignment.
2198
8c7262af
ILT
21992005-07-01 Ian Lance Taylor <ian@airs.com>
2200
2201 PR other/22268
2202 * cp-demangle.c (d_expr_primary): Don't run off the end of the
2203 string while looking for the end of a literal value.
2204 * testsuite/demangle-expected: Add test case.
2205
a3648cfc
DB
22062005-06-30 Daniel Berlin <dberlin@dberlin.org>
2207
2208 * hashtab.c (EMPTY_ENTRY): Moved and renamed.
6819ba36 2209 (DELETED_ENTRY): Ditto.
a3648cfc 2210
83fbfe42
GK
22112005-06-20 Geoffrey Keating <geoffk@apple.com>
2212
2213 * strverscmp.c: New.
2214 * Makefile.in (CFILES): Add strverscmp.c.
2215 (CONFIGURED_OFILES): Add strverscmp.o.
2216 (strverscmp.o): New rule.
2217 (stamp-functions): Add $(srcdir) to files in source directory.
2218 * configure.ac (funcs): Add strverscmp.
2219 (AC_CHECK_FUNCS): Add strverscmp.
2220 * configure: Regenerate.
2221 * functions.texi: Regenerate.
2222
ddcf783b
EZ
22232005-05-28 Eli Zaretskii <eliz@gnu.org>
2224
2225 * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
2226 * config.in, configure: Regenerate.
2227
15da2806
RH
22282005-05-25 Richard Henderson <rth@redhat.com>
2229
2230 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
2231 (d_make_comp, d_print_comp): Likewise.
2232 (d_special_name): Generate one.
2233 * testsuite/demangle-expected: Add a hidden alias test.
2234
d7cf8390
GDR
22352005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
2236
2237 * configure.ac: Check declarations for calloc(), getenv(),
ddcf783b 2238 malloc(), realloc() and sbrk().
d7cf8390
GDR
2239 * config.in: Regenerate.
2240 * configure: Likewise.
2241
2242 * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
2243 instead of xmalloc.
2244 * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
2245 * concat.c (liiberty_concat_ptr): Surround definition with an
2246 extern "C" block, if __cplusplus.
2247 (concat): Use XNEWVEC instead of xmalloc.
2248 (reconcat): Likewise.
2249 * cp-demangle.c (struct d_print_template): Rename member
ddcf783b 2250 "template" to "template_decl". Adjust use throughout the file.
d7cf8390
GDR
2251 (d_print_resize): Properly cast return value of realloc().
2252 (cplus_demangle_print): Same for malloc().
2253 (d_demangle): Likewise.
2254 * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
2255 "typename" to "type_name".
2256 * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
2257 (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
2258 (demangle_template_value_parm): Likewise.
2259 (demangle_template): Likewise.
2260 (recursively_demangle): Likewise.
2261 (do_hpacc_template_literal): Likewise.
2262 (do_arg): Likewise.
2263 (remember_type): Likewise.
2264 (remember_Ktype): Likewise.
2265 (register_Btype): Likewise.
2266 (string_need): Use XRESIZEVEC instead of xrealloc().
2267 * dyn-string.c (dyn_string_init): Use XNEWVEC.
2268 (dyn_string_new): Use XNEW.
2269 (dyn_string_resize): Use XRESIZEVEC.
2270 * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
2271 * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
2272 Otherwise include <stdlib.h>.
2273 (exchange): Cast return value of malloc().
2274 * hashtab.c (htab_size): Define as both macro and non-inline
2275 function.
2276 (htab_elements): Likewise.
2277 * getpwd.c (getpwd): Use XNEWVEC.
2278 (htab_create_alloc_ex): Use C90 prototype-style.
2279 * lrealpath.c (lrealpath): Appropriately cast return value of
ddcf783b 2280 malloc().
d7cf8390
GDR
2281 * make-relative-prefix.c (save_string): Likewise.
2282 * make-temp-file.c (try_dir): Rename from "try". Adjust use in
2283 the file.
2284 (choose_tmpdir): Use XNEWVEC.
2285 * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
2286 * pex-common.c (pex_init_common): Use XNEW.
2287 (pex_add_remove): Use XRESIZEVEC.
2288 (pex_run): Likewise.
2289 (pex_get_status_and_time): Likewise.
2290 * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
2291 * pex-msdos.c (pex_init): Use XNEW.
2292 (pex_msdos_exec_child): Likewise.
2293 (pex_msdos_exec_child): Use XRESIZEVEC.
2294 * pex-unix.c (pex_wait): Use XNEW.
2295 * pex-win32.c (fix_argv): Use XNEWVEC.
2296 * pexecute.c (pwait): Likewise.
2297 * setenv.c (setenv): Properly cast return value of malloc().
2298 * sigsetmask.c (sigsetmask): Rename local variables "old" and
2299 "new" to "old_sig" and "new_sig".
2300 * sort.c (main): Use XNEWVEC.
2301 * spaces.c (spaces): Cast return value of malloc().
2302 * strndup.c (strndup): Likewise.
2303 * ternary.c (ternary_insert): Use XNEW.
2304 * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
2305 with an extern "C" block if __cplusplus.
2306 * xstrdup.c (xstrdup): Cast return value of memcpy().
2307 * xstrerror.c (strerror): Enclose declaration in an extern "C"
2308 block if __cplusplus.
2309 * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
2310
99e4078f
AJ
23112005-05-16 Andreas Jaeger <aj@suse.de>
2312
2313 * getpwd.c: Remove unneeded prototype getcwd and move getwd so
2314 that it's only declared if needed.
2315
2316 * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
2317 defined.
2318
766643be
AJ
23192005-05-15 Andreas Jaeger <aj@suse.de>
2320
2321 * functions.texi: Regenerated.
2322
2b836651
EZ
23232005-05-15 Eli Zaretskii <eliz@gnu.org>
2324
2325 * pexecute.txh: Enclose multi-word data types in @deftypefn in
2326 braces. Minor wording fixes. Use --- for em-dash. Use
2327 @enumerate in enumerated lists.
2328
d842a495
AJ
2329 * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
2330 braces.
2331
5db1c531
EZ
23322005-05-11 Eli Zaretskii <eliz@gnu.org>
2333
2334 * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
2335 sys/stat.h.
2336 (pex_init): Fix last argument to pex_init_common.
2337 (pex_djgpp_exec_child): Remove leading underscore from _open,
2338 _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
2339 which is undeclared, with `executable', which was unused. Remove
2340 unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
2341 (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
2342
bd7d50f8
PB
23432005-05-11 Paul Brook <paul@codesourcery.com>
2344
2345 * Makefile.in: Regenerate dependencies.
2346
ee58dffd
NC
23472005-05-10 Nick Clifton <nickc@redhat.com>
2348
2349 * Update the address and phone number of the FSF organization in
2350 the GPL notices in the following files:
2351 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
2352 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
2353 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
2354 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
2355 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
2356 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
2357 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
2358 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
2359 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
2360 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
2361 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
2362 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
2363 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
2364
c1300f45
KC
23652005-05-06 Kelley Cook <kcook@gcc.gnu.org>
2366
2367 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
2368 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
2369 * configure: Regenerate.
2370
fbc1bc09
KC
23712005-05-06 Kelley Cook <kcook@gcc.gnu.org>
2372
2373 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2374 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2375 * aclocal.m4: Don't include accross.m4.
2376 * configure, config.in: Regenerate.
2377
32e82bd8
KG
23782005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2379
2380 * fopen_unlocked.c (unlock_std_streams): New.
2b836651 2381
32e82bd8
KG
2382 * functions.texi: Regenerate.
2383
6feaa084
KG
23842005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2385
2386 * fopen_unlocked.c (unlock_stream): New.
2387 Consolidate unlocking code into a helper function.
2388
2389 * functions.texi: Regenerate.
2390
3c60ae5a
GDR
23912005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
2392
2393 * asprintf.c: Include config.h.
2394 * basename.c: Likewise.
2395 * fdmatch.c: Likewise.
2396 * hex.c: Likewise.
2397 * lbasename.c: Likewise.
2398 * spaces.c: Likewise.
2399 * xatexit.c:Likewise.
2b836651 2400 * configure.ac: Do check declarations for basename, ffs, asprintf
3c60ae5a
GDR
2401 and vasprintf for real.
2402 * configure: Regenerate.
2403
0e0af50b
GDR
24042005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
2405
2b836651 2406 * argv.c (dupargv): Allocate space of argv[argc], not
fec02a2d 2407 sizeof(char *) of that amount. Cast result to char *.
0e0af50b 2408
4cf88ac3
GDR
24092005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
2410
2411 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
2b836651 2412 Replace not with negate.
4cf88ac3 2413
1ff7682c
GDR
24142005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
2415
2416 * configure.ac: Check declarations for basename, ffs, asprintf,
2417 vasprintf.
2418 * configure: Regenerate.
2419 * config.in: Likewise.
2420
78a7dc90
KG
24212005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2422
2423 * Makefile.in (CFILES): Add fopen_unlocked.c.
2424 (REQUIRED_OFILES): Add ./fopen_unlocked.o.
2425 Regenerate dependencies.
2426
2427 * configure.ac: Check for stdio_ext.h and __fsetlocking.
2428
2429 * fopen_unlocked.c: New file.
2430
2431 * functions.texi, configure, config.in: Regenerate.
2432
2f84c996
ILT
24332005-04-04 Ian Lance Taylor <ian@airs.com>
2434
2435 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
2436 declaration before statement.
2437
f9a9ac80
KG
24382005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2439
29138797
KG
2440 * bcmp.c: Fix warnings and implement using memcmp.
2441 * bcopy.c: Fix warnings.
2442 * bzero.c: Fix warnings and implement using memset.
2443
f9a9ac80
KG
2444 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
2445 -Wstrict-prototypes.
2446 * configure, config.in: Regenerate.
2447
2448 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
2449 warnings and reconcile interfaces with relevant standards.
2450
23ea4f4a
ILT
24512005-04-02 Ian Lance Taylor <ian@airs.com>
2452
2453 * cp-demangle.c: Update copyright.
2454
1e3a2100
JM
24552005-03-31 Joseph S. Myers <joseph@codesourcery.com>
2456
2457 * gettimeofday.c: Add "Supplemental" to @deftypefn.
2458 * functions.texi: Regenerate.
2459
a584cf65
ILT
24602005-03-28 Ian Lance Taylor <ian@airs.com>
2461
2462 * pex-common.c: New file.
2463 * pex-one.c: New file.
2464 * pexecute.c: New file.
2465 * pex-common.h: Include <stdio.h>.
2466 (struct pex_obj): Define.
2467 (struct pex_funcs): Define.
2468 (pex_init_common): Declare.
2469 * pex-unix.c: Rewrite.
2470 * pex-win32.c: Rewrite.
2471 * pex-djgpp.c: Rewrite.
2472 * pex-msdos.c: Rewrite.
2473 * testsuite/text-pexecute.c: New file.
2474 * pexecute.txh: Rewrite.
2475 * configure.ac: Check for wait3 and wait4. Set CHECK to
2476 really-check rather than check-cplus-dem.
2477 * functions.texi: Rebuild.
2478 * Makefile.in: Rebuild dependencies.
2479 (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
2480 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
2481 * testsuite/Makefile.in (really-check): New target.
2482 (check-pexecute, test-pexecute): New targets.
2483 * configure: Rebuild.
2484
93764b5b 24852005-03-28 Mark Kettenis <kettenis@gnu.org>
2b836651 2486
93764b5b
MK
2487 * unlink-if-ordinary.c: Include <sys/types.h>.
2488
93079c81
GDR
24892005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2490
2491 Convert libiberty to use ISO C prototype style 7/n.
2492 * regex.c (PARAMS): Remove definition.
2493 (PREFIX): Unconditionaly define using ISO C ## operator.
2b836651 2494 (init_syntax_once, extract_number, extract_number_and_incr,
93079c81 2495 print_fastmap, print_partial_compiled_pattern,
2b836651 2496 print_compiled_pattern, print_double_string, printchar,
93079c81
GDR
2497 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
2498 regex_compile, store_op1, store_op2, insert_op1, insert_op2,
2b836651
EZ
2499 at_begline_loc_p, at_endline_p, group_in_compile_stack,
2500 insert_space, wcs_compile_range, byte_compile_range,
2501 truncate_wchar, re_compile_fastmap, re_compile_fastmap,
2502 re_set_registers, re_search, re_search_2, re_search_3, re_match,
93079c81
GDR
2503 re_match_2, count_mbs_length, wcs_re_match_2_internal,
2504 byte_re_match_2_internal, group_match_null_string_p,
2505 alt_match_null_string_p, common_op_match_null_string_p,
2b836651 2506 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
93079c81
GDR
2507 regexec, regerror, regfree): Use ISO C prototype style.
2508 * partition.c: (elem_compare): Likewise.
2509 * cp-demangle.c (print_usage): Likewise.
2510
885f2199
GDR
25112005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2512
2513 Convert libiberty to use ISO C prototype style 5/n.
2514 * random.c (srandom, initstate, setstate, random): Use ISO C
2b836651 2515 prototypes.
885f2199
GDR
2516 * putenv.c (putenv): Likewise.
2517 * physmem.c (physmem_available, physmem_total, main): Likewise.
2518 * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
2519 * pex-unix.c (pexecute, pwait): Likewise.
2520 * pex-msdos.c (pexecute, pwait): Likewise.
2521 * pex-djgpp.c (pexecute, pwait): Likewise.
2b836651 2522 * partition.c (partition_new, partition_delete, partition_union)
885f2199 2523 (elem_compare, partition_print): Likewise.
2b836651
EZ
2524 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
2525 _obstack_allocated_p, _obstack_free, obstack_free,
885f2199
GDR
2526 _obstack_memory_used, print_and_abort, obstack_next_free,
2527 obstack_object_size, obstack_base): Likewise. Remove codes
2528 predicated on !defined(__STDC__).
2b836651 2529 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
885f2199
GDR
2530 objalloc_free_block): Use ISO C prototypes.
2531 * mkstemps.c (mkstemps): Likewise.
2532 * memset.c (memset): Likewise.
2533 * mempcpy.c (mempcpy): Likewise.
2534 * rename.c (rename): Likewise.
2535 * rindex.c (rindex): Likewise.
2536 * setenv.c (setenv, unsetenv): Likewise.
2537 * sigsetmask.c (sigsetmask): Likewise.
2538 * snprintf.c (snprintf): Likewise.
2b836651 2539 * sort.c (sort_pointers, xmalloc): Likewise.
885f2199 2540 * spaces.c (spaces): Likewise.
2b836651
EZ
2541 * splay-tree.c (splay_tree_delete_helper,
2542 splay_tree_splay_helper, splay_tree_splay,
885f2199 2543 splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
2b836651 2544 splay_tree_new, splay_tree_xmalloc_allocate,
885f2199 2545 splay_tree_new_with_allocator, splay_tree_delete,
2b836651
EZ
2546 splay_tree_insert, splay_tree_remove, splay_tree_lookup,
2547 splay_tree_max, splay_tree_min, splay_tree_predecessor,
2548 splay_tree_successor, splay_tree_foreach,
885f2199
GDR
2549 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
2550 * stpcpy.c (stpcpy): Likewise.
2551 * stpncpy.c (stpncpy): Likewise.
2552 * strcasecmp.c (strcasecmp): Likewise.
2553 * strchr.c (strchr): Likewise.
2554 * strdup.c (strdup): Likewise.
2555
7a17ef5e
GDR
25562005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2557
2558 Convert libiberty to use ISO C prototype style 6/n.
2b836651 2559 * strerror.c (init_error_tables, errno_max, strerror, strerrno,
7a17ef5e
GDR
2560 strtoerrno, main): Use ISO C prototype style.
2561 * strncasecmp.c (strncasecmp): Likewise.
2562 * strncmp.c (strncmp): Likewise.
2563 * strndup.c (strndup): Likewise.
2564 * strrchr.c (strrchr): Likewise.
2b836651 2565 * strsignal.c (init_signal_tables, signo_max, strsignal,
7a17ef5e
GDR
2566 strsigno, strtosigno, psignal, main): Likewise.
2567 * strstr.c (strstr): Likewise.
2568 * strtod.c (strtod, atof): Likewise.
2569 * strtol.c (strtol): Likewise.
2570 * strtoul.c (strtoul): Likewise.
2b836651 2571 * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
7a17ef5e
GDR
2572 ternary_recursivesearch): Likewise.
2573 * tmpnam.c (tmpnam): Likewise.
2574 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
2575 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
2576 * vfork.c (vfork): Likewise.
2577 * vfprintf.c (vfprintf): Likewise.
2578 * vprintf.c (vprintf): Likewise.
2579 * vsnprintf.c (vsnprintf, checkit, main): Likewise.
2580 * vsprintf.c (vsprintf): Likewise.
2581 * waitpid.c (waitpid): Likewise.
2582 * xatexit.c (xatexit, xatexit_cleanup): Likewise.
2583 * xexit.c (xexit): Likewise.
2b836651 2584 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
7a17ef5e
GDR
2585 xcalloc, xrealloc): Likewise.
2586 * xmemdup.c (xmemdup): Likewise.
2587 * xstrdup.c (xstrdup): Likewise.
2588 * xstrerror.c (xstrerror): Likewise.
2589 * xstrndup.c (xstrndup): Likewise.
2590
1134b11d
AJ
25912005-03-27 Andreas Jaeger <aj@suse.de>
2592
2593 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
2594 flags.
2595 * configure: Regenerated.
2596
e78410c1
GDR
25972005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2598
2599 * getopt1.c (getopt_long_only): Fix thinko.
2600
6da879de
GDR
26012005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2602
2603 Convert libiberty to use ISO C prototype style 4/n.
1134b11d
AJ
2604 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
2605 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
2606 htab_create_alloc, htab_set_functions_ex, htab_create,
2607 htab_try_create, htab_delete, htab_empty,
2608 find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
2609 htab_find, htab_find_slot_with_hash, htab_find_slot,
2610 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
2611 htab_traverse_noresize, htab_traverse, htab_collisions,
6da879de
GDR
2612 htab_hash_string, iterative_hash): Use ISO C prototype.
2613 * hex.c (hex_init): Likewise.
2614 * index.c (index): Likewise.
1134b11d 2615 * insque.c (insque, remque): Likewise.
6da879de
GDR
2616 * lbasename.c (lbasename): Likewise.
2617 * lrealpath.c (lrealpath): Likewise.
1134b11d 2618 * make-relative-prefix.c (save_string, split_directories,
6da879de 2619 free_split_directories, make_relative_prefix): Likewise.
1134b11d
AJ
2620 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
2621 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
6da879de
GDR
2622 md5_buffer, md5_process_bytes, md5_process_block): Likewise.
2623 * memchr.c (memchr): Likewise.
2624 * memcpy.c (memcpy): Likewise.
2625 * memmove.c (memmove): Likewise.
2626 * gettimeofday.c (gettimeofday): Likewise.
2627 * getruntime.c (get_run_time): Likewise.
2628 * getpwd.c (getpwd, getpwd): Likewise.
2629 * getpagesize.c (getpagesize): Likewise.
2630 * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
1134b11d 2631 * getopt.c (my_index, exchange, _getopt_initialize,
6da879de
GDR
2632 _getopt_internal, getopt, main): Likewise.
2633 * getcwd.c (getcwd): Likewise.
2634 * fnmatch.c (fnmatch): Likewise.
1134b11d
AJ
2635 * floatformat.c (floatformat_always_valid,
2636 floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
2637 put_field, floatformat_from_double, floatformat_is_valid,
6da879de 2638 ieee_test, main): Likewise.
1134b11d
AJ
2639 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
2640 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
2641 fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
2642 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
2643 fibheap_delete, fibheap_empty, fibheap_extr_min_node,
2644 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
2645 fibheap_link, fibheap_cut, fibheap_cascading_cut,
6da879de
GDR
2646 fibnode_insert_after, fibnode_remove): Likewise.
2647 * ffs.c (ffs): Likewise.
2648 * fdmatch.c (fdmatch): Likewise.
1134b11d
AJ
2649 * dyn-string.c (dyn_string_init, dyn_string_new,
2650 dyn_string_delete, dyn_string_release, dyn_string_resize,
2651 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
2652 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
2653 dyn_string_insert_cstr, dyn_string_insert_char,
2654 dyn_string_append, dyn_string_append_cstr,
6da879de 2655 dyn_string_append_char, dyn_string_substring, dyn_string_eq):
1134b11d 2656 Likewise.
6da879de 2657
500d7701
GDR
26582005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
2659
2660 Convert libiberty to use ISO C prototype style 3/n.
1134b11d
AJ
2661 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
2662 consume_count_with_underscores, code_for_qualifier,
2663 qualifier_string, demangle_qualifier, cplus_demangle_opname,
2664 cplus_mangle_opname, cplus_demangle_set_style,
2665 cplus_demangle_name_to_style, cplus_demangle, grow_vect,
500d7701 2666 ada_demangle, internal_cplus_demangle, squangle_mop_up,
1134b11d
AJ
2667 work_stuff_copy_to_from, delete_non_B_K_work_stuff,
2668 delete_work_stuff, mop_up, demangle_signature,
2669 demangle_method_args, demangle_template_template_parm,
2670 demangle_expression, demangle_integral_value,
2671 demangle_real_value, demangle_template_value_parm,
2672 demangle_template, arm_pt, demangle_arm_hp_template,
2673 demangle_class_name, demangle_class, iterate_demangle_function,
2674 demangle_prefix, gnu_special, recursively_demangle, arm_special,
2675 demangle_qualified, get_count, do_type, demangle_fund_type,
2676 do_hpacc_template_const_value, do_hpacc_template_literal,
2677 snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
2678 register_Btype, remember_Btype, forget_B_and_K_types,
2679 forget_types, demangle_args, demangle_nested_args,
2680 demangle_function_name, string_need, string_delete, string_init,
2681 string_clear, string_empty, string_append, string_appends,
500d7701
GDR
2682 string_appendn, string_prepend, string_prepends, string_prependn,
2683 string_append_template_idx): Use ISO C prootype style.
2684 * cp-demint.c (cplus_demangle_fill_component,
1134b11d 2685 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
500d7701
GDR
2686 cplus_demangle_v3_components): Likewise.
2687
9486db4f
GDR
26882005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
2689
2690 Convert libiberty to use ISO C prototype style 2/n.
2691 * cp-demangle.h: Remove uses of PARAMS.
2692 * cp-demangle.c: Likewise.
1134b11d
AJ
2693 (d_dump, cplus_demangle_fill_name,
2694 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
2695 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
2696 d_make_builtin_type, d_make_operator, d_make_extended_operator,
2697 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
2698 cplus_demangle_mangled_name, has_return_type,
2699 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
2700 d_prefix, d_unqualified_name, d_source_name, d_number,
2701 d_identifier, d_operator_name, d_special_name, d_call_offset,
2702 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
2703 d_function_type, d_bare_function_type, d_class_enum_type,
2704 d_array_type, d_pointer_to_member_type, d_template_param,
2705 d_template_args, d_template_arg, d_expression, d_expr_primary,
2706 d_local_name, d_discriminator, d_add_substitution,
2707 d_substitution, d_print_resize, d_print_append_char,
2708 d_print_append_buffer, d_print_error, cplus_demangle_print,
2709 d_print_comp, d_print_java_identifier, d_print_mod_list,
2710 d_print_mod, d_print_function_type, d_print_array_type,
2711 d_print_expr_op, d_print_cast, cplus_demangle_init_info,
2712 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
9486db4f 2713 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
1134b11d 2714 print_usage, main):
9486db4f
GDR
2715
27162005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
2717
2718 Convert libiberty to ISO C prototype style 1/n.
2719 * _doprnt.c: Remove conditional #include <varargs.h> on
2720 ANSI_PROTOTYPES as the latter is always assumed.
2721 (_doprnt, checkit, main): Use ISO C prototype.
2722 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
2723 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
1134b11d 2724 (dupargv, freeargv, buildargv, main): Use ISO C prototype.
9486db4f
GDR
2725 * atexit.c (atexit): Likewise
2726 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
1134b11d 2727 (asprintf): Use ISO C prototype.
9486db4f
GDR
2728 * basename.c (basename): Likewise
2729 * bcmp.c (bcmp): Likewise.
2730 * bcopy.c (bcopy): Likewise.
2731 * bzero.c (bzero): Likewise.
2732 * bsearch.c (bsearch): Likewise. Improve const-correctness.
2733 * choose-temp.c (choose_temp_base): Likewise.
2734 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
2735 (calloc): Use ISO C prototype.
2736 * clock.c (clock): Likewise.
2737 * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
1134b11d 2738 (vconcat_length, vconcat_copy, concat_length, concat_copy,
9486db4f
GDR
2739 concat_copy2, concat, reconcat, main): Use ISO C prototype.
2740 * copysign.c (copysign): Likewise.
2741
17998b22
KG
27422005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2743
2744 * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
2745 (REQUIRED_OFILES): Add xstrndup.o.
2746 (CONFIGURED_OFILES): Add strndup.o.
2747 Regenerate dependencies.
2748
2749 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
2750
2751 * strndup.c, xstrndup.c: New.
2752
2753 * config.in, configure, functions.texi: Regenerate.
2754
bb99744f
KG
27552005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2756
2757 * xmemdup.c, xstrdup.c: Expose the tail call.
2758
17049f0b
MM
27592005-03-09 Mark Mitchell <mark@codesourcery.com>
2760
2761 * configure.ac (funcs): Add gettimeofday.
2762 * configure: Regenerated.
2763 * gettimeofday.c: New file.
2764 * Makefile.in (CFILES): Add gettimeofday.
2765 (CONFIGURED_OFILES): Add gettimeofday.o.
2766 (./gettimeofday.o): New rule.
2767
6af8bd50
ILT
27682005-03-09 Ian Lance Taylor <ian@airs.com>
2769
2770 * pex-os2.c: Remove.
2771 * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
2772 * Makefile.in (CFILES): Remove pex-os2.c.
2773 (CONFIGURED_OFILES): Remove pex-os2.o.
2774 (pex-os2.o): Remove target.
2775 * configure: Rebuild.
2776
c80d391c
ILT
27772005-03-07 Ian Lance Taylor <ian@airs.com>
2778
2779 * mpw-config.in: Remove.
2780 * mpw-make.sed: Remove.
2781 * mpw.c: Remove.
2782 * Makefile.in (CFILES): Remove pex-mpw.c.
2783 (CONFIGURED_OFILES): Remove pex-mpw.o.
2784 (mpw.o, pex-mpw.o): Remove targets.
2785 * maint-tool (undoc): Remove reference to mpw.c.
2786
fe8ee922
DD
27872005-03-06 DJ Delorie <dj@redhat.com>
2788
2789 * configure.ac (target_header_dir): vfork is a stub under djgpp.
2790 * configure: Regenerated.
2791
c363985d
JB
27922005-03-01 Jan Beulich <jbeulich@novell.com>
2793
2794 * Makefile.in (CFILES): Add unlink-if-ordinary.c
2795 (REQUIRED_OFILES): Add unlink-if-ordinary.o.
2796 Add dependencies and rule for unlink-if-ordinary.o.
2797 * unlink-if-ordinary.c: New.
2798
6a88516c
BE
27992005-03-01 Ben Elliston <bje@au.ibm.com>
2800
2801 * hashtab.c (htab_find_slot_with_hash): Make function
2802 documentation clearer.
2803
b8b3c655
JM
28042005-02-13 Jason Merrill <jason@redhat.com>
2805
2806 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
2807 arguments.
2808
e8805990
TS
28092005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
2810
2811 * hex.c (hex_value): Group 'unsigned int' together to get correct
2812 markup.
2813 * functions.texi: Regenerated.
1134b11d 2814
24f2cabb
L
28152004-12-27 H.J. Lu <hongjiu.lu@intel.com>
2816
2817 * Makefile.in: Undo to 2004-12-17.
2818 * aclocal.m4: Likewise.
2819 * config.table: Likewise.
2820 * configure.ac: Likewise.
2821 * maint-tool: Likewise.
2822 * configure: Likewise.
2823
3d815594
L
28242004-12-19 H.J. Lu <hongjiu.lu@intel.com>
2825
2826 PR bootstrap/19072
2827 * Makefile.in (enable_shared): New substitute.
2828 (LTTARGETLIB): New.
2829 (PREFIXTARGETLIB): New.
2830 (LTTESTLIB): New.
2831 (PREFIXTESTLIB): New.
2832 (CCLD): New.
2833 (LINK): New.
2834 ($(TARGETLIB)): Use $(LINK) to create libraries and create
2835 targets by hand.
2836 ($(TESTLIB)): Likewise.
2837 (mostlyclean): Don't remove .libs. Remove the libtool object
2838 directory.
2839
2840 * config.table (enable_shared): Removed.
2841
2842 * configure.ac (enable_static): Set to yes.
2843 (AC_PROG_LIBTOOL): Removed.
2844 (AM_DISABLE_SHARED): Uncommented.
2845 (AM_PROG_LIBTOOL): Likewise.
2846 (LIBOBJS): Add `./' to avoid VPATH.
2847 (LTLIBOBJS): Likewise.
2848 (enable_shared): Substitute.
2849 * configure: Regenerated.
2850
207db768
L
28512004-12-18 H.J. Lu <hongjiu.lu@intel.com>
2852
2853 * Makefile.in (top_builddir): Set to `.'.
2854 (OUTPUT_OPTION): Removed.
2855 (LIBTOOL): New.
2856 (LTLIBOBJS): New.
2857 (EXTRA_LTOFILES): New.
2858 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
2859 (all): Remove stamp-picdir.
2860 (LTCOMPILE): New.
2861 (.c.lo): New rule.
2862 (REQUIRED_LTOFILES): New.
2863 (CONFIGURED_LTOFILES): New.
2864 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
2865 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
2866 (stamp-picdir): Completely removed.
2867 (maint-missing): Pass $(REQUIRED_LTOFILES)
2868 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
2869 $(CONFIGURED_OFILES)
2870 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
2871 $(CONFIGURED_LTOFILES).
2872 (mostlyclean): Also remove *.lo .libs.
2873 Run "make maint-deps".
2874
2875 * aclocal.m4: Include ../libtool.m4.
2876
2877 * config.table: Don't check --enable-shared.
2878
2879 * configure.ac (AC_PROG_LIBTOOL): Add.
2880 (AC_PROG_CC_C_O): Removed.
2881 (OUTPUT_OPTION): Removed.
2882 (NO_MINUS_C_MINUS_O): Removed.
2883 (ltpexecute): New substitute.
2884 (LIBOBJS): Cleanup.
2885 * configure: Regenerated.
2886
2887 * maint-tool: Updated for .lo/libtool.
2888
d49d0907
BE
28892004-12-11 Ben Elliston <bje@au.ibm.com>
2890
2891 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
2892 * configure: Regenerate.
2893 * config.in: Likewise.
2894
b180d5fb
DD
28952004-12-07 DJ Delorie <dj@redhat.com>
2896
2897 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
2898 that recursion (and thus large stack space) is not needed.
2899
ecc30353
MK
29002004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
2901
2902 * pex-unix.c: Fix the spelling of longjmp.
2903
0b167d51
ILT
29042004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
2905
2906 PR other/18623
2907 * cp-demangle.c (d_call_offset): Remove useless local variables
2908 offset and virtual_offset.
2909 * cplus-dem.c (ada_demangle): Remove useless local variable
2910 at_start_name.
2911 (demangle_template): Remove useless local variable start.
2912
2d59754f
RS
29132004-11-19 Roger Sayle <roger@eyesopen.com>
2914
2915 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
2916 "ansidecl.h" to avoid redeclaration errors with native compilers.
2917 * regex.c: Protect config.h from multiple inclusion.
2918
ea27a394
MS
29192004-11-12 Mike Stump <mrs@apple.com>
2920
610784f0
MS
2921 * Makefile.in (libiberty.html): Fix html generation.
2922
626ff3de
AN
29232004-09-08 Adam Nemet <anemet@lnxw.com>
2924
2925 * vasprintf.c: Accept __va_copy in addition to va_copy.
2926
1134b11d 29272004-09-03 Paolo Bonzini <bonzini@gnu.org>
7b3ed47d
PB
2928
2929 * configure: Regenerate.
2930
1134b11d 29312004-09-02 Paolo Bonzini <bonzini@gnu.org>
27cfe310
PB
2932
2933 * configure.ac: Do not enable multilibs for build-side libiberty.
2934
1134b11d 29352004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
50a2de96
DS
2936
2937 * lrealpath.c (lrealpath): Add _WIN32 support.
2938
0cf61401
ZW
29392004-06-28 Zack Weinberg <zack@codesourcery.com>
2940
2941 * cp-demangle.h: Declare cplus_demangle_operators,
2942 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
2943 cplus_demangle_type as static if IN_GLIBCPP_V3.
2944
00a5aa9c
ILT
29452004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
2946
2947 PR other/16240
2948 * cp-demangle.c (d_expr_primary): Check for a failure return from
2949 cplus_demangle_type.
5cd29062 2950 * testsuite/demangle-expected: Add test case.
00a5aa9c 2951
b47785f4
DS
29522004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
2953
2954 * pex-win32.c (fix_argv): Expand comment.
2955
54b2f310
DJ
29562004-05-25 Daniel Jacobowitz <drow@false.org>
2957
2958 * Makefile.in: Add .NOEXPORT.
2959
8fd58397
DR
29602004-04-29 Douglas B Rupp <rupp@gnat.com>
2961
2962 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
2963 copyright.
2964
6489430a
MR
29652004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2966
2967 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
2968 * configure: Regenerate.
2969
9bf3c9cc
RH
29702004-04-22 Richard Henderson <rth@redhat.com>
2971
2972 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
2973 (CHAR_BIT): Provide default.
2974 (struct prime_ent, prime_tab): New.
2975 (higher_prime_index): Rename from higher_prime_number, return index.
2976 (htab_mod_1): New.
2977 (htab_mod, htab_mod_m2): Use it.
2978 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
2979 (htab_expand): Likewise.
2980 * configure.ac: Check for stdint.h.
2981 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
2982 * config.in, configure: Rebuild.
2983
80790b05
ILT
29842004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
2985
2986 * strerror.c: Include config.h, and redefine sys_nerr and
2987 sys_errlist, before including ansidecl.h and libiberty.h.
2988
7f96816a
JL
29892004-04-13 Jeff Law <law@redhat.com>
2990
2991 * hashtab.c (htab_remove_elt_with_hash): New function.
2992 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
2993
d9175b87
RH
29942004-03-31 Richard Henderson <rth@redhat.com>
2995
2996 * hashtab.c (htab_size): Move to top of file; mark inline.
2997 (htab_elements): Likewise.
2998 (htab_mod, htab_mod_m2): New.
2999 (htab_delete): Refactor htab->size and htab->entries.
3000 (htab_empty): Likewise.
3001 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
3002 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
3003 (htab_clear_slot): Use htab_size, htab_elements.
3004 (htab_traverse_noresize, htab_traverse): Likewise.
3005
e8190aa2
ILT
30062004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
3007
fed8129b
ILT
3008 * pex-unix.c (pexecute): Use vfork instead of fork, with
3009 appropriate changes to make this safe.
3010 * pex-common.h (STDERR_FILE_NO): Define.
3011
e8190aa2
ILT
3012 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
3013 an 80 column screen. Run maint-deps.
3014
a4f74b58
KC
30152004-03-09 Kelley Cook <kcook@gcc.gnu.org>
3016
3017 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
3018 * acconfig.h: Delete redundant file.
3019 * config.in: Regenerate.
3020 * configure: Regenerate.
3021
3beb1315
HPN
30222004-03-09 Hans-Peter Nilsson <hp@axis.com>
3023
3024 * configure: Regenerate for config/accross.m4 correction.
3025
688556b9
AJ
30262004-03-07 Andreas Jaeger <aj@suse.de>
3027
3028 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
3029 prototypes.
3030 (main): Initialize style.
3031
80a19ac8
ILT
30322004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
3033
31058ee3
ILT
3034 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
3035 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
3036 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
3037 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
3038 short types to D_PRINT_DEFAULT. Change other integer types to use
3039 new D_PRINT_* values where appropriate. Change float types to
3040 D_PRINT_FLOAT.
3041 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
3042 values.
3043 * testsuite/demangle-expected: Adjust two test cases.
3044
3045 * cp-demangle.c (d_print_function_type): Print a space before the
3046 parenthesis around the function type in more cases.
3047 * testsuite/demangle-expected: Adjust one test case.
3048
93f20626
ILT
3049 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
3050 parentheses around a cast.
3051 * testsuite/demangle-expected: Adjust two test cases to match new
3052 output.
3053
dbd6ec2b
ILT
3054 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
3055
80a19ac8
ILT
3056 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
3057 push more than one of the same CV-qualifier on the top of the
3058 stack.
3059 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
3060 move the CV-qualifiers to apply to the element type instead.
3061 (d_print_array_type): When checking the modifiers, keep looking
3062 past ones which have been printed already.
3063 * testsuite/demangle-expected: Add three test cases.
3064
8ad1c80e
ILT
30652004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
3066
e8ed4ac2
ILT
3067 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
3068 empty string correctly.
3069
4a368ffd
ILT
3070 * cp-demangle.c (__cxa_demangle): It is not an error if status is
3071 not NULL. It is an error if the mangled name is the same as a
3072 built-in type name.
3073 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
3074 than cplus_demangle_v3.
3075
8ad1c80e
ILT
3076 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
3077 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
3078
ef2a223f
MK
30792004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
3080
3081 * regex.c: Include <ansidecl.h>.
3082 (regcomp): Cast i to int.
3083 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
3084
5254fd7b
ILT
30852004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
3086
3087 * configure.ac: Add m4_pattern_allow(LIBOBJS).
3088 * configure: Regenerate.
3089
398b3deb
DD
30902004-01-22 DJ Delorie <dj@redhat.com>
3091
3092 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
3093 with explicit build rules.
3094 (VPATH): Remove.
3095 (.c.o): Poison.
3096 * configure.ac (pexecute, LIBOBJS): Add ./ .
3097 * maint-tool: Build dependencies with explicit rules.
3098
4e394293
KH
30992004-01-15 Kazu Hirata <kazu@cs.umass.edu>
3100
3101 * strdup.c (strdup): Constify the argument.
3102
0046e342
LR
31032004-01-14 Loren J. Rittle <ljrittle@acm.org>
3104
3105 * Makefile.in (distclean): Remove config.cache.
3106
d4f3ce5c
DJ
31072004-01-13 Daniel Jacobowitz <drow@mvista.com>
3108
3109 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
3110 takes two parameters.
3111 * cp-demint.c (cplus_demangle_fill_component): Likewise.
3112
5e777af5
ILT
31132004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
3114
3115 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
3116 defined, rename some functions which are to become static via
3117 #define.
3118 (CP_STATIC_IF_GLIBCPP_V3): Define.
3119 (struct d_operator_info): Move definition to cp-demangle.h, and
3120 rename to demangle_operator_info. Change all uses.
3121 (enum d_builtin_type_print): Move definition to cp-demangle.h.
3122 (struct d_builtin_type_info): Move definition to cp-demangle.h,
3123 and rename to demangle_builtin_type_info. Change all uses.
3124 (enum d_comp_type): Move definition to include/demangle.h, and
3125 rename to demangle_component_type, and change all enums to start
3126 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
3127 (struct d_comp): Move definition to include/demangle.h, and rename
3128 to demangle_component. Change all uses.
3129 (struct d_info): Move definition to cp-demangle.h.
3130 (cplus_demangle_fill_name): New function.
3131 (cplus_demangle_fill_extended_operator): New function.
3132 (cplus_demangle_fill_ctor): New function.
3133 (cplus_demangle_fill_dtor): New function.
3134 (d_make_empty): Remove type parameter. Change all callers.
3135 (d_make_name): Use cplus_demangle_fill_name.
3136 (d_make_extended_operator): Use
3137 cplus_demangle_fill_extended_operator.
3138 (d_make_ctor): Use cplus_demangle_fill_ctor.
3139 (d_make_dtor): Use cplus_demangle_fill_dtor.
3140 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
3141 non-static by default. Change all callers.
3142 (cplus_demangle_operators): Rename from d_operators. Change all
3143 uses. Make non-static by default. Add sentinel at end of array.
3144 (d_operator_name): Adjust initialization of high for new sentinel
3145 in cplus_demangle_operators.
3146 (cplus_demangle_builtin_types): Rename from d_builtin_types.
3147 Change all uses. Make non-static by default. Change initializer
3148 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
3149 (cplus_demangle_type): Rename from d_type. Make non-static by
3150 default. Change all callers.
3151 (cplus_demangle_init_info): Rename from d_init_info. Make
3152 non-static by default. Change all callers.
3153 * cp-demangle.h: New file.
3154 * cp-demint.c: New file.
3155 * Makefile.in: Rebuild dependencies.
3156 (CFILES): Add cp-demint.c.
3157 (REQUIRED_OFILES): Add cp-demint.o.
3158
c31d56ed
KC
31592004-01-09 Kelley Cook <kcook@gcc.gnu.org>
3160
3161 * configure.in: Rename file to ...
3162 * configure.ac: ... this.
3163 * Makefile.in: Update a comment for above change.
3164 * README: Likewise.
3165 * config.in: Regenerate.
3166
e4796f1c
ILT
31672004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
3168
3169 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
3170 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
3171 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
3172 demangling template parameters.
3173 * testsuite/test-demangle.c (fail): New static function.
3174 (main): Support new options in input file: --no-params,
3175 --is-v3-ctor, and --is-v3-dtor.
3176 * testsuite/demangle-expected: Add --no-params to most tests, and
3177 add the correct result when parameters are not demangled. Add
3178 some simple tests for V3 constructor/destructor recognition.
3179
4d425229
KG
31802003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3181
3182 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
3183
6b309c6e
DJ
31842003-12-22 Daniel Jacobowitz <drow@mvista.com>
3185
3186 PR debug/13272
3187 * Makefile.in (lbasename.o): Depend on filenames.h.
3188 * lbasename.c: Include "filenames.h" instead of defining
3189 its macros locally.
3190
2d6c4025
ILT
31912003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
3192
3193 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
3194 dynamic arrays.
3195 (struct d_operator_info): Add len field.
3196 (struct d_builtin_type_info): Add len and java_len fields.
3197 (struct d_standard_sub_info): Add simple_len, full_len, and
3198 set_last_name_len fields.
3199 (struct d_comp): Add len field to s_string.
3200 (struct d_info): Add send, did_subs, and expansion fields.
3201 (d_append_string_constant): Define.
3202 (d_append_string): Remove. Change all users to use
3203 d_append_string_constant or d_append_buffer instead.
3204 (d_make_sub): Add len parameter. Change all callers.
3205 (d_name): Increase expansion when substituting std::.
3206 (d_unqualified_name): Increase expansion for an operator.
3207 (d_number): Don't use multiplication for negative numbers.
3208 (d_identifier): Make sure there are enough characters in the
3209 string for the specified length. Adjust expansion for an
3210 anonymous namespace.
3211 (d_operators): Initialize len field.
3212 (d_special_name, d_ctor_dtor_name): Increase expansion.
3213 (d_builtin_types): Initialize len and java_len fields.
3214 (d_type): Increase expansion for a builtin type.
3215 (d_cv_qualifiers): Increase expansion for each qualifier.
3216 (d_bare_function_type): Decrease expansion when removing single
3217 void parameter.
3218 (d_template_param): Increment did_subs.
3219 (d_expression): Increase expansion for an operator.
3220 (d_expr_primary): Decrease expansion for a type we will print
3221 specially.
3222 (standard_subs): Initialize new fields.
3223 (d_substitution): Increment did_subs when doing a normal
3224 substitution. Increase expansion for a special substitution.
3225 (d_print): Add estimate parameter. Change all callers.
3226 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
3227 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
3228 (d_print_java_identifier): Rename from d_print_identifier. Handle
3229 only Java case. Change caller.
3230 (d_init_info): Change return type to void. Change all callers.
3231 Initialize send, did_subs, and expansion fields. Do not
3232 initialize comps and subs fields.
3233 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
3234 arrays on stack. Make an estimate of the length of the demangled
3235 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
3236 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
3237 subs arrays on stack.
3238
2307e075
ILT
32392003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
3240
3241 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
3242 after the identifier.
3243 * testsuite/demangle-expected: Add test case.
3244
a91d1af0
ILT
32452003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
3246
3247 Fix for PR c++/13447:
3248 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
3249 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
3250 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
3251 D_COMP_QUAL_NAME.
3252 (is_ctor_or_dtor): Likewise.
3253 (d_local_name): Use D_COMP_LOCAL_NAME rather than
3254 D_COMP_QUAL_NAME.
3255 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
3256 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
3257 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
3258 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
3259 * testsuite/demangle-expected: Add two test cases.
3260
3261 * cp-demangle.c (d_print_function_type): Clear the global modifier
3262 list when printing the modifiers, not just when printing the
3263 function parameters.
3264 * testsuite/demangle-expected: Add two test cases.
3265
8d686df2
ILT
32662003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
3267
cbc278f4
ILT
3268 * cp-demangle.c (d_print_function_type): Print the function
3269 parameters with no modifiers.
3270 * testsuite/demangle-expected: Add test case.
3271
8d686df2
ILT
3272 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
3273 expect that we've read the entire string.
3274 (is_ctor_or_dtor): Don't expect that we've read the entire
3275 string--reverse patch of 2003-11-29.
3276
adf269c7
BK
32772003-12-15 Brendan Kehoe <brendan@zen.org>
3278
3279 * libiberty/Makefile.in (floatformat.o): Add dependency on
3280 config.h to accompany change of 2003-12-03.
3281
374caa50
ILT
32822003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
3283
3284 Fix handling of constructor/destructor of standard substitution:
3285 * cp-demangle.c (struct d_standard_sub_info): Define.
3286 (d_substitution): Add prefix argument. Change all callers.
3287 Rework handling of standard substitutions to print full name when
3288 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
3289 * testsuite/demangle-expected: Add test case.
3290
3291 Fix handling of negative literal constants:
3292 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
3293 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
3294 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
3295 (d_print_comp): Handle D_COMP_LITERAL_NEG.
3296 * testsuite/demangle-expected: Add test case.
3297
a51753e4
ILT
32982003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
3299
3300 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
3301 (d_last_char): Define new macro.
3302 (d_make_name): Reject an empty name.
3303 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
3304 (d_substitution, d_print_identifier): Likewise.
3305 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
3306 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
3307 (d_print_mod) Use new d_last_char macro.
3308 (d_print_cast): Use new d_last_char macro.
3309 (is_ctor_or_dtor): Don't leak memory.
3310
3311 Fix handling of member function modifiers:
3312 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
3313 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
3314 (d_dump): Dump new d_comp_type values.
3315 (d_make_comp): Accept new d_comp_type values.
3316 (has_return_type): Only accept _THIS variants of qualifiers.
3317 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
3318 qualifiers.
3319 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
3320 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
3321 qualifiers and printing them at the end, add _THIS qualifiers to
3322 the modifier list.
3323 (d_print_comp) [D_COMP_*_THIS]: New cases.
3324 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
3325 qualifiers.
3326 (d_print_mod_list): Add suffix parameter. Change all callers.
3327 Keep walking the list even if the current modifier has been
3328 printed.
3329 (d_print_mod): Handle new _THIS qualifiers.
3330 (d_print_function_type): Handle new _THIS qualifiers when deciding
3331 whether to print a parenthesis. Put a space before the
3332 parenthesis in some cases. Call d_print_mod_list again at the
3333 end, passing suffix as 1.
3334 (is_ctor_or_dtor): Look for new _THIS qualifiers.
3335 * testsuite/demangle-expected: Add test case.
3336
3337 Fix for PR gcc/13304:
3338 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
3339 before the '<' is itself a '<', insert a space.
3340 (d_print_cast): Likewise.
3341 * testsuite/demangle-expected: Add test case.
3342
3343 Fix for PR gcc/13244:
3344 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
3345 which uses the '>' operator in an extra layer of parens.
3346 * testsuite/demangle-expected: Add test case.
3347
bee6ab3e
ILT
33482003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
3349
3350 * floatformat.c: Include "config.h" and <string.h> if available.
3351 (INFINITY, NAN): Define if not defined by <math.h>.
3352 (floatformat_to_double): Handle NaN, infinity, and denormalized
3353 numbers.
3354 (floatformat_from_double): Likewise.
3355 (ieee_test): In debugging code, use little endian rather than big
3356 endian. Correct tests to handle NaN and to check correct sign of
3357 zero. Omit m68k extended test.
3358 (main): Add more debugging cases.
3359
f26deb3d
ILT
33602003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
3361
3362 * cp-demangle.c (d_demangle): Only return success if we consumed
3363 the entire demangled string.
3364 (is_ctor_or_dtor): Likewise.
3365
3366 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
3367 to restore expected result of EDG test case to original expected
3368 result.
3369
81dc098b
ILT
33702003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
3371
3372 * cp-demangle.c (struct d_print_mod): Add templates field.
3373 (d_make_builtin_type): Check for NULL type.
3374 (d_make_extended_operator): Check for NULL name.
3375 (d_make_ctor, d_make_dtor): Likewise.
3376 (d_mangled_name): Add top_level parameter. Change all callers.
3377 (d_encoding): If DMGL_PARAMS is not set, strip off initial
3378 CV-qualifiers.
3379 (d_type): Check some return values we rely on.
3380 (d_bare_function_type, d_array_type): Likewise.
3381 (d_pointer_to_member_type, d_template_args): Likewise.
3382 (d_add_substitution): Fail if argument is NULL.
3383 (d_print_resize): Check whether buf is NULL.
3384 (d_print_comp): Save current templates list with each modifier.
3385 Don't pass the modifier list down when printing a template.
3386 (d_print_cast): Don't pass the modifier list down when printing a
3387 template.
3388 (d_print_mod_list): Temporarily set templates list while printing
3389 a modifier.
3390 (d_print_mod): Check that buf is not NULL before using it.
3391 (d_print_function_type): Print parens if there is no modifier.
3392 (d_init_info): Permit as many substitutions as there are
3393 characters in the mangled name.
3394 * testsuite/demangle-expected: Add two new test cases.
3395
eb459c81
ILT
33962003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
3397
3398 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
3399 d_demangle.
3400
ad07f5e5
ILT
34012003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
3402
3403 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
3404 callers.
3405 (print_usage): Display new -p option.
3406 (long_options): Add --no-params.
3407 (main): Accept and handle -p.
3408
0ba5c8a2
ILT
34092003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
3410
3411 * cp-demangle.c (has_return_type): Skip qualifiers when checking
3412 whether we have a template.
3413 * testsuite/demangle-expected: Add four new tests.
3414
bd6946d1
ILT
34152003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
3416
9cca376f
ILT
3417 * testsuite/demangle-expected: Minor changes to match output of
3418 new demangler: adjust whitespace in four tests, and change order
3419 of qualifiers in one test.
3420
bd6946d1
ILT
3421 * cp-demangle.c: Complete rewrite.
3422
6df5a5c7
MM
34232003-11-19 Mark Mitchell <mark@codesourcery.com>
3424
3425 * cp-demangle.c (demangle_type): Correct thinko in substitution
3426 processing.
3427
a9b571f2
ILT
34282003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
3429
820555e6
ILT
3430 * cp-demangle.c (demangle_operator_name): Remove space before
3431 "sizeof".
3432 (demangle_type_ptr): Put qualifiers in the right place. Handle
3433 qualifiers in pointer to member specially.
3434 (demangle_type): Handle qualifiers for pointer or reference
3435 specially. Handle function type.
3436 (demangle_local_name): Save and restore caret around demangling of
3437 initial encoding.
3438
c4328d32
ILT
3439 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
3440 cplus_demangle.
3441
a9b571f2
ILT
3442 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
3443
ad37274a
AJ
34442003-10-31 Andreas Jaeger <aj@suse.de>
3445
3446 * floatformat.c (floatformat_always_valid): Add unused attribute.
3447
27eb8ab1
JZ
34482003-10-30 Josef Zlomek <zlomekj@suse.cz>
3449
3450 Jan Hubicka <jh@suse.cz>
3451 * vasprintf.c (int_vasprintf): Pass va_list by value.
3452 Use va_copy for copying va_list.
3453 (vasprintf): Pass va_list by value.
3454
e0432c1c
JZ
34552003-10-30 Josef Zlomek <zlomekj@suse.cz>
3456
3457 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
3458 instead of increasing n_elements when inserting to deleted slot.
3459
08c5b96d
B
34602003-10-20 J. Brobecker <brobecker@gnat.com>
3461
3462 * cplus-dem.c (demangle_template): Register a new Btype only
3463 when needed.
3464 * testsuite/demangle-expected: Add a new test.
3465
968e3f93
L
34662003-10-16 H.J. Lu <hongjiu.lu@intel.com>
3467
3468 * testsuite/demangle-expected: Update the expected output of
3469 _GLOBAL__I__Z2fnv.
3470
bca48dc6
DJ
34712003-10-02 Daniel Jacobowitz <drow@mvista.com>
3472
3473 * strerror.c: Revert last change. Declare static sys_nerr
3474 and sys_errlist using different names.
3475
b9e8f4b3
DJ
34762003-10-01 Daniel Jacobowitz <drow@mvista.com>
3477
3478 * strerror.c: Don't provide or reference sys_errlist if
3479 strerror is available.
3480
c0590bfd
L
34812003-10-01 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 * configure.in: Check if $MAKEINFO is missing.
3484 * configure: Regenerated.
3485
b033df90
DJ
34862003-09-24 Daniel Jacobowitz <drow@mvista.com>
3487
3488 * configure.in: Use AC_PROG_CPP_WERROR.
3489 * configure: Regenerated.
3490
83c07342
AC
34912003-09-22 Andrew Cagney <cagney@redhat.com>
3492
3493 * floatformat.c (floatformat_i387_ext_is_valid): New function.
3494 (floatformat_always_valid): New function.
3495 (floatformat_i387_ext): Initialize new "is_valid" field to
3496 "floatformat_i387_ext_is_valid".
3497 (floatformat_ieee_single_little): Initialize "is_valid" field to
3498 floatformat_always_valid.
3499 (floatformat_ieee_double_big): Ditto.
3500 (floatformat_ieee_double_little): Ditto.
3501 (floatformat_ieee_double_little): Ditto.
3502 (floatformat_ieee_double_littlebyte_bigword): Ditto.
3503 (floatformat_i960_ext): Ditto.
3504 (floatformat_m88110_ext): Ditto.
3505 (floatformat_m88110_harris_ext): Ditto.
3506 (floatformat_arm_ext_big): Ditto.
3507 (floatformat_arm_ext_littlebyte_bigword): Ditto.
3508 (floatformat_ia64_spill_big): Ditto.
3509 (floatformat_ia64_spill_little): Ditto.
3510 (floatformat_ia64_quad_big): Ditto.
3511 (floatformat_ia64_quad_little): Ditto.
3512 (floatformat_ia64_quad_little): Ditto.
3513 (floatformat_is_valid): Call "is_valid".
3514
c9fbef12
AC
35152003-09-15 Andrew Cagney <cagney@redhat.com>
3516
3517 * floatformat.c (get_field): Make "data" constant.
3518 (floatformat_is_valid, floatformat_to_double): Make "from"
3519 constant, fix casts.
3520 (floatformat_from_double): Make "from" constant.
3521
9c8860c3
DJ
35222003-09-15 Daniel Jacobowitz <drow@mvista.com>
3523
3524 * floatformat.c (floatformat_is_valid): New function.
3525 (get_field, put_field): Correct comments.
3526
13f7d3a1
JZ
35272003-09-06 Josef Zlomek <zlomekj@suse.cz>
3528
3529 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
3530 FIBHEAPKEY_T.
3531
03eec143 35322003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
86d75906
JDA
3533
3534 PR bootstrap/12100
3535 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
3536 * configure: Rebuilt.
3537
238235ef
DJ
35382003-08-27 Daniel Jacobowitz <drow@mvista.com>
3539
3540 * aclocal.m4: Include acx.m4 and no-executables.m4.
3541 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
3542 (LIB_AC_PROG_CC): Remove.
3543 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
3544 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
3545 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
3546 performing link tests.
3547 * configure: Regenerated.
3548
2b81b2c9
NN
35492003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
3550
0cf61401 3551 * cp-demangle.c: Clarify what package(s) this is part of.
2b81b2c9 3552
7b96f3e4
DS
35532003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
3554
3555 * pex-win32.c (pexecute): Mark parameters this_pname and
3556 temp_base as unused. Remove unused variables retries,
3557 sleep_interval. Initialize org_stdin, org_stdout.
3558 (pwait): Mark parameter flags as unused.
3559
35602003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
bacb96b2
DS
3561
3562 * pex-win32.c (fix_argv): Ensure that the executable pathname
3563 uses Win32 backslashes.
3564 (pexecute): Cast away constness when assigning *errmsg_arg.
3565
6f8507b1
L
35662003-06-26 H.J. Lu <hongjiu.lu@intel.com>
3567
3568 * testsuite/demangle-expected: Add more GNU V3 testcases.
3569
21299dbd
ZW
35702003-06-22 Zack Weinberg <zack@codesourcery.com>
3571
3572 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
3573 not HC_ASCII and HC_EBCDIC.
3574 Add documentation in form expected by gather-docs.
3575 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
3576 * Makefile.in, functions.texi: Regenerate.
3577
7468e0b5
ZW
35782003-06-21 Zack Weinberg <zack@codesourcery.com>
3579
3580 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
3581 for charset determination.
3582
cf8e4b78
DH
35832003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
3584
3585 * configure.in: Add check for malloc.h needed by
3586 m68k for function free().
3587 * configure: Regenerated.
3588 * config.in: Add HAVE_MALLOC_H.
3589 * hashtab.c: include malloc.h were available for
3590 free().
3591
aa9dc53d 35922003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
7468e0b5 3593
aa9dc53d
ACY
3594 PR bootstrap/10974
3595 * physmem.c: Update comment.
3596 * configure.in: Modify test for _system_configuration for older
3597 AIX systems.
3598
3599 * config.in, configure: Regenerated.
7468e0b5 3600
8191fe81
JDA
36012003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3602
3603 PR other/10810
3604 * test-demangle.c (getline): Fix fence-post error.
3605
8d398258
NC
36062003-06-03 Nick Clifton <nickc@redhat.com>
3607
3608 * asprintf.c: Change comment to note that -1 is returned upon
3609 error.
3610 * vasprintf.c: Likewise.
3611 (vasprintf): Return -1 upon error.
3612 * functions.texi: Document changes to asprintf and vasprintf.
3613
29ad6d3f
KC
36142003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
3615
3616 * config.table: Accept i[345867]86 variant.
3617
49a19cfd
JB
36182003-05-15 Jim Blandy <jimb@redhat.com>
3619
3620 * hex.c (_hex_value): Make this unsigned.
3621 (hex_value): Update documentation for new return type. hex_value
3622 now expands to an unsigned int expression, to avoid unexpected
3623 sign extension when we store it in a bfd_vma, which is larger than
3624 int on some platforms.
3625 * functions.texi: Regenerated.
3626
d5d4eae2
JZ
36272003-05-07 Josef Zlomek <zlomekj@suse.cz>
3628
3629 * splay-tree.c (splay_tree_predecessor): Fix comment.
3630 (splay_tree_successor): Fix comment.
3631
5cc5a0d0
JM
36322003-05-07 Jason Merrill <jason@redhat.com>
3633
9d70d418 3634 * hashtab.c (iterative_hash): New fn.
5cc5a0d0
JM
3635 * configure.in: Add AC_C_BIGENDIAN_CROSS.
3636 * aclocal.m4: Include accross.m4.
3637 * configure, config.in: Regenerate.
3638
05c30f22
KG
36392003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3640
3641 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
3642 * configure: Regenerate.
3643
41fe9404
CW
36442003-05-03 Carlo Wood <carlo@alinoe.com>
3645
3646 * cp-demangle.c: Fix typo in "char_traints" string-literal.
3647
52dd3224
KG
36482003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3649
3650 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
3651 (main): Test that we don't write too much data.
3652
bd3fbc6b
KG
36532003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3654
3655 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
3656 vsnprintf.
3657 * snprintf.c, vsnprintf.c: New files.
3658 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
3659 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
3660 Regenerate dependencies.
3661
3662 * functions.texi, configure, config.in: Regenerated.
3663
029bcc09
KG
36642003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3665
3666 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
3667 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
3668 and stpncpy.
3669 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
3670 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
3671 Regenerate dependencies.
3672
3673 * functions.texi, configure, config.in: Regenerated.
3674
c9ac9147
KG
36752003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3676
3677 * argv.c: Fix comments.
3678 * calloc.c: Don't unnecessarily include "libiberty.h".
3679 (bzero): Add prototype.
3680 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
3681 * getcwd.c (getcwd): Use standard definition to avoid conflicts
3682 with system headers.
3683 * hashtab.c (htab_traverse): Delete unused variables.
3684 * rename.c: Include "ansidecl.h".
3685 (rename): Use standard definition to avoid conflicts with system
3686 headers.
3687 * strsignal.c: Rely on ANSI_PROTOTYPES.
3688 * strstr.c: Check GNUC >= 2, not GNUC == 2.
3689 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
3690 * vprintf.c: Include "ansidecl.h" earlier, rely on
3691 ANSI_PROTOTYPES.
3692 * vsprintf.c: Include "ansidecl.h" earlier, rely on
3693 ANSI_PROTOTYPES and possibly include <stdarg.h>.
7468e0b5 3694
c9ac9147
KG
3695 * Makefile.in: Regenerate dependencies.
3696
98475c57
DD
36972003-04-15 DJ Delorie <dj@redhat.com>
3698
3699 * maint-tool (deps): Scan for headers in $srcdir also.
3700
55adc7bd
KG
37012003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3702
3703 PR target/10338
3704 PR bootstrap/10198
3705 PR bootstrap/10140
3706 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
3707 __mempcpy.
3708 * regex.c (regerror): Likewise.
3709
0ae0f1b0
RS
37102003-04-14 Roger Sayle <roger@eyesopen.com>
3711
3712 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
3713 * memchr.c: Likewise.
3714 * strcasecmp.c: Likewise.
3715 * strncasecmp.c: Likewise.
3716 * strncmp.c: Likewise.
3717 * xatexit.c: Likewise.
3718 * xmalloc.c: Likewise.
3719
3720 * copysign.c: Use traditional function declaration instead of DEFUN.
3721 * sigsetmask.c: Likewise.
3722
3723 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
3724 * memset.c: Likewise.
3725
3726 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
3727 * memmove.c: Likewise.
3728
88702c45
RS
37292003-04-14 Roger Sayle <roger@eyesopen.com>
3730
3731 * strdup.c (strdup): Tweak implementation to use memcpy.
3732
39e8d049
KG
37332003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3734
3735 * configure.in (HAVE_UINTPTR_T): Always define.
3736 * configure: Regenerated.
3737
9f2e0608
AO
37382003-03-23 Alexandre Oliva <aoliva@redhat.com>
3739
3740 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
3741 instead of $$CC alone.
3742 (install_to_tooldir): Use it.
3743
dbccdc42
JH
37442003-17-03 Jan Hubicka <jh@suse.cz>
3745
3746 * hashtab.c (htab_traverse_noresize): Break out from ...
3747 * hashtab.c (htab_traverse): ... here.
3748
0a8e3de3
JH
37492003-12-03 Jan Hubicka <jh@suse.cz>
3750
cd22e4af
JH
3751 * hashtab.c (htab_expand): Fix warning.
3752
0a8e3de3
JH
3753 * hashtab.c (htab_expand): Compute the size of hashtable based
3754 on the number of elements actually used.
3755 (htab_traverse): Call htab_expand when table is too empty.
3756
8fe85775
CW
37572003-03-11 Carlo Wood <carlo@gnu.org>
3758
3759 * cplus-dem.c (demangle_integral_value): Correction to reflect
3760 patch of 2002-01-10 in order to also make negative multi-digits
3761 without leading underscore work.
3762
3bf27822
MM
37632003-03-03 Mark Mitchell <mark@codesourcery.com>
3764
3765 * cplus-dem.c: Add license exception to copyright notice.
3766
434fa0b8
KG
37672003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3768
3769 * physmem.c: Formatting changes from upstream.
3770
ed935c35
DS
37712003-02-24 Danny Smith <dannysmith@users.source.forge.net>
3772
3773 * physmem.c (physmem_total): Add _WIN32 support.
3774 (physmem_available): Likewise.
3775
7f9fc006
RO
37762003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3777
3778 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
3779 GSI_PHYSMEM.
3780 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
3781
d47f75c4
KG
37822003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3783
3784 * configure.in: Check for sys/systemcfg.h and
3785 _system_configuration.
3786 * physmem.c: Add support for AIX. Tweek formatting as per
3787 upstream coreutils beta.
3788
170230b7
KG
37892003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3790 Richard Earnshaw <rearnsha@arm.com>
3791 Geoffrey Keating <geoffk@apple.com>
7468e0b5 3792
170230b7
KG
3793 * configure.in: Check for sys/sysctl.h and sysctl.
3794 * physmem.c: Add support for *bsd and darwin.
3795 * Makefile.in: Generate depedency for physmem.o.
3796
4a06f7f2
RO
37972003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3798
3799 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
3800 Tru64 UNIX.
3801 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
3802 Tru64 UNIX.
3803
3804 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
3805 machine/hal_sysinfo.h, sys/table.h.
3806 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
3807 * configure, config.in: Regenerate.
3808
64c7e556
KG
38092003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3810
3811 * configure.in: Check for sys/sysmp.h and sysmp.
3812 * physmem.c: Pull upstream copy, add support for irix6.
3813
3814 * config.in, configure: Regenerated.
3815
e9019af6
KG
38162003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3817
3818 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
3819 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
3820 pstat_getdynamic.
7468e0b5 3821
a354191e
KG
38222003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3823
3824 * Makefile.in (CFILES): Add physmem.c.
3825 (REQUIRED_OFILES): Add physmem.o.
3826 * configure.in: Check for sys/pstat.h.
3827 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
3828 * physmem.c: New file, copied from textutils.
3829
3830 * config.in, configure: Regenerated.
3831
4876b2b4
DJ
38322003-02-20 Daniel Jacobowitz <drow@mvista.com>
3833
3834 * Makefile.in (CFILES): Add lrealpath.c.
3835 (REQUIRED_OFILES): Add lrealpath.o.
3836 (lrealpath.o): Add rule.
3837 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
3838 * configure.in: Add realpath and canonicalize_file_name to
3839 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
3840 for canonicalize_file_name.
3841 * lrealpath.c: New file.
3842 * make-relative-prefix.c: Update documentation.
3843 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
3844 * config.in: Regenerated.
3845 * configure: Regenerated.
3846 * functions.texi: Regenerated.
3847
e182f0a3 38482003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
3849
3850 * cplus_dem.c: Fix typo: intializes -> initializes.
3851
3343fdd2
AO
38522003-02-20 Alexandre Oliva <aoliva@redhat.com>
3853
3854 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3855 config.status.
3856 * configure: Rebuilt.
3857
902cf50c
DJ
38582003-02-13 Daniel Jacobowitz <drow@mvista.com>
3859
3860 Fix PR c++/7612.
3861 * cplus-dem.c (demangle_signature): Call string_delete.
3862 Remove extra string_init.
3863 (demangle_arm_hp_template): Call string_delete instead of
3864 string_clear. Add missing string_delete call.
3865 (demangle_qualified): Add missing string_delete call.
3866 (do_type): Remove unused variable btype. Add missing string_delete
3867 call. Call string_delete instead of string_clear.
3868 (demangle_fund_type): Move variable btype inside of the switch
3869 statement. Add missing string_delete call.
3870 (do_arg): Call string_delete instead of string_clear. Remove extra
3871 string_init.
3872 (demangle_nested_args): Free work->previous_argument.
3873
7ac27e08
KG
38742003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3875
3876 * acconfig.h: New file. Add uintptr_t.
3877 * config.in: Regenerated.
3878
b3a8389d
JM
38792003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3880
3881 * libiberty.texi: Update to GFDL 1.2.
3882
d8c22ce7
CC
38832003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3884
3885 * Makefile.in (libiberty_topdir): New subst.
3886 (mkinstalldirs): Redefine in terms of the above.
3887 * configure.in: AC_SUBST it.
3888 * configure: Regenerate.
3889
4ce1921a
CC
38902003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3891
3892 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
3893 (info-subdir, install-info-subdir, clean-info-subdir)
3894 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
3895 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
3896 Pass $(FLAGS_TO_PASS).
3897
93239fdb
AO
38982003-01-27 Alexandre Oliva <aoliva@redhat.com>
3899
3900 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
3901 /`$$CC -print-multi-os-directory`.
3902
74828682
DJ
39032003-01-26 Daniel Jacobowitz <drow@mvista.com>
3904
3905 * hashtab.c (htab_create_alloc_ex): New function.
3906 (hatab_set_functions_ex): New function.
3907 (htab_delete, htab_expand): Support alternate allocation functions.
3908
ece0e59f
CF
39092003-01-24 Christopher Faylor <cgf@redhat.com>
3910
3911 * configure.in: Remove special pex-cygwin consideration.
3912 * configure: Regenerate.
3913 * pex-cygwin.c: Remove.
3914 * Makefile.in: Remove pex-cygwin.[co] lines.
3915
55d0e5e0
ZW
39162003-01-24 Zack Weinberg <zack@codesourcery.com>
3917
3918 * Makefile.in (CFILES): Add pex-*.c.
3919 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
3920 (CONFIGURED_OFILES): Add pex-*.o.
3921 (TEXIFILES): Add pexecute.txh.
3922 (pexecute.o): Delete rule.
3923 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
3924 pex-unix.o, pex-win32.o): New rules.
3925 * configure.in: Change AC_INIT argument to xmalloc.c.
3926 Compute appropriate pexecute implementation and substitute it
3927 as @pexecute@.
3928
3929 * pexecute.c: Split up into...
3930 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
3931 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
3932 new files.
3933
3934 * functions.texi: Regenerate.
3935 * configure: Regenerate.
3936
120cdf68
JZ
39372003-01-20 Josef Zlomek <zlomekj@suse.cz>
3938
3939 * hashtab.c (htab_expand): Fix allocation of new entries.
3940
90e5b39f
CC
39412003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3942
3943 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
3944
d7082cd7
CC
3945 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
3946 mkinstalldirs command.
3947
eaed9290
DS
39482002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
3949
3950 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
3951 Define for hosts with HOST_EXECUTABLE_SUFFIX.
3952
ef4e4181
NC
39532002-11-24 Nick Clifton <nickc@redhat.com>
3954
3955 * make-relative-prefix.c (make_relative_prefix): Ensure return
3956 string is empty before using strcat to construct it.
3957
42766f8d
DJ
39582002-11-22 Daniel Jacobowitz <drow@mvista.com>
3959
3960 * Makefile.in: Add make-relative-prefix.c.
3961 * make-relative-prefix.c: New file.
3962 * functions.texi: Rebuilt.
3963
783080ab
JJ
39642002-11-16 Jakub Jelinek <jakub@redhat.com>
3965
3966 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
3967 used with arguments in traditional C' warnings.
3968
7da64d7a
JJ
39692002-10-16 Jakub Jelinek <jakub@redhat.com>
3970
3971 * config.table: Use mh-s390pic for s390x too.
3972
de78f58b
AJ
39732002-10-06 Andreas Jaeger <aj@suse.de>
3974
3975 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
3976 variable and of strict-aliasing warning.
3977 (grow_vect): Use char as first parameter.
3978
6c5d742e
KG
39792002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3980
3981 * Makefile.in (all): Fix multilib parallel build.
3982
f08b7eee
JDA
39832002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
3984
3985 * cp-demangle.c (demangling_new): Cast 0 to enum.
3986 (demangle_char): Cast return of strdup to char *.
3987 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
3988 (is_gnu_v3_mangled_dtor): Likewise.
3989 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
3990 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
3991 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
3992 * md5.c (md5_process_bytes): Cast results back to const void *.
3993 (md5_process_block): Add cast to const md5_uint32 *.
3994 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
3995 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
3996 unsigned short.
3997 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
3998 to void *.
3999 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
4000
8d87f295
NC
40012002-09-19 Nick Clifton <nickc@redhat.com>
4002
4003 * README: Update email addresses for bugs and patches.
4004
6eedb9ca
MS
40052002-09-10 Mike Stump <mrs@apple.com>
4006
4007 * splay-tree.c (splay_tree_successor): Fix comments.
4008
3fd9d606
ZW
40092002-09-11 Zack Weinberg <zack@codesourcery.com>
4010
b2196e8f 4011 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
3fd9d606
ZW
4012 * testsuite/Makefile.in: Adjust for test-demangle.
4013 * testsuite/regress-demangle: Deleted.
4014 * testsuite/test-demangle.c: New file.
4015 * testsuite/demangle-expected: Change \$ to $ throughout, now that
4016 this file is not being read by a shell script.
4017
70c4e67a
RS
40182002-09-05 Roger Sayle <roger@eyesopen.com>
4019
4020 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
4021
65b91091
DD
40222002-08-07 DJ Delorie <dj@redhat.com>
4023
4024 * regex.c (re_error_msgid): Just use a simple array of strings.
4025 (re_compile_pattern): Compensate.
4026 (re_comp): Likewise.
4027 (re_comp): Likewise.
4028 (regerror): Likewise.
4029
437974a9
NB
40302002-07-29 Neil Booth <neil@daikokuya.co.uk>
4031
4032 * cplus-dem.c (PREPEND_BLANK): Remove.
de78f58b 4033
28a34ec1
JM
40342002-07-10 Jason Merrill <jason@redhat.com>
4035
4036 * cp-demangle.c (demangle_identifier): Support extended Unicode
4037 characters.
4038
84326592
KG
40392002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4040
4041 * cp-demangle.c (demangle_v3_with_details): Wrap in
de78f58b 4042 !defined IN_GLIBCPP_V3.
84326592 4043
5d69ba1f
MM
40442002-07-01 Mark Mitchell <mark@codesourcery.com>
4045
4046 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
4047 Set it for the "st" operator.
4048 (demangle_expression): Handle expressions with types as arguments.
4049
7fda878c
DR
40502002-06-30 Douglas Rupp <rupp@gnat.com>
4051
4052 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
4053 * Makefile.in (OUTPUT_OPTION): Use.
4054
112bae77
PB
40552002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
4056
4057 * Makefile.in (install_to_libdir): Add $(DESTDIR).
4058 (install_to_tooldir): Likewise.
4059
53309d5c
DR
40602002-06-17 Douglas Rupp <rupp@gnat.com>
4061
4062 * lbasename.c: Add 2002 to copyright.
4063 (IS_DIR_SEPARATOR): Remove VMS junk.
4064
045b3a49
GK
40652002-06-05 Geoffrey Keating <geoffk@redhat.com>
4066
4067 * hashtab.c (htab_create): New stub function for backward
4068 compatibility.
4069 (htab_try_create): Likewise.
4070
e2500fed
GK
40712002-06-03 Geoffrey Keating <geoffk@redhat.com>
4072
4073 * hashtab.c (htab_create): Delete.
4074 (htab_try_create): Delete.
4075 (htab_create_alloc): New.
4076 (htab_delete): Support user-specified memory allocation.
4077 (htab_expand): Likewise.
4078
9f3dbd92
RL
40792002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4080
4081 * configure.in: Fix typo in the code checking for sys_errlist.
4082 * configure: Regenerated.
4083
e4723404
AS
40842002-05-13 Andreas Schwab <schwab@suse.de>
4085
4086 * config.table: Use mh-x86pic also for x86-64.
4087
6706f116
AO
40882002-05-08 Alexandre Oliva <aoliva@redhat.com>
4089
4090 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
4091 script entry, and set LD to it when configuring multilibs.
4092 * configure: Rebuilt.
4093
deae2ed9
MM
40942002-05-07 Mark Mitchell <mark@codesourcery.com>
4095
4096 * configure.in (AC_TYPE_PID_T): Use it.
4097 * configure: Regenerated.
4098 * getruntime.c: Include <sys/types.h>.
4099 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
4100
4fc4e478
RH
41012002-04-09 Richard Henderson <rth@redhat.com>
4102
4103 * hashtab.c (higher_prime_number): Use 7 as minimum.
4104 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
4105 (htab_find_slot_with_hash): Likewise.
4106
bd7e6f2d
PE
41072002-04-01 Phil Edwards <pme@gcc.gnu.org>
4108
4109 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
4110 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
4111 not compile if IN_GLIBCPP_V3 defined.
4112 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
4113
a8f55e51
BM
41142002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4115
de78f58b 4116 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
a8f55e51
BM
4117 if it is NULL.
4118
96adcacb
DD
41192002-03-27 DJ Delorie <dj@redhat.com>
4120
4121 * hex.c: Add documentation.
4122 (_hex_value): Provide non-ASCII empty table.
4123 (hex_init): Initialize the non-ASCII table.
4124 * functions.texi: Regenerate.
4125
2b613c6a
MM
41262002-03-27 Mark Mitchell <mark@codesourcery.com>
4127
4128 * dyn-string.c: Add libgcc exception to copyright notice.
4129
cd862df8
L
41302002-03-26 H.J. Lu (hjl@gnu.org)
4131
4132 * config.table: Support --with-build-subdir.
4133 * configure.in: Likewise.
4134 * configure: Rebuild.
4135
ed300793
SG
41362002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
4137
4138 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
4139 seen.
4140
b3dd43df
MM
41412002-03-12 Mark Mitchell <mark@codesourcery.com>
4142
4143 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
4144 notice.
4145
50c74579
DR
41462002-03-11 Douglas B Rupp <rupp@gnat.com>
4147
4148 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
4149
957978a4
JB
41502002-03-06 Jim Blandy <jimb@redhat.com>
4151
4152 * splay-tree.c (splay_tree_xmalloc_allocate,
4153 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
4154 prototyped definitions. Mark `data' arguments as unused.
4155
ccc49bed
AC
41562002-03-06 Andrew Cagney <ac131313@redhat.com>
4157
4158 * floatformat.c (floatformat_arm_ext_big): Delete definition.
4159
48d7db63
PE
41602002-03-04 Phil Edwards <pme@gcc.gnu.org>
4161
4162 * configure.in: Add --enable-install-libiberty option.
4163 * Makefile.in (INSTALLED_HEADERS): New variable.
4164 (install_to_libdir): Possibly also copy headers.
4165 * configure: Regenerated.
4166
af18e951
NB
41672002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
4168
4169 * xmalloc.c (xmalloc_fail): Clarify error message further.
4170
d8d7c3c3
NB
41712002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
4172
4173 * xmalloc.c (xmalloc_fail): Clarify error message.
4174
00c2f96f
JB
41752002-02-22 Jim Blandy <jimb@redhat.com>
4176
4177 * splay-tree.c (splay_tree_xmalloc_allocate,
4178 splay_tree_xmalloc_deallocate): New functions.
4179 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
4180 above functions and a dummy data pointer.
4181 (splay_tree_new_with_allocator): New function.
4182 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
4183 splay_tree_remove): Use the splay tree's allocation and
4184 deallocation functions.
4185
b1c1a22f
SS
41862002-02-19 Scott Snyder <snyder@fnal.gov>
4187
4188 * testsuite/demangle-expected: Add test case for infinite loop in
4189 demangler.
4190 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
4191 if do_type() doesn't make any progress --- prevents an infinite
4192 loop.
4193
336669e7
CW
41942002-02-18 Carlo Wood <carlo@gnu.org>
4195
4196 PR c++/5390
4197 * cplus-dem.c (demangle_integral_value): Accept multi-digit
4198 numbers that do not start with an underscore; This is needed
4199 for integer template parameters. This doesn't break anything
4200 because multi-digit numbers are never followed by a digit.
4201 * testsuite/demangle-expected: Corrected all mangled test
4202 cases with multi-digit template parameters: g++ 2.95.x does
4203 not generate underscores around these parameters.
4204
c13db5d1
JM
42052002-02-05 Jason Merrill <jason@redhat.com>
4206
4207 * cplus-dem.c (flags): Add DMGL_VERBOSE
4208 (cplus_demangle_v3_p): Remove.
4209 (demangle_it): Add DMGL_TYPES to passed flags.
4210 * cp-demangle.c (cplus_demangle_v3_all): Remove.
4211 (cplus_demangle_v3_type): Remove.
4212 (cplus_demangle_v3): Add options parm.
4213
d74697b8
L
42142002-02-02 H.J. Lu (hjl@gnu.org)
4215
4216 * cp-demangle.c (cp_demangle_type): Do not protect with
4217 IN_LIBGCC2.
4218 (cplus_demangle_v3_all): New.
4219 (cplus_demangle_v3): Call cplus_demangle_v3_all.
4220 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
4221
4222 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
4223 Initialized to cplus_demangle_v3.
4224 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
4225 of cplus_demangle_v3.
4226 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
4227 command line symbol.
4228
4229 * testsuite/regress-demangle: Pass the mangled name at the
4230 command line.
4231
3a441e38
L
42322002-02-01 H.J. Lu <hjl@gnu.org>
4233
4234 * cp-demangle.c (cp_demangle_type): Call demangling_new with
4235 DMGL_GNU_V3.
4236
6d747e63
PE
42372002-01-31 Phil Edwards <pme@gcc.gnu.org>
4238
4239 * cp-demangle.c: Revert yesterday's change.
4240
46af757b
AM
42412002-01-31 Adam Megacz <adam@xwt.org>
4242
4243 * gcc/libiberty/configure.in: Treat mingw the same as cywin
4244 wrt HAVE_SYS_ERRLIST.
4245
46ab74b1
PE
42462002-01-30 Phil Edwards <pme@gcc.gnu.org>
4247
4248 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
4249 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
4250 cp_demangle_type.
4251 * testsuite/demangle-expected: New gnu-v3 test.
4252
e64d0626
MV
42532002-01-22 Momchil Velikov <velco@fadata.bg>
4254
4255 * configure.in (variable detection): Use arrays of unspecified
4256 size instead of plain integers.
4257
9ce3f7e5
DD
42582002-01-18 DJ Delorie <dj@redhat.com>
4259
4260 * Makefile.in (TESTLIB): New. This library is for future
4261 testsuites.
4262 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
4263 break down by letter.
4264 (REQUIRED_OFILES): List long-to-compile files first.
4265 (maint-deps): New, target for updating dependencies.
4266 (dependencies): Update.
4267 * maint-tool: Add dependency-generating option.
4268 * configure.in: Check for _doprnt even if we're not providing it.
4269 * configure: Regenerate.
4270
4271 * _doprnt.c: Modifications to allow compiling on any platform.
4272 * copysign.c: Likewise.
4273 * putenv.c: Likewise.
4274 * setenv.c: Likewise.
4275 * vsprintf.c: Likewise.
4276
0e83ceb1
DR
42772002-01-15 Douglas B Rupp <rupp@gnat.com>
4278
4279 * mkstemps.c (mkstemps): On VMS, open temp file with option
4280 that causes it to be deleted when closed.
4281
adddf5bf
KG
42822002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4283
5e65297b
KG
4284 * cp-demangle.c (long_options): Const-ify.
4285 * cplus-dem.c (long_options): Likewise.
4286
adddf5bf
KG
4287 * cplus-dem.c (mystrstr): Delete. All callers changed to use
4288 strstr instead.
4289
a4219437
IR
42902001-12-31 Ira Ruben <ira@apple.com>
4291
4292 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
4293 * configure: Regenerated.
af328d8d
DR
4294
42952001-12-24 Douglas B. Rupp <rupp@gnat.com>
4296
4297 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
4298 * configure: Regenerated.
a4219437 4299
63de15a4
CR
43002001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
4301
4302 PR other/2719
4303 * cplus-dem.c (consume_count): Treat negative count as an error.
4304 * testsuite/demangle-expected: Added testcase.
4305
ee262b6f
DR
4306Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
4307
4308 * configure.in: Hardcode that vfork works on VMS host.
4309 * configure: Regenerated.
4310
d06ba3c7
RH
43112001-12-06 Richard Henderson <rth@redhat.com>
4312
4313 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
4314 (cplus_demangle): Support no_demangling.
4315
e490616e
ZW
43162001-11-27 Zack Weinberg <zack@codesourcery.com>
4317
4318 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
4319 in libiberty context. Fix typo in leading comment.
4320 * configure.in: Fix various AC_DEFINEs so autoheader works.
4321 If any of vprintf, vsprintf, vfprintf is missing from libc,
4322 then AC_REPLACE_FUNCS(_doprnt).
4323
97e620cf 43242001-11-26 DJ Delorie <dj@redhat.com>
e490616e 4325 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
4326
4327 * Makefile.in (stamp-h): Depend on Makefile for proper
4328 serialization.
4329 (*-subdir): Depend on config.h for proper serialization.
4330
c3bb7df0
DD
43312001-11-26 DJ Delorie <dj@redhat.com>
4332
4333 * configure.in: Check for alloca.h (for regex.c and putenv.c).
4334 * configure: Regenerate.
4335 * config.h: Add HAVE_ALLOCA_H.
4336
23850d35
KG
43372001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4338
2c47b56b
KG
4339 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
4340 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
4341 is available.
23850d35 4342
7ddfb651
JL
4343Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
4344
d3982b71
JL
4345 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
4346 * configure.in (HAVE_UINTPTR_T): Test for system defining
4347 uintptr_t and define HAVE_UINTPTR_T appropriately.
4348 * regex.c (uintptr_t): Do not provide a definition if the
4349 system provided one.
4350
7ddfb651
JL
4351 * regex.c (PREFIX): Provide an alternate definition for
4352 non-ANSI/ISO compilers.
4353 (ARG_PREFIX): Likewise.
4354
2e683037
JM
43552001-11-12 Jim Meyering <meyering@lucent.com>
4356
4357 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
4358 this code would end up calling gettext even in packages built
4359 with --disable-nls.
4360 * getopt.c (_): Likewise.
4361 * regex.c (_): Likewise.
4362
f749bd83
AM
43632001-11-03 Alan Modra <amodra@bigpond.net.au>
4364
4365 * configure.in: Cope with missing makeinfo.
55a10d7c 4366 * configure: Regenerate.
f749bd83 4367
26ad2982
KG
43682001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4369
e5969ba6
KG
4370 * hex.c (hex_init): Provide empty stub.
4371
26ad2982
KG
4372 * hex.c (hex_init): Delete.
4373 (_hex_value): Const-ify and initialize at compile-time.
4374
afb649d5
L
43752001-10-19 H.J. Lu <hjl@gnu.org>
4376
4377 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
4378 necessary.
4379
5bed56d9
DD
43802001-10-17 DJ Delorie <dj@redhat.com>
4381
4382 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
4383 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 4384 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
4385 Improve manual formatting.
4386 * functions.texi: Regenerate.
4387
aac04c15
DD
43882001-10-15 DJ Delorie <dj@redhat.com>
4389
4390 * Makefile.in (TEXIFILES): Add fnmatch.txh.
4391 (maint-undoc): New.
4392 maint-tool: Add "undoc" tool.
4393 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
4394 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
4395 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
4396 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
4397 documentation.
4398 * fnmatch.txh: New.
4399 * functions.texi: Regenerate.
fae8182a 4400
0e4e9e8f
JM
44012001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
4402
4403 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
4404 * strtod.c: Use "ISO C" instead of "ANSI C".
4405 * functions.texi: Regenerate.
4406
7f8fa05d
JM
44072001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
4408
4409 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
4410 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
4411 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
4412 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
4413 spelling. Give names to function arguments in documentation. Use
4414 (void) prototypes in documentation.
4415 * functions.texi: Regenerate.
4416
0be6abca
KG
44172001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4418
4419 * argv.c (buildargv, tests, main): Const-ify.
4420 * cp-demangle.c (operator_code): Likewise.
4421 * cplus-dem.c (optable, libiberty_demanglers,
4422 cplus_demangle_set_style, cplus_demangle_name_to_style,
4423 print_demangler_list): Likewise.
4424 * hashtab.c (higher_prime_number): Likewise.
4425 * strcasecmp.c (charmap): Likewise.
4426 * strerror.c (error_info, strerror, main): Likewise.
4427 * strncasecmp.c (charmap): Likewise.
4428 * strsignal.c (signal_info): Likewise.
4429
0e30ffc5
DD
44302001-09-29 DJ Delorie <dj@redhat.com>
4431
4432 * configure: Regenerate.
4433
576fb787
KG
44342001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4435
4436 * concat.c: Include stdlib.h.
4437
e922f978
EZ
44382001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
4439
4440 * libiberty.texi: (Top level): Add syncodeindex pg. Add
4441 @dircategory and @direntry directives. Add @finalout.
4442 (many nodes): Lose the next,prev,up pointers on the @nide line.
4443 (Using, Supplemental Functions, Replacement Functions): Fix
4444 markup.
4445 (Functions): Move around, to allow makeinfo to build the manual
4446 without next,prev,up pointers in thye node lines.
4447 (Licenses): Fix typos.
4448
4449 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
4450 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
4451 * functions.texi: Regenerate.
4452
4453 * copying-lib.texi: Lose the next,prev,up pointers on the @node
4454 line.
4455
ae9092da
DD
44562001-09-27 DJ Delorie <dj@redhat.com>
4457
4458 * configure.in: Don't use in-tree texinfo, because libiberty must
4459 be built before it. Check for makeinfo version 4 or higher.
4460 * functions.texi: Regenerate.
fae8182a 4461
aaa5f039
DD
44622001-09-20 DJ Delorie <dj@redhat.com>
4463 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 4464
aaa5f039
DD
4465 * configure.in (MAKEINFO, PERL): Detect these.
4466 (--enable-maintainer-mode): Add.
4467 * configure: Regenerate.
4468 * Makefile.in (MAKEINFO, PERL): Define.
4469 (libiberty.info, libiberty.dvi, libiberty.html): New.
4470 (CFILES): Add bsearch.c.
4471 (CONFIGURED_OFILES): New, list of objects configure might add.
4472 (maint-missing, maint-buildall): New, for maintainers only.
4473 (clean, mostlyclean): Add info/dvi/html files.
4474 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
4475 * gather-docs: New, for maintainers.
4476 * maint-tool: New, for maintainers.
4477 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
4478 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
4479 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
4480 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
4481 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
4482 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
4483 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
4484 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
4485 documentation.
fae8182a 4486
c1766881
KG
44872001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4488
4489 * concat.c (reconcat): Fix for traditional C.
4490
ad43d46f
KG
44912001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4492
4493 * concat.c (reconcat): New function.
4494
c1d49704
KG
44952001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4496
c793eea7
KG
4497 * concat.c (vconcat_length, vconcat_copy, concat_length,
4498 concat_copy, concat_copy2): New functions.
4499 (concat): Use vconcat_length/vconcat_copy.
4500
c1d49704
KG
4501 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
4502 Define.
4503
7a98d9b2
KG
45042001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4505
4506 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
4507 VA_FIXEDARG & VA_CLOSE.
fae8182a 4508
7a98d9b2
KG
4509 * vasprintf.c: Check HAVE_STRING_H when including string.h.
4510 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
4511 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
4512
e2dff3f2
KG
45132001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4514
4515 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
4516
d0708dc1
UD
45172001-08-23 Ulrich Drepper <drepper@redhat.com>
4518
4519 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
4520
45212001-08-23 Ulrich Drepper <drepper@redhat.com>
4522
4523 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
4524 instead of mbrtowc.
4525 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
4526 wcslen, and __wcscoll instead of wcscoll.
4527
ffb9435b
MK
45282001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
4529
de78f58b
AJ
4530 * fibheap.c (fibheap_init, fibnode_init): Remove.
4531 (fibheap_new, fibnode_new): Use xcalloc to allocate and
4532 initialize memory.
4533 (fibheap_insert): Remove check for node allocation failure.
ffb9435b 4534
f379eac3
RH
45352001-08-21 Richard Henderson <rth@redhat.com>
4536
4537 * Makefile.in (fibheap.o): Depend on config.h.
4538 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
4539 functions for inlining.
4540
b1c45ae4
CF
4541Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
4542
4543 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
4544 hosting on cygwin.
4545 * configure: Regenerate.
4546
0310e5ac
AC
45472001-08-20 Andrew Cagney <ac131313@redhat.com>
4548
4549 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
4550 HARRIS_FLOAT_FORMAT.
4551 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
4552 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
4553 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
4554 (floatformat_m88110_harris_ext): New float formats.
4555
8c23e0a4
DB
45562001-08-20 Daniel Berlin <dan@cgsoftware.com>
4557
4558 * fibheap.c: New file. Fibonacci heap.
4559
4560 * Makefile.in (CFILES): Add fibheap.c.
4561 (REQUIRED_OFILES): Add fibheap.o.
4562 (fibheap.o): Add dependencies for fibheap.o.
4563
91625004
CF
45642001-08-17 Christopher Faylor <cgf@cygnus.com>
4565
4566 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
4567 * configure: Regenerate.
4568
9e0ba685
RH
45692001-08-16 Richard Henderson <rth@redhat.com>
4570
4571 * hashtab.c (htab_hash_string): New.
4572
d80dedbe
AC
45732001-08-13 Andrew Cagney <ac131313@redhat.com>
4574
4575 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
4576 name.
4577
ccea0d85
IH
45782001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
4579
4580 * regex.c (wcs_regex_compile): Use appropriate string
4581 to compare with collating element.
4582 Fix the padding for the alignment.
4583
b0e9bc8c 45842001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
4585
4586 * lbasename.c (lbasename): Change function definition to return a
4587 const char pointer.
4588
056400f1
JM
45892001-08-07 Jason Merrill <jason_merrill@redhat.com>
4590
4591 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
4592 for".
4593
4e627c41
RH
45942001-08-03 Richard Henderson <rth@redhat.com>
4595
4596 * Makefile.in (concat.o): Depend on config.h.
4597
b6a2f884
AJ
45982001-07-30 Andreas Jaeger <aj@suse.de>
4599
4600 * concat.c: Include "config.h".
4601
c4b9cfe0
AJ
46022001-07-30 Andreas Jaeger <aj@suse.de>
4603
4604 * regex.c: Declare wcs functions only if compiling with
4605 MBS_SUPPORT.
4606 Don't use #elif for traditional C.
4607
46082001-07-23 Ulrich Drepper <drepper@redhat.com>
4609
4610 * regex.c: Revamp memory allocation for WCHAR functions to
4611 not use too much stack.
4612
46132001-07-30 Andreas Jaeger <aj@suse.de>
4614
4615 * regex.c: Declare wcs functions only if compiling with
4616 MBS_SUPPORT.
4617 Don't use #elif for traditional C.
4618
2cf50fd3
DJ
46192001-07-25 Daniel Jacobowitz <drow@mvista.com>
4620
4621 * Makefile.in (regex.o): Add dependency on config.h.
4622
27ffc806
DD
46232001-07-18 Andreas Schwab <schwab@suse.de>
4624
4625 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
4626 underscore character.
4627
46282001-07-18 Ulrich Drepper <drepper@redhat.com>
4629
4630 * regex.c: Limit string length printed in debug messages to 100
4631 chars.
4632
46332001-07-18 Andreas Jaeger <aj@suse.de>
4634
4635 * regex.c: Place under LGPL version 2.1.
4636
dd771632
JJ
46372001-07-10 Jeff Johnston <jjohnstn@redhat.com>
4638
4639 * Makefile.in: Add support for regex code.
4640 * regex.c: New file.
4641
29650b2b
MK
46422001-07-05 Mark Klein <mklein@dis.com>
4643
4644 * Makefile.in: Add ffs.c dependency.
4645 * configure.in: Add ffs.c.
4646 * ffs.c: New file.
4647
c8b28221
RH
46482001-06-18 Richard Henderson <rth@redhat.com>
4649
4650 * concat.c: Include <sys/types.h>.
4651
473c2d0b
LR
46522001-06-11 Loren J. Rittle <ljrittle@acm.org>
4653
a4c03da2 4654 bootstrap/3106
473c2d0b
LR
4655 * strerror.c (sys_nerr): Hide the OS header version.
4656 * strsignal.c (sys_nsig): Likewise.
4657
0bdcca68
RH
46582001-06-10 Richard Henderson <rth@redhat.com>
4659
4660 * concat.c: Include string.h. Fix int vs size_t usage.
4661 Simplify the iteration loops. Use memcpy.
4662
6de133d3
MK
46632001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
4664
4665 * partition.c: Fix misspelling of `implementation'.
4666
8a153288
TS
46672001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4668
4669 * md5.c (md5_init_ctx): Declare constants as unsigned.
4670 (md5_process_block): Likewise.
4671
641b2721
ZW
46722001-05-07 Zack Weinberg <zackw@stanford.edu>
4673
4674 * cp-demangle.c (demangle_v3_with_details,
4675 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
4676 function definition.
4677 * ternary.c: Use K+R style function definitions. Use PTR, not
4678 void *. Make arguments constant where possible.
4679
5cdba4ff
MM
46802001-05-07 Mark Mitchell <mark@codesourcery.com>
4681
4682 * splay-tree.h (splay_tree_max): New function.
4683 (splay_tree_min): Likewise.
4684
9dab060e
DB
46852001-04-15 Daniel Berlin <dan@cgsoftware.com>
4686
4687 * ternary.c: New file - Ternary search tree implementation.
4688
4689 * Makefile.in: Add ternary.o, and ternary.c dependencies.
4690
d02af173
ZW
46912001-04-03 Zack Weinberg <zackw@stanford.edu>
4692
4693 * make-temp-file.c (try): Inline.
4694
94b68558
RH
46952001-02-28 Richard Henderson <rth@redhat.com>
4696
4697 * Makefile.in (make-temp-file.o): Depend on config.h.
4698
27f66c0b
KG
46992001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4700
4701 * memchr.c (memchr): Adjust condition to avoid infinite loop.
4702
f1a0345c
JJ
47032001-03-23 Jakub Jelinek <jakub@redhat.com>
4704
4705 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
4706 `_' not followed by a digit is invalid.
4707
a519fba6
JB
47082001-03-22 Jim Blandy <jimb@redhat.com>
4709
4710 * cp-demangle.c (string_list_delete): Use dyn_string_delete
4711 instead of free, to free the contents as well as the string
4712 structure.
4713
49ee944b
ZW
47142001-03-21 Zack Weinberg <zackw@stanford.edu>
4715
4716 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
4717 Don't default P_tmpdir to anything. Try /var/tmp before
4718 /usr/tmp.
4719
33437dc7
ZW
47202001-03-20 Zack Weinberg <zackw@stanford.edu>
4721
4722 * choose-temp.c: Split off make_temp_file, and the code
4723 duplicated between it and choose_temp_base, into...
4724 * make-temp-file.c: ... here; new file.
4725
4726 * Makefile.in (CFILES): Add make-temp-file.c.
4727 (REQUIRED_OFILES): Add make-temp-file.o.
4728
7dce2eff
JB
47292001-03-20 Jim Blandy <jimb@redhat.com>
4730
4731 * cp-demangle.c (struct demangling_def): New fields:
4732 is_constructor and is_destructor.
4733 (demangling_new): Initialize them.
4734 (demangle_ctor_dtor_name): Set them, if we detect a constructor
4735 or destructor.
4736 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
4737 is_gnu_v3_mangled_dtor): New functions.
4738
e03a61f1
JM
47392001-03-20 Jason Merrill <jason@redhat.com>
4740
4741 * cplus-dem.c (main): Skip initial $.
4742
8860ddab
MM
47432001-03-15 Michael Meissner <meissner@redhat.com>
4744
4745 * hashtab.c (higher_prime_number): Silence warning that 4294967291
4746 might be a signed integer under pre-ISO C systems.
4747
2b757d51
NB
47482001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
4749 John David Anglin <dave@hiauly1.hia.nrc.ca>
4750
4751 * libiberty/lbasename.c: New file.
4752 * libiberty/Makefile.in: Update for lbasename.
4753
1f50aafb
ZW
47542001-03-06 Zack Weinberg <zackw@stanford.edu>
4755
4756 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
4757 * configure.in: Replace all alloca logic with a simple use of
4758 the above new macro.
4759 * config.table: Kill *-*-beos* entry.
4760 * config/mh-beos: Delete.
4761 * configure, config.in: Regenerate.
4762
4763 * Makefile.in (ALLOCA, HFILES): Kill.
4764 (REQUIRED_OFILES): Add alloca.o.
4765 (alloca.o): Depend on libiberty.h.
4766 (argv.o): Don't depend on alloca-conf.h.
4767 * alloca-conf.h: Delete.
4768 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
4769 blocks. Provide the C alloca unconditionally. Use PTR where
4770 appropriate. Make i00afunc static.
4771 * argv.c: Don't include alloca-conf.h.
4772
d9fd5aae
JDA
47732001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
4774
4775 * cplus-dem.c (main): Cast enum style to int.
4776
4031ed65
LR
47772001-02-16 Loren J. Rittle <ljrittle@acm.org>
4778
4779 * cplus-dem.c (main): Initialize style.
4780
2ca46e8a
PE
47812001-02-02 Phil Edwards <pme@sources.redhat.com>
4782
4783 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
4784
3b60dd8e
BM
47852001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
4786
4787 Add support for Java demangling under the v3 ABI:
4788 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
4789 (struct demangling_def): Add `style' field.
4790 (demangling_new): New parameter `style'. Set it in demangling_t.
4791 (demangle_prefix): Use NAMESPACE_SEPARATOR.
4792 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
4793 (cp_demangle): New parameter `style'. Pass it to demangling_new().
4794 (main): Call cp_demangle with extra parameter.
4795 (java_demangle_v3): New function.
4796 (java_builtin_type_names): New. Table of primitive type names used
4797 for Java demangling.
4798 (demangle_builtin_type): Look up in java_builtin_type_names if doing
4799 Java output.
1f50aafb 4800 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
4801 demangling.
4802 (long_options): Remove obsolete `java' option.
4803 (main): Remove explicit handling of `java' option. Instead, pass style
4804 parameter in cplus_demangle flags as gdb does.
4805 * testsuite/demangle.expected: Add some Java test cases.
4806
584932e9
DD
48072000-12-29 DJ Delorie <dj@redhat.com>
4808
4809 * fnmatch.c: Make the note about the origins of this file more
4810 accurate, at least until we can sync with glibc.
4811 * getopt.c: Ditto.
4812 * getopt1.c: Ditto.
4813 * md5.c: Ditto.
4814 * obstack.c: Ditto.
4815
dac45916
MS
48162000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4817
4818 * bsearch.c: New file.
4819 * configure.in (funcs): Add bsearch.
4820 (AC_CHECK_FUNCS): Likewise.
4821 * configure, config.in: Regenerate.
4822
a8e4a997
MS
48232000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4824
4825 * safe-ctype.c: #include "ansidecl.h".
4826 * strtod.c: Likewise.
4827
75444da7
MS
48282000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4829
4830 * strtoul.c: Include safe-ctype.h, not ctype.h.
4831
f6bbde28
ZW
48322000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
4833
4834 * safe-ctype.c: New file.
4835 * Makefile.in (CFILES): Add safe-ctype.c.
4836 (REQUIRED_OFILES): Add safe-ctype.o.
4837
4838 * argv.c: Define ISBLANK and use it, not isspace.
4839 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
4840 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
4841 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
4842 before calling TOLOWER(c)/TOUPPER(c).
4843
6c1ce62b 48442000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
4845
4846 * Makefile.in (distclean): When cleaning, remove testsuite.
4847
b5d1497d
JM
48482000-12-05 Jason Merrill <jason@redhat.com>
4849
4850 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
4851 name before allocating the dyn_string.
4852
c6e13630
JM
48532000-12-04 Jason Merrill <jason@redhat.com>
4854
4855 * cp-demangle.c: s/new_abi/v3/.
4856 * cplus-dem.c: Likewise.
4857 (current_demangling_style): Now auto_demangling.
4858 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 4859 (main): Use standard symbol chars for auto_demangling.
c6e13630 4860
a4c9b97e
MM
48612000-11-26 Mark Mitchell <mark@codesourcery.com>
4862
4863 * hashtab.c (higher_prime_number): Use a table, rather than a
4864 seive, to find the next prime.
4865
3b3bd9a7
L
48662000-11-22 H.J. Lu <hjl@gnu.org>
4867
4868 * cplus-dem.c (main): Handle gnat_demangling.
4869
d1209685
ZW
48702000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
4871
4872 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
4873 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
4874 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
4875 argument form of AC_DEFINE in dummy definitions block. Use
4876 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
4877 in dummy block. Preload cache variables instead of bypassing
4878 tests, where possible.
4879 * acconfig.h: Removed.
4880
4881 * xmalloc.c (xmalloc_failed): New function, does error
4882 reporting on failed allocation.
4883 (xmalloc, xcalloc, xrealloc): Use it.
4884
cf183ac2
HPN
48852000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
4886
4887 * cplus-dem.c (cplus_demangle): Fix formatting.
4888 (grow_vect): Ditto.
4889 (ada_demangle): Ditto.
4890 (internal_cplus_demangle): Ditto.
4891 (mop_up): Ditto.
4892
48932000-11-21 H.J. Lu <hjl@gnu.org>
4894
4895 * cplus-dem.c (main): Handle java_demangling.
4896
8bcc782c
KG
48972000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4898
4899 * cplus-dem.c (grow_vect): Prototype.
4900 (ada_demangle): Cast the arg of ctype macros to unsigned char.
4901
29120f44
HPN
49022000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
4903
4904 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
4905 parameter `option'.
4906
0437a5a8
KB
49072000-11-15 Kenneth Block <kenneth.block@compaq.com>
4908
9e038f71 4909 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
4910 be used in GCC.
4911
eab0c1ab 49122000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 4913
29120f44 4914 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
4915 list.
4916
d50d20ec
HPN
49172000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
4918
4919 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
4920 xcalloc depending on htab->return_allocation_failure. Return zero
4921 if calloc fails.
d50d20ec
HPN
4922 (htab_create): Update comment to cover memory allocation.
4923 (htab_try_create): New.
4924 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 4925 Update comment to cover this.
d50d20ec 4926
35e9340f
HPN
49272000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
4928
4929 * hashtab.c: Change void * to PTR where necessary.
4930 (htab_create, htab_expand): Correct formatting of comment before
4931 function.
4932
ea343d1a 49332000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
4934
4935 * cp-demangle.c (string_list_def): Add caret_position and comments.
4936 (result_caret_pos): New macro.
4937 (result_append_string): Rename to...
4938 (result_add_string): ... this, and insert at caret position.
d1209685 4939 Rename throughout.
0870bfd6
AS
4940 (result_append): Rename to...
4941 (result_add): ... this, and insert at caret position. Rename
d1209685 4942 throughout.
0870bfd6
AS
4943 (result_append_char): Rename to...
4944 (result_add_char): ... this, and insert at caret position. Rename
d1209685 4945 throughout.
0870bfd6
AS
4946 (result_append_space): Remove.
4947 (string_list_new): Initialize caret position.
4948 (result_add_separated_char): Use caret position.
4949 (result_get_caret): New funtion.
4950 (result_set_caret): Likewise.
4951 (result_shift_caret): Likewise.
4952 (result_previous_char_is_space): Likewise.
4953 (substitution_start): Use caret position.
4954 (substitution_add): Likewise.
4955 (demangling_new): Initialize caret position.
4956 (demangle_encoding): Use caret position.
d1209685 4957 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
4958 (demangle_type_ptr): Use switch statement. Handle pointers to
4959 arrays. Don't use result_append_space. Use caret position.
4960 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
4961 call to demangle_array_type.
4962 (demangle_array_type): Add parameter to handle pointers to arrays.
4963
f15b9af9
MM
49642000-10-01 Mark Mitchell <mark@codesourcery.com>
4965
4966 * splay-tree.c (splay_tree_insert): Fix formatting.
4967
8f17b5c5
MM
49682000-09-16 Mark Mitchell <mark@codesourcery.com>
4969
4970 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
4971
4eaa189a
MS
49722000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4973
4974 * splay-tree.c: #include <stdio.h>.
4975
29791078
HPN
49762000-09-14 Hans-Peter Nilsson <hp@axis.com>
4977
4978 * testsuite/demangle-expected: Add two tests for anonymous
4979 namespaces.
4980 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
4981
2c9f4db7
MM
49822000-09-10 Mark Mitchell <mark@codesourcery.com>
4983
4984 * splay-tree.c (splay_tree_predecessor): New function.
4985 (splay_tree_successor): Likewise.
4986
bb22da4b
HPN
49872000-09-10 Hans-Peter Nilsson <hp@axis.com>
4988
4989 * testsuite/demangle-expected: Add four tests for type_info
4990 mangling.
bb22da4b
HPN
4991 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
4992 for a non-template non-qualified type_info function or node.
4993
759e8187
AS
49942000-09-08 Alex Samuel <samuel@codesourcery.com>
4995
4996 * cp-demangle.c: Fix copyright banner.
4997
2ecd81ef
MS
49982000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4999
5000 * md5.c: #include "ansidecl.h".
5001
d93998ec
AS
50022000-09-06 Alex Samuel <samuel@codesourcery.com>
5003
5004 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
5005 (demangle_type): Handle substitution candidates correctly in the
5006 face of special substitutions.
5007
1056d228
AS
50082000-09-05 Alex Samuel <samuel@codesourcery.com>
5009
5010 * cp-demangle.c (demangle_encoding): Rename variable.
5011 (demangle_name): Rename parameter. Handle return type
5012 suppression.
5013 (demangle_nested_name): Rename parameter.
5014 (demangle_prefix): Likewise. Change return type suppression.
5015 (demangle_unqualified_name): Add parameter. Flag constructors and
5016 conversion operators.
5017 (demangle_special_name): Fix comment.
5018 (demangle_type): Rename variable.
5019 (demangle_bare_function_type): Check for missing return type and
d1209685 5020 parameter.
1056d228
AS
5021 (demangle_class_enum_type): Rename parameter.
5022 (demangle_discriminator): Fix misspelling in comment.
5023
2f31ed7e
DD
50242000-08-31 DJ Delorie <dj@redhat.com>
5025
5026 * configure.in (Cygwin): special case cygwin only when we're
5027 building cygwin, not when we're hosting cygwin.
5028
02bcb9c6
AS
50292000-09-04 Alex Samuel <samuel@codesourcery.com>
5030
5031 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
5032 <expression>.
5033
aee749cf
AS
50342000-09-04 Alex Samuel <samuel@codesourcery.com>
5035
5036 * cp-demangle.c (demangle_type_ptr): Increment position past
5037 pointer and reference characters.
5038
92a16bbe
AS
50392000-09-04 Alex Samuel <samuel@codesourcery.com>
5040
5041 * cp-demangle.c (demangle_nv_offset): New function.
5042 (demangle_v_offset): Likewise.
5043 (demangle_call_offset): Likewise.
5044 (demangle_special_name): Update thunk demangling to comply with
5045 ABI changes.
d1209685 5046
31e0ab1f
AS
50472000-09-03 Alex Samuel <samuel@codesourcery.com>
5048
5049 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
5050 (substitution_def): Remove template_parm_number.
5051 (NOT_TEMPLATE_PARM): Remove.
5052 (result_insert_string): New macro.
5053 (result_insert): Likewise.
5054 (result_insert_char): Likewise.
5055 (substitution_add): Remove last parameter. Don't store template
d1209685 5056 parm number.
31e0ab1f
AS
5057 (BFT_NO_RETURN_TYPE): Define as NULL.
5058 (demangle_encoding): Adjust call to demangle_bare_function_type.
5059 (demangle_name): Adjust substitution. Adjust call to
d1209685 5060 substitution_add.
31e0ab1f
AS
5061 (demangle_prefix): Adjust call to substitution_add.
5062 (demangle_identifier): Handle anonymous namespaces.
5063 (demangle_operator_name): Change demangling of vendor-extended
5064 operator to match ABI changes.
5065 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 5066 substitutions here.
31e0ab1f
AS
5067 (demangle_type): Adjust calls to demangle_template_param,
5068 substitution_add, and demangle_type_ptr. Fix substitution of
5069 templated types.
5070 (demangle_function_type): Change parameter to a pointer.
5071 (demangle_bare_function_type): Likewise. Adjust insertion point.
5072 (demangle_template_param): Remove last parameter.
5073 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 5074 demangle_template_param.
31e0ab1f
AS
5075 (is_mangled_char): Accept `$' and `.'.
5076 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
5077 * dyn-string.c (dyn_string_insert_char): New function.
5078
ccbc3eb7
HPN
50792000-08-31 Hans-Peter Nilsson <hp@axis.com>
5080
5081 * testsuite/demangle-expected: Add nine tests for
5082 underscore-after-number followed by five tests for name-signature
5083 delimiter.
5084
53dce582
RH
50852000-08-28 Richard Henderson <rth@cygnus.com>
5086
5087 * Makefile.in (md5.o): Depend on config.h.
5088
881c6935
JM
50892000-08-28 Jason Merrill <jason@redhat.com>
5090
5091 * Makefile.in (REQUIRED_OFILES): Add md5.o.
5092 (CFILES): Add md5.c.
5093 * md5.c: New file.
5094
a440fd19
AS
50952000-08-27 Alex Samuel <samuel@codesourcery.com>
5096
5097 * cp-demangle.c (demangle_name): Initialize template_p in local
5098 name case. Don't re-add substitutions as candidates.
5099 (demangle_nested_name): Use <unqualified-name>.
5100 (demangle_prefix): Likewise. Don't add template names as
5101 substitution candidates twice, or re-add a substitution or the
5102 last prefix component.
5103 (demangle_local_name): Adjust output format.
5104
d01ce591
AS
51052000-08-25 Alex Samuel <samuel@codesourcery.com>
5106
5107 * cp-demangle.c (result_add_separated_char): Change parameter to
5108 int.
5109 (substitution_add): Don't check for duplicates. Check if
5110 previously allocated size is zero.
5111 (demangle_name): Remove duplicate check for std substitution.
5112 Clear template flag appropriately.
5113 (demangle_prefix): Remove argument to demangle_substitution.
5114 Don't check that template flag is already set.
5115 (demangle_operator_name): Add pt operator.
5116 (demangle_type): Don't treat r as built-in type. Remove argument
5117 to demangle_substitution. Fix substitution candidate mechanics.
5118 Handle <template-template-parm>s. Improve comments.
d1209685 5119 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
5120 (demangle_substitution): Remove parameter.
5121 (print_usage): Remove extra fprintf option.
5122
2f59c8eb
GM
51232000-08-24 Greg McGary <greg@mcgary.org>
5124
5125 * libiberty/random.c (end_ptr): Revert previous change.
5126
2f26c11d
GM
51272000-08-24 Greg McGary <greg@mcgary.org>
5128
5129 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
5130 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
5131 * libiberty/random.c (end_ptr): Likewise.
5132
e282c9c9
AS
51332000-08-23 Alex Samuel <samuel@codesourcery.com>
5134
5135 * cp-demangle.c (result_close_template_list): Remove function.
5136 (result_add_separated_char): New function.
5137 (result_open_template_list): New macro.
5138 (result_close_template_list): Likewise.
5139 (demangle_prefix): Don't set template_p if the
5140 prefix ends with a ctor name.
5141 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
5142 (demangle_type): Check for template args after substitution.
5143 (demangle_template_args): Use result_open_template_list.
d1209685 5144
c9b6494a
ZW
51452000-08-02 Zack Weinberg <zack@wolery.cumb.org>
5146
5147 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
5148
d1209685 51492000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
5150
5151 * config/mh-openedition.h: Added -DLE370 definition.
5152
0aab2795
ME
51532000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
5154
5155 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
5156 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
5157 Cast program to 'char *' in errmsg_arg assignment.
5158 (PWAIT_ERROR): Define.
5159 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
5160 to DJGPP's WIF* macros.
5161
c2f275e4
RB
51622000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
5163 Jeff Law <law@cygnus.com>
5164
73aa9564
RB
5165 * getcwd.c: Include string.h, stdlib.h for prototypes
5166
c2f275e4 5167 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
5168 * rename.c: Include config.h, unistd.h
5169 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 5170
ccbc3eb7
HPN
51712000-07-24 Hans-Peter Nilsson <hp@axis.com>
5172
5173 * cplus-dem.c (work_stuff_copy_to_from): New.
5174 (delete_non_B_K_work_stuff): New.
5175 (delete_work_stuff): New.
5176 (mop_up): Break out work_stuff partly destruction to
5177 delete_non_B_K_work_stuff.
5178 (iterate_demangle_function): New.
5179 (demangle_prefix): Call iterate_demangle_function instead of
5180 demangle_function_name. Leave handling of name-signature
5181 __-delimiters to iterate_demangle_function.
5182 (demangle_integral_value): Strip an optional
5183 following underscore cautiously. Handle negative numbers.
5184
3388651c
DB
51852000-07-24 Daniel Berlin <dberlin@redhat.com>
5186
d1209685 5187 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
5188 if (AUTO_DEMANGLING || GNU_DEMANGLING)
5189
0fac482e
AS
51902000-07-21 Alex Samuel <samuel@codesourcery.com>
5191
5192 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
5193 allocating ctor mangling.
5194 (demangle_array_type): Handle empty and non-constant array length.
5195
8502a100 51962000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
5197 Jeff Law <law@cygnus.com>
5198
c6451ce1
MS
5199 * configure.in (AC_CHECK_HEADERS): Add time.h.
5200 (AC_HEADER_TIME): Add check.
5201 * configure, config.in: Regenerate.
5202 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
5203
cd447360
MS
5204 * configure.in (AC_CHECK_HEADERS): Add limits.h.
5205 * configure, config.in: Regenerate.
5206 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
5207 * strtol.c, strtoul.c: #include "config.h". Portably #include
5208 <limits.h> and/or <sys/param.h>.
5209 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 5210
3b58c099
MS
5211 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
5212 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
5213 * configure, config.in: Regenerate.
5214 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
5215
8502a100
MS
5216 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
5217
da0c7743
MS
52182000-07-21 Mike Stump <mrs@wrs.com>
5219
5220 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 5221 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 5222
838f8562
KG
52232000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5224
5225 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
5226
5227 * setenv.c (setenv): Initialize variable `ep'.
5228
5229 * sigsetmask.c (abort): Prototype.
5230
5231 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
5232 __STDC__ for stdarg.h include.
5233 (int_vasprintf): Prototype.
5234 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
5235 definition. Cast `global_total_width' in comparison.
5236 (main): Prototype. Return a value.
5237
5238 * vfork.c (fork): Prototype.
5239
5240 * xexit.c: Include config.h.
5241
e9958132
JM
52422000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
5243
5244 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
5245 and print it with %u.
5246
39a6492f
HPN
52472000-07-17 Hans-Peter Nilsson <hp@axis.com>
5248
5249 * testsuite/regress-demangle (failed test): Show result and
5250 expected output.
5251
6d0be369
AH
52522000-07-07 Andrew Haley <aph@cygnus.com>
5253
5254 * cplus-dem.c (main): fflush() after emitting last char before
5255 waiting for input.
5256
bece74bd
AS
52572000-06-28 Alex Samuel <samuel@codesourcery.com>
5258
5259 * cp-demangle.c (demangle_encoding): Accept no substitutions.
5260 (demangle_name): Handle <substitution> followed by
5261 <unqualified-template-name>.
5262 (demangle_type): Follow special substitutions with
5263 <class-enum-type>
5264 (demangle_subtitution): Set template_p for special substitutions.
5265 (main): Fix typos.
d1209685 5266
229b8ec7
AS
52672000-06-27 Alex Samuel <samuel@codesourcery.com>
5268
5269 * cp-demangle.c (demangle_special_name): Swap base and derived
5270 class when demangling construction vtables.
5271
051664b0
AS
52722000-06-21 Alex Samuel <samuel@codesourcery.com>
5273
5274 * cp-demangle.c: Don't include ctype.h.
5275 (IS_DIGIT): New macro.
5276 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
5277 instead of isdigit and isalpanum.
5278 (demangling_def): Make name and next const pointers.
5279 (STATUS_ALLOCATION_FAILED): New status code.
5280 (dyn_string_append_space): Handle failure in
5281 dyn_string_append_char.
5282 (int_to_dyn_string): Likewise. Change return value to status_t.
5283 (string_list_new): Handle failure of dyn_string_init.
5284 (result_close_template_list): Change return type to status_t.
5285 Handle failure in dyn_string_append.
5286 (result_push): Change return value to status_t. Handle failure in
5287 string_list_new. Handle failure of result_push throughout.
5288 (substitution_add): Change return value to status_t. Handle
5289 dyn_string failures. Handle failure of substitution_add
5290 throughout.
5291 (template_arg_list_new): Return NULL on allocation failure.
5292 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
5293 Handle error result throughout.
5294 (result_append): Likewise.
5295 (result_append_char): Likewise.
5296 (result_append_space): Likewise.
5297 (demangling_new): Make argument a const pointer. Handle
5298 allocation failures.
5299 (demangle_template_args): Handle failure in template_arg_list_new
5300 and result_close_template_list.
5301 (demangle_discriminator): Return if int_to_dyn_string fails.
5302 (cp_demangle): Likewise.
5303 (cp_demangle_type): New function.
5304 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
5305 memory allocation failure.
5306 (main): Likewise.
5307 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
5308 IN_LIBGCC2.
5309 (dyn_string_init): Change return value to int. Handle
5310 RETURN_ON_ALLOCATION_FAILURE case.
5311 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
5312 (dyn_string_release): Delete the dyn_string.
5313 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
5314 (dyn_string_copy): Change return type to int.
5315 (dyn_string_copy_cstr): Likewise.
5316 (dyn_string_prepend): Likewise.
5317 (dyn_string_prepend_cstr): Likewise.
5318 (dyn_string_insert): Likewise.
5319 (dyn_string_insert_cstr): Likewise.
5320 (dyn_string_append): Likewise.
5321 (dyn_string_append_cstr): Likewise.
5322 (dyn_string_append_char): Likewise.
5323 (dyn_string_substring): Likewise.
d1209685 5324
fe06b696
ZW
53252000-06-09 Zack Weinberg <zack@wolery.cumb.org>
5326
5327 * cp-demangle.c (demangle_operator_name): Add spaces before
5328 names beginning with a letter: delete, delete[], new, new[],
5329 sizeof.
5330 (demangle_special_name): Handle TF <type> and TJ <type>.
5331
6223e158
PDM
5332Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
5333
5334 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
5335
48f3e29b
PDM
5336Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
5337
5338 * cp-demangle.c (stdio.h): File included unconditionaly.
5339 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
5340 * dyn-string.c (stdio.h): File included.
5341 * partition.c (partition_print): No `&' needed to take the address of
5342 a function.
5343
69197e7e
KG
53442000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5345
5346 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 5347
69197e7e
KG
5348 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
5349
5350 * cp-demangle.c (demangle_char): Change parameter from char to int.
5351 (demangle_expression, demangle_expr_primary): Remove extra
5352 semi-colon in prototype.
5353
5354 * dyn-string.c (dyn_string_append_char): Change parameter from
5355 char to int.
5356
5357 * memcmp.c (memcmp): Constify.
5358
5359 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
5360 __extension__.
5361
5362 * partition.c (elem_compare): Prototype. Don't cast away
5363 const-ness.
5364
5365 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 5366
7eb23b1f
KG
53672000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5368
5369 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
5370
5371 * cp-demangle.c: Include demangle.h.
5372 (template_arg_list_new): DeANSIfy.
5373 (cp_demangle): Make static and add prototype.
5374 (operator_code, operators): Constify.
5375 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
5376
3faa108c
AS
53772000-06-05 Alex Samuel <samuel@codesourcery.com>
5378
5379 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
5380 unsigned char.
5381 (demangle_unqualified_name): Likewise.
5382 (demangle_number_literally): Likewise.
5383 (demangle_type): Likewise.
5384 (demangle_substitution): Likewise.
5385 (is_mangled_char): Likewise, for isalnum.
5386
69afa80d
AS
53872000-06-04 Alex Samuel <samuel@codesourcery.com>
5388
5389 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
5390 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
5391 (cp-demangle.o): New dependency.
5392 (dyn-string.o): Likewise.
5393
5394 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
5395
5396 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
5397 demangler.
5398 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
5399 demangling mode.
5400 (gnu_new_abi_symbol_characters): New function.
5401 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
5402 file.
5403 * cp-demangle.c: New file.
d1209685 5404
0b72c3df
AC
5405Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
5406
5407 * floatformat.c: Add name to each floatformat field.
5408
270cea06
JL
5409Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
5410
5411 * Makefile.in (objalloc.o): Depend on config.h
5412
d11ec6f0
ZW
54132000-05-29 Zack Weinberg <zack@wolery.cumb.org>
5414
5415 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5416 if HAVE_STRING_H.
5417 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
5418 * objalloc.c: Include config.h. Include stdlib.h and don't
5419 declare malloc or free if HAVE_STDLIB_H.
5420 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
5421 else declare malloc without prototype. Include string.h if
5422 HAVE_STRING_H, else declare memset without prototype. Don't
5423 include stddef.h.
5424
f8e2da56
MS
54252000-05-23 Mike Stump <mrs@wrs.com>
5426
5427 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 5428 -j3.
f8e2da56 5429
650f3068
DA
54302000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
5431
5432 * xmalloc.c: Include config.h for HAVE_SBRK definition.
5433
1d2da2e1
HB
54342000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
5435
d1209685 5436 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
5437 probably zero, also eliminate a warning on alpha.
5438
47668d0a
DE
54392000-05-15 David Edelsohn <edelsohn@gnu.org>
5440
c7a79a32 5441 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
5442 on $(enable_shared).
5443
36348eab
JJ
54442000-05-10 Jakub Jelinek <jakub@redhat.com>
5445
5446 * config.table: Use mh-sparcpic for sparc*-*-*.
5447
209bbe34
NC
54482000-05-08 Nick Clifton <nickc@cygnus.com>
5449
5450 * Makefile.in (CFILES): Add strncmp.c.
5451 (NEEDED): Add strncmp.
5452
a85a47fb
KG
54532000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5454
5455 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
5456 Cast the arguments to `islower' to `unsigned char'.
5457 (print_demangler_list): Prototype.
5458
4aef973c
PDM
5459Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
5460
5461 * sort.c (UCHAR_MAX): Provide fallback definition.
5462
3b94497c
AO
54632000-04-29 Alexandre Oliva <aoliva@cygnus.com>
5464
5465 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
5466 SUBDIRS.
5467
24eaa47a
KB
54682000-04-28 Kenneth Block <block@zk3.dec.com>
5469 Jason Merrill <jason@casey.cygnus.com>
5470
d1209685
ZW
5471 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
5472 (cplus_demangle_set_style): New function for setting style.
5473 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 5474
a9266bfa
KG
54752000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5476
5477 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
5478
5479 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
5480 (libiberty_AC_FUNC_STRNCMP): Invoke.
5481
5482 * strncmp.c: New file.
5483
8e02c4d0
JH
5484Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
5485
5486 * hashtab.c (htab_expand): Add prototype.
5487 (find_empty_slot_for_expand): Likewise.
5488
4feeaae3
KG
54892000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5490
5491 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
5492 match prototype.
5493 (htab_expand): Cast the return value of xcalloc.
5494
18a94a2f
MM
54952000-04-24 Mark Mitchell <mark@codesourcery.com>
5496
5497 * hashtab.c (hash_pointer): New function.
5498 (eq_pointer): Likewise.
5499 (htab_hash_pointer): New variable.
5500 (htab_eq_pointer): Likewise.
5501
eeb0656f
MM
55022000-04-23 Mark Mitchell <mark@codesourcery.com>
5503
b51024fc
MM
5504 * sort.c (sort_pointers): Fix endianness bugs.
5505
eeb0656f
MM
5506 * sort.c: New file.
5507 * Makefile.in (CFILES): Add sort.c
5508 (REQUIRED_OFILES): Add sort.o.
5509 (sort.o): New target.
5510
7277f72d
MS
55112000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5512
5513 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
5514 4.3BSD systems.
5515
e38992e8
RK
5516Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5517
5518 * hashtab.c: Various minor cleanups.
5519 (htab_find_slot_with_hash): INSERT is now enum insert_option.
5520 (htab_find_slot): Likewise.
5521
498e1ab1
DP
55222000-04-16 Dave Pitts <dpitts@cozx.com>
5523
5524 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 5525
dc17cc7b
RH
55262000-04-05 Richard Henderson <rth@cygnus.com>
5527
5528 * splay-tree.c (splay_tree_remove): New.
5529
b13eb66b
MM
55302000-03-30 Mark Mitchell <mark@codesourcery.com>
5531
5532 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
5533 codes.
5534 (htab_find_with_hash): Likewise.
5535 (htab_find_slot_with_hash): Likewise.
d1209685 5536
0194e877
ZW
55372000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5538
5539 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
5540 unless it will be used. Rearrange loop for better
5541 optimization.
5542 (higher_prime_number): Add static prototype.
5543
abc61fd4
JL
5544Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
5545
5546 * Makefile.in (partition.o): Depend on config.h
5547
8c5d513f
BS
55482000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
5549
5550 * hashtab.c (find_empty_slot_for_expand): New function.
5551 (htab_expand): Use it instead of htab_find_slot.
5552 (htab_find_with_hash): Renamed from htab_find; now accepts extra
5553 argument HASH.
5554 (htab_find_slot_with_hash): Likewise for htab_find_slot.
5555 (htab_find): New wrapper function.
5556 (htab_find_slot): Likewise.
5557 (htab_traverse): Pass slot, not entry, to called function.
5558
d9d4fb43
AS
55592000-03-09 Alex Samuel <samuel@codesourcery.com>
5560
5561 * Makefile.in (CFILES): Add partition.c.
5562 (REQUIRED_OFILES): Add partition.o.
5563 (partition.o): New rule.
5564 * partition.c: New file.
d1209685 5565
5dc9cffd
ZW
55662000-03-09 Zack Weinberg <zack@wolery.cumb.org>
5567
5568 * hashtab.c (htab_create): Set del_f.
5569 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
5570 Use it.
5571
5194cf08
ZW
55722000-03-08 Zack Weinberg <zack@wolery.cumb.org>
5573
5574 * hashtab.c: Remove debugging variables (all_searches,
5575 all_collisions, all_expansions). Delete
5576 all_hash_table_collisions.
5577 (create_hash_table, delete_hash_table, empty_hash_table,
5578 find_hash_table_entry, remove_element_from_hash_table_entry,
5579 clear_hash_table_slot, traverse_hash_table, hash_table_size,
5580 hash_table_elements_number, hash_table_collisions): Rename to:
5581 htab_create, htab_delete, htab_empty, htab_find_slot,
5582 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
5583 htab_elements, htab_collisions.
5584 (htab_find): New function, handles common case where you don't
5585 plan to add or delete an entry.
5586 (htab_expand): Don't create a whole new table, just a new
5587 entry vector.
5588 (htab_find_slot): Simplify logic.
5589
5ad5a984
ILT
55901999-08-03 Ian Lance Taylor <ian@zembu.com>
5591
5592 * floatformat.c: Add casts to avoid signed/unsigned warnings.
5593 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
5594
5595 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
5596 $(TARGETLIB)n so it works on MSDOS.
5597 (install_to_tooldir): Likewise.
5598
55991999-07-21 Ian Lance Taylor <ian@zembu.com>
5600
5601 From Mark Elbrecht:
5602 * makefile.dos: Remove; obsolete.
5603 * configure.bat: Remove; obsolete.
5604
56051999-07-11 Ian Lance Taylor <ian@zembu.com>
5606
5607 * splay-tree.c (splay_tree_insert): Add initialization to avoid
5608 warning.
5609
aeecce42
MK
56102000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
5611
5612 * pexecute.c: Conditionally include string.h.
5194cf08 5613 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 5614
1eaf7d9c
KG
56152000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5616
5617 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
5618 we're using gcc.
5619
5620 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
5621
0fadedb2
GK
56221999-12-27 Geoff Keating <geoffk@cygnus.com>
5623
5624 * vasprintf.c (int_vasprintf): Don't re-read the format character
5625 as this mishandles strings like '%%s'.
5626
08230f26
MM
56271999-12-05 Mark Mitchell <mark@codesourcery.com>
5628
5629 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
5630 rather than struct splay_tree_node.
5631 (splay_tree_insert): Use struct splay_tree_s rather than struct
5632 splay_tree.
5633
6de9b8ff
PDM
5634Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
5635
5636 * hashtab.c (sys/types.h): File included.
5637
f3636679
JM
56381999-11-22 Jason Merrill <jason@casey.cygnus.com>
5639
5640 * strtoul.c, strtol.c, random.c: Remove advertising clause from
5641 BSD license, pursuant with
5642
5643 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5644
36dd3a44
JL
5645Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
5646
5647 * hashtab.c: Include stdio.h.
5648
6e300472
JL
5649Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
5650
5651 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
5652
df548dfc
PDM
5653Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
5654
5655 * xstrdup (sys/types.h): Include this file.
5656
2c375143
NS
56571999-10-28 Nathan Sidwell <nathan@acm.org>
5658
5659 * Makefile.in (SUBDIRS): New macro.
5660 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
5661 avoid multiple subdirectory cleaning.
5662 (*-subdir): Use SUBDIRS.
5663
a82cecda
JK
56641999-10-25 Jim Kingdon <http://developer.redhat.com/>
5665
5666 * cplus-dem.c: Move declarations of standard_symbol_characters and
5667 hp_symbol_characters inside #ifdef MAIN to avoid compiler
5668 warnings.
5669
ed38f5d5
ZW
56701999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
5671
5672 * hashtab.c (find_hash_table_entry): When returning a
5673 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
5674 (clear_hash_table_slot): New function which deletes an entry
5675 by its position in the table, not its value.
5676 (traverse_hash_table): New function which calls a hook
5677 function for every live entry in the table.
5678
b60fe4a7
MM
56791999-10-19 Mark Mitchell <mark@codesourcery.com>
5680
5681 * cplus-dem.c (INTBUF_SIZE): New macro.
5682 (string_append_template_idx): New function.
5683 (demangle_expression): Likewise.
5684 (demangle_integral_value): Use it.
5685 (demangle_real_value): New function, split out from ...
5686 (demangle_template_value_parm): ... here. Use
5687 string_append_template_idx. Use demangle_real_value.
5688 (demangle_template): Use string_append_template_idx.
5689 (demangle_qualified): Use consume_count_with_underscores.
5690 (get_count): Tweak formatting.
5691 (do_type): Use string_append_template_idx.
5194cf08 5692
3da5522a
KG
56931999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5694
5695 * calloc.c: Add a public domain notice.
5696
d7d36ea8
PDM
5697Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
5698
5699 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
5700
a2f945c6
VM
5701Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
5702
5703 * Makefile.in (CFILES): Add hashtab.c
5704 (REQUIRED_OFILES): Add hashtab.o
5705 (hashtab.o): Add dependencies.
5706 * hashtab.c: New file
5707
7f22ec2e
MK
5708Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
5709
5710 * basename.c (DIR_SEPARATOR): New macro.
5711 (DIR_SEPARATOR_2): Likewise.
5712 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
5713 (IS_DIR_SEPARATOR): Likewise.
5714 (main): Handle MSDOS style pathname.
5715
7c56a6ce
MM
57161999-10-11 Mark Mitchell <mark@codesourcery.com>
5717
5718 * cplus-dem.c (do_type): Handle pointer to member types whose
5719 enclosing classes have namespace scope.
5720
cd32188b
ME
5721Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
5722
5723 * config.table: Provide a backup shell for executing move-if-change.
5724
fc232f7a
MM
57251999-10-02 Mark Mitchell <mark@codesourcery.com>
5726
5727 * xmalloc.c (xmalloc): Fix spelling error.
5728 (xcalloc, xrealloc): Likewise.
5729
2a138827
KG
57301999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5731
5732 * cplus-dem.c (fancy_abort, demangle_integral_value,
5733 demangle_arm_hp_template, recursively_demangle,
5734 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
5735 (program_name, program_version, fatal): Constify a char*.
5736 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
5737 (main): Call return, not exit.
5738
5a657fc3
KG
57391999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5740
5741 * choose-temp.c: Remove obsolete comment about gcc.
5742 (make_temp_file): Constify a char*.
5743
33c5ddcd
KG
5744Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5745
5746 * xmemdup.c: Include sys/types.h.
5747
b10647f1
JG
57481999-09-07 Jeff Garzik <jgarzik@pobox.com>
5749
5750 * xmemdup.c: New xmemdup function.
5751 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
5752
3dd6c3af
LV
5753Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
5754
5194cf08 5755 * config.table: Add openedition target.
3dd6c3af
LV
5756 * config/mh-openedition: New file.
5757
19e28e2a
ME
5758Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
5759
5760 * pexecute.c (pexecute): Fill in temp_base when needed.
5761
4dfeccf9
RH
57621999-08-31 Richard Henderson <rth@cygnus.com>
5763
5764 * getpwd.c: Check HAVE_GETCWD before defining it away.
5765
4ac3cb83
KG
57661999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5767
5768 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
5769 (REQUIRED_OFILES): Add getpwd.o.
5770 (getpwd.o): Add target.
5771
5772 * configure.in (AC_PREREQ): Bump to 2.13.
5773 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
5774
5775 * getpwd.c: New file, moved here from gcc.
5776
e797ff70
KG
57771999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5778
5779 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
5780 comparing against a signed quantity.
5781 (arm_special): Likewise.
5782 (demangle_fund_type): Likewise.
5783 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 5784 ATTRIBUTE_UNUSED.
e797ff70
KG
5785 (main): Constify variable `valid_symbols'.
5786
55247fce
PDM
5787Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
5788
5789 * strtoul.c (strtoul): Add parentheses around && within ||.
5790
76632dd0
DJ
5791Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
5792
5793 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
5794 libdir, libsubdir and tooldir.
5795
d080bbfa
MM
57961999-08-01 Mark Mitchell <mark@codesourcery.com>
5797
5798 * splay-tree.c (splay_tree_insert): Return the new node.
5799
a81c752a
RH
58001999-07-14 Richard Henderson <rth@cygnus.com>
5801
5194cf08 5802 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
5803 prototyping directly.
5804 * choose-temp.c: Conditionally include string.h.
5805
8f1824d9
JM
58061999-07-12 Jason Merrill <jason@yorick.cygnus.com>
5807
5808 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
5809
652374d3
ILT
58101999-07-11 Ian Lance Taylor <ian@zembu.com>
5811
5812 * splay-tree.c (splay_tree_insert): Add initialization to avoid
5813 warning.
5814
a4494286
JM
58151999-07-07 Jason Merrill <jason@yorick.cygnus.com>
5816
5817 * Makefile.in (needed-list): Only include stuff we actually need
5818 for libstdc++.
5819
90e72e20
AS
58201999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5821
5822 * configure.in (checkfuncs): Add gettimeofday.
5823 * config.in, configure: Regenerated.
5824
b569200e
MK
5825Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
5826
5827 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
5828 the test fails.
5829 * configure: Regenerate.
5830
73919448
MS
58311999-06-10 Mike Stump <mrs@wrs.com>
5832
5833 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
5834 parallel builds.
5835
fee9125c
KG
58361999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5837
5838 * putenv.c: Include ansidecl.h to define `const'.
5839 * setenv.c: Likewise.
5840
71cce721
MN
5841Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
5842
a7c9637f
JL
5843 * Makefile.in (CFILES): Add putenv.c and setenv.c.
5844 * configure.in (funcs): Add putenv and setenv.
5845 (AC_CHECK_FUNCS): Check for putenv and setenv.
5846 * configure: Rebuilt.
5847 * putenv.c setenv.c: New files.
5848
71cce721
MN
5849 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
5850 bytes of space using malloc.
5851
53504016
SG
5852Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
5853
5854 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
5855 the *mangled pointer beyond the end of the string. Clean up code to
5856 match prevailing coding style.
5857
34842539
MH
58581999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5859
5860 * tmpnam.c (L_tmpnam): Fix typo.
5861
3a08531d
ME
5862Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
5863
5864 * cplus-dem.c (standard_symbol_characters): Renamed from
5865 standard_symbol_alphabet. No longer modify TABLE.
5866 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
5867 modify TABLE.
5868 (main): Corresponding changes. Use strchr to determine if a
5869 character is valid.
5870
8db9d08b
JB
58711999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
5872
5873 * cplus-dem.c (main): Use table lookup to distinguish identifier
5874 characters from non-identifier characters.
5875 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
5876
6a071f4a
FF
5877Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
5878
5879 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
5880 * getruntime.c: Only attempt to include sys/resource.h and
5881 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
5882 are defined.
5883
7dd88617
DT
5884Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
5885
5886 * configure.in (alloca detection): Handle alloca directly for interix.
5887 * configure: Rebuilt.
5888
7a1528bc
MK
5889Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
5890
5891 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
5892
76409268
JB
58931999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5894
5895 Fix from Dale Hawkins:
5194cf08 5896 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
5897 reallocated properly if we use it again.
5898
5899 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
5900 stricter about syntax. Always null-terminate string.
5901
acbbd80a
MK
5902Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
5903
5904 * configure.in (checkfuncs): Check for sbrk.
5905 * config.in: Rebuilt.
5906 * configure: Likewise.
5907 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
5908
92523551
JB
59091999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
5910
5911 Fix from Marcus Daniels:
5912 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
5913 identifier looking for another underscore.
5914
36eb4217
MK
5915Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
5916
5917 * pexecute.c: Change all references to __UWIN__ to _UWIN.
5918 * xmalloc.c: Likewise.
5919 (xcalloc): UWIN has sbrk.
5920 (xrealloc): Fix guard macro.
5921
2c45d1a0
RH
59221999-04-11 Richard Henderson <rth@cygnus.com>
5923
5924 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
5925 or <alloca.h>.
5926 * clock.c (GNU_HZ): New definition.
5927 (clock): Use it.
5928 * getruntime.c: Likewise.
5929
5930 * config.table: Use mh-beos.
5931 * config/mh-beos: New file.
5932
391cdef0
MM
59331999-04-11 Mark Mitchell <mark@codesourcery.com>
5934
5935 * cplus-dem.c (demangle_template_value_parm): Handle
5936 pointers-to-members.
5937 (do_type): Handle template parameters as qualifiers.
5938
9d229989
JB
59391999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
5940
5941 * cplus-dem.c: Attempt to handle overflows in counts with some
5942 semblance of grace.
5943 (consume_count): Detect overflows. Return -1 to indicate errors,
5944 instead of zero.
5945 (demangle_template_value_parm, demangle_template): Handle change
5946 to consume_count's return convention.
5947
7c72138a
TT
59481999-04-05 Tom Tromey <tromey@cygnus.com>
5949
5950 * testsuite/regress-demangle: New file.
5951 * testsuite/demangle-expected: New file.
5952
5953 * Makefile.in (all, check, installcheck, info, install-info,
5954 clean-info, dvi, install, etags, tags, mostlyclean, clean,
5955 distclean, maintainer-clean, realclean): Depend on corresponding
5956 `-subdir' target.
5957 (all-subdir check-subdir installcheck-subdir info-subdir
5958 install-info-subdir clean-info-subdir dvi-subdir
5959 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
5960 distclean-subdir maintainer-clean-subdir): New target.
5961 * testsuite/Makefile.in: New file.
5962 * configure: Rebuilt.
5963 * configure.in: Create testsuite/Makefile.
5964
ae7f7270
MM
59651999-04-02 Mark Mitchell <mark@codesourcery.com>
5966
5967 * splay-tree.h (splay_tree_compare_pointers): Define.
5968
30f72379
MM
59691999-03-30 Mark Mitchell <mark@codesourcery.com>
5970
5971 * splay-tree.c (splay_tree_compare_ints): Define.
5972
4cc48683
TT
59731999-03-30 Tom Tromey <tromey@cygnus.com>
5974
5975 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
5976 don't advance input pointer.
5977 (demangle_class_name): If consume_count didn't find a count, do
5978 nothing. Don't bother with `strlen' sanity check; consume_count
5979 does it for us.
5980
3510075c
JL
59811999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5982
5983 From Art Haas <ahaas@neosoft.com>:
5984 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
5985 when doing arm or hp style.
5986 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 5987
89f602a7
MK
5988Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
5989
5990 * pexecute.c (__CYGWIN32__): Rename to
5991 (__CYGWIN__): this.
5992 * xmalloc.c: Likewise.
5993
5994 Changes to support i386-pc-uwin.
5995 * configure.in (*-*-uwin*): Workaround for vfork bug.
5996 * configure: Regenerate.
5997 * pexecute.c (pexecute): Be like standard Unix.
5998 (pwait): Likewise.
5999 * xmalloc.c (first_break): Define.
6000 (xmalloc_set_program_name): Use.
6001 (xmalloc): Use.
6002
9346c824
FS
6003Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6004
6005 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
6006
3510075c
JL
6007Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
6008
6009 * config.table: Check cygwin*, not cygwin32*.
6010
8ec65f13
DB
6011Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
6012
6013 * Makefile.in: Change mkstemp -> mkstemps.
6014
687361c8
ME
6015Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
6016
6017 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
6018 * configure.in (funcs): Check for and conditionally add mkstemps to
6019 the list of functions libiberty will provide.
6020 * configure: Rebuilt.
5194cf08 6021
b207e09c
MK
6022Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
6023
5194cf08 6024 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
6025 platforms that don't have HZ.
6026 * getruntime.c (HZ): Likewise.
6027
16b4c15e
RH
6028Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
6029
6030 * Makefile.in (xstrdup.o): Depend on config.h.
6031
38beb75c
UD
6032Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
6033
6034 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
6035 freeing it.
6036
7e4311a3
KG
6037Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6038
6039 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
6040
3510075c
JL
6041Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6042
6043 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
6044 splay-tree.o.
6045
60461999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
6047
6048 * configure.in: Require autoconf 2.12.1 or higher.
6049
fb9939b8
MM
60501998-12-30 Michael Meissner <meissner@cygnus.com>
6051
6052 * random.c (NULL): Don't redefine NULL if it is already defined.
6053
087aa398
KG
6054Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6055
6056 * argv.c (buildargv): Cast the result of alloca in assignment.
6057
6058 * choose-temp.c: Include stdlib.h.
38beb75c 6059
087aa398 6060 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
6061 (snarf_numeric_literal): Constify first parameter.
6062 (code_for_qualifier): Avoid a gcc extension, make the parameter an
6063 int, not a char.
087aa398
KG
6064 (demangle_qualifier): Likewise.
6065 (demangle_signature): Cast the argument of a ctype function to
6066 unsigned char.
6067 (arm_pt): Add parens around assignment used as truth value.
6068 (demangle_arm_hp_template): Constify variable `args'.
6069 (do_hpacc_template_const_value): Cast the argument of a ctype
6070 function to unsigned char.
6071 (do_hpacc_template_literal): Remove unused variable `i'.
6072 (snarf_numeric_literal): Constify parameter `args'.
6073 Cast the argument of a ctype function to unsigned char.
6074
6075 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 6076 avoid ambiguous `else'.
38beb75c 6077
087aa398 6078 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
6079 `cstart' and `cend' to unsigned char. Cast the argument of macro
6080 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
6081
6082 * objalloc.c (free): Add prototype.
6083
21f2174d
HPN
6084Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
6085
6086 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
6087
3510075c
JL
6088Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
6089
6090 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 6091 doesn't exist.
3510075c 6092 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 6093
e8fc8222
AM
6094Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
6095
6096 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
6097 bumping the pointer we read from. Also prepend these codes,
6098 as we do in other places.
6099
3510075c
JL
61001998-12-18 Nick Clifton <nickc@cygnus.com>
6101
6102 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
6103 'const char *' in order to match its usage when calling siblings.
6104 (snarf_numeric_literal): Make first arg 'const char **' in order
6105 to match usage.
11a0bb74 6106
f4f30aa1
JL
6107Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6108
11a0bb74
KG
6109 * choose-temp.c: Don't check IN_GCC anymore.
6110
6111 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
6112 * memchr.c (memchr): Likewise.
6113 * memcpy.c (memcpy): Likewise.
6114 * memmove.c (memmove): Likewise.
38beb75c 6115
11a0bb74
KG
6116 * mkstemp.c: Don't check IN_GCC anymore.
6117 * pexecute.c: Likewise.
6118 * splay-tree.c: Likewise.
38beb75c 6119
11a0bb74
KG
6120 * strchr.c (strchr): Use `const', not `CONST'.
6121 * strrchr.c (strrchr): Likewise.
6122 * strtol.c (strtol): Likewise.
6123 * strtoul.c (strtoul): Likewise.
6124
70d5ccef
DT
6125Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
6126 Elena Zannoni <ezannoni@cygnus.com>
6127 Stan Shebs <shebs@cygnus.com>
6128 Edith Epstein <eepstein@cygnus.com>
6129 Andres MacLeod <amacleod@cygnus.com>
6130 Satish Pai <pai@apollo.hp.com>
6131
6132 * HP aCC demangling support.
6133 * cplus-dem.c
6134 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
6135 demangling correctly when -edg specified; set the demangling style
6136 when user specifies 'edg'. Set strip_underscore to
6137 prepends_underscore, if not HPUXHPPA. Set
6138 current_demangling_style to hp_demangling if HPUXHPPA. Set
6139 current demangling style correctly if the switch is hp. Read
6140 label correctly also in the HP style case.
70d5ccef 6141 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 6142 function.
70d5ccef 6143 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 6144 style for this case is the same as ARM.
70d5ccef
DT
6145 (demangle_args): handle EDG_DEMANGLING style; support HP style.
6146 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
6147 demangle_arm_pt.); check and set value of temp_start field in
6148 multiple places. Also, when ceching for end of template args,
6149 check to see if at end of static member of template class.
70d5ccef 6150 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 6151 include template args in string defining class.
70d5ccef
DT
6152 (demangle_class_name): use demangel_arm_hp_template.
6153 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
6154 HP_DEMANGLING and currently point at an 'X' in the mangled name.
6155 Handle EDG_DEMANGLING style. Handle constructor and destructor
6156 ops for HP style.
70d5ccef 6157 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
6158 styles. global destructor and constructor for HP style are same
6159 as for ARM style. Same for local variables.
70d5ccef
DT
6160 (demangle_qualified): handle EDG_DEMANGLING style.
6161 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
6162 cases '1' - '9' : initialize the temp_start field to -1 and handle
6163 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
6164 and AUTO_DEMANGLING styles. If expecting a function and managed
6165 to demangle the funct args, then handle the LUCID_DEMANGLING,
6166 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
6167 class name after "Lnnn_ in HP style case. HP style too needs to
6168 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 6169 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 6170 value param for HP/aCC.
70d5ccef 6171 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 6172 literal parameter for HP aCC.
70d5ccef
DT
6173 (recursively_demangle): new function
6174 (snarf_numeric_literal): new function.
6175 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 6176 to message.
70d5ccef 6177
8d525fa8
CF
6178Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
6179
6180 * pexecute.c: Remove obsolete ifdefed cygwin code.
6181
9b1a92d8
KG
6182Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6183
6184 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
6185 * cplus-dem.c: Likewise. Conform to libiberty.h.
6186 * pexecute.c: Likewise.
6187 * splay-tree.c: Likewise.
6188
c85c3232
MS
61891998-11-25 Mike Stump <mrs@wrs.com>
6190
6191 * Makefile.in (splay-tree.o): Add config.h dependency.
6192
35a6cd99
KG
6193Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6194
6195 * configure.in: Use AC_PREREQ(2.12.1).
6196
6e6e34b7
BK
61971998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
6198
5194cf08 6199 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 6200
59b67c11
JL
6201Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
6202
6203 * mpw.c (mpw_access): Add missing parens.
6204
a6458d1d
KG
6205Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6206
6207 * configure.in: Call AC_HEADER_SYS_WAIT.
6208
6209 * pexecute.c: Include sys/wait.h when !IN_GCC.
6210
3510075c
JL
6211Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
6212
6213 * pexecute.c: revert back to checking old Cygwin
6214 preprocessor symbol until some time has passed.
6215
6216Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
6217
6218 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
6219 since it will now support similar constructs.
6220
a9acf741
KG
6221Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6222
6223 * configure.in: Check for calloc.
6224
6225 * calloc.c: New file.
6226
6227 * xmalloc.c (xcalloc): New function.
6228
a49fb37a
AM
6229Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
6230
6231 *cplus-dem.c (demangle_prefix): Use the last "__"
6232 in the mangled name when looking for the signature. This allows
6233 template names to begin with "__".
6234
0e714131
MM
62351998-11-08 Mark Mitchell <mark@markmitchell.com>
6236
ec2288ff
MM
6237 * cplus-dem.c (type_kind_t): Add tk_reference.
6238 (demangle_template_value_parm): Handle it.
6239 (do_type): Use it for references, instead of tk_pointer.
6240
0e714131
MM
6241 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
6242 not internal_cplus_demangle.
6243
2931b6d4
KG
6244Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6245
6246 * choose-temp.c: Don't include gansidecl.h.
6247 * mkstemp.c: Likewise.
6248 * pexecute.c: Likewise.
6249
dd8f3ed5
GN
6250Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
6251
5194cf08
ZW
6252 * configure.in: detect cygwin* instead of cygwin32*
6253 * configure: regenerate
dd8f3ed5 6254
c5f7c445
KG
6255Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6256
6257 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
6258 whether to include config.h. Possibly include unistd.h in the
6259 !IN_GCC case. Define VFORK_STRING as a printable function call
6260 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
6261 defined, include vfork.h. If VMS is defined, define vfork()
6262 appropriately. Remove vfork check on USG, we're using autoconf.
6263 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
6264 locally what string to use.
c5f7c445 6265
ad3ef78e
MM
62661998-10-26 Mark Mitchell <mark@markmitchell.com>
6267
6268 * splay-tree.c: Tweak include directives to make sure declarations of
6269 xmalloc and free are available.
6270
224301c1
MM
62711998-10-25 Mark Mitchell <mark@markmitchell.com>
6272
6273 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
6274 anonymous namespaces.
38beb75c 6275
d9db46fd
MM
62761998-10-23 Mark Mitchell <mark@markmitchell.com>
6277
6278 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
6279 with type_quals.
6280 (TYPE_UNQUALIFIED): New macro.
6281 (TYPE_QUAL_CONST): Likewise.
6282 (TYPE_QUAL_VOLATILE): Likewise.
6283 (TYPE_QUAL_RESTRICT): Likewise.
6284 (code_for_qualifier): New function.
6285 (qualifier_string): Likewise.
6286 (demangle_qualifier): Likewise.
6287 (internal_cplus_demangle): Use them.
6288 (demangle_signature): Likewise.
6289 (demangle_template_value_parm): Likewise.
6290 (do_type): Likewise.
6291 (demangle_fund_type)): Likewise.
224301c1 6292
b056ad1c
KG
6293Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6294
6295 * splay-tree.c (splay_tree_foreach_helper): Make definition static
6296 to match prototype.
6297
ed87f9c8
MM
62981998-10-21 Mark Mitchell <mark@markmitchell.com>
6299
6300 * splay-tree.c: New file.
6301 * Makefile.in (CFILES): Add it.
6302 (REQUIRED_OFILES): Likewise.
6303 (splay-tree.o): Add dependencies.
6304
e0c13971
AS
6305Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6306
6307 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
6308 range of 'K' index.
6309
91e0f659
KG
6310Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6311
6312 * choose-temp.c: Prototype mkstemps() when IN_GCC.
6313
6314 * cplus-dem.c (consume_count): Cast argument of ctype macro to
6315 `unsigned char'.
6316 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
6317 comparing against one.
6318 (cplus_mangle_opname): Likewise.
6319 (demangle_integral_value): Cast argument of ctype macro to
6320 `unsigned char'.
6321 (demangle_template_value_parm): Likewise.
6322 (demangle_template): Initialize variable `bindex'. Cast the
6323 result of `strlen' to (int) when comparing against one. Remove
6324 unused variable `start_of_value_parm'.
6325 (demangle_class_name): Cast the result of `strlen' to (int) when
6326 comparing against one.
6327 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
6328 (gnu_special): Likewise. Cast the result of `strlen' to (int)
6329 when comparing against one.
6330 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
6331 (get_count): Likewise.
6332 (do_type): Likewise. Cast the result of `strlen' to (int) when
6333 comparing against one.
6334 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
6335 (demangle_function_name): Cast the result of `strlen' to (int)
6336 when comparing against one.
6337
6338 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
6339 comparing against one.
6340
73aeb2ff
JL
6341Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
6342
5194cf08
ZW
6343 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
6344 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
6345 * config.in, configure: Rebuilt.
ae76f1be 6346
73aeb2ff
JL
6347 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
6348 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
6349 * config.in, configure: Rebuilt.
6350
dd8f3ed5
GN
6351Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
6352
5194cf08 6353 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 6354
f77d8413
MT
6355Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
6356
6357 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
6358
ca6b370d
JL
6359Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
6360
6361 * Merge egcs & devo libiberty.
6362
719bb4e3 63631998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
ab4856b1
ML
6364
6365 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
6366
96e88994
KG
6367Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6368
6369 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
c4b9cfe0
AJ
6370 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
6371 IN_GCC.
96e88994
KG
6372
6373 * vasprintf.c: Include stdarg.h/varargs.h first.
6374
6375 * vprintf.c: Likewise.
6376
3f3726a3
JL
6377Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
6378
6379 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
6380 is the canonical copy. Define ISSPACE if !IN_GCC.
7520c31b 6381 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
f45da49c 6382 * getopt1.c, obstack.c: Similarly.
16ba4214 6383 * Makefile.in: Build mkstemp.o
3f3726a3 6384
ca6b370d
JL
6385Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
6386
6387 * configure.in: Include asprintf in list of functions known not
6388 to be in newlib.
6389 * configure: Rebuild.
6390
28235a5c
MK
6391Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
6392
6393 * cplus-dem.c (work_stuff): Add dllimported.
6394 (demangled_prefix): Mark symbols imported from PE DLL.
6395 (internal_cplus_demangled): Handle.
6396
5210f3d0
JM
63971998-08-17 Jason Merrill <jason@yorick.cygnus.com>
6398
6399 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
6400 stay failed.
6401
a7825625
KG
6402Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6403
6404 * cplus-dem.c: Include config.h if it exists. Also, only
6405 prototype malloc/realloc if we can't get stdlib.h.
6406
ca6b370d
JL
6407Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
6408
6409 * configure.in: Switch back to checking --with-target-subdir when
6410 deciding whether to check for newlib, undoing part of July 15
6411 change.
6412 * configure: Rebuild.
6413
6414Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
6415
6416 * cplus-dem.c (type_kind_t): New type.
6417 (demangle_template_value_parm): Add type_kind_t parameter. Rely
6418 on this paramter, rather than demangling the type again.
6419 (demangle_integral_value): Pass tk_integral.
6420 (demangle_template_: Pass the value returned from do_type.
6421 (do_type): Return a type_kind_t. Pass tk_integral to
6422 demangle_template_value_parm for array bounds.
6423 (demangle_fund_type): Likewise.
6424
6425 Also incorporate from GCC version:
6426
6427 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
6428
6429 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
6430
6431Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6432
6433 * cplus-dem.c (demangle_nested_args): Make function definition
6434 static to match the prototype.
6435
4d17a06f
MM
6436Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
6437
6438 * cplus-dem.c (type_kind_t): New type.
6439 (demangle_template_value_parm): Add type_kind_t parameter. Rely
6440 on this paramter, rather than demangling the type again.
6441 (demangle_integral_value): Pass tk_integral.
6442 (demangle_template_: Pass the value returned from do_type.
6443 (do_type): Return a type_kind_t. Pass tk_integral to
6444 demangle_template_value_parm for array bounds.
6445 (demangle_fund_type): Likewise.
6446
6447 Also incorporate from GCC version:
6448
6449 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
6450
6451 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
6452
ca6b370d
JL
6453Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
6454
6455 * Makefile.in (ALLOCA): New variable.
6456 ($(TARGETLIB)): Add $(ALLOCA) to library.
6457 (needed-list): Add $(ALLOCA).
6458 ($(ALLOCA)): Depend upon stamp-picdir.
6459
d94f5c58
KG
6460Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6461
6462 * cplus-dem.c (demangle_nested_args): Make function definition
6463 static to match the prototype.
6464
ca6b370d
JL
6465Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
6466
6467 * configure.in: Check --with-cross-host rather than
6468 --with-target-subdir when deciding whether build uses a cross
6469 compiler, and when deciding where to install the library.
6470 * configure: Rebuild.
6471
6472Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
6473
6474 * cplus-dem.c (demangle_nested_args): Return a value.
9923cc56 6475
ca6b370d
JL
6476Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
6477
6478 * cplus-dem.c (string): Move definition before work_stuff.
8a2a7ea2
MM
6479 (work_stuff): Add volatile_type, forgetting_types,
6480 previous_argument, and nrepeats fields.
6481 (SCOPE_STRING): New macro.
6482 (demangle_template): Add `remember' parameter. Add comment.
6483 Register the `B' code type here, if remembering. Tidy. Fix crash
6484 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
6485 (demangle_nested_args): New function.
6486 (internal_cplus_demangle): Handle volatile-qualified member
38beb75c 6487 functions.
8a2a7ea2
MM
6488 (mop_up): Delete the previous_argument string if present.
6489 (demangle_signature): Tidy. Handle volatile-qualified member
6490 functions. Handle back-references using the `B' code. Use extra
6491 parameter to demangle_template and SCOPE_STRING where appropriate.
6492 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
38beb75c 6493 code.
8a2a7ea2
MM
6494 (demangle_class): Use SCOPE_STRING.
6495 (gnu_special): Pass additional argument to demangle_template.
6496 Use SCOPE_STRING.
6497 (demangle_qualified): Save qualified types for later
6498 back-references. Handle constructors and destructors for template
6499 types correctly.
6500 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
6501 demangle_template. Use demangled_nested_args. Don't remember
6502 qualified types here; that's now done in demangle_qualified.
6503 Similarly for templates.
6504 (do_arg): Improve commment. Handle 'n' repeat code.
6505 (remember_type): Check forgetting_types.
6506 (demangle_args): Deal with 'n' repeat codes. Tidy.
38beb75c 6507
ca6b370d
JL
6508Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
6509
6510 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
6511 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
6512
6513Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
6514
6515 * configure.in (setobjs): Correct quoting error in cygwin32 case.
6516 From Chris Faylor <cgf@cygnus.com>.
6517
6518Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
6519
6520 * obstack.c: Update to latest FSF version.
6521
6522Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
6523
6524 * Makefile.in: Add a dependency on stamp-picdir for the
6525 objects, so that we can do a parallel build.
9923cc56 6526
6391b50a
MK
6527Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
6528
6529 * configure.in (checkfuncs): Add missing "'".
6530
ca6b370d 6531Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
10c62dce 6532
ca6b370d
JL
6533 * obstack.c (_obstack_memory_used): Elide this function if we're
6534 on a system with GNU libc.
10c62dce 6535
ca6b370d 6536Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
75f6bf44 6537
ca6b370d 6538 * Makefile.in (distclean): Remove config.log.
75f6bf44 6539
ca6b370d 6540Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7b195f77 6541
ca6b370d
JL
6542 * Makefile.in (distclean): Don't remove alloca-conf.h.
6543
6544Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
6545
6546 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
7b195f77 6547
1cc75298
MM
65481998-05-21 Mark Mitchell <mmitchell@usa.net>
6549
6550 * cplus-dem.c (do_type): Handle volatile qualification.
38beb75c 6551
39d65850
MH
65521998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
6553
6554 * configure.in: Check for unistd.h as well.
6555 * configure: Rebuild.
6556 * config.in: Rebuild.
6557 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
6558 is defined in unistd.h. Reformat conditional block for easier reading.
6559
6560 * config.table (shared): Default to no if ${enable_shared}
6561 is unset or empty; this logic is used by the toplevel
6562 configure scripts, too.
6563
c2953795
JL
6564Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
6565
6566 * config.table: Add line to set enable_shared in the Makefile
6567 as needed.
6568
d6f4ec51
KG
6569Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6570
3affd5f0
JL
6571 * cplus-dem.c (squangle_mop_up): Change return type to void.
6572 (internal_cplus_demangle): Remove unused parameter `options'.
6573 All callers changed.
6574 (cplus_demangle_opname): Remove function wide variable `int i' and
6575 replace with `size_t i' at each location where it is used.
6576 (cplus_mangle_opname): change type of `i' from int to size_t.
6577
6578Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
6579
6580 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
6581 than sparc or sun.
6582 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
6583
6584Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
6585
6586 * configure.in: Set libiberty_topdir correctly when srcdir is
6587 "." and with_target_subdir is not set.
6588 * configure: Rebuild.
6589
6590Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
6591
6592 * configure.in: Add *-*-mingw32* case.
6593 * configure: Rebuild.
6594
6595Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
6596
6597 * config.table: Never use a PIC file for *-*-cygwin32*.
6598
6599 * Makefile.in (config.status): Depend upon config.table.
6600
6601 * configure.in: On a cygwin32 host, always compile random, and
6602 don't test for sys_siglist, strsignal, or psignal.
6603 * configure: Rebuild.
6604
6605 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
6606 * getcwd.c: Likewise.
6607 * getpagesize.c: Likewise.
6608 * getruntime.c: Likewise.
6609
6610Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
6611
6612 Use autoconf tests rather than the old dummy.c test:
6613 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
6614 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
6615 most functions. Add special cases to handle newlib and VxWorks.
6616 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
6617 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
6618 CONFIG_FILES is set; set ac_file before calling it.
6619 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
6620 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
6621 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
6622 (i[3456]-*-mingw32*): Remove.
6623 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
6624 (LIBOBJS): New variable.
6625 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
6626 (all): Depend upon needed-list. Don't check RULE1.
6627 (@target_makefile_frag@): Remove.
6628 (COMPILE.c): Include @DEFS@.
6629 (HFILES): Add alloca-conf.h.
6630 (REQUIRED_OFILES): Remove basename.o.
6631 ($(TARGETLIB)): New target.
6632 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
6633 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
6634 (needed-list, config.h): Rewrite.
6635 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
6636 (.always.): Remove.
6637 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
6638 (stamp-h): New target.
6639 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
6640 (basename.o): Don't depend upon config.h.
6641 (getruntime.o): Depend upon config.h.
6642 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
6643 NEED_on_exit.
6644 * basename.c: Don't include config.h. Don't check NEED_basename.
6645 * clock.c: Include config.h.
6646 * getcwd.c: Likewise.
6647 * getpagesize.c: Likewise.
6648 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
6649 HAVE_TIMES.
6650 * strerror.c: Change uses of NEED_sys_errlist to
6651 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
6652 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
6653 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
6654 HAVE_PSIGNAL.
6655 * acconfig.h: New file.
6656 * dummy.c: Remove.
6657 * functions.def: Remove.
6658 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
6659 * config/mh-windows (HDEFINES): Remove.
6660 * config/mh-cygwin32: Remove.
6661 * config/mh-go32: Remove.
6662 * config/mh-irix4: Remove.
6663 * config/mh-riscix: Remove.
6664 * config/mh-sysv4: Remove.
6665 * config/mt-mingw32: Remove.
6666 * config/mt-vxworks5: Remove.
6667 * config.in: New file, generated using autoheader.
6668 * configure: Rebuild.
6669
6670Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
6671
6672 * configure.in: Rewrite to use autoconf.
6673 * configure: Generate using autoconf.
6674 * config/mh-a68bsd: Remove.
6675 * config/mh-apollo68: Remove.
6676 * config/mh-hpbsd: Remove.
6677 * config/mh-ncr3000: Remove.
6678 * config/mh-sysv: Remove.
6679 * config/mh-aix (RANLIB, INSTALL): Don't define.
6680 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
6681 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
6682 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
6683 * config.table: Change config_shell to CONFIG_SHELL, and use
6684 libiberty_topdir to find move-if-change.
c4b9cfe0 6685 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
3affd5f0
JL
6686 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
6687 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
6688 * Makefile.in (srcdir): Set to @srcdir@.
6689 (VPATH): Likewise.
6690 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
6691 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
6692 (CC, CFLAGS, RANLIB)): Likewise.
6693 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
6694 (target_makefile_frag, host_makefile_frag): Add substitutions.
6695 (INSTALL_DEST): Set to @INSTALL_DEST@.
6696 (Makefile): Depend upon config.status. Don't depend upon
6697 $(host_makefile_frag) or $(target_makefile_frag).
6698 (config.status): New target.
6699
6700Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
6701
6702 * config/mt-sunos4: Remove. Should be handled by --with-headers
6703 and --with-libraries options at top level.
6704 * config.table: Never use mt-sunos4.
6705
6706 * alloca-conf.h: New file, combining alloca-norm.h and
6707 alloca-botch.h.
6708 * alloca-norm.h: Remove.
6709 * alloca-botch.h: Remove.
6710 * configure.in: Set shell variables files and links to empty.
6711 * config.table: Don't set shell variable files.
6712 * configure.bat: Don't create alloca-conf.h.
6713 * makefile.vms: Likewise.
6714 * mpw-config.in: Likewise.
6715 * vmsbuild.com: Likewise.
6716
6717Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
6718
6719 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
6720 target depending upon config.h.
6721 (alloca.o): Add target depending upon config.h
6722 (basename.o, choose-temp.o, fnmatch.o): Likewise.
6723 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
6724 (strsignal.o, xstrerror.o): Likewise.
d6f4ec51 6725
63586755
PS
6726Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6727
6728 * cplus-dem.c (cplus_demangle_opname): Initialize work.
6729
07623417
AM
6730Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
6731
6732 * cplus-dem.c (demangle_qualified): Replace missing else.
6733
7bf40741
AS
6734Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6735
6736 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
6737 length in the name of a virtual table.
6738
5e5199e8
AM
6739Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
6740
6741 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
6742 (cplus_demangle_opname): Call mop_up_squangle.
38beb75c 6743 (cplus_demangle): Initialize squangle info, then call
5e5199e8 6744 internal_cplus_demangle. (Most code moved there as well)
38beb75c 6745 (internal_cplus_demangle): New function, performs most of what use
5e5199e8
AM
6746 to be done in cplus_demangle, but is only called with this file.
6747 (squangle_mop_up): New function to clean up B and K code data.
6748 (mop_up): set pointers to NULL after freeing.
38beb75c 6749 (demangle_signature, demangle_template, demangle_class): Add
5e5199e8
AM
6750 switch elements to handle K and B codes.
6751 (demangle_prefix, gnu_special, demangle_qualified): Add
6752 code to handle K and B codes.
6753 (do_type, demangle_fund_type): Handle B and K codes.
6754 (remember_Ktype): New function to store K info.
6755 (register_Btype, remember_Btype): New functions for B codes.
6756 (forget_B_and_K_types): New function to destroy B and K info.
6757
3affd5f0 6758Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
9ee02b5c 6759
3affd5f0 6760 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
f9c85454 6761
0a9e7530
MH
6762Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
6763
6764 * config.table: Make locating frag files failsafe even for the
6765 special case if configuring and building in srcdir.
6766
b9fb3c42
ILT
6767Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
6768
6769 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
6770
3affd5f0
JL
6771Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
6772
6773 * choose-temp.c: Sync with copy in gcc.
6774
b134508b
ILT
6775Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
6776
6777 * getopt.c: Update to latest FSF version.
6778 * getopt1.c: Likewise.
6779
5890bc92
JL
6780Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
6781
6782 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
6783 strings that are not actually lengths.
6784
f5c3ae66
MH
6785Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
6786
6787 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
6788 (.c.o): Check value of enable_shared, not PICFLAG.
6789 (stamp-picdir): Dito.
6790
3affd5f0
JL
6791Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
6792
5194cf08
ZW
6793 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
6794 since it gets built automatically
3affd5f0 6795
c00f2b9d
MS
6796Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
6797
6798 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
6799 the currently shipping OS.
6800
76a8b46e
JL
6801Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
6802
6803 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
6804 Add fnmatch.o and objalloc.o; remove vasprintf.o.
6805 [config.h]: Define NEED_strsignal.
6806
6807Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
6808
6809 * functions.def: Correct argument types for strerror and
6810 strsignal. Reported by Alex Gutman <agutman@emc.com>.
6811
5890bc92
JL
6812Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
6813
6814 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
6815 values.
6816
3affd5f0 6817Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
1ce26fc4 6818 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
77aff459 6819
1ce26fc4
JL
6820 Add mingw32 support.
6821 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
6822 (pwait): New function for mingw32.
77aff459 6823
1ce26fc4
JL
6824 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
6825 * config/mt-mingw32: New file.
6826 * xmalloc.c (first_break): Not used for mingw32.
6827 (xmalloc_set_program_name): Don't use sbrk on mingw32.
6828 (xmalloc): Likewise.
6829 (xrealloc): Likewise.
77aff459 6830
1ce26fc4 6831Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
84f79fea
JL
6832
6833 * choose-temp.c: Sync with gcc version.
6834
1ce26fc4
JL
6835Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
6836
6837 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
6838 to all filenames in libdir and tooldir.
6839 (distclean): Do MULTICLEAN before deleting Makefile.
6840 (stamp-needed, stamp-config): Add MULTISRCTOP to
6841 pathname for move-if-change.
6842
e7757d69
JL
6843Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
6844
6845 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
6846
8b715b2a
JL
6847Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
6848
6849 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
5890bc92 6850 was already defined previously.
8b715b2a
JL
6851
6852Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
6853
6854 * Makefile.in (INSTALL): Use ../install-sh, not install.
6855
0c23b0b2
JG
6856Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
6857
6858 * Makefile.in (CFILES): Add pexecute.c.
6859
a6e74b83
ILT
6860Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
6861
6862 * asprintf.c: Consistently use either stdarg or varargs.
6863
19ddc834
JM
6864Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
6865
6866 * cplus-dem.c (demangle_signature): Don't look for return types on
6867 constructors. Handle member template constructors.
6868
6869Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
6870
6871 * README: Fix configuration instructions.
6872
6873Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
6874
6875 * pexecute.c: Update to current version from /gd/gnu/lib:
6876
6877 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
6878
5194cf08 6879 * pexecute.c: Use spawn if __CYGWIN32__.
19ddc834
JM
6880
6881 1997-08-08 Paul Eggert <eggert@twinsun.com>
6882
5194cf08 6883 * pexecute.c: Include "config.h" first, as per autoconf manual.
19ddc834
JM
6884
6885 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
6886
5194cf08
ZW
6887 * pexecute.c (fix_argv): New function.
6888 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
6889 Add underscore to cwait function call.
19ddc834 6890
a3a5b5b7
MM
6891Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
6892
5194cf08
ZW
6893 * cplus-dem.c (demangle_template): Add new parameter. Handle new
6894 template-function mangling.
6895 (consume_count_with_underscores): New function.
6896 (demangle_signature): Handle new name-mangling scheme.
a3a5b5b7 6897
19ddc834
JM
6898Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
6899
6900 * asprintf.c: stdarg.h when ALMOST_STDC
6901 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
c4b9cfe0 6902 strncasecmp.o.
19ddc834
JM
6903
6904Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
6905
6906 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
6907
6908 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
6909
6910 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
6911
6912Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6913
6914 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
6915
19ddc834
JM
6916Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
6917
6918 * asprintf.c (asprintf): New file.
6919 * Makefile.in (CFILES): Add asprintf.c
6920 * functions.def: Ditto.
6921
19ddc834
JM
6922Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
6923
6924 * argv.c (dupargv): New function, duplicate an argument vector.
6925
6599da04
JM
6926Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
6927
6928 * config/mh-cygwin32: also build random.o
6929
6930Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6931
6932 * cplus-dem.c: Add 'extern' to prepends_underscore.
6933
3510075c
JL
6934Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
6935
6936 * cplus-dem.c: Various changes to produce Java output when passed
6937 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
6938 (main): Support --java and -j flags to set DMGL_JAVA.
6939
6599da04
JM
6940Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
6941
6942 * config/mh-go32 (CC, AR, RANLIB): Don't define.
6943
6944Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
6945
6946 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
6947 (pexecute.o): New target.
6948
6949 * Makefile.in (stamp-needed): New target, replacing needed-list.
6950 (needed-list): Just depend upon stamp-needed.
6951 (stamp-config): New target, replacing config.h.
6952 (config.h): Just depend upon stamp-config.
6953 (mostlyclean): Remove stamp-*.
6954
6955Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
6956
6957 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
6958 INSTALL_DATA for multilibbed installs
6959
6960Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
6961
6962 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
6963
6964 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
6965
6966 * choose-temp.c (try): Insist that temp dir be searchable.
6967
6968 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
6969
6970 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
6971 for current directory.
6972
6973 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
6974
6975 * pexecute.c: Remove special cases for cygwin32.
6976 (pwait): Remove local definition of `pid'.
6977
6978 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
6979
6980 * pexecute.c (vfork): Supply new definition for VMS.
6981 (pwait): Use waitpid instead of wait for VMS.
6982
6983Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
6984
6985 * cplus-dem.c (do_type): Handle `J'.
6986 (demangle_fund_type): Print "complex" for it.
6987
6988Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
6989
6990 * configure.in: Don't turn on multilib here.
6991
6992Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
6993
38beb75c 6994 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
6599da04
JM
6995 elided; needed by gdb and not present in libc.
6996
6997Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
6998
6999 * Makefile.in (clean): Remove tmpmulti.out.
7000
7001Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
7002
38beb75c 7003 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
6599da04
JM
7004 Add new floatformat, mainly for ARM doubles.
7005
7006Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
7007
7008 * config.table: Use ${config_shell} with ${moveifchange}. From
7009 Thomas Graichen <graichen@rzpd.de>.
7010
7011Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
7012
7013 * configure.in: Enable multilibing by default.
7014 Update multilib template to read config-ml.in.
7015
7016Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
7017
7018 * makefile.vms: Add objalloc.
7019
7020Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
7021
7022 * cplus-dem.c (demangle_it): Add prototype declaration.
7023 (usage, fatal): Likewise.
7024
7025 * xexit.c (_xexit_cleanup): Add prototype.
7026
7027 * strerror.c (init_error_tables): Declare.
7028
7029Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
7030
7031 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
7032 * strsignal.c: Only define strsignal if NEED_strsignal.
7033 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
7034 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
7035 to xneeded-list.
7036 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
7037 (EXTRA_OFILES): Define to vasprintf.o.
7038 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
7039 (EXTRA_OFILES): Add vasprintf.o.
7040 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
7041 (vxneeded-list): Add vasprintf.o.
7042
7043Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
7044
7045 * objalloc.c: Include <stdio.h>.
7046
7047Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
7048
7049 * objalloc.c: New file.
7050 * Makefile.in (CFILES): Add objalloc.c
7051 (REQUIRED_OFILES): Add objalloc.o.
7052 (objalloc.o): New target.
7053
7054Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
7055
7056 * obstack.c: Update to current FSF version.
7057
7058Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
7059
38beb75c 7060 * cplus-dem.c: Add prototypes for all static functions.
6599da04
JM
7061 (mystrstr): Make static. Make arguments and result const.
7062 (cplus_match): Remove; not used.
7063
7064Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7065
7066 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
7067 __t* symbols.
7068
7069Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
7070
7071 * spaces.c: Declare malloc and free properly.
7072 * strsignal.c (init_signal_tables): Add prototype.
7073 * xatexit.c (_xexit_cleanup): Add parameter declarations.
7074
7075Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7076
7077 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
7078 also required because of xmalloc.o.
7079
7080Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
7081
7082 * strsignal.c: Unconditionally redefine sys_siglist around the
7083 inclusion of the system header files.
7084
7085Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
7086
7087 * makefile.vms: Remove 8 bit characters. Update to latest
7088 gcc release.
7089
7090Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
7091
7092 * strsignal.c: Use NEED_sys_siglist instead of
7093 LOSING_SYS_SIGLIST.
7094 * config.table: Don't use mh-lynxos.
7095 * config/mh-lynxos: Remove.
7096
7097Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
7098
7099 * cplus-dem.c: Fix indenting; make identical to the copy
7100 in GCC.
7101 (do_type, case 'M'): Check for a template as well as a class.
7102
7103Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7104
7105 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
7106 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
7107 libiberty is incorrect, as well.
7108
7109Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7110
7111 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
7112 alloca takes a size_t argument, not just unsigned.
7113
7114Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
7115
7116 * cplus-dem.c: Note that this file also lives in GCC.
7117
7118Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7119
7120 * alloca.c: Remove include of libiberty.h for hpux.
7121 * argv.c: Replace defs from libiberty.h.
7122 * spaces.c: Put back externs from removed from libiberty.h.
7123 * vasprintf.c: Remove include of libiberty.h for hpux.
7124
7125Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7126
7127 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
7128
7129Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7130
38beb75c
UD
7131 * cplus-dem.c: Revert last two commits due to conflicts with
7132 hpux system headers.
6599da04
JM
7133
7134Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7135
7136 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
38beb75c 7137 Revert last commit due to conflicts with hpux system headers.
6599da04
JM
7138
7139Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7140
7141 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
7142 libiberty.h when compiled with a standard compiler.
7143
7144Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
7145
38beb75c 7146 * alloca.c: Include libiberty.h for definition of xmalloc.
6599da04
JM
7147 Don't redefine NULL.
7148 * argv.c: Move prototypes to libiberty.h.
38beb75c 7149 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
6599da04
JM
7150 Don't redefine NULL.
7151 Use casts to eliminate compiler warnings.
38beb75c 7152 * spaces.c: Remove prototypes for malloc and free which are
6599da04
JM
7153 already in libibrty.h.
7154 * strcasecmp.c: Use casts to eliminate compiler warnings.
38beb75c 7155 * vasprintf.c: Include libiberty.h for definition of malloc.
6599da04
JM
7156 Don't redefine NULL.
7157 * vprintf.c: Include stdarg.h if __STDC__.
7158
7159Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
7160
7161 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
7162
7163Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
7164
7165 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
7166 upward components correctly.
7167
7168Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
7169
7170 * config.table, config/mh-windows: Add support for building under
7171 MSVC (the Microsoft build environment).
7172
7173Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
7174
7175 * fnmatch.c: Undef const if not __STDC__.
7176
7177Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
7178
7179 * fnmatch.c: New file.
7180 * Makefile.in (CFILES): Add fnmatch.c.
7181 (REQUIRED_OFILES): Add fnmatch.o.
7182 (fnmatch.o): New target.
7183
7184Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
7185
7186 * cplus-dem.c (demangle_template): Fix handling of address args.
7187 (gnu_special): Handle type_info stuff.
7188
7189Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7190
7191 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
7192 (mpwify_filename): Handle "::/" case.
7193
7194Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
7195
7196 * config/mh-cygwin32: new file (need -DNEED_basename and
7197 -DNEED_sys_siglist for native NT rebuilding)
7198 * config.table (*-*-cygwin32): new entry
7199 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
7200
7201Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7202
7203 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
7204
7205Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
7206
7207 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
7208 messed with arguments that included a '/', add escape chars
7209 to double quotes, remove const decl from arg that Mac
7210 compilers don't seem to like.
7211
7212Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
7213
7214 * pexecute.c: Update test for win32 (&& ! cygwin32).
7215 * choose-temp.c: fix WIN32 preprocessor defines
7216
7217Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
7218
7219 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
7220 to editing of default makefile rule.
7221
7222Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
7223
7224 * alloca-norm.h: Include <malloc.h> if _WIN32.
7225 * argv.c: Include non-prototyped decls for malloc and string
7226 functions if ! _WIN32 or if __GNUC__.
7227
7228Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
7229
7230 * config.h-vms: New file.
7231 * makefile.vms: Use it.
7232
7233Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
7234
7235 * getopt.c (_getopt_internal): If argc is 0, just return (before
7236 we reference *argv and segfault).
7237
7238Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
7239
7240 * Makefile.in (distclean): Add multilib.out.
7241
7242Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
7243
7244 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
7245 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
7246
7247Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
7248
7249 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
7250
7251 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
7252
7253 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
7254
7255 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
7256 (do_ofiles): Allow nonexistent source file in pass 3.
7257 (chk_deffunc): New routine.
7258
7259Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
7260
7261 * pexecute.c (PEXECUTE_VERBOSE): Define.
7262 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
7263
7264Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7265
7266 * Makefile.in (docdir): Removed.
7267
7268Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7269
7270 * Makefile.in (oldincludedir): Removed.
7271
7272Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7273
5194cf08 7274 * Makefile.in (datadir): Set to $(prefix)/share.
6599da04
JM
7275
7276Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
7277
7278 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
7279 checking for errors from do_type.
7280
7281Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
7282
7283 * makefile.vms: New file.
7284 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
7285 than declaring malloc, realloc, and sbrk.
7286
7287Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
7288
7289 * pexecute.c: New file.
7290
7291Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
7292
7293 * xmalloc.c: Declare sbrk.
7294
7295Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7296
7297 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
7298 declaration.
7299
7300Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
7301
7302 * xstrerror.c: Include <stdio.h>.
7303
7304Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
7305
7306 * Makefile.in (CFILES): Add atexit.c.
7307
7308Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
7309
7310 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
7311
7312Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
7313
7314 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
7315 #include <stdio.h>
7316 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
7317
7318Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
7319
5194cf08 7320 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
6599da04
JM
7321 Reverts Feb 8, 1995 change.
7322
7323Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
7324
7325 * choose-temp.c: New file.
7326 * Makefile.in (CFILES): Add choose-temp.c.
7327 (REQUIRED_OFILES): Add choose-temp.o.
7328
7329Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
7330
7331 * floatformat.c (floatformat_to_double): Don't bias exponent when
7332 handling zero's, denorms or NaNs.
7333
7334Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
7335
7336 * floatformat.c (floatformat_to_double): Fix bugs with handling
7337 numbers with fractions < 32 bits.
7338
7339Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
7340
7341 * config.table: Permit --enable-shared to specify a list of
7342 directories.
7343
7344Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
7345
7346 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
7347 arguments.
7348
7349Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
7350
7351 * configure.in: If srcdir is `.' and with_target_subdir is not
7352 `.', then set MULTISRCTOP before calling config-ml.in.
7353
7354Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
7355
7356 * mpw.c (mpw_open): Add debugging output option.
7357
7358Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
7359
7360 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
7361
7362Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
7363
7364 * mpw.c (mpwify_filename): Change 6 to 5 in
7365 strncmp (unixname, "/tmp/", 5).
38beb75c 7366
6599da04
JM
7367Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
7368
7369 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
7370 handle 0 as a pointer value parameter.
7371
7372Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
7373
7374 * Makefile.in (all): Depend upon required-list.
7375 (required-list): New target.
7376 (clean): Remove required-list.
7377
7378Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
7379
7380 * win32.c: Deleted.
7381 * config.table (i386-*-win32): Deleted.
7382 * config/mh-i386win32: Deleted.
7383
7384Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
7385
7386 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
7387 const char *.
7388 (cplus_mangle_opname): Change return type and opname parameter to
7389 const char *. Don't cast return value.
7390
7391Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
7392
7393 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
7394 definition.
7395
7396Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
7397
7398 * obstack.c: Update copyright to 1996.
7399 (_obstack_memory_used): Define new function. Called via
7400 obstack_memory_used macro.
7401
7402Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
7403
7404 * xstrdup.c: New file.
7405 * Makefile.in (CFILES): Add xstrdup.c.
7406 (REQUIRED_OFILES): Add xstrdup.o.
7407 (xstrdup.o): New target.
7408
7409Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
7410
7411 * atexit.c: New stub to provide atexit on systems that have
7412 on_exit, like SunOS 4.1.x systems.
7413 * functions.def (on_exit, atexit): Ditto.
7414
7415Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
7416
7417 * mpw.c (mpw_abort): Remove decl.
7418 (mpw_access): Move debugging printf.
7419
7420Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
7421
7422 * config.table: Consistently use ${host} rather than ${xhost} or
7423 ${target}.
7424 * configure.in: Don't bother to set ${xhost} before calling
7425 config.table.
7426
7427Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7428
7429 * Makefile.in (.c.o): Use test instead of the left bracket, to
7430 avoid problems with some versions of make.
7431
7432Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
7433
7434 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
7435
7436Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
7437
7438 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
7439 which was set to just alloca.o, which is now automatically marked
7440 as needed by the autoconfiguration process.
7441
7442Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
7443
7444 * config.table: Check ${with_cross_host} rather than comparing
7445 ${host} and ${target}.
7446
7447Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
7448
7449 * configure.in: If with_target_subdir is empty, set xhost to
7450 ${host} rather than ${target} before calling config.table.
7451
7452Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
7453
7454 * Makefile.in (MULTITOP): Deleted.
7455 (MULTISRCTOP, MULTIBUILDTOP): New.
7456 (FLAGS_TO_PASS): Delete INCDIR.
7457 (INCDIR): Add $(MULTISRCTOP).
7458 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
7459 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
7460 instead of cfg-ml-pos.in.
7461 (cross-compile check): Change to test for with_target_subdir.
7462 (EXTRA_LINKS): Delete.
7463
7464Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
7465
7466 * mpw-make.sed: Add getpagesize.c.o to needed-list.
7467 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
7468 functions that are supplied by Metrowerks libraries.
7469 (fstat): Clean up descriptor->pointer conversion code.
7470 (InstallConsole, etc): Empty definitions, for when linking
7471 with SIOUX.
7472
7473Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
7474
7475 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
7476 (.c.o): Stylistic change.
7477
7478Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
7479
7480 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
7481 phdm@info.ucl.ac.be (Philippe De Muyter).
7482
7483Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
7484
7485 * configure.in: Correct sed call.
7486
7487Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
7488
7489 * configure.in: Clean up / simplify for native.
7490
7491 * configure.in: Merge in stuff from ../xiberty/configure.in.
7492 * Makefile.in (CC): Add definition (so it can be overrridden
7493 by ../configure).
7494
7495Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
7496
7497 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
7498 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
7499 (link): Remove useless definition with error return.
7500 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
7501 Use UnsignedWide type for microsecond counts.
7502
7503Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
7504
7505 * memcmp.c (memcmp): Argument types are const void *, not void
7506 *const.
7507
7508 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
7509 sys/types.h.
7510 * strcasecmp.c (strcasecmp): Ditto.
7511
7512Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
7513
7514 * Makefile.in (BISON): Remove macro.
7515
7516Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
7517
7518 * Makefile.in (HFILES): Add default empty definition.
7519 * mpw-config.in (config.h): Only update if changed.
7520 * mpw-make.in: Remove.
7521 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
7522 * mpw.c: Remove semi-clone of strerror code.
7523 (sys_nerr, sys_errlist): Define here.
7524 (Microseconds): Only define as A-line trap if m68k Mac.
7525
7526Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
7527
7528 * Makefile.in (maintainer-clean): New synonym for distclean.
7529
7530Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
7531
7532 * config.table: For host, generalize rs6000-ibm-aix*
7533 to *-ibm-aix* so we also include powerpc.
7534
7535Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
7536
7537 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
7538
7539 * xstrerror.c: New file.
7540 * Makefile.in, vmsbuild.com: Compile it.
7541
7542Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
7543
7544 * config.table (i386-*-win32): New.
7545
7546Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
7547
7548 * Makefile.in (MULTITOP): New variable.
7549 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
7550 (all): Add multilib support.
7551 (install_to_tooldir, *clean): Likewise.
7552
7553Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
7554
7555 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
7556
7557Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
7558
7559 * vmsbuild.com: create "new-lib.olb", build libiberty under that
7560 name, and then make it become "liberty.olb" when done, so that an
7561 incomplete build attempt never leaves behind something which looks
7562 like a complete library.
7563
7564Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
7565
7566 * config/mh-i386pe: New file for PE hosts.
7567 * config.table: Understand PE hosts.
7568
7569Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7570
7571 * cplus-dem.c: Update from gcc.
7572
7573 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
5194cf08 7574 <stddef.h>.
6599da04
JM
7575 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
7576
7577Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
7578
7579 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
7580 * mpw.c: Only test DebugPI once whenever printing debug info.
7581 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
7582 also fix to not write on input filename buffer.
7583 (mpw_access): Use stat() instead of open(), works for directories
7584 as well as files.
7585
7586Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7587
7588 * Makefile.in: Massage broken shells that require 'else true'.
7589
7590Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
7591
7592 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
7593 Declare __builtin_alloca in the sparc case, as argv.c did.
7594 * argv.c: Replace inline version of alloca-norm.h at start of file with
7595 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
7596 because alloca-norm.h needs to declare alloca as "PTR".
7597
7598Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
7599
7600 * win32.c: New file.
7601
7602Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7603
7604 * dummy.c: #include "alloca-conf.h".
7605
7606Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7607
7608 * Makefile.in (mostlyclean): Remove stamp-picdir.
7609 (clean): Don't.
7610
7611Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7612
7613 * config.table (frags): Use toplevel pic frags.
7614
7615 * Makefile.in (PICFLAG): New macro.
7616 (all): Depend on stamp-picdir.
7617 (needed-list): Ditto.
7618 (.c.o): Also build pic object.
7619 (stamp-picdir): New rule.
7620 (mostlyclean): Remove pic.
7621 (clean): Remove stamp-picdir.
7622
7623Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
7624
7625 * vmsbuild.com (config.h): Add `#define NEED_basename'.
7626
7627Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
7628
7629 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
7630 to libio-style copyright.
7631 * getpagesize.c: Remove FSF copyright.
7632
7633Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
7634
7635 Added improved VMS support from Pat Rankin:
7636
7637 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
7638
7639 * vmsbuild.com: new file.
7640
7641 * getpagesize.c (getpagesize): implement for VMS;
7642 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
7643 support for EVMSERR.
7644
7645Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
7646
7647 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
7648
7649 * floatformat.c (floatformat_arm_ext): Define.
7650
7651Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
7652
7653 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
7654 strerror.c, strsignal.c: Remove FSF copyright.
7655 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
7656
7657Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
7658
7659 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
7660 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
7661 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
7662 * strchr.c, strrchr.c: Add cast to suppress const warning.
7663
7664Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7665
7666 * cplus-dem.c: Use const instead of CONST. Don't include
5194cf08 7667 ansidecl.h directly.
6599da04
JM
7668
7669Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7670
7671 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
5194cf08 7672 xrealloc.
6599da04 7673 (-DMAIN): Don't rely on an externally-defined version number;
5194cf08
ZW
7674 instead, require the version number to be defined as a
7675 preprocessor macro. Handle the RS/6000 leading dot. Define
7676 xmalloc, xrealloc and fatal. Don't strip a leading underscore
7677 if we couldn't demangle the word.
6599da04
JM
7678
7679Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
7680
7681 (Old mpw.c change descriptions retained for informational value.)
7682 * mpw.c (warning_threshold): Default to .4 sec.
7683 (overflow_count, current_progress): New globals.
7684 (warn_if_spin_delay): Include current progress type,
7685 such as program name, in message.
7686 (mpw_start_progress): Set current_progress variable from arg.
7687 (mpw_end_progress): Report spin delays by power-of-two-size
7688 buckets instead of constant-size buckets.
7689
7690 * mpw.c: Clean up formatting, types, returns, etc.
7691 (ENOSYS): Define.
7692 (mpw_fread, mpw_fwrite): Define.
7693 (sleep): Define correctly.
7694
7695 * mpw.c: New code to implement cursor spinning support.
7696 (umask): New function.
7697 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
7698
7699 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
7700 basenames for MPW and MPW/Unix filenames.
7701 (mpw_special_init): New function, calls Macsbug if desired.
7702
7703 * mpw.c: Add GPL notice.
7704 (mpwify_filename): Add more transformations.
7705 (mpw_fopen): Call mpwify_filename on file names.
7706 (rename): Remove.
7707 (chdir, getcwd): Add simple definitions.
7708
7709 * mpw.c: Random cleanups, remove unused code bits.
7710 Added copy of strerror.c for gcc's use.
7711 (stat, fstat, _stat): New versions based on Guido van Rossum code.
7712
7713 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
7714
7715 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
7716 (fork, vfork, etc): Print error messages if called.
7717 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
7718 rename, chown): Define.
7719
7720 * mpw-config.in: New file, MPW version of configure.in.
7721 * mpw-make.in: New file, MPW version of Makefile.in.
7722 * mpw.c: New file, MPW compatibility routines.
7723
7724Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7725
7726 * basename.c: Include config.h before checking for NEED_basename.
7727
7728Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7729
7730 * functions.def: Add DEFFUNC for basename.
7731
7732 * basename.c: Only define basename if NEED_basename.
7733
7734Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7735
7736 * config.table: Fix --enable-shared logic for native builds.
7737
7738Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7739
7740 * cplus-dem.c (demangle_template): Demangle bool literals properly.
7741
7742Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
7743
7744 * strtol.c strtoul.c: Replace these with less buggy versions from
7745 NetBSD. (strtoul in particular couldn't handle base 16.)
7746
7747Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
7748
7749 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
7750
7751 * clock.c: If NO_SYS_PARAM_H is defined, don't include
7752 <sys/param.h>.
7753 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
7754
7755Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
7756
7757 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
7758 a number; ANSI appears to permit any expression, including a
7759 function call.
7760
7761 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
7762 xiberty.
7763 * config/mt-vxworks5: New file.
7764
7765Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
7766
7767 * basename.c (basename): Change argument to be const.
7768
7769Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7770
7771 * Makefile.in (lneeded-list): Don't worry about xmalloc.
7772
7773Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
7774
7775 * Makefile.in (distclean): Delete xhost-mkfrag.
7776
7777Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7778
7779 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
7780
7781Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
7782
7783 * hex.c: New file.
7784 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
7785 (hex.o): Add dependencies.
7786
7787 * cplus-dem.c (demangle_prefix): For GNU style constructor and
7788 destructor names, try demangling the remainder of the string.
7789
7790Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
7791
7792 * vasprintf.c (int_vasprintf): New static function.
7793 (vasprintf): Use int_vasprintf. Removes assumption that va_list
7794 is assignment compatible.
7795
7796Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
7797
7798 * Makefile.in (LIBCFLAGS): New variable.
7799 (FLAGS_TO_PASS): Pass it.
7800 (.c.o): Use it.
7801
7802Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
7803
7804 * getopt.c, getopt1.c: Do compile these functions under Linux,
7805 since many native versions are based on glibc but are buggy.
7806
7807Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
7808
7809 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
7810 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
7811
7812Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
7813
7814 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
7815 * functions.def: Remove vasprintf.
7816
7817Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7818
7819 * xmalloc.c (first_break): New static variable.
7820 (xmalloc_set_program_name): Record sbrk (0) in first_break.
7821 (xmalloc): If memory allocation fails, try to report how much
7822 memory was allocated by the program up to this point.
7823 (xrealloc): Likewise.
7824
7825Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
7826
7827 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
7828 when linking dummy.
7829 * config.table: Add host RISCiX Makefile frag.
7830 * config/mh-riscix: New file.
7831
7832Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7833
7834 * Makefile.in (FLAGS_TO_PASS): Define.
7835 ($(RULE1)): Use $(FLAGS_TO_PASS).
7836
7837Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7838
7839 * vasprintf.c: Include <string.h>.
7840 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
7841 * xatexit.c: Declare malloc.
7842
7843Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
7844
7845 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
7846 one below).
7847
7848Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
7849
7850 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
5194cf08 7851 the type index is greater than 9.
6599da04
JM
7852
7853Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
7854
7855 * cplus-dem.c (demangle_qualified): accept optional '_' between
7856 qualified name. This is baecause the template name may end with
7857 numeric and can mixed up with the length of next qualified name.
7858
7859Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
7860
7861 * config/mt-sunos4: Use our standard location for cross-includes
7862 and cross-libs when the target is also a "host" environment (ie no
7863 newlib; includes and such don't belong to us). This is specific
7864 to the Cygnus Support environment.
7865
38beb75c 7866Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
6599da04 7867
38beb75c 7868 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
6599da04
JM
7869 xxx<ch=81>.
7870
7871Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
7872
7873 * cplus-dem.c (main): flush stdout to make pipe work.
7874
7875Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
7876
7877 * config.table (*-*-cxux7*): Recognize.
7878 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
7879 Harris-specific float format.
7880 * config/mh-cxux7: New file.
7881
7882Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7883
7884 * cplus-dem.c (demangle_template): Make sure that the result of
7885 consume_count doesn't index beyond the end of the string.
7886
7887Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7888
7889 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
7890 earlier. Improve test for new vtable mangling. Change output back
7891 to `virtual table'.
7892
7893Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7894
7895 * obstack.c: Always compile this code, even if using the GNU
7896 library. Avoids problems with relatively recent binary
7897 incompatibility.
7898
7899Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7900
7901 * cplus-dem.c: Include libiberty.h.
7902 (xmalloc, xrealloc, free): Don't declare.
7903 (strstr): Don't declare parameters.
7904 (xmalloc, xrealloc): Don't define.
7905 (long_options): Add no-strip-underscores.
7906 (main): Call xmalloc_set_program_name. Pass n in short options to
7907 getopt_long. Handle option 'n' to not strip underscores.
7908 (usage): Mention -n and --no-strip-underscores.
7909
7910Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
7911
7912 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
5194cf08 7913 space.
6599da04
JM
7914 (gnu_special): Demangle template and qualified names in a vtable name.
7915
7916Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
7917
7918 From gas-2.3 and binutils-2.4 net releases:
7919
7920 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
7921
7922 * makefile.dos: [new] Makefile for dos/go32
7923 * configure.bat: update for latest files
7924 * msdos.c: remove some functions now in libc.a
7925
7926Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
7927
7928 * cplus-dem.c (gnu_special): Recognize thunks, as well as
7929 the new naming style for vtables (when -fvtable-thunks).
7930
7931Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7932
7933 * Makefile.in (XTRAFLAGS): Don't define.
7934 (.c.o, dummy.o): Don't use XTRAFLAGS.
7935 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
7936
7937Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7938
7939 * vasprintf.c: New file.
7940 * Makefile.in, functions.def: Add it.
7941
7942Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
7943
7944 * cplus-dem.c (demangle_fund_type): Grok bool.
7945
7946Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
7947
38beb75c 7948 * config.table: Add go32
6599da04
JM
7949 * config/mh-go32: New template.
7950
7951Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
7952
7953 * config.table, config/mt-sunos4: config for when sun4 is cross target.
7954
7955Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7956
5194cf08
ZW
7957 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
7958 Declare strlen to return int. Don't include stddef.h.
6599da04
JM
7959
7960Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
7961
5194cf08
ZW
7962 * getopt.c: Delete use of IN_GCC to control whether
7963 stddef.h or gstddef.h is included.
6599da04
JM
7964
7965Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
7966
7967 * cplus-dem.c (demangle_signature): Fix a bug in template function
7968 type numbering.
7969
7970Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
7971
7972 * cplus-dem.c (demangle_signature): Fix template function with arm
7973 style argument type number, Tn.
7974
7975Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
7976
7977 * cplus-dem.c (optable): Add new[] and delete[].
7978
7979Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7980
7981 * argv.c (buildargv): Don't produce empty argument just because
7982 there is trailing whitespace.
7983
7984Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
7985
7986 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
7987 Handle 'p' same as 'P'.
7988 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
7989
7990Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7991
7992 * floatformat.c (get_field, put_field): Fix off by one error in
7993 little endian case.
7994
7995Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7996
7997 * floatformat.c (floatformat_from_double): Pass unsigned char *,
7998 not char *, to put_field.
7999
8000Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
8001
8002 * memmove.c: Re-wrote; placed in public domain.
8003
8004Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8005
8006 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
8007 __Q* as a constructor.
8008
8009Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
8010
8011 * ieee-float.c: Removed; no longer used.
8012 * Makefile.in: Changed accordingly.
8013
8014Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8015
8016 * floatformat.c (get_field): Removed unused local variable i.
8017 (put_field): Removed unused local variable i.
8018
8019Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8020
8021 * floatformat.c: New file, intended to replace ieee-float.c.
8022 * Makefile.in: Change accordingly.
8023
8024Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
8025
8026 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
38beb75c
UD
8027 (_getopt_initialize): New function, broken out of _getopt_internal.
8028 (_getopt_internal):
6599da04
JM
8029 If long_only and the ARGV-element has the form "-f", where f is
8030 a valid short option, don't consider it an abbreviated form of
8031 a long option that starts with f. Otherwise there would be no
8032 way to give the -f short option.
8033
8034Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8035
5194cf08
ZW
8036 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
8037 Test just __STDC__, not emacs.
6599da04
JM
8038
8039Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8040
5194cf08
ZW
8041 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
8042 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
6599da04
JM
8043
8044Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
8045
5194cf08 8046 * getopt.c (_NO_PROTO): Define before config.h is included.
6599da04
JM
8047
8048Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
8049
5194cf08 8050 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
6599da04
JM
8051 <config.h> only under these, else "config.h".
8052
8053Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
8054
5194cf08
ZW
8055 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
8056 <config.h> instead of "config.h".
6599da04
JM
8057
8058Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
8059
8060 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
8061 whether to use prototypes or not.
8062 * strerror.c (const): Never undefine; let ansidecl.h handle it.
8063 * strsignal.c (const): Likewise.
8064
8065Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8066
8067 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
8068 Merging common and initialized variables need not be supported by
8069 ANSI C compilers.
8070 (xatexit): Initialize _xexit_cleanup if not already set.
8071 * xexit.c: Comment fix.
8072
8073Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8074
8075 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
8076 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
8077 assuming that realloc works correctly.
8078
8079Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8080
8081 * concat.c, ieee-float.c: Replace inclusion of <string.h>
8082 with explicit function declarations, as recommended by Ian Taylor.
8083
8084Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
8085
8086 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
8087 (malloc, realloc): Declare.
8088
8089Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8090
8091 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
8092 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
8093 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
8094 * xmalloc.c: Likewise.
8095 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
8096 macros, not <varargs.h> macros.
8097 * spaces.c (spaces): Make return type const. Don't crash if
8098 malloc returns NULL.
8099 * strerror.c (struct error_info): Make name and msg fields const.
8100 (error_names): Make const.
8101 (strerrno): Make const.
8102 (strtoerrno): Make argument const.
8103 * strsignal.c (struct signal_info): Make name and msg fields
8104 const.
8105 (signal_names, sys_siglist): Make const.
8106 (strsignal, strsigno): Make const.
8107 (strtosigno): Make argument const.
8108 * xatexit.c: Declare parameter types.
8109 * xmalloc.c (name): Make const.
8110 (xmalloc_set_program_name): Make argument const.
8111 * Makefile.in (INCDIR): Define.
8112 (.c.o): Use $(INCDIR).
8113 (dummy.o): Likewise.
8114 (argv.o, basename.o): New targets; depend on libiberty.h.
8115 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
8116 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
8117 (xmalloc.o): Likewise.
8118 (cplus-dem.o): New target; depend on demangle.h.
8119 (getopt.o, getopt1.o): New targets; depend on getopt.h.
8120 (ieee-float.o): New target; depend on ieee-float.h.
8121 (obstack.o): New target; depend on obstack.h.
8122
8123Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
8124
8125 Handle obstack_chunk_alloc returning NULL. This allows
8126 obstacks to be used by libraries, without forcing them
8127 to call exit or longjmp.
8128 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
8129 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
8130 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
8131
8132Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8133
8134 * concat.c, ieee-float.c: Include <string.h>.
8135
8136Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
8137
8138 * xmalloc.c (xmalloc_set_program_name): New function.
8139 (xmalloc, xrealloc): Include the name in the error message, if set.
8140
8141 * Replace atexit.c with xatexit.c.
8142 * Makefile.in (CFILES), functions.def: Change references.
8143
8144Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
8145
8146 * getruntime.c (get_run_time): Use getrusage or times if
8147 HAVE_GETRUSAGE or HAVE_TIMES are defined.
8148
8149Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
8150
8151 * atexit.c: New file.
8152 * Makefile.in (CFILES), functions.def: Add it.
8153 * xexit.c: New file.
8154 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
8155 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
8156 Change request for 0 bytes into request for 1 byte.
8157
8158Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8159
8160 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
8161 unsigned long, to avoid warnings.
8162
8163Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
8164
8165 * dummy.c: Don't include time.h ever; always define clock_t as
8166 "unsigned long". Until gcc/fixincludes ensures that clock_t
8167 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
8168 exist, clock_t probably doesn't either.
8169
8170Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
8171
8172 * clock.c, getruntime.c: New files.
8173 * Makefile.in: Add to file lists.
8174 * functions.def (clock): Add to list.
8175 * dummy.c (time.h): Add if __STDC__.
8176 (clock_t): #define as "unsigned long" if not __STDC__.
8177
8178Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8179
8180 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
8181 Edler).
8182
8183Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8184
8185 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
8186 linking.
8187
8188Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
8189
8190 * cplus-dem.c (demangle_arm_pt): New function. Common code
8191 for ARM template demangling.
8192 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
8193 * cplus-dem.c (demangle_prefix): Likewise.
8194
8195Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
8196
8197 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
8198
8199Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
8200
8201 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
8202 * strerror.c, strsignal.c: As a small space optimization, don't
8203 include messages when they aren't actually used.
8204
8205 Merge changes from takefive.co.at!joe (Josef Leherbauer)
8206 * cplus-dem.c (demangle_prefix, demangle_function_name,
8207 cplus_demangle_opname): Fixes for systems where cplus_marker
8208 is something other than '$'.
8209
8210Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
8211
8212 * waitpid.c: Simple-minded approcimation to waitpid
8213 using vanilla wait.
8214 * functions.def, Makefile.in: Update accordingly,
8215
8216Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
8217
8218 * cplus-dem.c(demangle_template): fix bug template instantiation
8219 with value of user defined type.
8220
8221Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
8222
8223 * cplus-dem.c(cplus_demangle_opname): add the subject new function
8224 to support unified search of operator in class.
8225
8226Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8227
8228 gcc -Wall lint:
8229 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
8230 "digit = *s" as condition in while loop.
8231
8232Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
8233
8234 * Makefile.in: pass SHELL to recursive make
8235
8236Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
8237
8238 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
8239 be (const char*), for ANSI (and gcc w/fixproto) consistency.
8240
8241Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8242
8243 * config.table: Make *-*-hiux* use mh-hpux.
8244
8245Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8246
8247 * config.table: Add * to end of all OS names.
8248
8249Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8250
8251 * Makefile.in (lneeded-list): ensure that object file names are
8252 not duplicated, as multiple instances of the same object file in
8253 a library causes problems on some machines
8254
8255Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8256
8257 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
8258
8259Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8260
8261 * strncasecmp.c: new file, implements strncasecmp
8262 * strcasecmp.c: new file, implement strcasecmp
8263
8264 * Makefile.in (CFILES): list these two new source files
8265
8266 * functions.def: add strcasecmp and strncasecmp entries
8267
8268Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8269
8270 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
8271 according to ANSI C.
8272
8273Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
8274
8275 * cplus-dem.c: add support of ARM global constructor/destructor,
8276 and 'G' for passing record or union in parameter.
8277
8278Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8279
8280 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
8281 should not be in functions.def.
8282
8283Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8284
8285 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
8286 not be in functions.def.
8287
8288Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
8289
8290 * cplus-dem.c: change globl constructor/destructor to proper name
8291
8292Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
8293
8294 * cplus-dem.c: fix bug in constructor/destructor
8295
8296Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
8297
8298 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
8299
8300Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
8301
8302 * cplus-dem.c: Fix demangle_template prototype
8303
8304Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
8305
8306 * cplus-dem.c: fix template demangling
8307 * cplus-dem.c: fix const type demangling
8308 * cplus-dem.c: fix constructor/destructor, virtual table,
8309 qualifier, global constructor/destructor demangling
8310
8311Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8312
8313 * strsignal.c, strerror.c: Use fully-bracketed initializer to
8314 keep gcc -Wall happy.
8315
8316Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
8317
8318 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
8319 patch.
8320
8321Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8322
8323 Patch from Paul Flinders:
8324 * cplus-dem.c (do_type): Deal with arrays.
8325
8326Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8327
8328 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
8329 than 9 classes.
8330
8331Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
8332
8333 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
8334 not initialized" warnings under HP/UX
8335
8336Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8337
8338 * strerror.c: Move include of stdio.h after sys_errlist #define.
8339 Also remove NULL definition (stdio.h always defines NULL, so it
8340 never did anything but clutter up the code).
8341
8342Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8343
8344 * Makefile.in, functions.def: handle xmalloc.c
8345
8346 * xmalloc.c: provide xmalloc and xrealloc functions
8347
8348Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8349
8350 * cplus-dem.c: Fix a comment.
8351
8352Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8353
8354 * getopt1.c: Declare const the way getopt.c does.
8355
8356Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8357
8358 * obstack.c, alloca.c: Update from FSF.
8359 * getopt.c, getopt1.c: Update to current FSF version, which
38beb75c 8360 doesn't use alloca.
6599da04
JM
8361
8362Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
8363
8364 * Makefile.in (demangle): Add the target with a message saying
8365 where demangle went.
8366
8367Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8368
8369 * Makefile.in: Remove obsolete `demangle' target.
8370
8371Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
8372
8373 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
8374 avoid infinite loop on vtbl symbols with disambiguating "junk"
8375 tacked on the end.
8376
8377Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8378
8379 * strsignal.c: work around some systems losing definitions of
8380 sys_siglist
8381
8382 * config/mh-lynxos: this system has a losing definition of
8383 sys_siglist
8384
8385 * config.table: use mh-lynxos for *-*-lynxos
8386
8387Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
8388
8389 * config.table: Add support for HPPA BSD hosts.
8390
8391 * config/mh-hpbsd: New file.
8392
8393Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
8394
8395 * Makefile.in (TAGS): make work when srcdir != objdir.
8396
8397Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
8398
8399 * cplus-dem.c (main): Add long options, including --help and
8400 --version.
8401 (usage): New function from code in main.
8402
8403Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
8404
8405 * config.table: New shell scipt, sourced by both ./configure,in
8406 and ../xiberty/configure.in, to avoid maintainance lossages.
8407 * configure.in and ../xiberty/configure.in: Use config.table.
8408
8409 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
8410 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
8411 * ../xiberty/configure.in: Update from ./configure.in.
8412
8413Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8414
8415 * Makefile.in: remove parentdir support
8416
8417Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8418
8419 * cplus-dem.c (xrealloc): Match definition with prototype.
8420
8421Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8422
8423 * cplus-dem.c (demangle_prefix): Demangle cfront
8424 local variables as an extension to ARM demangling.
8425
8426Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8427
8428 * ieee-float.c: Don't require pointers to double to be aligned.
8429
8430Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
8431
5194cf08 8432 (merge changes from dlong@cse.ucsc.edu)
6599da04
JM
8433 * cplus-dem.c (consume_count): Simplify.
8434 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
8435 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
8436
8437 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
8438 full prototypes.
8439 * cplus-dem.c (free): Add prototype.
8440 * cplus-dem.c (optable): Fully bracketize initializer.
8441
8442Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
8443
8444 * cplus-dem.c: Whether initial underscores are stripped
8445 depends on the external variable prepends_underscore
8446 (which is generated by the binutils Makefile).
8447
8448Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
8449
8450 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
8451
8452Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
8453
8454 * cplus-dem.c (consume_count): Return zero if arg does not
8455 start with digit, and don't consume any input.
8456
8457Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
8458
8459 * Makefile.in (demangle): Use ${srcdir} not $^.
8460
8461 * strtod.c: New file, needed at least for BSD 4.3.
8462
8463Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
8464
8465 * strsignal.c (sys_siglist): For ANSI compilations, type is
8466 "const char *const". Also remove conditionalization on __STDC__
8467 since const is defined away for non-ANSI.
8468
8469Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
8470
8471 * configure.in: Recognize *-*-hpux.
8472 * config/mh-hpux: New file.
8473
8474Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
8475
8476 * tmpnam.c: Added ANSI tmpnam() function.
8477 * functions.def, Makefile.in: Update accordingly.
8478
8479Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8480
8481 * cplus-dem.c (demangle_function_name): Get the demangling of
8482 stop__1A right.
8483
8484Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
8485
8486 * cplus-dem.c: Declare strstr return type.
8487
8488Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
8489
8490 * strsignal.c: Add some AIX signals.
8491
8492Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
8493
8494 * Makefile.in (MAKEOVERRIDES): Define to be empty.
8495
8496Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8497
8498 * Makefile.in: add installcheck & dvi targets
8499
8500Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
8501
8502 * ieee-float.c: New file, moved from ../gdb (since it is
8503 needed by ../opcode/m68k-dis.c).
8504
8505Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
8506
8507 * cplus-dem.c: Replace all references to cfront with ARM.
8508
8509Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
8510
8511 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
8512 to be more useful as a filter.
8513
8514Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
8515
8516 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
8517 destination directory before running $(RANLIB), in case that
8518 program tries to create a file in the current directory as part of
8519 its work.
8520
8521Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
8522
8523 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
8524 because BSD 4.4 lacks one. Isn't this fun?
8525
8526Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
8527
8528 * cplus-dem.c (demangle_signature): Set func_done after
8529 demangling a template.
8530 * cplus-dem.c (demangle_template): Fix several small bugs
8531 in demangling GNU style templates.
8532 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
8533 style constructors.
8534 * cplus-dem.c (gnu_special): Fix for templates in GNU style
8535 static data members.
8536
8537Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
8538
8539 * cplus-dem.c (demangle_signature): Modify to include type
8540 modifiers like static and const in remembered types.
8541
8542Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
8543
8544 * cplus-dem.c (demangled_qualified): Add new parameter that tells
8545 whether to prepend or append the qualifiers.
8546 * cplus-dem.c (string_prepends): Used now, remove #if 0.
8547 * cplus-dem.c (demangle_signature): Call demangle_qualified
8548 with prepending.
29120f44 8549 * cplus-dem.c (gnu_special): Recognize static data members that
6599da04
JM
8550 use qualified names.
8551 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
8552 temporary buffer and the prepend or append them to the result,
8553 as specified by the new "append" flag.
8554 * cplus-dem.c (do_type): Call demangled_qualified with
8555 appending.
8556
8557Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
8558
8559 * strsignal.c (signal_table): Now const.
8560 (init_signal_tables): Variable eip now points to const.
8561
8562 * strerror.c (error_table): Now const.
8563 (init_error_tables): Variable eip now points to const.
8564
8565Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
8566
8567 * memchr.c (memchr): New (ANSI standard) function.
8568 * Makefile.in, functions.def: Added memchr.
8569 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
8570
8571Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8572
8573 * getopt.c: remove use of USG around <alloca.h>, which never meant
8574 anything anyway
8575
8576 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
8577 of USG and USGr4
8578
8579Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
8580
8581 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
8582 it's now a type according to the ANSI X3J16 working paper; output
8583 "wchar_t" for it.
8584 (demangle_template): Accept `w' as an integral type.
8585 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
8586 counterparts malloc and realloc to `char *'.
8587 (main): Exit with a 0 status.
8588 * Makefile.in (demangle): Don't expect the user to define
8589 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
8590 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
8591
8592Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
8593
8594 * Makefile.in (AR_FLAGS): Avoid verbosity.
8595 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
8596 replace USGr4 with HAVE_SYSCONF.
8597 * config/mh-solaris: Remove; mh-sysv4 works now.
8598 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
8599 * configure.in: Simplify host matching table, remove separate
8600 solaris config file.
8601
8602Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
8603
8604 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
8605
8606Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
8607
8608 * cplus-dem.c (xmalloc, xrealloc): Add decls.
8609 (remember_type): Don't cast xmalloc.
8610 (string_need): Likewise; don't cast xrealloc either.
8611
8612Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
8613
8614 * Makefile.in, functions.defs, rename.c: added simple
8615 implementation of rename, since some binutils programs use it.
8616
8617Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
8618
8619 * strsignal.c: Add appropriate 'const' to sys_siglist
8620 extern declaration (if __STDC__). (Needed for Linux.)
8621 * strsignal.c (strsignal): Add cast to remove const-ness.
8622
8623Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
8624
8625 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
8626 before "'s, diagnosed by BSD 4.4 awk.
8627
8628Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
8629
8630 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
8631 and $(NEEDED_LIST), to give some hooks for xiberty.
8632
8633Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8634
8635 * configure.in: use cpu-vendor-triple instead of nested cases
8636
8637Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
8638
8639 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
8640 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
8641 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
8642 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
8643 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
8644 Convert from using GPL to LGPL.
8645
8646Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
8647
8648 * Makefile.in (errors): Leave dummy.o and dummy around so that
8649 we can see how the needed list was generated (it's sometimes wrong).
8650 (mostlyclean): Remove them.
8651
8652Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
8653
8654 * getcwd.c: supply a default if MAXPATHLEN is not defined.
8655
8656 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
8657
8658Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
8659
8660 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
8661 when cross-compiling.
8662
8663Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
8664
8665 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
8666 as a time optimization.
8667
8668 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
8669 be more expensive than simply demangling.
8670
8671 * cplus-dem.c (cplus_match): new function.
8672
8673Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
8674
8675 * cplus-dem.c: #include <stdio.h>, to define NULL.
8676 Define current_demangling_style.
8677
8678Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
8679
8680 * cplus-dem.c: New file, moved from ../gdb.
8681 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
8682 function, to avoid compiling in target-dependency for CPLUS_MARKER.
8683 * cplus-dem.c (cplus_demangle): Allow demangling style option
8684 to be passed as a parameter, but using the global variable
8685 current_demangling_style as a default.
8686 * Makefile.in: Update for cplus-dem.c
8687
8688Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
8689
8690 * obstack.c: Merge in comment changes from FSF version. Now
8691 matches the FSF version exactly.
8692
8693Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
8694
8695 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
8696 least on losing DECstations!); use if-then-else instead.
8697
8698Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
8699
8700 * Makefile.in: always create installation directories.
8701
8702Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8703
f33a23a0 8704 * Makefile.in: clean up definition of CFILES, more comments
6599da04
JM
8705
8706Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
8707
8708 * getopt.c (my_index): Make first arg const to match strchr,
8709 which it sometimes is remapped to.
8710
8711Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
8712
8713 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
8714 * obstack.c (_obstack_begin): Initialize use_extra_arg.
8715 * obstack.c (_obstack_begin_1): New, from FSF version.
8716
8717Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
8718
8719 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
8720 extra_arg.
8721 * obstack.c (_obstack_begin): Remove area_id and flags arguments
8722 (previously added for mmalloc support, interface has changed).
8723 Also convert flags usage to use use_extra_arg and maybe_empty_object.
8724
8725Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
8726
8727 * argv.c: Move expandargv inline and eliminate static variables.
8728 Rewrite to always allocate in powers of two. Fix to return an
8729 argv with a single null string arg if passed a null string.
8730
8731Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
8732
8733 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
8734 "(void)" casts from function calls where the return value is
8735 ignored, in accordance with GNU coding standards.
8736
8737Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
8738
8739 * bcopy.c, strerror.c, strsignal.c: Lint.
8740
8741Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
8742
8743 * getopt.c: merge changes from make.
8744
8745Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
8746
8747 * alloca.c: Incorporate fixes from gdb/alloca.c.
8748 FIXME: Eventually move gdb's alloca configuration files here,
8749 and remove gdb/alloca.c and its Makefile.in support.
8750
8751Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
8752
8753 * dummy.c: Define NOTHING to /*nothing*/, change return type
8754 of main to int and return zero.
8755 * functions.def: Supply NOTHING as the fourth arg to macros
8756 that don't have an explicit arg, to satisfy picky preprocessors.
8757
8758Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
8759
8760 * Makefile.in: Clean up *clean rules, as per standards.texi.
8761
8762Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
8763
8764 * getopt.c, getopt1.c: merged largely gratuitous, mostly
8765 whitespace diffs from other prep distributions.
8766
8767Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
8768
8769 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
8770 it is broken on ncr 3000's.
8771
8772Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
8773
8774 * sigsetmask.c: Rewrite. Old one was very confused about its
8775 arguments and result. New one can't do much, but at least knows
8776 what it can't do, and it's good enough for GDB's use.
8777
8778Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
8779
8780 * functions.def: Use proper prototype for strtoul.
8781
8782Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
8783
8784 * Makefile.in: Add random.c.
8785 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
8786 * configure.in: update solaris2 config.
8787
8788Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
8789
8790 * random.c: Add for random() and srandom().
8791 * functions.def: Add random
8792
8793Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
8794
8795 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
8796 using /usr/ucb/install.
8797
8798Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
8799
8800 * strerror.c: Kludge to guard against a conflict with
8801 possible declaration of sys_errlist in errno.h.
8802
8803Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
8804
8805 * configure.in, config/mh-solaris: add solaris2 config support.
8806
8807Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
8808
8809 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
8810 is not defined (should be defined in signal.h, says Posix.).
8811
8812Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
8813
8814 * getopt.c: merged changes from make-3.62.11.
8815
8816Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
8817
8818 * getopt.c: merged changes from bison-1.18.
8819
8820Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
8821
8822 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
8823 since that introduces a circular dependency.
8824 ($(EXTRA_OFILES) are used to build config.h.)
8825
8826 * strtoul.c: Fixes to handle non-decimal bases better.
8827
8828Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
8829
8830 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
8831 * Makefile.dos: Finish MINUS_G eradication.
8832 * Makefile.in (CFILES): Add strsignal.c.
8833 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
8834 * Makefile.in (needed-list): Split creation of errors file to
8835 separate make target.
8836 * Makefile.in (config.h, needed2.awk, errors): New targets.
8837 * Makefile.in (clean): Split to multiple lines, add needed2.awk
8838 and config.h.
8839 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
8840 * functions.def (strerror): Remove from optional list.
8841 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
8842 * functions.def (strerror, psignal): DEFFUNC's
8843 * strerror.c: Rewrite from scratch to use sys_errlist only if
8844 available, add errno_max(), add strerrno(), add strtoerrno(),
8845 add test driver.
8846 * strsignal.c: New file, signal equivalent to strerror.c.
8847 Uses sys_siglist if available, defines signo_max(), strsignal(),
8848 strsigno(), strtosigno(), psignal(), and test driver.
8849
8850Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
8851
8852 * Makefile.in: do not print recursion line.
8853
8854 * Makefile.in: allow CFLAGS to be passed in from command line.
8855 Removed MINUS_G. Default CFLAGS to -g.
8856
8857Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
8858
8859 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
8860 so libg++ users don't have to be inconvenienced by a
8861 libc.a bug (libc.a needs copysign, but doesn't define it!).
8862 * configure.in: Use config/mh-aix.
8863 * strtoul.c: Handle '-' as required by ANSI.
8864 Clean up radix handling.
8865 * strstr.c: Fix buggy algorithm.
8866 * Makefile.in: Change so that ${EXTRA_OFILES} is
8867 appended to needed-list (which is used by libg++).
8868
8869Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
8870
8871 * configure.in: Recognize new ncr3000 config.
8872 * config/mh-ncr3000: New config file.
8873
8874Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
8875
8876 * argv.c, dummy.c: Lint.
8877
8878Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
8879
8880 * config/mh-sysv4: New config file.
8881 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
8882 host_os == sysv4.
8883 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
8884 pagesize.
8885
8886Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
8887
8888 * getopt.c: Lint.
8889
8890Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
8891
8892 * functions.def (alloca): Fix return type and args to avoid
8893 type clash with gcc's builtin alloca.
8894
8895Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
8896
8897 * configure.in, config/mh-irix4: irix4 support.
8898
8899 * Makefile.in, functions.def, alloca.c: added alloca.
8900
8901Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
8902
8903 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
8904
8905Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
8906
8907 * argv.c: Fix various external function definitions to be
8908 correct in an ANSI compilation environment.
8909
8910Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
8911
8912 * obstack.c: Changes to support calling mmalloc functions,
8913 which take an additional argument over malloc functions.
8914
8915Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
8916
8917 * added check target.
8918
8919Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
8920
8921 * argv.c: #include alloca-conf.h (needed by AIX).
8922
8923Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
8924
8925 * Makefile.in, configure.in: removed traces of namesubdir,
8926 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
8927 copyrights to '92, changed some from Cygnus to FSF.
8928
8929Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
8930
8931 * argv.c: Check in Fred's version which fixes problems with
8932 alloca().
8933
8934Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
8935
8936 * makefile.dos: Remove NUL to keep patch from failing.
8937
8938Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
8939
8940 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
8941
8942Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
8943
c4b9cfe0 8944 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
6599da04
JM
8945
8946Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
8947
8948 * argv.c: New file to build and destroy standard argument
8949 vectors from a command string.
8950
8951 * Makefile.in: Add argv.c and argv.o to appropriate macros.
8952
8953Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
8954
8955 * configure.in: Change svr4 references to sysv4.
8956
8957 * rindex.c: Declare return type of externally used function
8958 strrchr().
8959
8960Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
8961
8962 * Makefile.in: Remove "***" in normal output, since Make produces
8963 this on errors, and it's convenient to search for.
8964
8965Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
8966
8967 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
8968 New ANSI functions. The old non-ANSI functions (such as bcopy)
8969 should be avoided.
8970 * bcopy.c: Fix to correctly handle overlapping regions.
8971 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
8972 * functions.def: Add the new functions.
8973 * functions.def: Add 4th parameter to DEF macro,
8974 an ansidecl.h-style prototype.
8975 * dummy.c: Use expanded DEF macro to create a dummy function
8976 call, with correct parameter types. (This avoids some
8977 complaints from gcc about predefined builtins.)
8978
8979 Move the functionality of config/mh-default into Makefile.in.
8980 This avoid duplication, and simplifies things slightly.
8981 * Makefile.in: Tweak so we don't need config/mh-default.
8982 * README: Update.
8983 * configure.in: No longer need config/mh-default.
8984 * config/mh-default: Deleted.
8985 * config/mh-sysv: Remove lines copied from old mh-default.
8986
8987Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
8988
8989 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
8990 'mknod' device numbers.
8991
8992Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
8993
8994 * fdmatch.c, Makefile.in: Add new function that takes two
8995 open file descriptors and returns nonzero if they refer to
8996 the same file, zero otherwise. (used in gdb)
8997
8998Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
8999 From DJ:
9000 * msdos.c: stub functions for dos.
9001 * makefile.dos, configdj.bat: new.
9002 * getopt.c: Don't include alloca-conf.h in a GO32 world.
38beb75c 9003
6599da04
JM
9004
9005Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
9006
9007 * Makefile.in: infodir belongs in datadir.
9008
9009Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
9010
9011 * Makefile.in: remove spaces following hyphens because bsd make
9012 can't cope. added standards.text support. install using
9013 INSTALL_DATA.
9014
9015 * configure.in: remove commontargets as it is no longer a
9016 recognized hook.
9017
9018Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
9019
9020 * Makefile.in: idestdir and ddestdir go away. Added copyrights
9021 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
9022 and mandir now keyed off datadir by default.
9023
9024Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
9025
9026 * Makefile.in: find-needed.awk does not fit in 14 chars.
9027
9028 * Makefile.in: Suppress error checking when compiling the test
9029 program, because Ultrix make/sh aborts there due to a bug.
9030
9031Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
9032
9033 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
9034 * README: Explained how the auto-configuration works,
9035 and how to add new files and/or configurations.
9036
9037Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
9038
9039 * strtoul.c: Avoid defining ULONG_MAX if already defined;
9040 cast a const char * to char * for pedants.
9041
9042 * getopt.c: Only define "const" after local include files get to,
9043 and only if they haven't defined it.
9044
9045Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
9046
9047 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
9048 emulate it with getwd() if available. This avoids callers having
9049 to find a MAXPATHLEN or PATH_MAX value from somewhere.
9050 * Makefile.in, functions.def: getwd->getcwd.
9051 * configure.in: Use generic case for every system.
9052 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
9053 * config/mh-sysv: Use default handling, just add -DUSG.
9054
9055Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
9056
9057 * Makefile.in, config/mh-default: Re-do make magic
9058 so that for the default ("automatic") mode we only
9059 compile the files we actually need. Do this using
9060 a recursive make: The top-level generates the list
9061 of needed files (loosely, the ones missing in libc),
9062 and then passes that list to the recursive make.
9063 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
9064
9065Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
9066
9067 RS/6000 host support (grumble).
9068
9069 * configure.in: Build alloca-conf.h file from alloca-norm.h
9070 (everything else) or alloca-botch.h (rs/6000).
9071 * Makefile.in: Include . on the include path.
9072 * getopt.c: Use alloca-conf.h.
9073 * alloca-norm.h: How to declare alloca on reasonable machines.
9074 * alloca-botch.h: How to declare alloca on braindead machines.
9075
9076Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
9077
9078 * concat.c : New file, like concat() in gdb but can take a
9079 variable number of arguments rather than fixed at 3 args. For
9080 now, client applications must supply an xmalloc(), which is a
9081 front end function to malloc() that deals with out-of-memory
9082 conditions.
9083
9084 * Makefile.in: Add concat.c and concat.o to appropriate macros.
9085
9086Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
9087
9088 * config/mh-svr4: Add sigsetmask to list of required functions.
9089
9090Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
9091
9092 * vsprintf.c: New file.
9093 * functions.def, Makefile.in: Add vsprintf.
9094
9095Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
9096
9097 * configure.in, config/mh-rs6000: Add rs/6000 host support.
9098 * Makefile.in: Compile with debug info.
9099
9100Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
9101
9102 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
9103 config/mf-default: Added a default configuration mode,
9104 which includes into libiberty.a functions that are "missing" in libc.
9105 * strdup.c, vprintf.c, vfprintf.c: New files.
9106
9107Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
9108
9109 * config/hmake-svr4: New file.
9110
9111 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
9112
9113 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
9114 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
9115 files containing either portable C versions or emulations using
9116 native library calls.
9117
9118 * strerror.c: Add copyright, internal documentation, etc.
9119
9120 * strtol.c: Replace hardwired hex constants with some more
9121 portable macros. Remove illegal (according to gcc) cast.
9122
9123 * strtoul.c: Replace hardwired hex constant with more portable
9124 macro.
9125
9126 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
9127 can override them. Add new source and object file names to CFILES
9128 and OFILES respectively.
9129
9130 * configure.in: Add support for SVR4 makefile fragments.
9131
9132Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
9133
9134 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
9135 over-ridden by config/hmake-*
9136 * configure.in: added m88kcvs to sysv list
9137
9138Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
9139
9140 * Makefile.in: Most hosts need strerror, but one or two don't,
9141 and they override these definitions in the host-dependent makefile
9142 fragment.
9143 * config/hmake-mach: The odd man out on strerror -- it's supplied.
9144 * strerror.c: New file.
9145
9146 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
9147 it and bfd uses it.
9148 * configure.in, Makefile.in, config/hmake-mach: Only configure
9149 strtol & strotoul in on Mach.
9150
9151Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
9152
9153 * obstack.c: Merge with latest FSF version.
9154
9155\f
9156Local Variables:
9157version-control: never
9158End: