]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
README: Mention changes to Makefile.in and functions.texi.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
f8766c93
MLI
12009-11-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
2 Ben Elliston <bje@au.ibm.com>
3
4 * README: Mention changes to Makefile.in and functions.texi.
5 * gather-docs: Mention 'make stamp-functions' in the header.
6
5120dc38
BE
72009-11-23 Ben Elliston <bje@au.ibm.com>
8 Ian Lance Taylor <iant@google.com>
9
10 * pex-unix.c (pex_child_error): Improve warning avoidance by
11 checking the results of write(3) and exiting with -2 if any write
12 returns a negative value.
13
d90a2c59
SW
142009-11-22 Steve Ward <planet36@gmail.com>
15
16 * dyn-string.c (dyn_string_append_char): Fix typo in comment.
17
c22c44ba
BE
182009-11-20 Ben Elliston <bje@au.ibm.com>
19
20 * pex-unix.c (pex_child_error): Define writeerr macro to avoid
21 unused result warnings from write(3) calls. Undefine writeerr
22 after all uses.
23
70277b30
DG
242009-10-08 Daniel Gutson <dgutson@codesourcery.com>
25 Daniel Jacobowitz <dan@codesourcery.com>
26 Pedro Alves <pedro@codesourcery.com>
27
28 libiberty/
29 * argv.c (consume_whitespace): New function.
30 (only_whitespace): New function.
31 (buildargv): Always use ISSPACE by calling consume_whitespace.
32 (expandargv): Skip empty files. Do not stop at the first empty
33 argument (calling only_whitespace)..
34 * testsuite/test-expandargv.c: (test_data): Test empty lines
35 and empty arguments.
36 (run_tests): Fix false positives due to shorter arguments.
37
4578037e
MT
382009-09-30 Martin Thuresson <martint@google.com>
39
40 * regex.c (byte_re_match_2_internal): Split declaration and
41 assignment to avoid -Wc++-compat warning due to goto.
42
d5f4eddd
JM
432009-09-29 Jason Merrill <jason@redhat.com>
44
45 * Makefile.in: Enable demangle target.
46 * cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New.
47 (d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas.
48 (d_parmlist): Factor out from d_bare_function_type.
49 (d_compact_number): Factor out from d_template_param and d_expression.
50 (d_append_num): Factor out from d_print_comp.
51 (d_print_comp, d_print_mod_list): Handle lambdas.
52 * testsuite/demangle-expected: Add lambda tests.
53
31a9bec4 542009-09-23 Matthew Gingell <gingell@adacore.com>
30b639a8
MG
55
56 * cplus-dem.c (ada_demangle): Ensure demangled is freed.
57
bcf11ab4
OS
582009-09-22 Ozkan Sezer <sezeroz@gmail.com>
59
60 * choose-temp.c: Include unistd.h for mingw targets.
61
50cb834f
RO
622009-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
63
64 * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
65
384ed84d
TG
662009-09-15 Tristan Gingold <gingold@adacore.com>
67
68 * config.h-vms (intptr_t): Define to compile hashtab.c
69
0e497905
OS
702009-09-04 Ozkan Sezer <sezeroz@gmail.com>
71
72 PR target/39065
73 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
74 with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
75 * config.in: Regenerated.
76 * configure: Regenerated.
77
2e3dac6f
OS
782009-09-03 Ozkan Sezer <sezeroz@gmail.com>
79
80 PR target/39065
81 * configure.ac: Also check for intptr_t.
82 * config.h.in: Regenerated.
83 * configure: Regenerated.
84 * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
85 instead of of long.
86
f071aaca
TG
872009-09-02 Tristan Gingold <gingold@adacore.com>
88
89 * vmsbuild.com: Removed as unused and superceeded by makefile.vms.
90 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
91 dependencies. Remove unused FORMAT variable.
92 * configure.com: New file to create build.com DCL script for
93 Itanium VMS or Alpha VMS.
94
df58e648
RW
952009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
96
97 * configure.ac (AC_PREREQ): Bump to 2.64.
98
2eba9355
L
992009-08-23 H.J. Lu <hongjiu.lu@intel.com>
100
101 PR ld/10536
102 * Makefile.in (install-html-recursive): Removed.
103
5213506e
RW
1042009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
105
106 * config.in: Regenerate.
107 * configure: Regenerate.
108
6efbd53f
RW
1092009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
110
111 * Makefile.in (AUTOCONF, configure_deps): New variables.
112 ($(srcdir)/configure): New rule, active only in maintainer mode.
113
2958f4a2
DR
1142009-07-29 Douglas B Rupp <rupp@gnat.com>
115
116 * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
117
b303ef51
DR
1182009-07-27 Douglas B Rupp <rupp@gnat.com>
119
120 * pex-unix.c (vfork): Remove VMS specific definition (get from header
121 file instead).
122 (to_ptr32): New function.
123 (pex_unix_exec_child): Use it.
124
330b922f
ILT
1252009-07-24 Ian Lance Taylor <iant@google.com>
126
127 PR bootstrap/40854
128 * crc32.c (xcrc32): Rename from crc32.
129
b524249c
ILT
1302009-07-24 Ian Lance Taylor <iant@google.com>
131
132 * crc32.c: New file.
133 * Makefile.in: Rebuild dependencies.
134 (CFILES): Add crc32.c.
135 (REQUIRED_OFILES): Add ./crc32.o.
136 * functions.texi: Rebuild.
137
23b1a789
JK
1382009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
139
140 * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
141 (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
142 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
143 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
144 (d_demangle_callback): The variable type is now declared as enum.
145 Replace parser of _GLOBAL_ symbols by a d_make_comp call.
146
a46f975b
JJ
1472009-06-21 Jakub Jelinek <jakub@redhat.com>
148
149 * hashtab.c (htab_traverse): Don't call htab_expand for
150 nearly empty hashtabs with sizes 7, 13 or 31.
151
ee07afa0
NC
1522009-06-16 Nick Clifton <nickc@redhat.com>
153
154 PR 10197
155 * testsuite/test-demangle.c: Rename getline to get_line to avoid
156 conflicts with system function of the same name.
157
ec5c6f4a
EZ
1582009-05-30 Eli Zaretskii <eliz@gnu.org>
159
160 * snprintf.c: Doc fix.
161
162 * vsnprintf.c: Doc fix.
163
bb870b58
KT
1642009-05-29 Kai Tietz <kai.tietz@onevision.com>
165
166 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
167
4cfaf1ec
MM
1682009-05-29 Michael Matz <matz@suse.de>
169
170 * fibheap.c (fibheap_replace_key_data): Make sure we don't early
171 out when forcing the minimum.
172 (fibheap_delete_node): Assert that we managed to force the minimum.
173
0d38b677
TG
1742009-05-25 Tristan Gingold <gingold@adacore.com>
175
176 * config.h-vms: Rewritten. Define configure macros.
177 Use DEC-C builtin alloca.
178
179 * makefile.vms (OBJS): Update list.
180 (OPT): New variable.
181 (CFLAGS): Update compilation flags.
182 (libiberty.olb): Do not depend on alloca-conf.h anymore.
183
7859dde7
ILT
1842009-05-19 Ian Lance Taylor <iant@google.com>
185 Ben Elliston <bje@au.ibm.com>
186
187 * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
188 (cplus_demangle_fill_dtor): Likewise.
189
965cc3c3
JB
1902009-05-17 Julian Brown <julian@codesourcery.com>
191
192 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
193 standard handles (stdin, stdout, stderr) in parent.
194
6874160d
JB
1952009-04-29 Julian Brown <julian@codesourcery.com>
196
197 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
198 (pex_win32_exec_child): Ensure each process has only one handle open
199 on pipe endpoints. Close standard input after creating child for
200 symmetry with standard output/standard error.
201
ae2040df
EZ
2022009-04-25 Eli Zaretskii <eliz@gnu.org>
203
204 * Makefile.in (needed-list): Target removed (not used in GCC
205 3.0 and later). All references deleted.
206 (mostlyclean): Remove references to needed.awk and needed2.awk.
207
01459fb5
EZ
2082009-04-14 Eli Zaretskii <eliz@gnu.org>
209
210 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
211 existing and required library functions to with_target_subdir
212 section, so that the native build does detect them at configure
213 time.
214 * configure: Regenerated.
215
92c3e704
OS
2162009-04-13 Ozkan Sezer <sezeroz@gmail.com>
217
218 PR target/39397
219 * pex-common.h (struct pex_obj): Store pid values as pid_t,
220 not as long (members *children and (*wait))
221 * pex-common.c (pex_run_in_environment): Likewise.
222 * pex-win32.c (pex_win32_wait): Return pid_t and properly check
223 returned pid value.
224 * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
225 * pex-msdos.c (pex_msdos_wait): Likewise.
226
020e3d02
AP
2272009-04-07 Arnaud Patard <apatard@mandriva.com>
228
229 * libiberty/configure.ac: Fix Linux/MIPS matching rule.
230 * libiberty/configure: Regenerate.
231
b524249c 2322009-03-27 Ian Lance Taylor <iant@google.com>
5fbd9447
ILT
233
234 * memmem.c: New file, from gnulib.
235 * configure.ac: Add memmem to list of functions provided if they
236 are not available on the host.
237 * Makefile.in: Rebuild dependencies.
238 (CFILES): Add memmem.c.
239 (CONFIGURED_OFILES): Add memmem.o.
240 * configure, config.in, functions.texi: Rebuild.
241
6afcfe0a
JM
2422009-03-23 Jason Merrill <jason@redhat.com>
243
244 * cp-demangle.c (d_expression): Handle pack expansion.
245 (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
246 (d_print_subexpr): Don't wrap function parms in ().
247 (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
248 not finding a pack.
249
448545cb
JM
2502009-03-17 Jason Merrill <jason@redhat.com>
251
252 * cp-demangle.c (d_make_function_param): new fn.
253 (cplus_demangle_mangled_name): Work around abi v2 bug.
254 (d_expr_primary): Likewise.
255 (cplus_demangle_operators): Add alignof ops.
256 (d_expression): Handle function parameters and conversions
257 with other than 1 operand.
258 (d_print_comp): Handle function parameters. Fix bug with
259 function used in type of function.
260 * testsuite/demangle-expected: Upate tests.
261
8c9abf1f
MM
2622009-02-21 Mark Mitchell <mark@codesourcery.com>
263
264 * make-temp-file.c (<windows.h>): Include on Windows.
265 (choose_tmpdir): On Windows, use GetTempPath.
266
04f9f7b5
DK
2672009-01-18 Dave Korn <dave.korn.cygwin@gmail.com>
268
269 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
270 as it no longer shares libiberty object files.
271 * configure: Regenerated.
272
30471e01
JM
2732009-01-07 Jason Merrill <jason@redhat.com>
274
275 * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
276
381009fe
BE
2772009-01-06 Ben Elliston <bje@au.ibm.com>
278
279 * cp-demangle.c (cplus_demangle_type): Return NULL if the
280 character following a 'D' cannot be recognised.
281
938e76ad
JM
2822008-12-18 Jason Merrill <jason@redhat.com>
283
284 PR c++/38561
285 * cp-demangle.c (d_expression, d_print_comp): Revert
286 cast changes.
287
a77f94e2
JM
2882008-12-17 Jason Merrill <jason@redhat.com>
289
290 * cp-demangle.c (d_expression): Handle rvalue stubs too.
291 [DEMANGLE_COMPONENT_CAST]: Update mangling.
292 (d_print_comp): Avoid extra ", " with empty template argument packs.
293 Remove handling for obsolete T() mangling.
294
07523e7c
JM
2952008-12-10 Jason Merrill <jason@redhat.com>
296
297 * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
298 (d_print_comp, d_dump): Likewise.
299
b36c386c
DJ
3002008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
301
302 * Makefile.in (CPPFLAGS): Define.
303 (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
304
269f1d98
PB
3052008-10-15 Paolo Bonzini <bonzini@gnu.org>
306
61b74e12 307 PR bootstrap/37137
269f1d98
PB
308 * Makefile.in (LIBCFLAGS): Remove.
309 (FLAGS_TO_PASS): Don't mention it.
310 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
311
0c9e8424
DE
3122008-10-08 David Edelsohn <edelsohn@gnu.org>
313
314 * xstrdup.c: Include <sys/types.h> after "config.h"
315
d208e2d2
JK
3162008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
317
318 * configure.ac: Call AC_SYS_LARGEFILE.
319 * config.in: Regenerated.
320 * configure: Likewise.
321
38179091
JM
3222008-10-06 Jason Merrill <jason@redhat.com>
323
324 * cp-demangle.c (struct d_print_info): Add pack_index.
325 (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
326 (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and
327 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
328 (cplus_demangle_builtin_types): Add char16/32_t.
329 (cplus_demangle_type): Recognize them.
330 (d_template_args): Handle empty argument packs.
331 (d_template_arg): Handle argument packs.
332 (d_expression): Handle dependent name.
333 (d_index_template_argument): New fn.
334 (d_lookup_template_argument): New fn.
335 (d_find_pack, d_pack_length): New fn.
336 (d_print_subexpr): Split out...
337 (d_print_comp): ...from here. Use d_*_template_argument.
338 Handle empty arg lists. Support pack expansions.
339 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
340
5a3d7e74
JM
3412008-09-09 Jason Merrill <jason@redhat.com>
342
343 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
344 (d_make_comp): Likewise.
345 (cplus_demangle_type): Handle decltype and DFP types.
346 (cplus_demangle_operators): Call operator takes 2 args.
347 (cplus_demangle_builtin_types): Add DFP types.
348 (d_exprlist): New fn.
349 (d_expression): Handle parm placeholders, T() and calls.
350 (d_print_comp): Handle decltype, T() and calls.
351 * testsuite/demangle-expected: Test the above.
352
98b45309
AL
3532008-08-07 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
354
355 * pex-win32.c (argv_to_argc): New function.
356 (spawn_script): Duplicate argv before calling win32_spawn.
357
60ecfb1b
JJ
3582008-07-31 Jakub Jelinek <jakub@redhat.com>
359
360 * mkstemps.c (mkstemps): Keep looping even for EISDIR.
361
a23eb008
DV
3622008-07-31 Denys Vlasenko <dvlasenk@redhat.com>
363
364 * mkstemps.c (mkstemps): If open failed with errno other than
365 EEXIST, return immediately.
366 * make-temp-file.c: Include errno.h.
367 (make_temp_file): If mkstemps failed, print an error message
368 before aborting.
369
f59a2f55
RW
3702008-07-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
371
372 * maint-tool (deps): Output config.h instead of stamp-h.
373 * Makefile.in: Rebuild deps.
374 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
375 Reverts 2007-07-11 change.
376
6819ba36
EB
3772008-06-19 Eric Blake <ebb9@byu.net>
378
379 Adjust strsignal to POSIX 200x prototype.
380 * strsignal.c (strsignal): Remove const.
381
18c04407
RW
3822008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383
384 * configure: Regenerate.
385
6ccde948
RW
3862008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
387
388 * libiberty.texi: Expand TABs, drop indentation outside examples.
389 * obstacks.texi: Likewise.
390
951b54cc
AJ
3912008-04-21 Aurelien Jarno <aurelien@aurel32.net>
392
393 * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
394 * libiberty/configure: Regenerate.
395
b6baa67d
KVH
3962008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
397
398 * testsuite/demangle-expected: Added tests for char16_t and char32_t.
399
deb984e6
PB
4002008-04-18 Paolo Bonzini <bonzini@gnu.org>
401
402 PR bootstrap/35457
403 * aclocal.m4: Add override.m4.
404 * configure: Regenerate.
405
eeda7b98
ILT
4062008-03-31 Ian Lance Taylor <iant@google.com>
407
408 * cp-demangle.c (d_substitution): Correct overflow check to avoid
409 -fstrict-overflow optimizations.
410
c91c9c2e
PB
4112008-03-27 Paolo Bonzini <bonzini@gnu.org>
412
413 * configure.ac (frags): Don't set, use frag instead.
414 (PICFLAG): Set here and substitute.
415 * Makefile.in (PICFLAG): Substitute from autoconf.
416 * configure: Regenerate.
417
598848e4
ILT
4182008-03-24 Ian Lance Taylor <iant@google.com>
419
420 * sha1.c: New file, from gnulib.
421 * Makefile.in: Rebuild dependencies.
422 (CFILES): Add sha1.c.
423 (REQUIRED_OFILES): Add sha1.o.
424
01b11940
DE
4252008-03-24 Doug Evans <dje@google.com>
426
427 * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
428 return from strdup.
429
5a9340fd
SP
4302008-03-12 Seongbae Park <seongbae.park@gmail.com>
431
432 * cplus-dem.c (malloc, realloc): Use void * instead of char *
433 as return type.
434
73b38fce
NC
4352008-03-11 Nick Clifton <nickc@redhat.com>
436
437 * md5.c (md5_process_bytes): Do not assume that memcpy will
438 provide a return value.
439
5ff3a208
BE
4402008-02-19 Ben Elliston <bje@au.ibm.com>
441
442 PR other/12618
443 * testsuite/Makefile.in (mostlyclean): Remove any core file.
444
e5df4fb1
DD
4452008-01-26 David Daney <ddaney@avtrex.com>
446
447 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
448 DEMANGLE_COMPONENT_COMPOUND_NAME, and
449 DEMANGLE_COMPONENT_CHARACTER cases.
450 (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
451 DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
452 (d_make_character): New function.
453 (d_java_resource): Same.
454 (d_special_name): Handle "Gr" case.
455 (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
456 DEMANGLE_COMPONENT_COMPOUND_NAME, and
457 DEMANGLE_COMPONENT_CHARACTER cases.
458 * testsuite/demangle-expected: Add test for java resource name
459 mangling.
460
62b445b3
TJB
4612008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
462
463 * cplus-dem.c (demangle_function_name): Changed to return value
464 indicating if a name was correctly demangled.
465 (iterate_demangle_function): Use demangle_function_name return
466 value.
467
daf6ff4c
MLI
4682008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
469
470 PR other/33768
471 * splay-tree.c (rotate_left): Fix minor typo in comment.
472 (rotate_right): Likewise.
473
983a6f8d
JM
4742007-11-12 Joseph Myers <joseph@codesourcery.com>
475
476 * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
477 compiler warnings.
478 (floatformat_ibm_long_double): Use
479 floatformat_ibm_long_double_is_valid.
480
da59326f
JM
4812007-11-07 Joseph Myers <joseph@codesourcery.com>
482 Daniel Jacobowitz <dan@codesourcery.com>
483
484 * floatformat.c (mant_bits_set): New.
485 (floatformat_to_double): Use it. Note no special handling of
486 split formats.
487 (floatformat_from_double): Note no special handing of split
488 formats.
489 (floatformat_ibm_long_double_is_valid,
490 floatformat_ibm_long_double): New.
491 (floatformat_ieee_single_big, floatformat_ieee_single_little,
492 floatformat_ieee_double_big, floatformat_ieee_double_little,
493 floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
494 floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
495 floatformat_m68881_ext, floatformat_i960_ext,
496 floatformat_m88110_ext, floatformat_m88110_harris_ext,
497 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
498 floatformat_ia64_spill_big, floatformat_ia64_spill_little,
499 floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
500 for addition of split_half field.
501
48492bdf
TT
5022007-09-06 Tom Tromey <tromey@redhat.com>
503
504 * pexecute.txh (pex_free): Document process killing.
505
1ab28be5 5062007-08-31 Douglas Gregor <doug.gregor@gmail.com>
6819ba36 507
1ab28be5 508 * cp-demangle.c (d_dump): Handle
6819ba36 509 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
1ab28be5
DG
510 (d_make_comp): Ditto.
511 (cplus_demangle_type): Ditto.
512 (d_print_comp): Ditto.
513 (d_print_mod): Ditto.
514 (d_print_function_type): Ditto.
515
1651030c
KT
5162007-08-24 Kai Tietz <kai.tietz@onevision.com>
517
518 * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
519 * pex-djgpp.c: Likewise.
520 * pex-msdos.c: Likewise.
521 * pex-unix.c: Likewise.
522 * pex-win32.c: Likewise.
523
9c79ad8b
MS
5242007-08-17 Michael Snyder <msnyder@access-company.com>
525
526 * make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
527
fd83e387
MS
5282007-08-03 Michael Snyder <msnyder@access-company.com>
529
530 * make-relative-prefix.c (make_relative_prefix_1): Fix resource
531 leak.
532
ac847e32
MS
5332007-07-31 Michael Snyder <msnyder@access-company.com>
534
535 * cp-demangle.c (d_print_comp): Guard against null.
536
f4f29b59
BE
5372007-07-25 Ben Elliston <bje@au.ibm.com>
538
539 * Makefile.in (CFILES): Remove ternary.c.
540 (REQUIRED_OFILES): Remove ./ternary.o.
541 (INSTALLED_HEADERS): Remove ternary.h.
542 (ternary.o): Remove.
543 * ternary.c: Remove.
544
f4e00f44
DD
5452007-07-23 DJ Delorie <dj@redhat.com>
546
547 * argv.c (writeargv): Fix typo in inline documentation.
548 * functions.texi: Regenerate.
549
6a9131e7
DD
5502007-07-17 DJ Delorie <dj@redhat.com>
551
552 * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
553 gettimeofday entry.
554 * configure: Likewise.
555
0f3d38b6
AO
5562007-07-11 Alexandre Oliva <aoliva@redhat.com>
557
558 * maint-tool (deps): Output stamp-h instead of config.h.
559 * Makefile.in: Rebuild deps.
560 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
561
38bb3485
SB
5622007-07-02 Simon Baldwin <simonb@google.com>
563
564 * argv.c (writeargv): Removed declaration of unused variable.
565
aa2480c5
PB
5662007-06-14 Paolo Bonzini <bonzini@gnu.org>
567
568 * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
569 * configure: Regenerate.
570
3bbd5a19
PB
5712007-06-14 Paolo Bonzini <bonzini@gnu.org>
572
573 * aclocal.m4: Include config/warnings.m4.
574 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
575 * configure: Regenerate.
576
abea993f
GK
5772007-06-07 Geoffrey Keating <geoffk@apple.com>
578
579 * configure.ac: Non-default multilibs can be cross compilations.
580 * configure: Regenerate
581
2091ff66
NF
5822007-05-07 Nathan Froyd <froydnj@codesourcery.com>
583
584 * argv.c (writeargv): New function.
585
a2aa65f0
GK
5862007-05-05 Geoffrey Keating <geoffk@apple.com>
587
588 * cp-demangle.c (d_name): Detect local-source-name.
589 (d_prefix): Likewise.
590 (d_unqualified_name): Implement local-source-name.
591
186c60ab
JB
5922007-05-03 Joel Brobecker <brobecker@adacore.com>
593
594 * filename_cmp.c: Replace include of ctype.h by include of
595 safe-ctype.h.
596 (filename_cmp): Use TOLOWER instead of tolower for conversions
597 that are locale-independent.
598 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
599
017133fd
TN
6002007-04-11 Thomas Neumann tneumann@users.sourceforge.net
601
602 * argv.c: Use ANSI C declarations.
603 * make-relative-prefix.c: Likewise.
604
96a94ff4
JB
6052007-04-06 Joel Brobecker <brobecker@adacore.com>
606
607 * filename_cmp.c (filename_cmp): Improve documentation.
608
320fc205
AS
6092007-04-02 Andreas Schwab <schwab@suse.de>
610
611 * filename_cmp.c: Include "config.h".
612
cde515d9
JB
6132007-03-29 Joel Brobecker <brobecker@adacore.com>
614
615 * filename_cmp.c: New file.
616 * Makefile.in (CFILES): Add filename_cmp.c.
617 (REQUIRED_OFILES): Add filename_cmp.o
618 (filename_cmp.o): New rule.
619 * functions.texi: Regenerate.
620
771904f1
GK
6212007-03-15 Geoffrey Keating <geoffk@apple.com>
622
623 * cp-demangle.c (d_encoding): Exit early on error.
624 (d_pointer_to_member_type): Exit early if cplus_demangle_type
625 returns NULL.
626 (cplus_demangle_type): Likewise.
627 * testsuite/demangle-expected: New testcase.
628
267686a7
BM
6292007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
630
631 * Makefile.in: Add install-pdf target as copied from
632 automake v1.10 rules.
633 * testsuite/Makefile.in: Add dummy install-pdf target.
634
5f81370d 6352007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de>
6819ba36 636 Eric Botcazou <ebotcazou@libertysurf.fr>
5f81370d
PB
637
638 PR other/16513
639 * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
640 Install headers in multilib independent location.
641
f86b57e4
DD
6422007-02-26 DJ Delorie <dj@redhat.com>
643
644 * configure.ac: add djgpp-specific results, so we don't have to
645 link during a cross compilation.
646 * configure: Regenerated.
6819ba36 647
15b16eb5
RW
6482007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
649
650 * hex.c: Fix typo.
651 * choose-temp.c: Likewise.
652 * functions.texi: Regenerate.
653
7cf4c53d
VP
6542007-01-31 Vladimir Prus <vladimir@codesourcery.com>
655
656 * pex-common.h (struct pex_obj): New fields
6819ba36 657 stderr_pipe and read_err.
7cf4c53d
VP
658 * pex-common.c (pex_init_common): Initialize
659 stderr_pipe.
660 (pex_run_in_environment): Add error checking
661 for PEX_STDERR_TO_PIPE. Create a pipe
662 for stderr if necessary.
663 (pex_read_err): New.
664 (pex_free): Close read_err.
665 * pexecute.txh: Document changes.
666 * functions.texi: Regenerated.
667
ae452ed1
BE
6682007-01-31 Ben Elliston <bje@au.ibm.com>
669
670 * strsignal.c (psignal): Change type of signo to int.
671 * functions.texi: Regenerate.
672
456cc5cf
SB
6732007-01-29 Simon Baldwin <simonb@google.com>
674
675 * cp-demangle.h (cplus_demangle_operators): External definition
676 suppressed if not building for libstdc++.
677 * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
678 to demangling, provides a malloc-less version of __cxa_demangle.
679 (cplus_demangle_print_callback): Public callback version of
680 cplus_demangle_print.
681 (struct d_growable_string): New growable string structure.
682 (d_growable_string_init): New function, provides support for
683 growable strings separate from print info.
684 (d_growable_string_resize): Likewise.
685 (d_growable_string_append_buffer): Likewise.
686 (d_growable_string_callback_adapter):): Likewise.
687 (d_print_init): New print info initialization function.
688 (d_print_error): Macro replace by inline function.
689 (d_print_saw_error): Likewise.
690 (d_append_char): Likewise.
691 (d_append_buffer): Likewise.
692 (d_append_string): New inline function, replaces the
693 d_append_string_constant macro.
694 (d_flush_buffer): New function, flushes buffer to callback.
695 (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
696 for unsupported dynamic arrays replaced by alloca().
697 (d_demangle): Return string length estimating removed.
698 (d_dump): Moved error case handling from call site into function.
699 (d_print_resize): Function removed.
700 (d_print_append_char): Likewise.
701 (d_print_append_buffer): Likewise.
702 (d_print_error): Likewise.
703 (d_print_comp): Added special case handling for Java arrays.
704 (java_demangle_v3): Removed string post-processing for Java arrays,
705 now replaced by special case handling in d_print_comp.
706 (cplus_demangle_v3_callback): Augmented interface to demangling,
707 provides a malloc-less version of cplus_demangle_v3.
708 (java_demangle_v3_callback): Augmented interface to demangling,
709 provides a malloc-less version of java_demangle_v3.
710
7d37bf39
BE
7112007-01-12 Ben Elliston <bje@au.ibm.com>
712
1a8e58a3
BE
713 * pex-unix.c (writeerr): Cast write result to void.
714
4d4f0164
BE
715 * choose-temp.c (choose_temp_base): Check the result of the call
716 to mktemp rather than testing the length of the modified string.
7d37bf39 717
5165f125
GK
7182006-12-20 Geoffrey Keating <geoffk@apple.com>
719
720 * cp-demangle.h: Add comment explaining what to do to avoid
721 overrunning string.
722 (d_check_char): New.
723 (d_next_char): Don't advance past trailing '\0'.
724 * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
725 (d_nested_name): Likewise.
726 (d_special_name): Likewise.
727 (d_call_offset): Likewise.
728 (d_function_type): Likewise.
729 (d_array_type): Likewise.
730 (d_pointer_to_member_type): Likewise.
731 (d_template_param): Likewise.
732 (d_template_args): Likewise.
733 (d_template_arg): Likewise.
734 (d_expr_primary): Likewise.
735 (d_local_name): Likewise.
736 (d_substitution): Likewise.
737 (d_ctor_dtor_name): Use d_advance rather than d_next_char.
738 * testsuite/test-demangle.c: Include sys/mman.h.
739 (MAP_ANONYMOUS): Define.
740 (protect_end): New.
741 (main): Use protect_end.
742 * testsuite/demangle-expected: Add testcases for overrunning
743 the end of the string.
744
334737af 7452006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
6819ba36 746 J"orn Rennecke <joern.rennecke@st.com>
334737af
AS
747
748 PR driver/29931
749 * make-relative-prefix.c (make_relative_prefix_1): New function,
750 broken out of make_relative_prefix. Make link resolution dependent
751 on new parameter.
752 (make_relative_prefix): Use make_relative_prefix_1.
753 (make_relative_prefix_ignore_links): New function.
754
e9903c67
VP
7552006-11-08 Vladimir Prus <vladimir@codesourcery.com>
756
757 * pex-win32.c (no_suffixes): Remove.
758 (std_suffixes): Add "" as first element.
759 (find_executable): Remove detection of already-present
760 extension. Try all suffixes in std_suffixes.
6819ba36 761
36b82060
JB
7622006-11-07 Julian Brown <julian@codesourcery.com>
763
764 * floatformat.c (get_field): Fix segfault with little-endian word
765 order on 64-bit hosts.
766 (put_field): Likewise.
767 (min): Move definition.
768
7445de0a
DS
7692006-10-26 Danny Smith <dannysmith@users.sourceforge.net>
770
771 pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
772 (find_executable): Likewise.
773 (win32_spawn): Cast alloca return to (char**).
774 Replace malloc with XNEWVEC.
775 bcopy.c (bcopy): Add explict casts in assignments.
776
97977a91
BE
7772006-10-25 Ben Elliston <bje@au.ibm.com>
778
779 * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
6819ba36 780
b5422ad7
BM
7812006-10-10 Brooks Moses <bmoses@stanford.edu>
782
783 * Makefile.in: Added "pdf", "libiberty.pdf" target support.
784 * testsuite/Makefile.in: Added empty "pdf" target.
785
53e3e587
ILT
7862006-09-22 Ian Lance Taylor <ian@airs.com>
787
788 PR other/29176
789 * cp-demangle.c (d_substitution): Check for overflow when
790 computing substitution index.
791
70aec81b
CV
7922006-08-30 Corinna Vinschen <corinna@vinschen.de>
793
794 * configure.ac: Add case for Mingw as host.
795 * configure: Regenerate.
796
022d4166
ILT
7972006-08-27 Ian Lance Taylor <ian@airs.com>
798
5317e1c7
ILT
799 PR driver/27622
800 * pex-common.h (struct pex_funcs): Add toclose parameter to
801 exec_child field.
802 * pex-common.c (pex_run_in_environment): Pass toclose to
803 exec_child.
804 * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
805 * pex-unix.c (pex_unix_exec_child): Likewise.
806 * pex-msdos.c (pex_msdos_exec_child): Likewise.
807 * pex-win32.c (pex_win32_exec_child): Likewise.
808
022d4166
ILT
809 PR other/28797
810 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
811 for a qualified member which is not a function.
812 * testsuite/demangle-expected: Add test case.
813
3050098b
JH
8142006-07-27 Jan Hubicka <jh@suse.cz>
815
816 PR rtl-optimization/28071
817 * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
818 downsize the hashtable.
819
706601d9
PG
8202006-07-04 Peter O'Gorman <peter@pogma.com>
821
822 * Makefile.in: chmod 644 before ranlib during install.
823
239559e7
MS
8242006-06-02 Mark Shinwell <shinwell@codesourcery.com>
825
826 * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
827 to environ.
828
ea60341e
MS
8292006-06-01 Mark Shinwell <shinwell@codesourcery.com>
830
831 * pex-common.c: New function pex_run_in_environment.
832 * pex-common.h: Add environment parameter to exec_child.
833 * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
834 * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
835 (pex_djgpp_exec_child): Pass environment to child process.
836 * pex-unix.c: Add environment parameter to pex_unix_exec_child.
837 (pex_unix_exec_child): Pass environment to child process.
838 * pex-win32.c: Add environment parameter to pex_win32_exec_child.
839 New function env_compare for comparing VAR=VALUE pairs.
840 (win32_spawn): Assemble environment block and pass to CreateProcess.
841 (spawn_script): Pass environment through to win32_spawn.
842 (pex_win32_exec_child): Pass environment through to spawn_script and
843 win32_spawn.
844 * functions.texi: Regenerate.
845 * pexecute.txh: Document pex_run_in_environment.
846
8967e029
MS
8472006-05-28 Mark Shinwell <shinwell@codesourcery.com>
848
849 * mkstemps.c: Open temporary files in binary mode.
850
824bceb0
AB
8512006-05-12 Anton Blanchard <anton@samba.org>
852
853 * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
854 hold "int%u_t".
855
9fff6432
JB
8562006-04-24 Julian Brown <julian@codesourcery.com>
857
858 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
859
8eff378c
JB
8602006-03-29 Jim Blandy <jimb@codesourcery.com>
861
f33a23a0 862 * pex-common.c (pex_input_file, pex_input_pipe): New functions.
8eff378c
JB
863 (pex_init_common): Initialize obj->input_file.
864 (pex_run): Close any file opened by pex_input_file.
f33a23a0
AP
865 * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
866 * pex-common.h (struct pex_obj): New field input_file.
8eff378c 867 (struct pex_funcs): New function ptr fdopenw.
f33a23a0
AP
868 * pex-unix.c (pex_unix_fdopenw): New function.
869 (funcs): List it as our fdopenw function.
870 * pex-win32.c (pex_win32_fdopenw): New function.
871 (funcs): List it as our fdopenw function.
872 * pex-djgpp.c (funcs): Leave fdopenw null.
873 * pex-msdos (funcs): Same.
874 * functions.texi: Regenerated.
8eff378c 875
5ea49f9c
JB
8762006-04-10 Jim Blandy <jimb@codesourcery.com>
877
878 * pex-common.c (temp_file): New function, containing guts of
879 pex-style temporary file name generation.
880 (pex_run): Use it.
881
cf61af07
CD
8822006-04-06 Carlos O'Donell <carlos@codesourcery.com>
883
884 * Makefile.in: Add install-html, install-html-am, and
6819ba36
EB
885 install-html-recursive targets. Define mkdir_p and
886 NORMAL_INSTALL.
cf61af07
CD
887 * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
888 * configure: Regenerate.
889 * testsuite/Makefile.in: Add install-html and html targets.
890
bd9e7c5c
MM
8912006-03-31 Mark Mitchell <mark@codesourcery.com>
892
893 * pex-win32.c (<errno.h>): Include.
894 (fix_argv): Remove.
895 (argv_to_cmdline): New function.
896 (std_suffixes): New variable.
897 (no_suffixes): Likewise.
898 (find_executable): New function.
899 (win32_spawn): Likewise.
900 (spawn_script): Use win32_spawn instead of _spawnv[p].
901 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
902 (pex_win32_wait): Likewise.
903
58df1c41
JB
9042006-03-24 Jim Blandy <jimb@codesourcery.com>
905
906 * pex-common.c (pex_run): Simplify output name handling.
907
7d898fa2
JB
9082006-03-12 Jim Blandy <jimb@red-bean.com>
909
910 * pex-common.h (struct pex_obj): Doc fixes.
911
ddbbee51
JB
9122006-03-11 Jim Blandy <jimb@red-bean.com>
913
914 * functions.texi: Regenerate.
915
f49712d8
BE
9162006-02-21 Ben Elliston <bje@au.ibm.com>
917
918 * pexecute.c (pwait): Syntax fix for previous change.
919
8f629dc5
UP
9202006-02-17 Uttam Pawar <uttamp@us.ibm.com>
921
922 * pexecute.c (pwait): Free vector pointer.
923 * partition.c (partition_print): Free class_elements pointer.
924
12c61ac3
RS
9252006-02-11 Roger Sayle <roger@eyesopen.com>
926 R. Scott Bailey <scott.bailey@eds.com>
927 Bill Northcott <w.northcott@unsw.edu.au>
928
929 PR bootstrap/16787
930 * floatformat.c: Include <float.h> where available.
931 (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
932
e8f9ec35
GDR
9332006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
934
935 * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
6819ba36 936 supported.
e8f9ec35
GDR
937 * configure: Regenerated.
938
974c2c56
CD
9392006-01-20 Carlos O'Donell <carlos@codesourcery.com>
940
941 * testsuite/Makefile.in: Add test-expandargv test.
942 * testsuite/test-expandargv.c: New test.
943 * argv.c (expandargv): Check for errors with ferror,
944 rather than just by looking at return value from fread.
945
573b07c7
GDR
9462005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
947
948 * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
949 to convert from "from".
950 (floatformat_to_double): Likewise.
951 (floatformat_from_double): Use explicit cast to convert from "to".
952
92aed1cb
TL
9532005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
954
955 PR java/9861
956 * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
957 and include return type when found.
958 (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
959 conditional logic to change printing order of return type.when
960 the DMGL_RET_POSTFIX option is present.
961 (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
962 call.
963 * testsuite/test-demangle.c (main): Recognize option --ret-postfix
964 * testsuite/demangle-expected: Test cases to verify extended encoding.
965 Updated comment to document --ret-postfix option.
6819ba36 966
73a08f87
RG
9672005-11-06 Richard Guenther <rguenther@suse.de>
968
969 * splay-tree.c (rotate_left): New function.
970 (rotate_right): Likewise.
971 (splay_tree_splay_helper): Remove.
972 (splay_tree_splay): Re-implement.
973
0432a5de
MK
9742005-10-31 Mark Kettenis <kettenis@gnu.org>
975
976 * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
977 New variables.
978
cb120852
MM
9792005-10-07 Mark Mitchell <mark@codesourcery.com>
980
981 * at-file.texi: Fix typo.
982
36dd6d31
MM
9832005-10-03 Mark Mitchell <mark@codesourcery.com>
984
985 * at-file.texi: New file.
986
affbb54a
MM
9872005-09-27 Mark Mitchell <mark@codesourcery.com>
988
989 * argv.c (expandargv): Do not use xmalloc_failed.
990
97393d0a
MM
9912005-09-26 Mark Mitchell <mark@codesourcery.com>
992
993 * argv.c (safe-ctype.h): Include it.
994 (ISBLANK): Remove.
995 (stdio.h): Include.
996 (buildargv): Use ISSPACE instead of ISBLANK.
997 (expandargv): New function.
240921b9 998 * Makefile.in: Regenerated.
97393d0a 999
0d676b85
CF
10002005-09-14 Christopher Faylor <cgf@timesys.com>
1001
1002 * pex-win32.c: Include "windows.h".
1003 (backslashify): New function.
1004 (fix_argv): Use backslashify to convert path to windows format.
1005 Allocate one more place in new argv for potential executable from '#!'
1006 parsing.
1007 (tack_on_executable): New function. Conditional on USE_MINGW_MSYS
1008 (openkey): Ditto.
1009 (mingw_rootify): Ditto.
1010 (msys_rootify): Ditto.
1011 (spawn_script): New function.
1012 (pex_win32_exec_child): Save translated argv in newargv. Pass to
1013 spawn_script if spawnv* fails.
1014 (main): New function. Conditional on MAIN. Useful for testing.
1015
e89b6c1c
MK
10162005-08-17 Mark Kettenis <kettenis@gnu.org>
1017
1018 * floatformat.c (floatformat_always_valid): Change type of last
1019 argument to `void *'.
1020 (floatformat_i387_ext_is_valid): Likewise.
1021 (floatformat_to_double): Change type of second argument to `const
1022 void *'.
1023 (floatformat_from_double): Change type of last argument to `void
1024 *'.
1025 (floatformat_is_valid): Change type of last argument to `const
1026 void *'.
1027 (ieee_test): Remove redundant casts.
1028
0cbe2a68
KC
10292005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1030
1031 * strverscmp.c: Update FSF address.
1032 * testsuite/Makefile.in: Likewise.
1033 * testsuite/test-demangle.c: Likewise.
1034 * testsuite/test-pexecute.c: Likewise.
1035
ca1cc111
KG
10362005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1037
1038 * getopt.c: Include ansidecl.h before system headers.
1039
f4f94d6b
BE
10402005-07-22 Ben Elliston <bje@gnu.org>
1041
1042 * getopt.c: Include "ansidecl.h".
1043 (_getopt_initialize): Mark argc and argv parameters as unused.
1044
8cfb7ab7
BE
10452005-07-22 Ben Elliston <bje@gnu.org>
1046
1047 * regex.c (regcomp): Change type of `i' from unsigned to int.
1048
b4db223f
BE
10492005-07-22 Ben Elliston <bje@gnu.org>
1050
1051 Recover patch lost in the sourceware repository:
1052 2005-07-09 Ben Elliston <bje@au.ibm.com>
1053 * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
1054 * memmove.c: Likewise.
1055 * objalloc.c: Likewise.
1056
8b82b724
BE
10572005-07-22 Ben Elliston <bje@gnu.org>
1058
1059 * configure.ac: Check for a getopt(3) declaration.
1060 * configure, config.in: Regenerate.
1061
7c22afcb
BE
10622005-07-15 Ben Elliston <bje@au.ibm.com>
1063
1064 * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
1065
72f93778
BE
10662005-07-12 Ben Elliston <bje@au.ibm.com>
1067
1068 * floatformat.c (floatformat_to_double): Add a comment about a
1069 potential source of warnings when compiling this file.
1070
6c5844d2
BE
10712005-07-12 Ben Elliston <bje@au.ibm.com>
1072
1073 * pexecute.c (pexecute): Cast string litrals to char *.
1074 * regex.c (re_comp): Cast a call to gettext() to char *.
1075
769b009e
KC
10762005-07-07 Kelley Cook <kcook@gcc.gnu.org>
1077
1078 * config.table: Delete file. Move former contents into ...
1079 * configure.ac: ... here and escape any brackets for m4.
1080 * Makefile.in (config.status): Remove dependency on config.table.
1081 * configure: Regenerate.
1082
f379ddd1
KC
10832005-07-07 Kelley Cook <kcook@gcc.gnu.org>
1084
1085 * config.in: Regenerate for 6/20 change.
1086
6cbfa10e
SE
10872005-07-03 Steve Ellcey <sje@cup.hp.com>
1088
1089 PR other/13906
1090 * md5.c (md5_process_bytes): Check alignment.
1091
8c7262af
ILT
10922005-07-01 Ian Lance Taylor <ian@airs.com>
1093
1094 PR other/22268
1095 * cp-demangle.c (d_expr_primary): Don't run off the end of the
1096 string while looking for the end of a literal value.
1097 * testsuite/demangle-expected: Add test case.
1098
a3648cfc
DB
10992005-06-30 Daniel Berlin <dberlin@dberlin.org>
1100
1101 * hashtab.c (EMPTY_ENTRY): Moved and renamed.
6819ba36 1102 (DELETED_ENTRY): Ditto.
a3648cfc 1103
83fbfe42
GK
11042005-06-20 Geoffrey Keating <geoffk@apple.com>
1105
1106 * strverscmp.c: New.
1107 * Makefile.in (CFILES): Add strverscmp.c.
1108 (CONFIGURED_OFILES): Add strverscmp.o.
1109 (strverscmp.o): New rule.
1110 (stamp-functions): Add $(srcdir) to files in source directory.
1111 * configure.ac (funcs): Add strverscmp.
1112 (AC_CHECK_FUNCS): Add strverscmp.
1113 * configure: Regenerate.
1114 * functions.texi: Regenerate.
1115
ddcf783b
EZ
11162005-05-28 Eli Zaretskii <eliz@gnu.org>
1117
1118 * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
1119 * config.in, configure: Regenerate.
1120
15da2806
RH
11212005-05-25 Richard Henderson <rth@redhat.com>
1122
1123 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
1124 (d_make_comp, d_print_comp): Likewise.
1125 (d_special_name): Generate one.
1126 * testsuite/demangle-expected: Add a hidden alias test.
1127
d7cf8390
GDR
11282005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
1129
1130 * configure.ac: Check declarations for calloc(), getenv(),
ddcf783b 1131 malloc(), realloc() and sbrk().
d7cf8390
GDR
1132 * config.in: Regenerate.
1133 * configure: Likewise.
1134
1135 * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
1136 instead of xmalloc.
1137 * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
1138 * concat.c (liiberty_concat_ptr): Surround definition with an
1139 extern "C" block, if __cplusplus.
1140 (concat): Use XNEWVEC instead of xmalloc.
1141 (reconcat): Likewise.
1142 * cp-demangle.c (struct d_print_template): Rename member
ddcf783b 1143 "template" to "template_decl". Adjust use throughout the file.
d7cf8390
GDR
1144 (d_print_resize): Properly cast return value of realloc().
1145 (cplus_demangle_print): Same for malloc().
1146 (d_demangle): Likewise.
1147 * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
1148 "typename" to "type_name".
1149 * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
1150 (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
1151 (demangle_template_value_parm): Likewise.
1152 (demangle_template): Likewise.
1153 (recursively_demangle): Likewise.
1154 (do_hpacc_template_literal): Likewise.
1155 (do_arg): Likewise.
1156 (remember_type): Likewise.
1157 (remember_Ktype): Likewise.
1158 (register_Btype): Likewise.
1159 (string_need): Use XRESIZEVEC instead of xrealloc().
1160 * dyn-string.c (dyn_string_init): Use XNEWVEC.
1161 (dyn_string_new): Use XNEW.
1162 (dyn_string_resize): Use XRESIZEVEC.
1163 * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
1164 * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
1165 Otherwise include <stdlib.h>.
1166 (exchange): Cast return value of malloc().
1167 * hashtab.c (htab_size): Define as both macro and non-inline
1168 function.
1169 (htab_elements): Likewise.
1170 * getpwd.c (getpwd): Use XNEWVEC.
1171 (htab_create_alloc_ex): Use C90 prototype-style.
1172 * lrealpath.c (lrealpath): Appropriately cast return value of
ddcf783b 1173 malloc().
d7cf8390
GDR
1174 * make-relative-prefix.c (save_string): Likewise.
1175 * make-temp-file.c (try_dir): Rename from "try". Adjust use in
1176 the file.
1177 (choose_tmpdir): Use XNEWVEC.
1178 * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
1179 * pex-common.c (pex_init_common): Use XNEW.
1180 (pex_add_remove): Use XRESIZEVEC.
1181 (pex_run): Likewise.
1182 (pex_get_status_and_time): Likewise.
1183 * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
1184 * pex-msdos.c (pex_init): Use XNEW.
1185 (pex_msdos_exec_child): Likewise.
1186 (pex_msdos_exec_child): Use XRESIZEVEC.
1187 * pex-unix.c (pex_wait): Use XNEW.
1188 * pex-win32.c (fix_argv): Use XNEWVEC.
1189 * pexecute.c (pwait): Likewise.
1190 * setenv.c (setenv): Properly cast return value of malloc().
1191 * sigsetmask.c (sigsetmask): Rename local variables "old" and
1192 "new" to "old_sig" and "new_sig".
1193 * sort.c (main): Use XNEWVEC.
1194 * spaces.c (spaces): Cast return value of malloc().
1195 * strndup.c (strndup): Likewise.
1196 * ternary.c (ternary_insert): Use XNEW.
1197 * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
1198 with an extern "C" block if __cplusplus.
1199 * xstrdup.c (xstrdup): Cast return value of memcpy().
1200 * xstrerror.c (strerror): Enclose declaration in an extern "C"
1201 block if __cplusplus.
1202 * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
1203
99e4078f
AJ
12042005-05-16 Andreas Jaeger <aj@suse.de>
1205
1206 * getpwd.c: Remove unneeded prototype getcwd and move getwd so
1207 that it's only declared if needed.
1208
1209 * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
1210 defined.
1211
766643be
AJ
12122005-05-15 Andreas Jaeger <aj@suse.de>
1213
1214 * functions.texi: Regenerated.
1215
2b836651
EZ
12162005-05-15 Eli Zaretskii <eliz@gnu.org>
1217
1218 * pexecute.txh: Enclose multi-word data types in @deftypefn in
1219 braces. Minor wording fixes. Use --- for em-dash. Use
1220 @enumerate in enumerated lists.
1221
d842a495
AJ
1222 * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
1223 braces.
1224
5db1c531
EZ
12252005-05-11 Eli Zaretskii <eliz@gnu.org>
1226
1227 * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
1228 sys/stat.h.
1229 (pex_init): Fix last argument to pex_init_common.
1230 (pex_djgpp_exec_child): Remove leading underscore from _open,
1231 _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
1232 which is undeclared, with `executable', which was unused. Remove
1233 unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
1234 (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
1235
bd7d50f8
PB
12362005-05-11 Paul Brook <paul@codesourcery.com>
1237
1238 * Makefile.in: Regenerate dependencies.
1239
ee58dffd
NC
12402005-05-10 Nick Clifton <nickc@redhat.com>
1241
1242 * Update the address and phone number of the FSF organization in
1243 the GPL notices in the following files:
1244 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
1245 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
1246 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
1247 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
1248 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
1249 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
1250 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
1251 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
1252 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
1253 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
1254 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
1255 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
1256 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
1257
c1300f45
KC
12582005-05-06 Kelley Cook <kcook@gcc.gnu.org>
1259
1260 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
1261 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
1262 * configure: Regenerate.
1263
fbc1bc09
KC
12642005-05-06 Kelley Cook <kcook@gcc.gnu.org>
1265
1266 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
1267 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
1268 * aclocal.m4: Don't include accross.m4.
1269 * configure, config.in: Regenerate.
1270
32e82bd8
KG
12712005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1272
1273 * fopen_unlocked.c (unlock_std_streams): New.
2b836651 1274
32e82bd8
KG
1275 * functions.texi: Regenerate.
1276
6feaa084
KG
12772005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1278
1279 * fopen_unlocked.c (unlock_stream): New.
1280 Consolidate unlocking code into a helper function.
1281
1282 * functions.texi: Regenerate.
1283
3c60ae5a
GDR
12842005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
1285
1286 * asprintf.c: Include config.h.
1287 * basename.c: Likewise.
1288 * fdmatch.c: Likewise.
1289 * hex.c: Likewise.
1290 * lbasename.c: Likewise.
1291 * spaces.c: Likewise.
1292 * xatexit.c:Likewise.
2b836651 1293 * configure.ac: Do check declarations for basename, ffs, asprintf
3c60ae5a
GDR
1294 and vasprintf for real.
1295 * configure: Regenerate.
1296
0e0af50b
GDR
12972005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
1298
2b836651 1299 * argv.c (dupargv): Allocate space of argv[argc], not
fec02a2d 1300 sizeof(char *) of that amount. Cast result to char *.
0e0af50b 1301
4cf88ac3
GDR
13022005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
1303
1304 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
2b836651 1305 Replace not with negate.
4cf88ac3 1306
1ff7682c
GDR
13072005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
1308
1309 * configure.ac: Check declarations for basename, ffs, asprintf,
1310 vasprintf.
1311 * configure: Regenerate.
1312 * config.in: Likewise.
1313
78a7dc90
KG
13142005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1315
1316 * Makefile.in (CFILES): Add fopen_unlocked.c.
1317 (REQUIRED_OFILES): Add ./fopen_unlocked.o.
1318 Regenerate dependencies.
1319
1320 * configure.ac: Check for stdio_ext.h and __fsetlocking.
1321
1322 * fopen_unlocked.c: New file.
1323
1324 * functions.texi, configure, config.in: Regenerate.
1325
2f84c996
ILT
13262005-04-04 Ian Lance Taylor <ian@airs.com>
1327
1328 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
1329 declaration before statement.
1330
f9a9ac80
KG
13312005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1332
29138797
KG
1333 * bcmp.c: Fix warnings and implement using memcmp.
1334 * bcopy.c: Fix warnings.
1335 * bzero.c: Fix warnings and implement using memset.
1336
f9a9ac80
KG
1337 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
1338 -Wstrict-prototypes.
1339 * configure, config.in: Regenerate.
1340
1341 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
1342 warnings and reconcile interfaces with relevant standards.
1343
23ea4f4a
ILT
13442005-04-02 Ian Lance Taylor <ian@airs.com>
1345
1346 * cp-demangle.c: Update copyright.
1347
1e3a2100
JM
13482005-03-31 Joseph S. Myers <joseph@codesourcery.com>
1349
1350 * gettimeofday.c: Add "Supplemental" to @deftypefn.
1351 * functions.texi: Regenerate.
1352
a584cf65
ILT
13532005-03-28 Ian Lance Taylor <ian@airs.com>
1354
1355 * pex-common.c: New file.
1356 * pex-one.c: New file.
1357 * pexecute.c: New file.
1358 * pex-common.h: Include <stdio.h>.
1359 (struct pex_obj): Define.
1360 (struct pex_funcs): Define.
1361 (pex_init_common): Declare.
1362 * pex-unix.c: Rewrite.
1363 * pex-win32.c: Rewrite.
1364 * pex-djgpp.c: Rewrite.
1365 * pex-msdos.c: Rewrite.
1366 * testsuite/text-pexecute.c: New file.
1367 * pexecute.txh: Rewrite.
1368 * configure.ac: Check for wait3 and wait4. Set CHECK to
1369 really-check rather than check-cplus-dem.
1370 * functions.texi: Rebuild.
1371 * Makefile.in: Rebuild dependencies.
1372 (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
1373 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
1374 * testsuite/Makefile.in (really-check): New target.
1375 (check-pexecute, test-pexecute): New targets.
1376 * configure: Rebuild.
1377
93764b5b 13782005-03-28 Mark Kettenis <kettenis@gnu.org>
2b836651 1379
93764b5b
MK
1380 * unlink-if-ordinary.c: Include <sys/types.h>.
1381
93079c81
GDR
13822005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1383
1384 Convert libiberty to use ISO C prototype style 7/n.
1385 * regex.c (PARAMS): Remove definition.
1386 (PREFIX): Unconditionaly define using ISO C ## operator.
2b836651 1387 (init_syntax_once, extract_number, extract_number_and_incr,
93079c81 1388 print_fastmap, print_partial_compiled_pattern,
2b836651 1389 print_compiled_pattern, print_double_string, printchar,
93079c81
GDR
1390 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
1391 regex_compile, store_op1, store_op2, insert_op1, insert_op2,
2b836651
EZ
1392 at_begline_loc_p, at_endline_p, group_in_compile_stack,
1393 insert_space, wcs_compile_range, byte_compile_range,
1394 truncate_wchar, re_compile_fastmap, re_compile_fastmap,
1395 re_set_registers, re_search, re_search_2, re_search_3, re_match,
93079c81
GDR
1396 re_match_2, count_mbs_length, wcs_re_match_2_internal,
1397 byte_re_match_2_internal, group_match_null_string_p,
1398 alt_match_null_string_p, common_op_match_null_string_p,
2b836651 1399 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
93079c81
GDR
1400 regexec, regerror, regfree): Use ISO C prototype style.
1401 * partition.c: (elem_compare): Likewise.
1402 * cp-demangle.c (print_usage): Likewise.
1403
885f2199
GDR
14042005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1405
1406 Convert libiberty to use ISO C prototype style 5/n.
1407 * random.c (srandom, initstate, setstate, random): Use ISO C
2b836651 1408 prototypes.
885f2199
GDR
1409 * putenv.c (putenv): Likewise.
1410 * physmem.c (physmem_available, physmem_total, main): Likewise.
1411 * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
1412 * pex-unix.c (pexecute, pwait): Likewise.
1413 * pex-msdos.c (pexecute, pwait): Likewise.
1414 * pex-djgpp.c (pexecute, pwait): Likewise.
2b836651 1415 * partition.c (partition_new, partition_delete, partition_union)
885f2199 1416 (elem_compare, partition_print): Likewise.
2b836651
EZ
1417 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
1418 _obstack_allocated_p, _obstack_free, obstack_free,
885f2199
GDR
1419 _obstack_memory_used, print_and_abort, obstack_next_free,
1420 obstack_object_size, obstack_base): Likewise. Remove codes
1421 predicated on !defined(__STDC__).
2b836651 1422 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
885f2199
GDR
1423 objalloc_free_block): Use ISO C prototypes.
1424 * mkstemps.c (mkstemps): Likewise.
1425 * memset.c (memset): Likewise.
1426 * mempcpy.c (mempcpy): Likewise.
1427 * rename.c (rename): Likewise.
1428 * rindex.c (rindex): Likewise.
1429 * setenv.c (setenv, unsetenv): Likewise.
1430 * sigsetmask.c (sigsetmask): Likewise.
1431 * snprintf.c (snprintf): Likewise.
2b836651 1432 * sort.c (sort_pointers, xmalloc): Likewise.
885f2199 1433 * spaces.c (spaces): Likewise.
2b836651
EZ
1434 * splay-tree.c (splay_tree_delete_helper,
1435 splay_tree_splay_helper, splay_tree_splay,
885f2199 1436 splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
2b836651 1437 splay_tree_new, splay_tree_xmalloc_allocate,
885f2199 1438 splay_tree_new_with_allocator, splay_tree_delete,
2b836651
EZ
1439 splay_tree_insert, splay_tree_remove, splay_tree_lookup,
1440 splay_tree_max, splay_tree_min, splay_tree_predecessor,
1441 splay_tree_successor, splay_tree_foreach,
885f2199
GDR
1442 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
1443 * stpcpy.c (stpcpy): Likewise.
1444 * stpncpy.c (stpncpy): Likewise.
1445 * strcasecmp.c (strcasecmp): Likewise.
1446 * strchr.c (strchr): Likewise.
1447 * strdup.c (strdup): Likewise.
1448
7a17ef5e
GDR
14492005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1450
1451 Convert libiberty to use ISO C prototype style 6/n.
2b836651 1452 * strerror.c (init_error_tables, errno_max, strerror, strerrno,
7a17ef5e
GDR
1453 strtoerrno, main): Use ISO C prototype style.
1454 * strncasecmp.c (strncasecmp): Likewise.
1455 * strncmp.c (strncmp): Likewise.
1456 * strndup.c (strndup): Likewise.
1457 * strrchr.c (strrchr): Likewise.
2b836651 1458 * strsignal.c (init_signal_tables, signo_max, strsignal,
7a17ef5e
GDR
1459 strsigno, strtosigno, psignal, main): Likewise.
1460 * strstr.c (strstr): Likewise.
1461 * strtod.c (strtod, atof): Likewise.
1462 * strtol.c (strtol): Likewise.
1463 * strtoul.c (strtoul): Likewise.
2b836651 1464 * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
7a17ef5e
GDR
1465 ternary_recursivesearch): Likewise.
1466 * tmpnam.c (tmpnam): Likewise.
1467 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
1468 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
1469 * vfork.c (vfork): Likewise.
1470 * vfprintf.c (vfprintf): Likewise.
1471 * vprintf.c (vprintf): Likewise.
1472 * vsnprintf.c (vsnprintf, checkit, main): Likewise.
1473 * vsprintf.c (vsprintf): Likewise.
1474 * waitpid.c (waitpid): Likewise.
1475 * xatexit.c (xatexit, xatexit_cleanup): Likewise.
1476 * xexit.c (xexit): Likewise.
2b836651 1477 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
7a17ef5e
GDR
1478 xcalloc, xrealloc): Likewise.
1479 * xmemdup.c (xmemdup): Likewise.
1480 * xstrdup.c (xstrdup): Likewise.
1481 * xstrerror.c (xstrerror): Likewise.
1482 * xstrndup.c (xstrndup): Likewise.
1483
1134b11d
AJ
14842005-03-27 Andreas Jaeger <aj@suse.de>
1485
1486 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
1487 flags.
1488 * configure: Regenerated.
1489
e78410c1
GDR
14902005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1491
1492 * getopt1.c (getopt_long_only): Fix thinko.
1493
6da879de
GDR
14942005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1495
1496 Convert libiberty to use ISO C prototype style 4/n.
1134b11d
AJ
1497 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
1498 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
1499 htab_create_alloc, htab_set_functions_ex, htab_create,
1500 htab_try_create, htab_delete, htab_empty,
1501 find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
1502 htab_find, htab_find_slot_with_hash, htab_find_slot,
1503 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
1504 htab_traverse_noresize, htab_traverse, htab_collisions,
6da879de
GDR
1505 htab_hash_string, iterative_hash): Use ISO C prototype.
1506 * hex.c (hex_init): Likewise.
1507 * index.c (index): Likewise.
1134b11d 1508 * insque.c (insque, remque): Likewise.
6da879de
GDR
1509 * lbasename.c (lbasename): Likewise.
1510 * lrealpath.c (lrealpath): Likewise.
1134b11d 1511 * make-relative-prefix.c (save_string, split_directories,
6da879de 1512 free_split_directories, make_relative_prefix): Likewise.
1134b11d
AJ
1513 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
1514 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
6da879de
GDR
1515 md5_buffer, md5_process_bytes, md5_process_block): Likewise.
1516 * memchr.c (memchr): Likewise.
1517 * memcpy.c (memcpy): Likewise.
1518 * memmove.c (memmove): Likewise.
1519 * gettimeofday.c (gettimeofday): Likewise.
1520 * getruntime.c (get_run_time): Likewise.
1521 * getpwd.c (getpwd, getpwd): Likewise.
1522 * getpagesize.c (getpagesize): Likewise.
1523 * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
1134b11d 1524 * getopt.c (my_index, exchange, _getopt_initialize,
6da879de
GDR
1525 _getopt_internal, getopt, main): Likewise.
1526 * getcwd.c (getcwd): Likewise.
1527 * fnmatch.c (fnmatch): Likewise.
1134b11d
AJ
1528 * floatformat.c (floatformat_always_valid,
1529 floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
1530 put_field, floatformat_from_double, floatformat_is_valid,
6da879de 1531 ieee_test, main): Likewise.
1134b11d
AJ
1532 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
1533 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
1534 fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
1535 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
1536 fibheap_delete, fibheap_empty, fibheap_extr_min_node,
1537 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
1538 fibheap_link, fibheap_cut, fibheap_cascading_cut,
6da879de
GDR
1539 fibnode_insert_after, fibnode_remove): Likewise.
1540 * ffs.c (ffs): Likewise.
1541 * fdmatch.c (fdmatch): Likewise.
1134b11d
AJ
1542 * dyn-string.c (dyn_string_init, dyn_string_new,
1543 dyn_string_delete, dyn_string_release, dyn_string_resize,
1544 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
1545 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
1546 dyn_string_insert_cstr, dyn_string_insert_char,
1547 dyn_string_append, dyn_string_append_cstr,
6da879de 1548 dyn_string_append_char, dyn_string_substring, dyn_string_eq):
1134b11d 1549 Likewise.
6da879de 1550
500d7701
GDR
15512005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1552
1553 Convert libiberty to use ISO C prototype style 3/n.
1134b11d
AJ
1554 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
1555 consume_count_with_underscores, code_for_qualifier,
1556 qualifier_string, demangle_qualifier, cplus_demangle_opname,
1557 cplus_mangle_opname, cplus_demangle_set_style,
1558 cplus_demangle_name_to_style, cplus_demangle, grow_vect,
500d7701 1559 ada_demangle, internal_cplus_demangle, squangle_mop_up,
1134b11d
AJ
1560 work_stuff_copy_to_from, delete_non_B_K_work_stuff,
1561 delete_work_stuff, mop_up, demangle_signature,
1562 demangle_method_args, demangle_template_template_parm,
1563 demangle_expression, demangle_integral_value,
1564 demangle_real_value, demangle_template_value_parm,
1565 demangle_template, arm_pt, demangle_arm_hp_template,
1566 demangle_class_name, demangle_class, iterate_demangle_function,
1567 demangle_prefix, gnu_special, recursively_demangle, arm_special,
1568 demangle_qualified, get_count, do_type, demangle_fund_type,
1569 do_hpacc_template_const_value, do_hpacc_template_literal,
1570 snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
1571 register_Btype, remember_Btype, forget_B_and_K_types,
1572 forget_types, demangle_args, demangle_nested_args,
1573 demangle_function_name, string_need, string_delete, string_init,
1574 string_clear, string_empty, string_append, string_appends,
500d7701
GDR
1575 string_appendn, string_prepend, string_prepends, string_prependn,
1576 string_append_template_idx): Use ISO C prootype style.
1577 * cp-demint.c (cplus_demangle_fill_component,
1134b11d 1578 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
500d7701
GDR
1579 cplus_demangle_v3_components): Likewise.
1580
9486db4f
GDR
15812005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
1582
1583 Convert libiberty to use ISO C prototype style 2/n.
1584 * cp-demangle.h: Remove uses of PARAMS.
1585 * cp-demangle.c: Likewise.
1134b11d
AJ
1586 (d_dump, cplus_demangle_fill_name,
1587 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
1588 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
1589 d_make_builtin_type, d_make_operator, d_make_extended_operator,
1590 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
1591 cplus_demangle_mangled_name, has_return_type,
1592 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
1593 d_prefix, d_unqualified_name, d_source_name, d_number,
1594 d_identifier, d_operator_name, d_special_name, d_call_offset,
1595 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
1596 d_function_type, d_bare_function_type, d_class_enum_type,
1597 d_array_type, d_pointer_to_member_type, d_template_param,
1598 d_template_args, d_template_arg, d_expression, d_expr_primary,
1599 d_local_name, d_discriminator, d_add_substitution,
1600 d_substitution, d_print_resize, d_print_append_char,
1601 d_print_append_buffer, d_print_error, cplus_demangle_print,
1602 d_print_comp, d_print_java_identifier, d_print_mod_list,
1603 d_print_mod, d_print_function_type, d_print_array_type,
1604 d_print_expr_op, d_print_cast, cplus_demangle_init_info,
1605 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
9486db4f 1606 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
1134b11d 1607 print_usage, main):
9486db4f
GDR
1608
16092005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
1610
1611 Convert libiberty to ISO C prototype style 1/n.
1612 * _doprnt.c: Remove conditional #include <varargs.h> on
1613 ANSI_PROTOTYPES as the latter is always assumed.
1614 (_doprnt, checkit, main): Use ISO C prototype.
1615 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
1616 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
1134b11d 1617 (dupargv, freeargv, buildargv, main): Use ISO C prototype.
9486db4f
GDR
1618 * atexit.c (atexit): Likewise
1619 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
1134b11d 1620 (asprintf): Use ISO C prototype.
9486db4f
GDR
1621 * basename.c (basename): Likewise
1622 * bcmp.c (bcmp): Likewise.
1623 * bcopy.c (bcopy): Likewise.
1624 * bzero.c (bzero): Likewise.
1625 * bsearch.c (bsearch): Likewise. Improve const-correctness.
1626 * choose-temp.c (choose_temp_base): Likewise.
1627 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
1628 (calloc): Use ISO C prototype.
1629 * clock.c (clock): Likewise.
1630 * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
1134b11d 1631 (vconcat_length, vconcat_copy, concat_length, concat_copy,
9486db4f
GDR
1632 concat_copy2, concat, reconcat, main): Use ISO C prototype.
1633 * copysign.c (copysign): Likewise.
1634
17998b22
KG
16352005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1636
1637 * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
1638 (REQUIRED_OFILES): Add xstrndup.o.
1639 (CONFIGURED_OFILES): Add strndup.o.
1640 Regenerate dependencies.
1641
1642 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
1643
1644 * strndup.c, xstrndup.c: New.
1645
1646 * config.in, configure, functions.texi: Regenerate.
1647
bb99744f
KG
16482005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1649
1650 * xmemdup.c, xstrdup.c: Expose the tail call.
1651
17049f0b
MM
16522005-03-09 Mark Mitchell <mark@codesourcery.com>
1653
1654 * configure.ac (funcs): Add gettimeofday.
1655 * configure: Regenerated.
1656 * gettimeofday.c: New file.
1657 * Makefile.in (CFILES): Add gettimeofday.
1658 (CONFIGURED_OFILES): Add gettimeofday.o.
1659 (./gettimeofday.o): New rule.
1660
6af8bd50
ILT
16612005-03-09 Ian Lance Taylor <ian@airs.com>
1662
1663 * pex-os2.c: Remove.
1664 * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
1665 * Makefile.in (CFILES): Remove pex-os2.c.
1666 (CONFIGURED_OFILES): Remove pex-os2.o.
1667 (pex-os2.o): Remove target.
1668 * configure: Rebuild.
1669
c80d391c
ILT
16702005-03-07 Ian Lance Taylor <ian@airs.com>
1671
1672 * mpw-config.in: Remove.
1673 * mpw-make.sed: Remove.
1674 * mpw.c: Remove.
1675 * Makefile.in (CFILES): Remove pex-mpw.c.
1676 (CONFIGURED_OFILES): Remove pex-mpw.o.
1677 (mpw.o, pex-mpw.o): Remove targets.
1678 * maint-tool (undoc): Remove reference to mpw.c.
1679
fe8ee922
DD
16802005-03-06 DJ Delorie <dj@redhat.com>
1681
1682 * configure.ac (target_header_dir): vfork is a stub under djgpp.
1683 * configure: Regenerated.
1684
c363985d
JB
16852005-03-01 Jan Beulich <jbeulich@novell.com>
1686
1687 * Makefile.in (CFILES): Add unlink-if-ordinary.c
1688 (REQUIRED_OFILES): Add unlink-if-ordinary.o.
1689 Add dependencies and rule for unlink-if-ordinary.o.
1690 * unlink-if-ordinary.c: New.
1691
6a88516c
BE
16922005-03-01 Ben Elliston <bje@au.ibm.com>
1693
1694 * hashtab.c (htab_find_slot_with_hash): Make function
1695 documentation clearer.
1696
b8b3c655
JM
16972005-02-13 Jason Merrill <jason@redhat.com>
1698
1699 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
1700 arguments.
1701
e8805990
TS
17022005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
1703
1704 * hex.c (hex_value): Group 'unsigned int' together to get correct
1705 markup.
1706 * functions.texi: Regenerated.
1134b11d 1707
24f2cabb
L
17082004-12-27 H.J. Lu <hongjiu.lu@intel.com>
1709
1710 * Makefile.in: Undo to 2004-12-17.
1711 * aclocal.m4: Likewise.
1712 * config.table: Likewise.
1713 * configure.ac: Likewise.
1714 * maint-tool: Likewise.
1715 * configure: Likewise.
1716
3d815594
L
17172004-12-19 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 PR bootstrap/19072
1720 * Makefile.in (enable_shared): New substitute.
1721 (LTTARGETLIB): New.
1722 (PREFIXTARGETLIB): New.
1723 (LTTESTLIB): New.
1724 (PREFIXTESTLIB): New.
1725 (CCLD): New.
1726 (LINK): New.
1727 ($(TARGETLIB)): Use $(LINK) to create libraries and create
1728 targets by hand.
1729 ($(TESTLIB)): Likewise.
1730 (mostlyclean): Don't remove .libs. Remove the libtool object
1731 directory.
1732
1733 * config.table (enable_shared): Removed.
1734
1735 * configure.ac (enable_static): Set to yes.
1736 (AC_PROG_LIBTOOL): Removed.
1737 (AM_DISABLE_SHARED): Uncommented.
1738 (AM_PROG_LIBTOOL): Likewise.
1739 (LIBOBJS): Add `./' to avoid VPATH.
1740 (LTLIBOBJS): Likewise.
1741 (enable_shared): Substitute.
1742 * configure: Regenerated.
1743
207db768
L
17442004-12-18 H.J. Lu <hongjiu.lu@intel.com>
1745
1746 * Makefile.in (top_builddir): Set to `.'.
1747 (OUTPUT_OPTION): Removed.
1748 (LIBTOOL): New.
1749 (LTLIBOBJS): New.
1750 (EXTRA_LTOFILES): New.
1751 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
1752 (all): Remove stamp-picdir.
1753 (LTCOMPILE): New.
1754 (.c.lo): New rule.
1755 (REQUIRED_LTOFILES): New.
1756 (CONFIGURED_LTOFILES): New.
1757 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
1758 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
1759 (stamp-picdir): Completely removed.
1760 (maint-missing): Pass $(REQUIRED_LTOFILES)
1761 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
1762 $(CONFIGURED_OFILES)
1763 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
1764 $(CONFIGURED_LTOFILES).
1765 (mostlyclean): Also remove *.lo .libs.
1766 Run "make maint-deps".
1767
1768 * aclocal.m4: Include ../libtool.m4.
1769
1770 * config.table: Don't check --enable-shared.
1771
1772 * configure.ac (AC_PROG_LIBTOOL): Add.
1773 (AC_PROG_CC_C_O): Removed.
1774 (OUTPUT_OPTION): Removed.
1775 (NO_MINUS_C_MINUS_O): Removed.
1776 (ltpexecute): New substitute.
1777 (LIBOBJS): Cleanup.
1778 * configure: Regenerated.
1779
1780 * maint-tool: Updated for .lo/libtool.
1781
d49d0907
BE
17822004-12-11 Ben Elliston <bje@au.ibm.com>
1783
1784 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
1785 * configure: Regenerate.
1786 * config.in: Likewise.
1787
b180d5fb
DD
17882004-12-07 DJ Delorie <dj@redhat.com>
1789
1790 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
1791 that recursion (and thus large stack space) is not needed.
1792
ecc30353
MK
17932004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
1794
1795 * pex-unix.c: Fix the spelling of longjmp.
1796
0b167d51
ILT
17972004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
1798
1799 PR other/18623
1800 * cp-demangle.c (d_call_offset): Remove useless local variables
1801 offset and virtual_offset.
1802 * cplus-dem.c (ada_demangle): Remove useless local variable
1803 at_start_name.
1804 (demangle_template): Remove useless local variable start.
1805
2d59754f
RS
18062004-11-19 Roger Sayle <roger@eyesopen.com>
1807
1808 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
1809 "ansidecl.h" to avoid redeclaration errors with native compilers.
1810 * regex.c: Protect config.h from multiple inclusion.
1811
ea27a394
MS
18122004-11-12 Mike Stump <mrs@apple.com>
1813
610784f0
MS
1814 * Makefile.in (libiberty.html): Fix html generation.
1815
626ff3de
AN
18162004-09-08 Adam Nemet <anemet@lnxw.com>
1817
1818 * vasprintf.c: Accept __va_copy in addition to va_copy.
1819
1134b11d 18202004-09-03 Paolo Bonzini <bonzini@gnu.org>
7b3ed47d
PB
1821
1822 * configure: Regenerate.
1823
1134b11d 18242004-09-02 Paolo Bonzini <bonzini@gnu.org>
27cfe310
PB
1825
1826 * configure.ac: Do not enable multilibs for build-side libiberty.
1827
1134b11d 18282004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
50a2de96
DS
1829
1830 * lrealpath.c (lrealpath): Add _WIN32 support.
1831
0cf61401
ZW
18322004-06-28 Zack Weinberg <zack@codesourcery.com>
1833
1834 * cp-demangle.h: Declare cplus_demangle_operators,
1835 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
1836 cplus_demangle_type as static if IN_GLIBCPP_V3.
1837
00a5aa9c
ILT
18382004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
1839
1840 PR other/16240
1841 * cp-demangle.c (d_expr_primary): Check for a failure return from
1842 cplus_demangle_type.
5cd29062 1843 * testsuite/demangle-expected: Add test case.
00a5aa9c 1844
b47785f4
DS
18452004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
1846
1847 * pex-win32.c (fix_argv): Expand comment.
1848
54b2f310
DJ
18492004-05-25 Daniel Jacobowitz <drow@false.org>
1850
1851 * Makefile.in: Add .NOEXPORT.
1852
8fd58397
DR
18532004-04-29 Douglas B Rupp <rupp@gnat.com>
1854
1855 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
1856 copyright.
1857
6489430a
MR
18582004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1859
1860 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
1861 * configure: Regenerate.
1862
9bf3c9cc
RH
18632004-04-22 Richard Henderson <rth@redhat.com>
1864
1865 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
1866 (CHAR_BIT): Provide default.
1867 (struct prime_ent, prime_tab): New.
1868 (higher_prime_index): Rename from higher_prime_number, return index.
1869 (htab_mod_1): New.
1870 (htab_mod, htab_mod_m2): Use it.
1871 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
1872 (htab_expand): Likewise.
1873 * configure.ac: Check for stdint.h.
1874 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
1875 * config.in, configure: Rebuild.
1876
80790b05
ILT
18772004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
1878
1879 * strerror.c: Include config.h, and redefine sys_nerr and
1880 sys_errlist, before including ansidecl.h and libiberty.h.
1881
7f96816a
JL
18822004-04-13 Jeff Law <law@redhat.com>
1883
1884 * hashtab.c (htab_remove_elt_with_hash): New function.
1885 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
1886
d9175b87
RH
18872004-03-31 Richard Henderson <rth@redhat.com>
1888
1889 * hashtab.c (htab_size): Move to top of file; mark inline.
1890 (htab_elements): Likewise.
1891 (htab_mod, htab_mod_m2): New.
1892 (htab_delete): Refactor htab->size and htab->entries.
1893 (htab_empty): Likewise.
1894 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
1895 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
1896 (htab_clear_slot): Use htab_size, htab_elements.
1897 (htab_traverse_noresize, htab_traverse): Likewise.
1898
e8190aa2
ILT
18992004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
1900
fed8129b
ILT
1901 * pex-unix.c (pexecute): Use vfork instead of fork, with
1902 appropriate changes to make this safe.
1903 * pex-common.h (STDERR_FILE_NO): Define.
1904
e8190aa2
ILT
1905 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
1906 an 80 column screen. Run maint-deps.
1907
a4f74b58
KC
19082004-03-09 Kelley Cook <kcook@gcc.gnu.org>
1909
1910 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
1911 * acconfig.h: Delete redundant file.
1912 * config.in: Regenerate.
1913 * configure: Regenerate.
1914
3beb1315
HPN
19152004-03-09 Hans-Peter Nilsson <hp@axis.com>
1916
1917 * configure: Regenerate for config/accross.m4 correction.
1918
688556b9
AJ
19192004-03-07 Andreas Jaeger <aj@suse.de>
1920
1921 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
1922 prototypes.
1923 (main): Initialize style.
1924
80a19ac8
ILT
19252004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
1926
31058ee3
ILT
1927 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
1928 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
1929 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
1930 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
1931 short types to D_PRINT_DEFAULT. Change other integer types to use
1932 new D_PRINT_* values where appropriate. Change float types to
1933 D_PRINT_FLOAT.
1934 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
1935 values.
1936 * testsuite/demangle-expected: Adjust two test cases.
1937
1938 * cp-demangle.c (d_print_function_type): Print a space before the
1939 parenthesis around the function type in more cases.
1940 * testsuite/demangle-expected: Adjust one test case.
1941
93f20626
ILT
1942 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
1943 parentheses around a cast.
1944 * testsuite/demangle-expected: Adjust two test cases to match new
1945 output.
1946
dbd6ec2b
ILT
1947 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
1948
80a19ac8
ILT
1949 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
1950 push more than one of the same CV-qualifier on the top of the
1951 stack.
1952 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
1953 move the CV-qualifiers to apply to the element type instead.
1954 (d_print_array_type): When checking the modifiers, keep looking
1955 past ones which have been printed already.
1956 * testsuite/demangle-expected: Add three test cases.
1957
8ad1c80e
ILT
19582004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1959
e8ed4ac2
ILT
1960 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
1961 empty string correctly.
1962
4a368ffd
ILT
1963 * cp-demangle.c (__cxa_demangle): It is not an error if status is
1964 not NULL. It is an error if the mangled name is the same as a
1965 built-in type name.
1966 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
1967 than cplus_demangle_v3.
1968
8ad1c80e
ILT
1969 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
1970 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
1971
ef2a223f
MK
19722004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
1973
1974 * regex.c: Include <ansidecl.h>.
1975 (regcomp): Cast i to int.
1976 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
1977
5254fd7b
ILT
19782004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
1979
1980 * configure.ac: Add m4_pattern_allow(LIBOBJS).
1981 * configure: Regenerate.
1982
398b3deb
DD
19832004-01-22 DJ Delorie <dj@redhat.com>
1984
1985 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
1986 with explicit build rules.
1987 (VPATH): Remove.
1988 (.c.o): Poison.
1989 * configure.ac (pexecute, LIBOBJS): Add ./ .
1990 * maint-tool: Build dependencies with explicit rules.
1991
4e394293
KH
19922004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1993
1994 * strdup.c (strdup): Constify the argument.
1995
0046e342
LR
19962004-01-14 Loren J. Rittle <ljrittle@acm.org>
1997
1998 * Makefile.in (distclean): Remove config.cache.
1999
d4f3ce5c
DJ
20002004-01-13 Daniel Jacobowitz <drow@mvista.com>
2001
2002 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
2003 takes two parameters.
2004 * cp-demint.c (cplus_demangle_fill_component): Likewise.
2005
5e777af5
ILT
20062004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
2007
2008 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
2009 defined, rename some functions which are to become static via
2010 #define.
2011 (CP_STATIC_IF_GLIBCPP_V3): Define.
2012 (struct d_operator_info): Move definition to cp-demangle.h, and
2013 rename to demangle_operator_info. Change all uses.
2014 (enum d_builtin_type_print): Move definition to cp-demangle.h.
2015 (struct d_builtin_type_info): Move definition to cp-demangle.h,
2016 and rename to demangle_builtin_type_info. Change all uses.
2017 (enum d_comp_type): Move definition to include/demangle.h, and
2018 rename to demangle_component_type, and change all enums to start
2019 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
2020 (struct d_comp): Move definition to include/demangle.h, and rename
2021 to demangle_component. Change all uses.
2022 (struct d_info): Move definition to cp-demangle.h.
2023 (cplus_demangle_fill_name): New function.
2024 (cplus_demangle_fill_extended_operator): New function.
2025 (cplus_demangle_fill_ctor): New function.
2026 (cplus_demangle_fill_dtor): New function.
2027 (d_make_empty): Remove type parameter. Change all callers.
2028 (d_make_name): Use cplus_demangle_fill_name.
2029 (d_make_extended_operator): Use
2030 cplus_demangle_fill_extended_operator.
2031 (d_make_ctor): Use cplus_demangle_fill_ctor.
2032 (d_make_dtor): Use cplus_demangle_fill_dtor.
2033 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
2034 non-static by default. Change all callers.
2035 (cplus_demangle_operators): Rename from d_operators. Change all
2036 uses. Make non-static by default. Add sentinel at end of array.
2037 (d_operator_name): Adjust initialization of high for new sentinel
2038 in cplus_demangle_operators.
2039 (cplus_demangle_builtin_types): Rename from d_builtin_types.
2040 Change all uses. Make non-static by default. Change initializer
2041 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
2042 (cplus_demangle_type): Rename from d_type. Make non-static by
2043 default. Change all callers.
2044 (cplus_demangle_init_info): Rename from d_init_info. Make
2045 non-static by default. Change all callers.
2046 * cp-demangle.h: New file.
2047 * cp-demint.c: New file.
2048 * Makefile.in: Rebuild dependencies.
2049 (CFILES): Add cp-demint.c.
2050 (REQUIRED_OFILES): Add cp-demint.o.
2051
c31d56ed
KC
20522004-01-09 Kelley Cook <kcook@gcc.gnu.org>
2053
2054 * configure.in: Rename file to ...
2055 * configure.ac: ... this.
2056 * Makefile.in: Update a comment for above change.
2057 * README: Likewise.
2058 * config.in: Regenerate.
2059
e4796f1c
ILT
20602004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
2061
2062 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
2063 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
2064 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
2065 demangling template parameters.
2066 * testsuite/test-demangle.c (fail): New static function.
2067 (main): Support new options in input file: --no-params,
2068 --is-v3-ctor, and --is-v3-dtor.
2069 * testsuite/demangle-expected: Add --no-params to most tests, and
2070 add the correct result when parameters are not demangled. Add
2071 some simple tests for V3 constructor/destructor recognition.
2072
4d425229
KG
20732003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2074
2075 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
2076
6b309c6e
DJ
20772003-12-22 Daniel Jacobowitz <drow@mvista.com>
2078
2079 PR debug/13272
2080 * Makefile.in (lbasename.o): Depend on filenames.h.
2081 * lbasename.c: Include "filenames.h" instead of defining
2082 its macros locally.
2083
2d6c4025
ILT
20842003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
2085
2086 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
2087 dynamic arrays.
2088 (struct d_operator_info): Add len field.
2089 (struct d_builtin_type_info): Add len and java_len fields.
2090 (struct d_standard_sub_info): Add simple_len, full_len, and
2091 set_last_name_len fields.
2092 (struct d_comp): Add len field to s_string.
2093 (struct d_info): Add send, did_subs, and expansion fields.
2094 (d_append_string_constant): Define.
2095 (d_append_string): Remove. Change all users to use
2096 d_append_string_constant or d_append_buffer instead.
2097 (d_make_sub): Add len parameter. Change all callers.
2098 (d_name): Increase expansion when substituting std::.
2099 (d_unqualified_name): Increase expansion for an operator.
2100 (d_number): Don't use multiplication for negative numbers.
2101 (d_identifier): Make sure there are enough characters in the
2102 string for the specified length. Adjust expansion for an
2103 anonymous namespace.
2104 (d_operators): Initialize len field.
2105 (d_special_name, d_ctor_dtor_name): Increase expansion.
2106 (d_builtin_types): Initialize len and java_len fields.
2107 (d_type): Increase expansion for a builtin type.
2108 (d_cv_qualifiers): Increase expansion for each qualifier.
2109 (d_bare_function_type): Decrease expansion when removing single
2110 void parameter.
2111 (d_template_param): Increment did_subs.
2112 (d_expression): Increase expansion for an operator.
2113 (d_expr_primary): Decrease expansion for a type we will print
2114 specially.
2115 (standard_subs): Initialize new fields.
2116 (d_substitution): Increment did_subs when doing a normal
2117 substitution. Increase expansion for a special substitution.
2118 (d_print): Add estimate parameter. Change all callers.
2119 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
2120 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
2121 (d_print_java_identifier): Rename from d_print_identifier. Handle
2122 only Java case. Change caller.
2123 (d_init_info): Change return type to void. Change all callers.
2124 Initialize send, did_subs, and expansion fields. Do not
2125 initialize comps and subs fields.
2126 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
2127 arrays on stack. Make an estimate of the length of the demangled
2128 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
2129 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
2130 subs arrays on stack.
2131
2307e075
ILT
21322003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
2133
2134 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
2135 after the identifier.
2136 * testsuite/demangle-expected: Add test case.
2137
a91d1af0
ILT
21382003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
2139
2140 Fix for PR c++/13447:
2141 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
2142 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
2143 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
2144 D_COMP_QUAL_NAME.
2145 (is_ctor_or_dtor): Likewise.
2146 (d_local_name): Use D_COMP_LOCAL_NAME rather than
2147 D_COMP_QUAL_NAME.
2148 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
2149 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
2150 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
2151 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
2152 * testsuite/demangle-expected: Add two test cases.
2153
2154 * cp-demangle.c (d_print_function_type): Clear the global modifier
2155 list when printing the modifiers, not just when printing the
2156 function parameters.
2157 * testsuite/demangle-expected: Add two test cases.
2158
8d686df2
ILT
21592003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
2160
cbc278f4
ILT
2161 * cp-demangle.c (d_print_function_type): Print the function
2162 parameters with no modifiers.
2163 * testsuite/demangle-expected: Add test case.
2164
8d686df2
ILT
2165 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
2166 expect that we've read the entire string.
2167 (is_ctor_or_dtor): Don't expect that we've read the entire
2168 string--reverse patch of 2003-11-29.
2169
adf269c7
BK
21702003-12-15 Brendan Kehoe <brendan@zen.org>
2171
2172 * libiberty/Makefile.in (floatformat.o): Add dependency on
2173 config.h to accompany change of 2003-12-03.
2174
374caa50
ILT
21752003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
2176
2177 Fix handling of constructor/destructor of standard substitution:
2178 * cp-demangle.c (struct d_standard_sub_info): Define.
2179 (d_substitution): Add prefix argument. Change all callers.
2180 Rework handling of standard substitutions to print full name when
2181 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
2182 * testsuite/demangle-expected: Add test case.
2183
2184 Fix handling of negative literal constants:
2185 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
2186 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
2187 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
2188 (d_print_comp): Handle D_COMP_LITERAL_NEG.
2189 * testsuite/demangle-expected: Add test case.
2190
a51753e4
ILT
21912003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
2192
2193 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
2194 (d_last_char): Define new macro.
2195 (d_make_name): Reject an empty name.
2196 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
2197 (d_substitution, d_print_identifier): Likewise.
2198 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
2199 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
2200 (d_print_mod) Use new d_last_char macro.
2201 (d_print_cast): Use new d_last_char macro.
2202 (is_ctor_or_dtor): Don't leak memory.
2203
2204 Fix handling of member function modifiers:
2205 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
2206 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
2207 (d_dump): Dump new d_comp_type values.
2208 (d_make_comp): Accept new d_comp_type values.
2209 (has_return_type): Only accept _THIS variants of qualifiers.
2210 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
2211 qualifiers.
2212 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
2213 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
2214 qualifiers and printing them at the end, add _THIS qualifiers to
2215 the modifier list.
2216 (d_print_comp) [D_COMP_*_THIS]: New cases.
2217 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
2218 qualifiers.
2219 (d_print_mod_list): Add suffix parameter. Change all callers.
2220 Keep walking the list even if the current modifier has been
2221 printed.
2222 (d_print_mod): Handle new _THIS qualifiers.
2223 (d_print_function_type): Handle new _THIS qualifiers when deciding
2224 whether to print a parenthesis. Put a space before the
2225 parenthesis in some cases. Call d_print_mod_list again at the
2226 end, passing suffix as 1.
2227 (is_ctor_or_dtor): Look for new _THIS qualifiers.
2228 * testsuite/demangle-expected: Add test case.
2229
2230 Fix for PR gcc/13304:
2231 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
2232 before the '<' is itself a '<', insert a space.
2233 (d_print_cast): Likewise.
2234 * testsuite/demangle-expected: Add test case.
2235
2236 Fix for PR gcc/13244:
2237 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
2238 which uses the '>' operator in an extra layer of parens.
2239 * testsuite/demangle-expected: Add test case.
2240
bee6ab3e
ILT
22412003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
2242
2243 * floatformat.c: Include "config.h" and <string.h> if available.
2244 (INFINITY, NAN): Define if not defined by <math.h>.
2245 (floatformat_to_double): Handle NaN, infinity, and denormalized
2246 numbers.
2247 (floatformat_from_double): Likewise.
2248 (ieee_test): In debugging code, use little endian rather than big
2249 endian. Correct tests to handle NaN and to check correct sign of
2250 zero. Omit m68k extended test.
2251 (main): Add more debugging cases.
2252
f26deb3d
ILT
22532003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
2254
2255 * cp-demangle.c (d_demangle): Only return success if we consumed
2256 the entire demangled string.
2257 (is_ctor_or_dtor): Likewise.
2258
2259 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
2260 to restore expected result of EDG test case to original expected
2261 result.
2262
81dc098b
ILT
22632003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
2264
2265 * cp-demangle.c (struct d_print_mod): Add templates field.
2266 (d_make_builtin_type): Check for NULL type.
2267 (d_make_extended_operator): Check for NULL name.
2268 (d_make_ctor, d_make_dtor): Likewise.
2269 (d_mangled_name): Add top_level parameter. Change all callers.
2270 (d_encoding): If DMGL_PARAMS is not set, strip off initial
2271 CV-qualifiers.
2272 (d_type): Check some return values we rely on.
2273 (d_bare_function_type, d_array_type): Likewise.
2274 (d_pointer_to_member_type, d_template_args): Likewise.
2275 (d_add_substitution): Fail if argument is NULL.
2276 (d_print_resize): Check whether buf is NULL.
2277 (d_print_comp): Save current templates list with each modifier.
2278 Don't pass the modifier list down when printing a template.
2279 (d_print_cast): Don't pass the modifier list down when printing a
2280 template.
2281 (d_print_mod_list): Temporarily set templates list while printing
2282 a modifier.
2283 (d_print_mod): Check that buf is not NULL before using it.
2284 (d_print_function_type): Print parens if there is no modifier.
2285 (d_init_info): Permit as many substitutions as there are
2286 characters in the mangled name.
2287 * testsuite/demangle-expected: Add two new test cases.
2288
eb459c81
ILT
22892003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
2290
2291 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
2292 d_demangle.
2293
ad07f5e5
ILT
22942003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
2295
2296 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
2297 callers.
2298 (print_usage): Display new -p option.
2299 (long_options): Add --no-params.
2300 (main): Accept and handle -p.
2301
0ba5c8a2
ILT
23022003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
2303
2304 * cp-demangle.c (has_return_type): Skip qualifiers when checking
2305 whether we have a template.
2306 * testsuite/demangle-expected: Add four new tests.
2307
bd6946d1
ILT
23082003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
2309
9cca376f
ILT
2310 * testsuite/demangle-expected: Minor changes to match output of
2311 new demangler: adjust whitespace in four tests, and change order
2312 of qualifiers in one test.
2313
bd6946d1
ILT
2314 * cp-demangle.c: Complete rewrite.
2315
6df5a5c7
MM
23162003-11-19 Mark Mitchell <mark@codesourcery.com>
2317
2318 * cp-demangle.c (demangle_type): Correct thinko in substitution
2319 processing.
2320
a9b571f2
ILT
23212003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
2322
820555e6
ILT
2323 * cp-demangle.c (demangle_operator_name): Remove space before
2324 "sizeof".
2325 (demangle_type_ptr): Put qualifiers in the right place. Handle
2326 qualifiers in pointer to member specially.
2327 (demangle_type): Handle qualifiers for pointer or reference
2328 specially. Handle function type.
2329 (demangle_local_name): Save and restore caret around demangling of
2330 initial encoding.
2331
c4328d32
ILT
2332 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
2333 cplus_demangle.
2334
a9b571f2
ILT
2335 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
2336
ad37274a
AJ
23372003-10-31 Andreas Jaeger <aj@suse.de>
2338
2339 * floatformat.c (floatformat_always_valid): Add unused attribute.
2340
27eb8ab1
JZ
23412003-10-30 Josef Zlomek <zlomekj@suse.cz>
2342
2343 Jan Hubicka <jh@suse.cz>
2344 * vasprintf.c (int_vasprintf): Pass va_list by value.
2345 Use va_copy for copying va_list.
2346 (vasprintf): Pass va_list by value.
2347
e0432c1c
JZ
23482003-10-30 Josef Zlomek <zlomekj@suse.cz>
2349
2350 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
2351 instead of increasing n_elements when inserting to deleted slot.
2352
08c5b96d
B
23532003-10-20 J. Brobecker <brobecker@gnat.com>
2354
2355 * cplus-dem.c (demangle_template): Register a new Btype only
2356 when needed.
2357 * testsuite/demangle-expected: Add a new test.
2358
968e3f93
L
23592003-10-16 H.J. Lu <hongjiu.lu@intel.com>
2360
2361 * testsuite/demangle-expected: Update the expected output of
2362 _GLOBAL__I__Z2fnv.
2363
bca48dc6
DJ
23642003-10-02 Daniel Jacobowitz <drow@mvista.com>
2365
2366 * strerror.c: Revert last change. Declare static sys_nerr
2367 and sys_errlist using different names.
2368
b9e8f4b3
DJ
23692003-10-01 Daniel Jacobowitz <drow@mvista.com>
2370
2371 * strerror.c: Don't provide or reference sys_errlist if
2372 strerror is available.
2373
c0590bfd
L
23742003-10-01 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 * configure.in: Check if $MAKEINFO is missing.
2377 * configure: Regenerated.
2378
b033df90
DJ
23792003-09-24 Daniel Jacobowitz <drow@mvista.com>
2380
2381 * configure.in: Use AC_PROG_CPP_WERROR.
2382 * configure: Regenerated.
2383
83c07342
AC
23842003-09-22 Andrew Cagney <cagney@redhat.com>
2385
2386 * floatformat.c (floatformat_i387_ext_is_valid): New function.
2387 (floatformat_always_valid): New function.
2388 (floatformat_i387_ext): Initialize new "is_valid" field to
2389 "floatformat_i387_ext_is_valid".
2390 (floatformat_ieee_single_little): Initialize "is_valid" field to
2391 floatformat_always_valid.
2392 (floatformat_ieee_double_big): Ditto.
2393 (floatformat_ieee_double_little): Ditto.
2394 (floatformat_ieee_double_little): Ditto.
2395 (floatformat_ieee_double_littlebyte_bigword): Ditto.
2396 (floatformat_i960_ext): Ditto.
2397 (floatformat_m88110_ext): Ditto.
2398 (floatformat_m88110_harris_ext): Ditto.
2399 (floatformat_arm_ext_big): Ditto.
2400 (floatformat_arm_ext_littlebyte_bigword): Ditto.
2401 (floatformat_ia64_spill_big): Ditto.
2402 (floatformat_ia64_spill_little): Ditto.
2403 (floatformat_ia64_quad_big): Ditto.
2404 (floatformat_ia64_quad_little): Ditto.
2405 (floatformat_ia64_quad_little): Ditto.
2406 (floatformat_is_valid): Call "is_valid".
2407
c9fbef12
AC
24082003-09-15 Andrew Cagney <cagney@redhat.com>
2409
2410 * floatformat.c (get_field): Make "data" constant.
2411 (floatformat_is_valid, floatformat_to_double): Make "from"
2412 constant, fix casts.
2413 (floatformat_from_double): Make "from" constant.
2414
9c8860c3
DJ
24152003-09-15 Daniel Jacobowitz <drow@mvista.com>
2416
2417 * floatformat.c (floatformat_is_valid): New function.
2418 (get_field, put_field): Correct comments.
2419
13f7d3a1
JZ
24202003-09-06 Josef Zlomek <zlomekj@suse.cz>
2421
2422 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
2423 FIBHEAPKEY_T.
2424
03eec143 24252003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
86d75906
JDA
2426
2427 PR bootstrap/12100
2428 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
2429 * configure: Rebuilt.
2430
238235ef
DJ
24312003-08-27 Daniel Jacobowitz <drow@mvista.com>
2432
2433 * aclocal.m4: Include acx.m4 and no-executables.m4.
2434 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
2435 (LIB_AC_PROG_CC): Remove.
2436 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
2437 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
2438 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
2439 performing link tests.
2440 * configure: Regenerated.
2441
2b81b2c9
NN
24422003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
2443
0cf61401 2444 * cp-demangle.c: Clarify what package(s) this is part of.
2b81b2c9 2445
7b96f3e4
DS
24462003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
2447
2448 * pex-win32.c (pexecute): Mark parameters this_pname and
2449 temp_base as unused. Remove unused variables retries,
2450 sleep_interval. Initialize org_stdin, org_stdout.
2451 (pwait): Mark parameter flags as unused.
2452
24532003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
bacb96b2
DS
2454
2455 * pex-win32.c (fix_argv): Ensure that the executable pathname
2456 uses Win32 backslashes.
2457 (pexecute): Cast away constness when assigning *errmsg_arg.
2458
6f8507b1
L
24592003-06-26 H.J. Lu <hongjiu.lu@intel.com>
2460
2461 * testsuite/demangle-expected: Add more GNU V3 testcases.
2462
21299dbd
ZW
24632003-06-22 Zack Weinberg <zack@codesourcery.com>
2464
2465 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
2466 not HC_ASCII and HC_EBCDIC.
2467 Add documentation in form expected by gather-docs.
2468 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
2469 * Makefile.in, functions.texi: Regenerate.
2470
7468e0b5
ZW
24712003-06-21 Zack Weinberg <zack@codesourcery.com>
2472
2473 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
2474 for charset determination.
2475
cf8e4b78
DH
24762003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
2477
2478 * configure.in: Add check for malloc.h needed by
2479 m68k for function free().
2480 * configure: Regenerated.
2481 * config.in: Add HAVE_MALLOC_H.
2482 * hashtab.c: include malloc.h were available for
2483 free().
2484
aa9dc53d 24852003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
7468e0b5 2486
aa9dc53d
ACY
2487 PR bootstrap/10974
2488 * physmem.c: Update comment.
2489 * configure.in: Modify test for _system_configuration for older
2490 AIX systems.
2491
2492 * config.in, configure: Regenerated.
7468e0b5 2493
8191fe81
JDA
24942003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2495
2496 PR other/10810
2497 * test-demangle.c (getline): Fix fence-post error.
2498
8d398258
NC
24992003-06-03 Nick Clifton <nickc@redhat.com>
2500
2501 * asprintf.c: Change comment to note that -1 is returned upon
2502 error.
2503 * vasprintf.c: Likewise.
2504 (vasprintf): Return -1 upon error.
2505 * functions.texi: Document changes to asprintf and vasprintf.
2506
29ad6d3f
KC
25072003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
2508
2509 * config.table: Accept i[345867]86 variant.
2510
49a19cfd
JB
25112003-05-15 Jim Blandy <jimb@redhat.com>
2512
2513 * hex.c (_hex_value): Make this unsigned.
2514 (hex_value): Update documentation for new return type. hex_value
2515 now expands to an unsigned int expression, to avoid unexpected
2516 sign extension when we store it in a bfd_vma, which is larger than
2517 int on some platforms.
2518 * functions.texi: Regenerated.
2519
d5d4eae2
JZ
25202003-05-07 Josef Zlomek <zlomekj@suse.cz>
2521
2522 * splay-tree.c (splay_tree_predecessor): Fix comment.
2523 (splay_tree_successor): Fix comment.
2524
5cc5a0d0
JM
25252003-05-07 Jason Merrill <jason@redhat.com>
2526
9d70d418 2527 * hashtab.c (iterative_hash): New fn.
5cc5a0d0
JM
2528 * configure.in: Add AC_C_BIGENDIAN_CROSS.
2529 * aclocal.m4: Include accross.m4.
2530 * configure, config.in: Regenerate.
2531
05c30f22
KG
25322003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2533
2534 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
2535 * configure: Regenerate.
2536
41fe9404
CW
25372003-05-03 Carlo Wood <carlo@alinoe.com>
2538
2539 * cp-demangle.c: Fix typo in "char_traints" string-literal.
2540
52dd3224
KG
25412003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2542
2543 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
2544 (main): Test that we don't write too much data.
2545
bd3fbc6b
KG
25462003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2547
2548 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
2549 vsnprintf.
2550 * snprintf.c, vsnprintf.c: New files.
2551 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
2552 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
2553 Regenerate dependencies.
2554
2555 * functions.texi, configure, config.in: Regenerated.
2556
029bcc09
KG
25572003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2558
2559 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
2560 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
2561 and stpncpy.
2562 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
2563 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
2564 Regenerate dependencies.
2565
2566 * functions.texi, configure, config.in: Regenerated.
2567
c9ac9147
KG
25682003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2569
2570 * argv.c: Fix comments.
2571 * calloc.c: Don't unnecessarily include "libiberty.h".
2572 (bzero): Add prototype.
2573 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
2574 * getcwd.c (getcwd): Use standard definition to avoid conflicts
2575 with system headers.
2576 * hashtab.c (htab_traverse): Delete unused variables.
2577 * rename.c: Include "ansidecl.h".
2578 (rename): Use standard definition to avoid conflicts with system
2579 headers.
2580 * strsignal.c: Rely on ANSI_PROTOTYPES.
2581 * strstr.c: Check GNUC >= 2, not GNUC == 2.
2582 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
2583 * vprintf.c: Include "ansidecl.h" earlier, rely on
2584 ANSI_PROTOTYPES.
2585 * vsprintf.c: Include "ansidecl.h" earlier, rely on
2586 ANSI_PROTOTYPES and possibly include <stdarg.h>.
7468e0b5 2587
c9ac9147
KG
2588 * Makefile.in: Regenerate dependencies.
2589
98475c57
DD
25902003-04-15 DJ Delorie <dj@redhat.com>
2591
2592 * maint-tool (deps): Scan for headers in $srcdir also.
2593
55adc7bd
KG
25942003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2595
2596 PR target/10338
2597 PR bootstrap/10198
2598 PR bootstrap/10140
2599 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
2600 __mempcpy.
2601 * regex.c (regerror): Likewise.
2602
0ae0f1b0
RS
26032003-04-14 Roger Sayle <roger@eyesopen.com>
2604
2605 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
2606 * memchr.c: Likewise.
2607 * strcasecmp.c: Likewise.
2608 * strncasecmp.c: Likewise.
2609 * strncmp.c: Likewise.
2610 * xatexit.c: Likewise.
2611 * xmalloc.c: Likewise.
2612
2613 * copysign.c: Use traditional function declaration instead of DEFUN.
2614 * sigsetmask.c: Likewise.
2615
2616 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
2617 * memset.c: Likewise.
2618
2619 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
2620 * memmove.c: Likewise.
2621
88702c45
RS
26222003-04-14 Roger Sayle <roger@eyesopen.com>
2623
2624 * strdup.c (strdup): Tweak implementation to use memcpy.
2625
39e8d049
KG
26262003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2627
2628 * configure.in (HAVE_UINTPTR_T): Always define.
2629 * configure: Regenerated.
2630
9f2e0608
AO
26312003-03-23 Alexandre Oliva <aoliva@redhat.com>
2632
2633 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
2634 instead of $$CC alone.
2635 (install_to_tooldir): Use it.
2636
dbccdc42
JH
26372003-17-03 Jan Hubicka <jh@suse.cz>
2638
2639 * hashtab.c (htab_traverse_noresize): Break out from ...
2640 * hashtab.c (htab_traverse): ... here.
2641
0a8e3de3
JH
26422003-12-03 Jan Hubicka <jh@suse.cz>
2643
cd22e4af
JH
2644 * hashtab.c (htab_expand): Fix warning.
2645
0a8e3de3
JH
2646 * hashtab.c (htab_expand): Compute the size of hashtable based
2647 on the number of elements actually used.
2648 (htab_traverse): Call htab_expand when table is too empty.
2649
8fe85775
CW
26502003-03-11 Carlo Wood <carlo@gnu.org>
2651
2652 * cplus-dem.c (demangle_integral_value): Correction to reflect
2653 patch of 2002-01-10 in order to also make negative multi-digits
2654 without leading underscore work.
2655
3bf27822
MM
26562003-03-03 Mark Mitchell <mark@codesourcery.com>
2657
2658 * cplus-dem.c: Add license exception to copyright notice.
2659
434fa0b8
KG
26602003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2661
2662 * physmem.c: Formatting changes from upstream.
2663
ed935c35
DS
26642003-02-24 Danny Smith <dannysmith@users.source.forge.net>
2665
2666 * physmem.c (physmem_total): Add _WIN32 support.
2667 (physmem_available): Likewise.
2668
7f9fc006
RO
26692003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2670
2671 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
2672 GSI_PHYSMEM.
2673 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
2674
d47f75c4
KG
26752003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2676
2677 * configure.in: Check for sys/systemcfg.h and
2678 _system_configuration.
2679 * physmem.c: Add support for AIX. Tweek formatting as per
2680 upstream coreutils beta.
2681
170230b7
KG
26822003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2683 Richard Earnshaw <rearnsha@arm.com>
2684 Geoffrey Keating <geoffk@apple.com>
7468e0b5 2685
170230b7
KG
2686 * configure.in: Check for sys/sysctl.h and sysctl.
2687 * physmem.c: Add support for *bsd and darwin.
2688 * Makefile.in: Generate depedency for physmem.o.
2689
4a06f7f2
RO
26902003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2691
2692 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
2693 Tru64 UNIX.
2694 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
2695 Tru64 UNIX.
2696
2697 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
2698 machine/hal_sysinfo.h, sys/table.h.
2699 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
2700 * configure, config.in: Regenerate.
2701
64c7e556
KG
27022003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2703
2704 * configure.in: Check for sys/sysmp.h and sysmp.
2705 * physmem.c: Pull upstream copy, add support for irix6.
2706
2707 * config.in, configure: Regenerated.
2708
e9019af6
KG
27092003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2710
2711 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
2712 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
2713 pstat_getdynamic.
7468e0b5 2714
a354191e
KG
27152003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2716
2717 * Makefile.in (CFILES): Add physmem.c.
2718 (REQUIRED_OFILES): Add physmem.o.
2719 * configure.in: Check for sys/pstat.h.
2720 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
2721 * physmem.c: New file, copied from textutils.
2722
2723 * config.in, configure: Regenerated.
2724
4876b2b4
DJ
27252003-02-20 Daniel Jacobowitz <drow@mvista.com>
2726
2727 * Makefile.in (CFILES): Add lrealpath.c.
2728 (REQUIRED_OFILES): Add lrealpath.o.
2729 (lrealpath.o): Add rule.
2730 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
2731 * configure.in: Add realpath and canonicalize_file_name to
2732 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
2733 for canonicalize_file_name.
2734 * lrealpath.c: New file.
2735 * make-relative-prefix.c: Update documentation.
2736 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
2737 * config.in: Regenerated.
2738 * configure: Regenerated.
2739 * functions.texi: Regenerated.
2740
e182f0a3 27412003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
2742
2743 * cplus_dem.c: Fix typo: intializes -> initializes.
2744
3343fdd2
AO
27452003-02-20 Alexandre Oliva <aoliva@redhat.com>
2746
2747 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2748 config.status.
2749 * configure: Rebuilt.
2750
902cf50c
DJ
27512003-02-13 Daniel Jacobowitz <drow@mvista.com>
2752
2753 Fix PR c++/7612.
2754 * cplus-dem.c (demangle_signature): Call string_delete.
2755 Remove extra string_init.
2756 (demangle_arm_hp_template): Call string_delete instead of
2757 string_clear. Add missing string_delete call.
2758 (demangle_qualified): Add missing string_delete call.
2759 (do_type): Remove unused variable btype. Add missing string_delete
2760 call. Call string_delete instead of string_clear.
2761 (demangle_fund_type): Move variable btype inside of the switch
2762 statement. Add missing string_delete call.
2763 (do_arg): Call string_delete instead of string_clear. Remove extra
2764 string_init.
2765 (demangle_nested_args): Free work->previous_argument.
2766
7ac27e08
KG
27672003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2768
2769 * acconfig.h: New file. Add uintptr_t.
2770 * config.in: Regenerated.
2771
b3a8389d
JM
27722003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2773
2774 * libiberty.texi: Update to GFDL 1.2.
2775
d8c22ce7
CC
27762003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2777
2778 * Makefile.in (libiberty_topdir): New subst.
2779 (mkinstalldirs): Redefine in terms of the above.
2780 * configure.in: AC_SUBST it.
2781 * configure: Regenerate.
2782
4ce1921a
CC
27832003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2784
2785 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
2786 (info-subdir, install-info-subdir, clean-info-subdir)
2787 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
2788 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
2789 Pass $(FLAGS_TO_PASS).
2790
93239fdb
AO
27912003-01-27 Alexandre Oliva <aoliva@redhat.com>
2792
2793 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
2794 /`$$CC -print-multi-os-directory`.
2795
74828682
DJ
27962003-01-26 Daniel Jacobowitz <drow@mvista.com>
2797
2798 * hashtab.c (htab_create_alloc_ex): New function.
2799 (hatab_set_functions_ex): New function.
2800 (htab_delete, htab_expand): Support alternate allocation functions.
2801
ece0e59f
CF
28022003-01-24 Christopher Faylor <cgf@redhat.com>
2803
2804 * configure.in: Remove special pex-cygwin consideration.
2805 * configure: Regenerate.
2806 * pex-cygwin.c: Remove.
2807 * Makefile.in: Remove pex-cygwin.[co] lines.
2808
55d0e5e0
ZW
28092003-01-24 Zack Weinberg <zack@codesourcery.com>
2810
2811 * Makefile.in (CFILES): Add pex-*.c.
2812 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
2813 (CONFIGURED_OFILES): Add pex-*.o.
2814 (TEXIFILES): Add pexecute.txh.
2815 (pexecute.o): Delete rule.
2816 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
2817 pex-unix.o, pex-win32.o): New rules.
2818 * configure.in: Change AC_INIT argument to xmalloc.c.
2819 Compute appropriate pexecute implementation and substitute it
2820 as @pexecute@.
2821
2822 * pexecute.c: Split up into...
2823 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
2824 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
2825 new files.
2826
2827 * functions.texi: Regenerate.
2828 * configure: Regenerate.
2829
120cdf68
JZ
28302003-01-20 Josef Zlomek <zlomekj@suse.cz>
2831
2832 * hashtab.c (htab_expand): Fix allocation of new entries.
2833
90e5b39f
CC
28342003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2835
2836 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2837
d7082cd7
CC
2838 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
2839 mkinstalldirs command.
2840
eaed9290
DS
28412002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
2842
2843 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
2844 Define for hosts with HOST_EXECUTABLE_SUFFIX.
2845
ef4e4181
NC
28462002-11-24 Nick Clifton <nickc@redhat.com>
2847
2848 * make-relative-prefix.c (make_relative_prefix): Ensure return
2849 string is empty before using strcat to construct it.
2850
42766f8d
DJ
28512002-11-22 Daniel Jacobowitz <drow@mvista.com>
2852
2853 * Makefile.in: Add make-relative-prefix.c.
2854 * make-relative-prefix.c: New file.
2855 * functions.texi: Rebuilt.
2856
783080ab
JJ
28572002-11-16 Jakub Jelinek <jakub@redhat.com>
2858
2859 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
2860 used with arguments in traditional C' warnings.
2861
7da64d7a
JJ
28622002-10-16 Jakub Jelinek <jakub@redhat.com>
2863
2864 * config.table: Use mh-s390pic for s390x too.
2865
de78f58b
AJ
28662002-10-06 Andreas Jaeger <aj@suse.de>
2867
2868 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
2869 variable and of strict-aliasing warning.
2870 (grow_vect): Use char as first parameter.
2871
6c5d742e
KG
28722002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2873
2874 * Makefile.in (all): Fix multilib parallel build.
2875
f08b7eee
JDA
28762002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
2877
2878 * cp-demangle.c (demangling_new): Cast 0 to enum.
2879 (demangle_char): Cast return of strdup to char *.
2880 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
2881 (is_gnu_v3_mangled_dtor): Likewise.
2882 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
2883 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
2884 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
2885 * md5.c (md5_process_bytes): Cast results back to const void *.
2886 (md5_process_block): Add cast to const md5_uint32 *.
2887 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
2888 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
2889 unsigned short.
2890 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
2891 to void *.
2892 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
2893
8d87f295
NC
28942002-09-19 Nick Clifton <nickc@redhat.com>
2895
2896 * README: Update email addresses for bugs and patches.
2897
6eedb9ca
MS
28982002-09-10 Mike Stump <mrs@apple.com>
2899
2900 * splay-tree.c (splay_tree_successor): Fix comments.
2901
3fd9d606
ZW
29022002-09-11 Zack Weinberg <zack@codesourcery.com>
2903
b2196e8f 2904 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
3fd9d606
ZW
2905 * testsuite/Makefile.in: Adjust for test-demangle.
2906 * testsuite/regress-demangle: Deleted.
2907 * testsuite/test-demangle.c: New file.
2908 * testsuite/demangle-expected: Change \$ to $ throughout, now that
2909 this file is not being read by a shell script.
2910
70c4e67a
RS
29112002-09-05 Roger Sayle <roger@eyesopen.com>
2912
2913 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
2914
65b91091
DD
29152002-08-07 DJ Delorie <dj@redhat.com>
2916
2917 * regex.c (re_error_msgid): Just use a simple array of strings.
2918 (re_compile_pattern): Compensate.
2919 (re_comp): Likewise.
2920 (re_comp): Likewise.
2921 (regerror): Likewise.
2922
437974a9
NB
29232002-07-29 Neil Booth <neil@daikokuya.co.uk>
2924
2925 * cplus-dem.c (PREPEND_BLANK): Remove.
de78f58b 2926
28a34ec1
JM
29272002-07-10 Jason Merrill <jason@redhat.com>
2928
2929 * cp-demangle.c (demangle_identifier): Support extended Unicode
2930 characters.
2931
84326592
KG
29322002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2933
2934 * cp-demangle.c (demangle_v3_with_details): Wrap in
de78f58b 2935 !defined IN_GLIBCPP_V3.
84326592 2936
5d69ba1f
MM
29372002-07-01 Mark Mitchell <mark@codesourcery.com>
2938
2939 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
2940 Set it for the "st" operator.
2941 (demangle_expression): Handle expressions with types as arguments.
2942
7fda878c
DR
29432002-06-30 Douglas Rupp <rupp@gnat.com>
2944
2945 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
2946 * Makefile.in (OUTPUT_OPTION): Use.
2947
112bae77
PB
29482002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
2949
2950 * Makefile.in (install_to_libdir): Add $(DESTDIR).
2951 (install_to_tooldir): Likewise.
2952
53309d5c
DR
29532002-06-17 Douglas Rupp <rupp@gnat.com>
2954
2955 * lbasename.c: Add 2002 to copyright.
2956 (IS_DIR_SEPARATOR): Remove VMS junk.
2957
045b3a49
GK
29582002-06-05 Geoffrey Keating <geoffk@redhat.com>
2959
2960 * hashtab.c (htab_create): New stub function for backward
2961 compatibility.
2962 (htab_try_create): Likewise.
2963
e2500fed
GK
29642002-06-03 Geoffrey Keating <geoffk@redhat.com>
2965
2966 * hashtab.c (htab_create): Delete.
2967 (htab_try_create): Delete.
2968 (htab_create_alloc): New.
2969 (htab_delete): Support user-specified memory allocation.
2970 (htab_expand): Likewise.
2971
9f3dbd92
RL
29722002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
2973
2974 * configure.in: Fix typo in the code checking for sys_errlist.
2975 * configure: Regenerated.
2976
e4723404
AS
29772002-05-13 Andreas Schwab <schwab@suse.de>
2978
2979 * config.table: Use mh-x86pic also for x86-64.
2980
6706f116
AO
29812002-05-08 Alexandre Oliva <aoliva@redhat.com>
2982
2983 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2984 script entry, and set LD to it when configuring multilibs.
2985 * configure: Rebuilt.
2986
deae2ed9
MM
29872002-05-07 Mark Mitchell <mark@codesourcery.com>
2988
2989 * configure.in (AC_TYPE_PID_T): Use it.
2990 * configure: Regenerated.
2991 * getruntime.c: Include <sys/types.h>.
2992 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
2993
4fc4e478
RH
29942002-04-09 Richard Henderson <rth@redhat.com>
2995
2996 * hashtab.c (higher_prime_number): Use 7 as minimum.
2997 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
2998 (htab_find_slot_with_hash): Likewise.
2999
bd7e6f2d
PE
30002002-04-01 Phil Edwards <pme@gcc.gnu.org>
3001
3002 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
3003 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
3004 not compile if IN_GLIBCPP_V3 defined.
3005 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
3006
a8f55e51
BM
30072002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3008
de78f58b 3009 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
a8f55e51
BM
3010 if it is NULL.
3011
96adcacb
DD
30122002-03-27 DJ Delorie <dj@redhat.com>
3013
3014 * hex.c: Add documentation.
3015 (_hex_value): Provide non-ASCII empty table.
3016 (hex_init): Initialize the non-ASCII table.
3017 * functions.texi: Regenerate.
3018
2b613c6a
MM
30192002-03-27 Mark Mitchell <mark@codesourcery.com>
3020
3021 * dyn-string.c: Add libgcc exception to copyright notice.
3022
cd862df8
L
30232002-03-26 H.J. Lu (hjl@gnu.org)
3024
3025 * config.table: Support --with-build-subdir.
3026 * configure.in: Likewise.
3027 * configure: Rebuild.
3028
ed300793
SG
30292002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
3030
3031 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
3032 seen.
3033
b3dd43df
MM
30342002-03-12 Mark Mitchell <mark@codesourcery.com>
3035
3036 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
3037 notice.
3038
50c74579
DR
30392002-03-11 Douglas B Rupp <rupp@gnat.com>
3040
3041 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
3042
957978a4
JB
30432002-03-06 Jim Blandy <jimb@redhat.com>
3044
3045 * splay-tree.c (splay_tree_xmalloc_allocate,
3046 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
3047 prototyped definitions. Mark `data' arguments as unused.
3048
ccc49bed
AC
30492002-03-06 Andrew Cagney <ac131313@redhat.com>
3050
3051 * floatformat.c (floatformat_arm_ext_big): Delete definition.
3052
48d7db63
PE
30532002-03-04 Phil Edwards <pme@gcc.gnu.org>
3054
3055 * configure.in: Add --enable-install-libiberty option.
3056 * Makefile.in (INSTALLED_HEADERS): New variable.
3057 (install_to_libdir): Possibly also copy headers.
3058 * configure: Regenerated.
3059
af18e951
NB
30602002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
3061
3062 * xmalloc.c (xmalloc_fail): Clarify error message further.
3063
d8d7c3c3
NB
30642002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
3065
3066 * xmalloc.c (xmalloc_fail): Clarify error message.
3067
00c2f96f
JB
30682002-02-22 Jim Blandy <jimb@redhat.com>
3069
3070 * splay-tree.c (splay_tree_xmalloc_allocate,
3071 splay_tree_xmalloc_deallocate): New functions.
3072 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
3073 above functions and a dummy data pointer.
3074 (splay_tree_new_with_allocator): New function.
3075 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
3076 splay_tree_remove): Use the splay tree's allocation and
3077 deallocation functions.
3078
b1c1a22f
SS
30792002-02-19 Scott Snyder <snyder@fnal.gov>
3080
3081 * testsuite/demangle-expected: Add test case for infinite loop in
3082 demangler.
3083 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
3084 if do_type() doesn't make any progress --- prevents an infinite
3085 loop.
3086
336669e7
CW
30872002-02-18 Carlo Wood <carlo@gnu.org>
3088
3089 PR c++/5390
3090 * cplus-dem.c (demangle_integral_value): Accept multi-digit
3091 numbers that do not start with an underscore; This is needed
3092 for integer template parameters. This doesn't break anything
3093 because multi-digit numbers are never followed by a digit.
3094 * testsuite/demangle-expected: Corrected all mangled test
3095 cases with multi-digit template parameters: g++ 2.95.x does
3096 not generate underscores around these parameters.
3097
c13db5d1
JM
30982002-02-05 Jason Merrill <jason@redhat.com>
3099
3100 * cplus-dem.c (flags): Add DMGL_VERBOSE
3101 (cplus_demangle_v3_p): Remove.
3102 (demangle_it): Add DMGL_TYPES to passed flags.
3103 * cp-demangle.c (cplus_demangle_v3_all): Remove.
3104 (cplus_demangle_v3_type): Remove.
3105 (cplus_demangle_v3): Add options parm.
3106
d74697b8
L
31072002-02-02 H.J. Lu (hjl@gnu.org)
3108
3109 * cp-demangle.c (cp_demangle_type): Do not protect with
3110 IN_LIBGCC2.
3111 (cplus_demangle_v3_all): New.
3112 (cplus_demangle_v3): Call cplus_demangle_v3_all.
3113 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
3114
3115 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
3116 Initialized to cplus_demangle_v3.
3117 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
3118 of cplus_demangle_v3.
3119 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
3120 command line symbol.
3121
3122 * testsuite/regress-demangle: Pass the mangled name at the
3123 command line.
3124
3a441e38
L
31252002-02-01 H.J. Lu <hjl@gnu.org>
3126
3127 * cp-demangle.c (cp_demangle_type): Call demangling_new with
3128 DMGL_GNU_V3.
3129
6d747e63
PE
31302002-01-31 Phil Edwards <pme@gcc.gnu.org>
3131
3132 * cp-demangle.c: Revert yesterday's change.
3133
46af757b
AM
31342002-01-31 Adam Megacz <adam@xwt.org>
3135
3136 * gcc/libiberty/configure.in: Treat mingw the same as cywin
3137 wrt HAVE_SYS_ERRLIST.
3138
46ab74b1
PE
31392002-01-30 Phil Edwards <pme@gcc.gnu.org>
3140
3141 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
3142 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
3143 cp_demangle_type.
3144 * testsuite/demangle-expected: New gnu-v3 test.
3145
e64d0626
MV
31462002-01-22 Momchil Velikov <velco@fadata.bg>
3147
3148 * configure.in (variable detection): Use arrays of unspecified
3149 size instead of plain integers.
3150
9ce3f7e5
DD
31512002-01-18 DJ Delorie <dj@redhat.com>
3152
3153 * Makefile.in (TESTLIB): New. This library is for future
3154 testsuites.
3155 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
3156 break down by letter.
3157 (REQUIRED_OFILES): List long-to-compile files first.
3158 (maint-deps): New, target for updating dependencies.
3159 (dependencies): Update.
3160 * maint-tool: Add dependency-generating option.
3161 * configure.in: Check for _doprnt even if we're not providing it.
3162 * configure: Regenerate.
3163
3164 * _doprnt.c: Modifications to allow compiling on any platform.
3165 * copysign.c: Likewise.
3166 * putenv.c: Likewise.
3167 * setenv.c: Likewise.
3168 * vsprintf.c: Likewise.
3169
0e83ceb1
DR
31702002-01-15 Douglas B Rupp <rupp@gnat.com>
3171
3172 * mkstemps.c (mkstemps): On VMS, open temp file with option
3173 that causes it to be deleted when closed.
3174
adddf5bf
KG
31752002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3176
5e65297b
KG
3177 * cp-demangle.c (long_options): Const-ify.
3178 * cplus-dem.c (long_options): Likewise.
3179
adddf5bf
KG
3180 * cplus-dem.c (mystrstr): Delete. All callers changed to use
3181 strstr instead.
3182
a4219437
IR
31832001-12-31 Ira Ruben <ira@apple.com>
3184
3185 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
3186 * configure: Regenerated.
af328d8d
DR
3187
31882001-12-24 Douglas B. Rupp <rupp@gnat.com>
3189
3190 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
3191 * configure: Regenerated.
a4219437 3192
63de15a4
CR
31932001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
3194
3195 PR other/2719
3196 * cplus-dem.c (consume_count): Treat negative count as an error.
3197 * testsuite/demangle-expected: Added testcase.
3198
ee262b6f
DR
3199Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
3200
3201 * configure.in: Hardcode that vfork works on VMS host.
3202 * configure: Regenerated.
3203
d06ba3c7
RH
32042001-12-06 Richard Henderson <rth@redhat.com>
3205
3206 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
3207 (cplus_demangle): Support no_demangling.
3208
e490616e
ZW
32092001-11-27 Zack Weinberg <zack@codesourcery.com>
3210
3211 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
3212 in libiberty context. Fix typo in leading comment.
3213 * configure.in: Fix various AC_DEFINEs so autoheader works.
3214 If any of vprintf, vsprintf, vfprintf is missing from libc,
3215 then AC_REPLACE_FUNCS(_doprnt).
3216
97e620cf 32172001-11-26 DJ Delorie <dj@redhat.com>
e490616e 3218 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
3219
3220 * Makefile.in (stamp-h): Depend on Makefile for proper
3221 serialization.
3222 (*-subdir): Depend on config.h for proper serialization.
3223
c3bb7df0
DD
32242001-11-26 DJ Delorie <dj@redhat.com>
3225
3226 * configure.in: Check for alloca.h (for regex.c and putenv.c).
3227 * configure: Regenerate.
3228 * config.h: Add HAVE_ALLOCA_H.
3229
23850d35
KG
32302001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3231
2c47b56b
KG
3232 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
3233 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
3234 is available.
23850d35 3235
7ddfb651
JL
3236Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
3237
d3982b71
JL
3238 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
3239 * configure.in (HAVE_UINTPTR_T): Test for system defining
3240 uintptr_t and define HAVE_UINTPTR_T appropriately.
3241 * regex.c (uintptr_t): Do not provide a definition if the
3242 system provided one.
3243
7ddfb651
JL
3244 * regex.c (PREFIX): Provide an alternate definition for
3245 non-ANSI/ISO compilers.
3246 (ARG_PREFIX): Likewise.
3247
2e683037
JM
32482001-11-12 Jim Meyering <meyering@lucent.com>
3249
3250 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
3251 this code would end up calling gettext even in packages built
3252 with --disable-nls.
3253 * getopt.c (_): Likewise.
3254 * regex.c (_): Likewise.
3255
f749bd83
AM
32562001-11-03 Alan Modra <amodra@bigpond.net.au>
3257
3258 * configure.in: Cope with missing makeinfo.
55a10d7c 3259 * configure: Regenerate.
f749bd83 3260
26ad2982
KG
32612001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3262
e5969ba6
KG
3263 * hex.c (hex_init): Provide empty stub.
3264
26ad2982
KG
3265 * hex.c (hex_init): Delete.
3266 (_hex_value): Const-ify and initialize at compile-time.
3267
afb649d5
L
32682001-10-19 H.J. Lu <hjl@gnu.org>
3269
3270 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
3271 necessary.
3272
5bed56d9
DD
32732001-10-17 DJ Delorie <dj@redhat.com>
3274
3275 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
3276 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 3277 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
3278 Improve manual formatting.
3279 * functions.texi: Regenerate.
3280
aac04c15
DD
32812001-10-15 DJ Delorie <dj@redhat.com>
3282
3283 * Makefile.in (TEXIFILES): Add fnmatch.txh.
3284 (maint-undoc): New.
3285 maint-tool: Add "undoc" tool.
3286 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
3287 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
3288 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
3289 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
3290 documentation.
3291 * fnmatch.txh: New.
3292 * functions.texi: Regenerate.
fae8182a 3293
0e4e9e8f
JM
32942001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
3295
3296 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
3297 * strtod.c: Use "ISO C" instead of "ANSI C".
3298 * functions.texi: Regenerate.
3299
7f8fa05d
JM
33002001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3301
3302 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
3303 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
3304 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
3305 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
3306 spelling. Give names to function arguments in documentation. Use
3307 (void) prototypes in documentation.
3308 * functions.texi: Regenerate.
3309
0be6abca
KG
33102001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3311
3312 * argv.c (buildargv, tests, main): Const-ify.
3313 * cp-demangle.c (operator_code): Likewise.
3314 * cplus-dem.c (optable, libiberty_demanglers,
3315 cplus_demangle_set_style, cplus_demangle_name_to_style,
3316 print_demangler_list): Likewise.
3317 * hashtab.c (higher_prime_number): Likewise.
3318 * strcasecmp.c (charmap): Likewise.
3319 * strerror.c (error_info, strerror, main): Likewise.
3320 * strncasecmp.c (charmap): Likewise.
3321 * strsignal.c (signal_info): Likewise.
3322
0e30ffc5
DD
33232001-09-29 DJ Delorie <dj@redhat.com>
3324
3325 * configure: Regenerate.
3326
576fb787
KG
33272001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3328
3329 * concat.c: Include stdlib.h.
3330
e922f978
EZ
33312001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
3332
3333 * libiberty.texi: (Top level): Add syncodeindex pg. Add
3334 @dircategory and @direntry directives. Add @finalout.
3335 (many nodes): Lose the next,prev,up pointers on the @nide line.
3336 (Using, Supplemental Functions, Replacement Functions): Fix
3337 markup.
3338 (Functions): Move around, to allow makeinfo to build the manual
3339 without next,prev,up pointers in thye node lines.
3340 (Licenses): Fix typos.
3341
3342 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
3343 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
3344 * functions.texi: Regenerate.
3345
3346 * copying-lib.texi: Lose the next,prev,up pointers on the @node
3347 line.
3348
ae9092da
DD
33492001-09-27 DJ Delorie <dj@redhat.com>
3350
3351 * configure.in: Don't use in-tree texinfo, because libiberty must
3352 be built before it. Check for makeinfo version 4 or higher.
3353 * functions.texi: Regenerate.
fae8182a 3354
aaa5f039
DD
33552001-09-20 DJ Delorie <dj@redhat.com>
3356 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 3357
aaa5f039
DD
3358 * configure.in (MAKEINFO, PERL): Detect these.
3359 (--enable-maintainer-mode): Add.
3360 * configure: Regenerate.
3361 * Makefile.in (MAKEINFO, PERL): Define.
3362 (libiberty.info, libiberty.dvi, libiberty.html): New.
3363 (CFILES): Add bsearch.c.
3364 (CONFIGURED_OFILES): New, list of objects configure might add.
3365 (maint-missing, maint-buildall): New, for maintainers only.
3366 (clean, mostlyclean): Add info/dvi/html files.
3367 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
3368 * gather-docs: New, for maintainers.
3369 * maint-tool: New, for maintainers.
3370 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
3371 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
3372 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
3373 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
3374 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
3375 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
3376 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
3377 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
3378 documentation.
fae8182a 3379
c1766881
KG
33802001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3381
3382 * concat.c (reconcat): Fix for traditional C.
3383
ad43d46f
KG
33842001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3385
3386 * concat.c (reconcat): New function.
3387
c1d49704
KG
33882001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3389
c793eea7
KG
3390 * concat.c (vconcat_length, vconcat_copy, concat_length,
3391 concat_copy, concat_copy2): New functions.
3392 (concat): Use vconcat_length/vconcat_copy.
3393
c1d49704
KG
3394 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
3395 Define.
3396
7a98d9b2
KG
33972001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3398
3399 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
3400 VA_FIXEDARG & VA_CLOSE.
fae8182a 3401
7a98d9b2
KG
3402 * vasprintf.c: Check HAVE_STRING_H when including string.h.
3403 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
3404 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
3405
e2dff3f2
KG
34062001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3407
3408 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
3409
d0708dc1
UD
34102001-08-23 Ulrich Drepper <drepper@redhat.com>
3411
3412 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
3413
34142001-08-23 Ulrich Drepper <drepper@redhat.com>
3415
3416 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
3417 instead of mbrtowc.
3418 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
3419 wcslen, and __wcscoll instead of wcscoll.
3420
ffb9435b
MK
34212001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
3422
de78f58b
AJ
3423 * fibheap.c (fibheap_init, fibnode_init): Remove.
3424 (fibheap_new, fibnode_new): Use xcalloc to allocate and
3425 initialize memory.
3426 (fibheap_insert): Remove check for node allocation failure.
ffb9435b 3427
f379eac3
RH
34282001-08-21 Richard Henderson <rth@redhat.com>
3429
3430 * Makefile.in (fibheap.o): Depend on config.h.
3431 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
3432 functions for inlining.
3433
b1c45ae4
CF
3434Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
3435
3436 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
3437 hosting on cygwin.
3438 * configure: Regenerate.
3439
0310e5ac
AC
34402001-08-20 Andrew Cagney <ac131313@redhat.com>
3441
3442 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
3443 HARRIS_FLOAT_FORMAT.
3444 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
3445 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
3446 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
3447 (floatformat_m88110_harris_ext): New float formats.
3448
8c23e0a4
DB
34492001-08-20 Daniel Berlin <dan@cgsoftware.com>
3450
3451 * fibheap.c: New file. Fibonacci heap.
3452
3453 * Makefile.in (CFILES): Add fibheap.c.
3454 (REQUIRED_OFILES): Add fibheap.o.
3455 (fibheap.o): Add dependencies for fibheap.o.
3456
91625004
CF
34572001-08-17 Christopher Faylor <cgf@cygnus.com>
3458
3459 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
3460 * configure: Regenerate.
3461
9e0ba685
RH
34622001-08-16 Richard Henderson <rth@redhat.com>
3463
3464 * hashtab.c (htab_hash_string): New.
3465
d80dedbe
AC
34662001-08-13 Andrew Cagney <ac131313@redhat.com>
3467
3468 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
3469 name.
3470
ccea0d85
IH
34712001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
3472
3473 * regex.c (wcs_regex_compile): Use appropriate string
3474 to compare with collating element.
3475 Fix the padding for the alignment.
3476
b0e9bc8c 34772001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
3478
3479 * lbasename.c (lbasename): Change function definition to return a
3480 const char pointer.
3481
056400f1
JM
34822001-08-07 Jason Merrill <jason_merrill@redhat.com>
3483
3484 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
3485 for".
3486
4e627c41
RH
34872001-08-03 Richard Henderson <rth@redhat.com>
3488
3489 * Makefile.in (concat.o): Depend on config.h.
3490
b6a2f884
AJ
34912001-07-30 Andreas Jaeger <aj@suse.de>
3492
3493 * concat.c: Include "config.h".
3494
c4b9cfe0
AJ
34952001-07-30 Andreas Jaeger <aj@suse.de>
3496
3497 * regex.c: Declare wcs functions only if compiling with
3498 MBS_SUPPORT.
3499 Don't use #elif for traditional C.
3500
35012001-07-23 Ulrich Drepper <drepper@redhat.com>
3502
3503 * regex.c: Revamp memory allocation for WCHAR functions to
3504 not use too much stack.
3505
35062001-07-30 Andreas Jaeger <aj@suse.de>
3507
3508 * regex.c: Declare wcs functions only if compiling with
3509 MBS_SUPPORT.
3510 Don't use #elif for traditional C.
3511
2cf50fd3
DJ
35122001-07-25 Daniel Jacobowitz <drow@mvista.com>
3513
3514 * Makefile.in (regex.o): Add dependency on config.h.
3515
27ffc806
DD
35162001-07-18 Andreas Schwab <schwab@suse.de>
3517
3518 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
3519 underscore character.
3520
35212001-07-18 Ulrich Drepper <drepper@redhat.com>
3522
3523 * regex.c: Limit string length printed in debug messages to 100
3524 chars.
3525
35262001-07-18 Andreas Jaeger <aj@suse.de>
3527
3528 * regex.c: Place under LGPL version 2.1.
3529
dd771632
JJ
35302001-07-10 Jeff Johnston <jjohnstn@redhat.com>
3531
3532 * Makefile.in: Add support for regex code.
3533 * regex.c: New file.
3534
29650b2b
MK
35352001-07-05 Mark Klein <mklein@dis.com>
3536
3537 * Makefile.in: Add ffs.c dependency.
3538 * configure.in: Add ffs.c.
3539 * ffs.c: New file.
3540
c8b28221
RH
35412001-06-18 Richard Henderson <rth@redhat.com>
3542
3543 * concat.c: Include <sys/types.h>.
3544
473c2d0b
LR
35452001-06-11 Loren J. Rittle <ljrittle@acm.org>
3546
a4c03da2 3547 bootstrap/3106
473c2d0b
LR
3548 * strerror.c (sys_nerr): Hide the OS header version.
3549 * strsignal.c (sys_nsig): Likewise.
3550
0bdcca68
RH
35512001-06-10 Richard Henderson <rth@redhat.com>
3552
3553 * concat.c: Include string.h. Fix int vs size_t usage.
3554 Simplify the iteration loops. Use memcpy.
3555
6de133d3
MK
35562001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
3557
3558 * partition.c: Fix misspelling of `implementation'.
3559
8a153288
TS
35602001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3561
3562 * md5.c (md5_init_ctx): Declare constants as unsigned.
3563 (md5_process_block): Likewise.
3564
641b2721
ZW
35652001-05-07 Zack Weinberg <zackw@stanford.edu>
3566
3567 * cp-demangle.c (demangle_v3_with_details,
3568 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
3569 function definition.
3570 * ternary.c: Use K+R style function definitions. Use PTR, not
3571 void *. Make arguments constant where possible.
3572
5cdba4ff
MM
35732001-05-07 Mark Mitchell <mark@codesourcery.com>
3574
3575 * splay-tree.h (splay_tree_max): New function.
3576 (splay_tree_min): Likewise.
3577
9dab060e
DB
35782001-04-15 Daniel Berlin <dan@cgsoftware.com>
3579
3580 * ternary.c: New file - Ternary search tree implementation.
3581
3582 * Makefile.in: Add ternary.o, and ternary.c dependencies.
3583
d02af173
ZW
35842001-04-03 Zack Weinberg <zackw@stanford.edu>
3585
3586 * make-temp-file.c (try): Inline.
3587
94b68558
RH
35882001-02-28 Richard Henderson <rth@redhat.com>
3589
3590 * Makefile.in (make-temp-file.o): Depend on config.h.
3591
27f66c0b
KG
35922001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3593
3594 * memchr.c (memchr): Adjust condition to avoid infinite loop.
3595
f1a0345c
JJ
35962001-03-23 Jakub Jelinek <jakub@redhat.com>
3597
3598 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
3599 `_' not followed by a digit is invalid.
3600
a519fba6
JB
36012001-03-22 Jim Blandy <jimb@redhat.com>
3602
3603 * cp-demangle.c (string_list_delete): Use dyn_string_delete
3604 instead of free, to free the contents as well as the string
3605 structure.
3606
49ee944b
ZW
36072001-03-21 Zack Weinberg <zackw@stanford.edu>
3608
3609 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
3610 Don't default P_tmpdir to anything. Try /var/tmp before
3611 /usr/tmp.
3612
33437dc7
ZW
36132001-03-20 Zack Weinberg <zackw@stanford.edu>
3614
3615 * choose-temp.c: Split off make_temp_file, and the code
3616 duplicated between it and choose_temp_base, into...
3617 * make-temp-file.c: ... here; new file.
3618
3619 * Makefile.in (CFILES): Add make-temp-file.c.
3620 (REQUIRED_OFILES): Add make-temp-file.o.
3621
7dce2eff
JB
36222001-03-20 Jim Blandy <jimb@redhat.com>
3623
3624 * cp-demangle.c (struct demangling_def): New fields:
3625 is_constructor and is_destructor.
3626 (demangling_new): Initialize them.
3627 (demangle_ctor_dtor_name): Set them, if we detect a constructor
3628 or destructor.
3629 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
3630 is_gnu_v3_mangled_dtor): New functions.
3631
e03a61f1
JM
36322001-03-20 Jason Merrill <jason@redhat.com>
3633
3634 * cplus-dem.c (main): Skip initial $.
3635
8860ddab
MM
36362001-03-15 Michael Meissner <meissner@redhat.com>
3637
3638 * hashtab.c (higher_prime_number): Silence warning that 4294967291
3639 might be a signed integer under pre-ISO C systems.
3640
2b757d51
NB
36412001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
3642 John David Anglin <dave@hiauly1.hia.nrc.ca>
3643
3644 * libiberty/lbasename.c: New file.
3645 * libiberty/Makefile.in: Update for lbasename.
3646
1f50aafb
ZW
36472001-03-06 Zack Weinberg <zackw@stanford.edu>
3648
3649 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
3650 * configure.in: Replace all alloca logic with a simple use of
3651 the above new macro.
3652 * config.table: Kill *-*-beos* entry.
3653 * config/mh-beos: Delete.
3654 * configure, config.in: Regenerate.
3655
3656 * Makefile.in (ALLOCA, HFILES): Kill.
3657 (REQUIRED_OFILES): Add alloca.o.
3658 (alloca.o): Depend on libiberty.h.
3659 (argv.o): Don't depend on alloca-conf.h.
3660 * alloca-conf.h: Delete.
3661 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
3662 blocks. Provide the C alloca unconditionally. Use PTR where
3663 appropriate. Make i00afunc static.
3664 * argv.c: Don't include alloca-conf.h.
3665
d9fd5aae
JDA
36662001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3667
3668 * cplus-dem.c (main): Cast enum style to int.
3669
4031ed65
LR
36702001-02-16 Loren J. Rittle <ljrittle@acm.org>
3671
3672 * cplus-dem.c (main): Initialize style.
3673
2ca46e8a
PE
36742001-02-02 Phil Edwards <pme@sources.redhat.com>
3675
3676 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
3677
3b60dd8e
BM
36782001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
3679
3680 Add support for Java demangling under the v3 ABI:
3681 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
3682 (struct demangling_def): Add `style' field.
3683 (demangling_new): New parameter `style'. Set it in demangling_t.
3684 (demangle_prefix): Use NAMESPACE_SEPARATOR.
3685 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
3686 (cp_demangle): New parameter `style'. Pass it to demangling_new().
3687 (main): Call cp_demangle with extra parameter.
3688 (java_demangle_v3): New function.
3689 (java_builtin_type_names): New. Table of primitive type names used
3690 for Java demangling.
3691 (demangle_builtin_type): Look up in java_builtin_type_names if doing
3692 Java output.
1f50aafb 3693 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
3694 demangling.
3695 (long_options): Remove obsolete `java' option.
3696 (main): Remove explicit handling of `java' option. Instead, pass style
3697 parameter in cplus_demangle flags as gdb does.
3698 * testsuite/demangle.expected: Add some Java test cases.
3699
584932e9
DD
37002000-12-29 DJ Delorie <dj@redhat.com>
3701
3702 * fnmatch.c: Make the note about the origins of this file more
3703 accurate, at least until we can sync with glibc.
3704 * getopt.c: Ditto.
3705 * getopt1.c: Ditto.
3706 * md5.c: Ditto.
3707 * obstack.c: Ditto.
3708
dac45916
MS
37092000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3710
3711 * bsearch.c: New file.
3712 * configure.in (funcs): Add bsearch.
3713 (AC_CHECK_FUNCS): Likewise.
3714 * configure, config.in: Regenerate.
3715
a8e4a997
MS
37162000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3717
3718 * safe-ctype.c: #include "ansidecl.h".
3719 * strtod.c: Likewise.
3720
75444da7
MS
37212000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3722
3723 * strtoul.c: Include safe-ctype.h, not ctype.h.
3724
f6bbde28
ZW
37252000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
3726
3727 * safe-ctype.c: New file.
3728 * Makefile.in (CFILES): Add safe-ctype.c.
3729 (REQUIRED_OFILES): Add safe-ctype.o.
3730
3731 * argv.c: Define ISBLANK and use it, not isspace.
3732 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
3733 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
3734 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
3735 before calling TOLOWER(c)/TOUPPER(c).
3736
6c1ce62b 37372000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
3738
3739 * Makefile.in (distclean): When cleaning, remove testsuite.
3740
b5d1497d
JM
37412000-12-05 Jason Merrill <jason@redhat.com>
3742
3743 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
3744 name before allocating the dyn_string.
3745
c6e13630
JM
37462000-12-04 Jason Merrill <jason@redhat.com>
3747
3748 * cp-demangle.c: s/new_abi/v3/.
3749 * cplus-dem.c: Likewise.
3750 (current_demangling_style): Now auto_demangling.
3751 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 3752 (main): Use standard symbol chars for auto_demangling.
c6e13630 3753
a4c9b97e
MM
37542000-11-26 Mark Mitchell <mark@codesourcery.com>
3755
3756 * hashtab.c (higher_prime_number): Use a table, rather than a
3757 seive, to find the next prime.
3758
3b3bd9a7
L
37592000-11-22 H.J. Lu <hjl@gnu.org>
3760
3761 * cplus-dem.c (main): Handle gnat_demangling.
3762
d1209685
ZW
37632000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
3764
3765 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
3766 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
3767 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
3768 argument form of AC_DEFINE in dummy definitions block. Use
3769 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
3770 in dummy block. Preload cache variables instead of bypassing
3771 tests, where possible.
3772 * acconfig.h: Removed.
3773
3774 * xmalloc.c (xmalloc_failed): New function, does error
3775 reporting on failed allocation.
3776 (xmalloc, xcalloc, xrealloc): Use it.
3777
cf183ac2
HPN
37782000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
3779
3780 * cplus-dem.c (cplus_demangle): Fix formatting.
3781 (grow_vect): Ditto.
3782 (ada_demangle): Ditto.
3783 (internal_cplus_demangle): Ditto.
3784 (mop_up): Ditto.
3785
37862000-11-21 H.J. Lu <hjl@gnu.org>
3787
3788 * cplus-dem.c (main): Handle java_demangling.
3789
8bcc782c
KG
37902000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3791
3792 * cplus-dem.c (grow_vect): Prototype.
3793 (ada_demangle): Cast the arg of ctype macros to unsigned char.
3794
29120f44
HPN
37952000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
3796
3797 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
3798 parameter `option'.
3799
0437a5a8
KB
38002000-11-15 Kenneth Block <kenneth.block@compaq.com>
3801
9e038f71 3802 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
3803 be used in GCC.
3804
eab0c1ab 38052000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 3806
29120f44 3807 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
3808 list.
3809
d50d20ec
HPN
38102000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
3811
3812 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
3813 xcalloc depending on htab->return_allocation_failure. Return zero
3814 if calloc fails.
d50d20ec
HPN
3815 (htab_create): Update comment to cover memory allocation.
3816 (htab_try_create): New.
3817 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 3818 Update comment to cover this.
d50d20ec 3819
35e9340f
HPN
38202000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
3821
3822 * hashtab.c: Change void * to PTR where necessary.
3823 (htab_create, htab_expand): Correct formatting of comment before
3824 function.
3825
ea343d1a 38262000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
3827
3828 * cp-demangle.c (string_list_def): Add caret_position and comments.
3829 (result_caret_pos): New macro.
3830 (result_append_string): Rename to...
3831 (result_add_string): ... this, and insert at caret position.
d1209685 3832 Rename throughout.
0870bfd6
AS
3833 (result_append): Rename to...
3834 (result_add): ... this, and insert at caret position. Rename
d1209685 3835 throughout.
0870bfd6
AS
3836 (result_append_char): Rename to...
3837 (result_add_char): ... this, and insert at caret position. Rename
d1209685 3838 throughout.
0870bfd6
AS
3839 (result_append_space): Remove.
3840 (string_list_new): Initialize caret position.
3841 (result_add_separated_char): Use caret position.
3842 (result_get_caret): New funtion.
3843 (result_set_caret): Likewise.
3844 (result_shift_caret): Likewise.
3845 (result_previous_char_is_space): Likewise.
3846 (substitution_start): Use caret position.
3847 (substitution_add): Likewise.
3848 (demangling_new): Initialize caret position.
3849 (demangle_encoding): Use caret position.
d1209685 3850 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
3851 (demangle_type_ptr): Use switch statement. Handle pointers to
3852 arrays. Don't use result_append_space. Use caret position.
3853 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
3854 call to demangle_array_type.
3855 (demangle_array_type): Add parameter to handle pointers to arrays.
3856
f15b9af9
MM
38572000-10-01 Mark Mitchell <mark@codesourcery.com>
3858
3859 * splay-tree.c (splay_tree_insert): Fix formatting.
3860
8f17b5c5
MM
38612000-09-16 Mark Mitchell <mark@codesourcery.com>
3862
3863 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
3864
4eaa189a
MS
38652000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3866
3867 * splay-tree.c: #include <stdio.h>.
3868
29791078
HPN
38692000-09-14 Hans-Peter Nilsson <hp@axis.com>
3870
3871 * testsuite/demangle-expected: Add two tests for anonymous
3872 namespaces.
3873 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
3874
2c9f4db7
MM
38752000-09-10 Mark Mitchell <mark@codesourcery.com>
3876
3877 * splay-tree.c (splay_tree_predecessor): New function.
3878 (splay_tree_successor): Likewise.
3879
bb22da4b
HPN
38802000-09-10 Hans-Peter Nilsson <hp@axis.com>
3881
3882 * testsuite/demangle-expected: Add four tests for type_info
3883 mangling.
bb22da4b
HPN
3884 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
3885 for a non-template non-qualified type_info function or node.
3886
759e8187
AS
38872000-09-08 Alex Samuel <samuel@codesourcery.com>
3888
3889 * cp-demangle.c: Fix copyright banner.
3890
2ecd81ef
MS
38912000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3892
3893 * md5.c: #include "ansidecl.h".
3894
d93998ec
AS
38952000-09-06 Alex Samuel <samuel@codesourcery.com>
3896
3897 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
3898 (demangle_type): Handle substitution candidates correctly in the
3899 face of special substitutions.
3900
1056d228
AS
39012000-09-05 Alex Samuel <samuel@codesourcery.com>
3902
3903 * cp-demangle.c (demangle_encoding): Rename variable.
3904 (demangle_name): Rename parameter. Handle return type
3905 suppression.
3906 (demangle_nested_name): Rename parameter.
3907 (demangle_prefix): Likewise. Change return type suppression.
3908 (demangle_unqualified_name): Add parameter. Flag constructors and
3909 conversion operators.
3910 (demangle_special_name): Fix comment.
3911 (demangle_type): Rename variable.
3912 (demangle_bare_function_type): Check for missing return type and
d1209685 3913 parameter.
1056d228
AS
3914 (demangle_class_enum_type): Rename parameter.
3915 (demangle_discriminator): Fix misspelling in comment.
3916
2f31ed7e
DD
39172000-08-31 DJ Delorie <dj@redhat.com>
3918
3919 * configure.in (Cygwin): special case cygwin only when we're
3920 building cygwin, not when we're hosting cygwin.
3921
02bcb9c6
AS
39222000-09-04 Alex Samuel <samuel@codesourcery.com>
3923
3924 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
3925 <expression>.
3926
aee749cf
AS
39272000-09-04 Alex Samuel <samuel@codesourcery.com>
3928
3929 * cp-demangle.c (demangle_type_ptr): Increment position past
3930 pointer and reference characters.
3931
92a16bbe
AS
39322000-09-04 Alex Samuel <samuel@codesourcery.com>
3933
3934 * cp-demangle.c (demangle_nv_offset): New function.
3935 (demangle_v_offset): Likewise.
3936 (demangle_call_offset): Likewise.
3937 (demangle_special_name): Update thunk demangling to comply with
3938 ABI changes.
d1209685 3939
31e0ab1f
AS
39402000-09-03 Alex Samuel <samuel@codesourcery.com>
3941
3942 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
3943 (substitution_def): Remove template_parm_number.
3944 (NOT_TEMPLATE_PARM): Remove.
3945 (result_insert_string): New macro.
3946 (result_insert): Likewise.
3947 (result_insert_char): Likewise.
3948 (substitution_add): Remove last parameter. Don't store template
d1209685 3949 parm number.
31e0ab1f
AS
3950 (BFT_NO_RETURN_TYPE): Define as NULL.
3951 (demangle_encoding): Adjust call to demangle_bare_function_type.
3952 (demangle_name): Adjust substitution. Adjust call to
d1209685 3953 substitution_add.
31e0ab1f
AS
3954 (demangle_prefix): Adjust call to substitution_add.
3955 (demangle_identifier): Handle anonymous namespaces.
3956 (demangle_operator_name): Change demangling of vendor-extended
3957 operator to match ABI changes.
3958 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 3959 substitutions here.
31e0ab1f
AS
3960 (demangle_type): Adjust calls to demangle_template_param,
3961 substitution_add, and demangle_type_ptr. Fix substitution of
3962 templated types.
3963 (demangle_function_type): Change parameter to a pointer.
3964 (demangle_bare_function_type): Likewise. Adjust insertion point.
3965 (demangle_template_param): Remove last parameter.
3966 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 3967 demangle_template_param.
31e0ab1f
AS
3968 (is_mangled_char): Accept `$' and `.'.
3969 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
3970 * dyn-string.c (dyn_string_insert_char): New function.
3971
ccbc3eb7
HPN
39722000-08-31 Hans-Peter Nilsson <hp@axis.com>
3973
3974 * testsuite/demangle-expected: Add nine tests for
3975 underscore-after-number followed by five tests for name-signature
3976 delimiter.
3977
53dce582
RH
39782000-08-28 Richard Henderson <rth@cygnus.com>
3979
3980 * Makefile.in (md5.o): Depend on config.h.
3981
881c6935
JM
39822000-08-28 Jason Merrill <jason@redhat.com>
3983
3984 * Makefile.in (REQUIRED_OFILES): Add md5.o.
3985 (CFILES): Add md5.c.
3986 * md5.c: New file.
3987
a440fd19
AS
39882000-08-27 Alex Samuel <samuel@codesourcery.com>
3989
3990 * cp-demangle.c (demangle_name): Initialize template_p in local
3991 name case. Don't re-add substitutions as candidates.
3992 (demangle_nested_name): Use <unqualified-name>.
3993 (demangle_prefix): Likewise. Don't add template names as
3994 substitution candidates twice, or re-add a substitution or the
3995 last prefix component.
3996 (demangle_local_name): Adjust output format.
3997
d01ce591
AS
39982000-08-25 Alex Samuel <samuel@codesourcery.com>
3999
4000 * cp-demangle.c (result_add_separated_char): Change parameter to
4001 int.
4002 (substitution_add): Don't check for duplicates. Check if
4003 previously allocated size is zero.
4004 (demangle_name): Remove duplicate check for std substitution.
4005 Clear template flag appropriately.
4006 (demangle_prefix): Remove argument to demangle_substitution.
4007 Don't check that template flag is already set.
4008 (demangle_operator_name): Add pt operator.
4009 (demangle_type): Don't treat r as built-in type. Remove argument
4010 to demangle_substitution. Fix substitution candidate mechanics.
4011 Handle <template-template-parm>s. Improve comments.
d1209685 4012 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
4013 (demangle_substitution): Remove parameter.
4014 (print_usage): Remove extra fprintf option.
4015
2f59c8eb
GM
40162000-08-24 Greg McGary <greg@mcgary.org>
4017
4018 * libiberty/random.c (end_ptr): Revert previous change.
4019
2f26c11d
GM
40202000-08-24 Greg McGary <greg@mcgary.org>
4021
4022 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
4023 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
4024 * libiberty/random.c (end_ptr): Likewise.
4025
e282c9c9
AS
40262000-08-23 Alex Samuel <samuel@codesourcery.com>
4027
4028 * cp-demangle.c (result_close_template_list): Remove function.
4029 (result_add_separated_char): New function.
4030 (result_open_template_list): New macro.
4031 (result_close_template_list): Likewise.
4032 (demangle_prefix): Don't set template_p if the
4033 prefix ends with a ctor name.
4034 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
4035 (demangle_type): Check for template args after substitution.
4036 (demangle_template_args): Use result_open_template_list.
d1209685 4037
c9b6494a
ZW
40382000-08-02 Zack Weinberg <zack@wolery.cumb.org>
4039
4040 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
4041
d1209685 40422000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
4043
4044 * config/mh-openedition.h: Added -DLE370 definition.
4045
0aab2795
ME
40462000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
4047
4048 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
4049 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
4050 Cast program to 'char *' in errmsg_arg assignment.
4051 (PWAIT_ERROR): Define.
4052 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
4053 to DJGPP's WIF* macros.
4054
c2f275e4
RB
40552000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
4056 Jeff Law <law@cygnus.com>
4057
73aa9564
RB
4058 * getcwd.c: Include string.h, stdlib.h for prototypes
4059
c2f275e4 4060 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
4061 * rename.c: Include config.h, unistd.h
4062 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 4063
ccbc3eb7
HPN
40642000-07-24 Hans-Peter Nilsson <hp@axis.com>
4065
4066 * cplus-dem.c (work_stuff_copy_to_from): New.
4067 (delete_non_B_K_work_stuff): New.
4068 (delete_work_stuff): New.
4069 (mop_up): Break out work_stuff partly destruction to
4070 delete_non_B_K_work_stuff.
4071 (iterate_demangle_function): New.
4072 (demangle_prefix): Call iterate_demangle_function instead of
4073 demangle_function_name. Leave handling of name-signature
4074 __-delimiters to iterate_demangle_function.
4075 (demangle_integral_value): Strip an optional
4076 following underscore cautiously. Handle negative numbers.
4077
3388651c
DB
40782000-07-24 Daniel Berlin <dberlin@redhat.com>
4079
d1209685 4080 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
4081 if (AUTO_DEMANGLING || GNU_DEMANGLING)
4082
0fac482e
AS
40832000-07-21 Alex Samuel <samuel@codesourcery.com>
4084
4085 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
4086 allocating ctor mangling.
4087 (demangle_array_type): Handle empty and non-constant array length.
4088
8502a100 40892000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
4090 Jeff Law <law@cygnus.com>
4091
c6451ce1
MS
4092 * configure.in (AC_CHECK_HEADERS): Add time.h.
4093 (AC_HEADER_TIME): Add check.
4094 * configure, config.in: Regenerate.
4095 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
4096
cd447360
MS
4097 * configure.in (AC_CHECK_HEADERS): Add limits.h.
4098 * configure, config.in: Regenerate.
4099 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
4100 * strtol.c, strtoul.c: #include "config.h". Portably #include
4101 <limits.h> and/or <sys/param.h>.
4102 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 4103
3b58c099
MS
4104 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
4105 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
4106 * configure, config.in: Regenerate.
4107 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
4108
8502a100
MS
4109 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
4110
da0c7743
MS
41112000-07-21 Mike Stump <mrs@wrs.com>
4112
4113 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 4114 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 4115
838f8562
KG
41162000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4117
4118 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
4119
4120 * setenv.c (setenv): Initialize variable `ep'.
4121
4122 * sigsetmask.c (abort): Prototype.
4123
4124 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
4125 __STDC__ for stdarg.h include.
4126 (int_vasprintf): Prototype.
4127 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
4128 definition. Cast `global_total_width' in comparison.
4129 (main): Prototype. Return a value.
4130
4131 * vfork.c (fork): Prototype.
4132
4133 * xexit.c: Include config.h.
4134
e9958132
JM
41352000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
4136
4137 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
4138 and print it with %u.
4139
39a6492f
HPN
41402000-07-17 Hans-Peter Nilsson <hp@axis.com>
4141
4142 * testsuite/regress-demangle (failed test): Show result and
4143 expected output.
4144
6d0be369
AH
41452000-07-07 Andrew Haley <aph@cygnus.com>
4146
4147 * cplus-dem.c (main): fflush() after emitting last char before
4148 waiting for input.
4149
bece74bd
AS
41502000-06-28 Alex Samuel <samuel@codesourcery.com>
4151
4152 * cp-demangle.c (demangle_encoding): Accept no substitutions.
4153 (demangle_name): Handle <substitution> followed by
4154 <unqualified-template-name>.
4155 (demangle_type): Follow special substitutions with
4156 <class-enum-type>
4157 (demangle_subtitution): Set template_p for special substitutions.
4158 (main): Fix typos.
d1209685 4159
229b8ec7
AS
41602000-06-27 Alex Samuel <samuel@codesourcery.com>
4161
4162 * cp-demangle.c (demangle_special_name): Swap base and derived
4163 class when demangling construction vtables.
4164
051664b0
AS
41652000-06-21 Alex Samuel <samuel@codesourcery.com>
4166
4167 * cp-demangle.c: Don't include ctype.h.
4168 (IS_DIGIT): New macro.
4169 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
4170 instead of isdigit and isalpanum.
4171 (demangling_def): Make name and next const pointers.
4172 (STATUS_ALLOCATION_FAILED): New status code.
4173 (dyn_string_append_space): Handle failure in
4174 dyn_string_append_char.
4175 (int_to_dyn_string): Likewise. Change return value to status_t.
4176 (string_list_new): Handle failure of dyn_string_init.
4177 (result_close_template_list): Change return type to status_t.
4178 Handle failure in dyn_string_append.
4179 (result_push): Change return value to status_t. Handle failure in
4180 string_list_new. Handle failure of result_push throughout.
4181 (substitution_add): Change return value to status_t. Handle
4182 dyn_string failures. Handle failure of substitution_add
4183 throughout.
4184 (template_arg_list_new): Return NULL on allocation failure.
4185 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
4186 Handle error result throughout.
4187 (result_append): Likewise.
4188 (result_append_char): Likewise.
4189 (result_append_space): Likewise.
4190 (demangling_new): Make argument a const pointer. Handle
4191 allocation failures.
4192 (demangle_template_args): Handle failure in template_arg_list_new
4193 and result_close_template_list.
4194 (demangle_discriminator): Return if int_to_dyn_string fails.
4195 (cp_demangle): Likewise.
4196 (cp_demangle_type): New function.
4197 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
4198 memory allocation failure.
4199 (main): Likewise.
4200 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
4201 IN_LIBGCC2.
4202 (dyn_string_init): Change return value to int. Handle
4203 RETURN_ON_ALLOCATION_FAILURE case.
4204 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
4205 (dyn_string_release): Delete the dyn_string.
4206 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
4207 (dyn_string_copy): Change return type to int.
4208 (dyn_string_copy_cstr): Likewise.
4209 (dyn_string_prepend): Likewise.
4210 (dyn_string_prepend_cstr): Likewise.
4211 (dyn_string_insert): Likewise.
4212 (dyn_string_insert_cstr): Likewise.
4213 (dyn_string_append): Likewise.
4214 (dyn_string_append_cstr): Likewise.
4215 (dyn_string_append_char): Likewise.
4216 (dyn_string_substring): Likewise.
d1209685 4217
fe06b696
ZW
42182000-06-09 Zack Weinberg <zack@wolery.cumb.org>
4219
4220 * cp-demangle.c (demangle_operator_name): Add spaces before
4221 names beginning with a letter: delete, delete[], new, new[],
4222 sizeof.
4223 (demangle_special_name): Handle TF <type> and TJ <type>.
4224
6223e158
PDM
4225Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
4226
4227 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
4228
48f3e29b
PDM
4229Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
4230
4231 * cp-demangle.c (stdio.h): File included unconditionaly.
4232 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
4233 * dyn-string.c (stdio.h): File included.
4234 * partition.c (partition_print): No `&' needed to take the address of
4235 a function.
4236
69197e7e
KG
42372000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4238
4239 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 4240
69197e7e
KG
4241 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
4242
4243 * cp-demangle.c (demangle_char): Change parameter from char to int.
4244 (demangle_expression, demangle_expr_primary): Remove extra
4245 semi-colon in prototype.
4246
4247 * dyn-string.c (dyn_string_append_char): Change parameter from
4248 char to int.
4249
4250 * memcmp.c (memcmp): Constify.
4251
4252 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
4253 __extension__.
4254
4255 * partition.c (elem_compare): Prototype. Don't cast away
4256 const-ness.
4257
4258 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 4259
7eb23b1f
KG
42602000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4261
4262 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
4263
4264 * cp-demangle.c: Include demangle.h.
4265 (template_arg_list_new): DeANSIfy.
4266 (cp_demangle): Make static and add prototype.
4267 (operator_code, operators): Constify.
4268 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
4269
3faa108c
AS
42702000-06-05 Alex Samuel <samuel@codesourcery.com>
4271
4272 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
4273 unsigned char.
4274 (demangle_unqualified_name): Likewise.
4275 (demangle_number_literally): Likewise.
4276 (demangle_type): Likewise.
4277 (demangle_substitution): Likewise.
4278 (is_mangled_char): Likewise, for isalnum.
4279
69afa80d
AS
42802000-06-04 Alex Samuel <samuel@codesourcery.com>
4281
4282 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
4283 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
4284 (cp-demangle.o): New dependency.
4285 (dyn-string.o): Likewise.
4286
4287 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
4288
4289 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
4290 demangler.
4291 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
4292 demangling mode.
4293 (gnu_new_abi_symbol_characters): New function.
4294 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
4295 file.
4296 * cp-demangle.c: New file.
d1209685 4297
0b72c3df
AC
4298Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
4299
4300 * floatformat.c: Add name to each floatformat field.
4301
270cea06
JL
4302Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
4303
4304 * Makefile.in (objalloc.o): Depend on config.h
4305
d11ec6f0
ZW
43062000-05-29 Zack Weinberg <zack@wolery.cumb.org>
4307
4308 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
4309 if HAVE_STRING_H.
4310 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
4311 * objalloc.c: Include config.h. Include stdlib.h and don't
4312 declare malloc or free if HAVE_STDLIB_H.
4313 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
4314 else declare malloc without prototype. Include string.h if
4315 HAVE_STRING_H, else declare memset without prototype. Don't
4316 include stddef.h.
4317
f8e2da56
MS
43182000-05-23 Mike Stump <mrs@wrs.com>
4319
4320 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 4321 -j3.
f8e2da56 4322
650f3068
DA
43232000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4324
4325 * xmalloc.c: Include config.h for HAVE_SBRK definition.
4326
1d2da2e1
HB
43272000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
4328
d1209685 4329 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
4330 probably zero, also eliminate a warning on alpha.
4331
47668d0a
DE
43322000-05-15 David Edelsohn <edelsohn@gnu.org>
4333
c7a79a32 4334 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
4335 on $(enable_shared).
4336
36348eab
JJ
43372000-05-10 Jakub Jelinek <jakub@redhat.com>
4338
4339 * config.table: Use mh-sparcpic for sparc*-*-*.
4340
209bbe34
NC
43412000-05-08 Nick Clifton <nickc@cygnus.com>
4342
4343 * Makefile.in (CFILES): Add strncmp.c.
4344 (NEEDED): Add strncmp.
4345
a85a47fb
KG
43462000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4347
4348 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
4349 Cast the arguments to `islower' to `unsigned char'.
4350 (print_demangler_list): Prototype.
4351
4aef973c
PDM
4352Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
4353
4354 * sort.c (UCHAR_MAX): Provide fallback definition.
4355
3b94497c
AO
43562000-04-29 Alexandre Oliva <aoliva@cygnus.com>
4357
4358 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
4359 SUBDIRS.
4360
24eaa47a
KB
43612000-04-28 Kenneth Block <block@zk3.dec.com>
4362 Jason Merrill <jason@casey.cygnus.com>
4363
d1209685
ZW
4364 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
4365 (cplus_demangle_set_style): New function for setting style.
4366 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 4367
a9266bfa
KG
43682000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4369
4370 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
4371
4372 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
4373 (libiberty_AC_FUNC_STRNCMP): Invoke.
4374
4375 * strncmp.c: New file.
4376
8e02c4d0
JH
4377Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
4378
4379 * hashtab.c (htab_expand): Add prototype.
4380 (find_empty_slot_for_expand): Likewise.
4381
4feeaae3
KG
43822000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4383
4384 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
4385 match prototype.
4386 (htab_expand): Cast the return value of xcalloc.
4387
18a94a2f
MM
43882000-04-24 Mark Mitchell <mark@codesourcery.com>
4389
4390 * hashtab.c (hash_pointer): New function.
4391 (eq_pointer): Likewise.
4392 (htab_hash_pointer): New variable.
4393 (htab_eq_pointer): Likewise.
4394
eeb0656f
MM
43952000-04-23 Mark Mitchell <mark@codesourcery.com>
4396
b51024fc
MM
4397 * sort.c (sort_pointers): Fix endianness bugs.
4398
eeb0656f
MM
4399 * sort.c: New file.
4400 * Makefile.in (CFILES): Add sort.c
4401 (REQUIRED_OFILES): Add sort.o.
4402 (sort.o): New target.
4403
7277f72d
MS
44042000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4405
4406 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
4407 4.3BSD systems.
4408
e38992e8
RK
4409Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4410
4411 * hashtab.c: Various minor cleanups.
4412 (htab_find_slot_with_hash): INSERT is now enum insert_option.
4413 (htab_find_slot): Likewise.
4414
498e1ab1
DP
44152000-04-16 Dave Pitts <dpitts@cozx.com>
4416
4417 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 4418
dc17cc7b
RH
44192000-04-05 Richard Henderson <rth@cygnus.com>
4420
4421 * splay-tree.c (splay_tree_remove): New.
4422
b13eb66b
MM
44232000-03-30 Mark Mitchell <mark@codesourcery.com>
4424
4425 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
4426 codes.
4427 (htab_find_with_hash): Likewise.
4428 (htab_find_slot_with_hash): Likewise.
d1209685 4429
0194e877
ZW
44302000-03-29 Zack Weinberg <zack@wolery.cumb.org>
4431
4432 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
4433 unless it will be used. Rearrange loop for better
4434 optimization.
4435 (higher_prime_number): Add static prototype.
4436
abc61fd4
JL
4437Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
4438
4439 * Makefile.in (partition.o): Depend on config.h
4440
8c5d513f
BS
44412000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
4442
4443 * hashtab.c (find_empty_slot_for_expand): New function.
4444 (htab_expand): Use it instead of htab_find_slot.
4445 (htab_find_with_hash): Renamed from htab_find; now accepts extra
4446 argument HASH.
4447 (htab_find_slot_with_hash): Likewise for htab_find_slot.
4448 (htab_find): New wrapper function.
4449 (htab_find_slot): Likewise.
4450 (htab_traverse): Pass slot, not entry, to called function.
4451
d9d4fb43
AS
44522000-03-09 Alex Samuel <samuel@codesourcery.com>
4453
4454 * Makefile.in (CFILES): Add partition.c.
4455 (REQUIRED_OFILES): Add partition.o.
4456 (partition.o): New rule.
4457 * partition.c: New file.
d1209685 4458
5dc9cffd
ZW
44592000-03-09 Zack Weinberg <zack@wolery.cumb.org>
4460
4461 * hashtab.c (htab_create): Set del_f.
4462 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
4463 Use it.
4464
5194cf08
ZW
44652000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4466
4467 * hashtab.c: Remove debugging variables (all_searches,
4468 all_collisions, all_expansions). Delete
4469 all_hash_table_collisions.
4470 (create_hash_table, delete_hash_table, empty_hash_table,
4471 find_hash_table_entry, remove_element_from_hash_table_entry,
4472 clear_hash_table_slot, traverse_hash_table, hash_table_size,
4473 hash_table_elements_number, hash_table_collisions): Rename to:
4474 htab_create, htab_delete, htab_empty, htab_find_slot,
4475 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
4476 htab_elements, htab_collisions.
4477 (htab_find): New function, handles common case where you don't
4478 plan to add or delete an entry.
4479 (htab_expand): Don't create a whole new table, just a new
4480 entry vector.
4481 (htab_find_slot): Simplify logic.
4482
5ad5a984
ILT
44831999-08-03 Ian Lance Taylor <ian@zembu.com>
4484
4485 * floatformat.c: Add casts to avoid signed/unsigned warnings.
4486 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
4487
4488 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
4489 $(TARGETLIB)n so it works on MSDOS.
4490 (install_to_tooldir): Likewise.
4491
44921999-07-21 Ian Lance Taylor <ian@zembu.com>
4493
4494 From Mark Elbrecht:
4495 * makefile.dos: Remove; obsolete.
4496 * configure.bat: Remove; obsolete.
4497
44981999-07-11 Ian Lance Taylor <ian@zembu.com>
4499
4500 * splay-tree.c (splay_tree_insert): Add initialization to avoid
4501 warning.
4502
aeecce42
MK
45032000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4504
4505 * pexecute.c: Conditionally include string.h.
5194cf08 4506 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 4507
1eaf7d9c
KG
45082000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4509
4510 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
4511 we're using gcc.
4512
4513 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
4514
0fadedb2
GK
45151999-12-27 Geoff Keating <geoffk@cygnus.com>
4516
4517 * vasprintf.c (int_vasprintf): Don't re-read the format character
4518 as this mishandles strings like '%%s'.
4519
08230f26
MM
45201999-12-05 Mark Mitchell <mark@codesourcery.com>
4521
4522 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
4523 rather than struct splay_tree_node.
4524 (splay_tree_insert): Use struct splay_tree_s rather than struct
4525 splay_tree.
4526
6de9b8ff
PDM
4527Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
4528
4529 * hashtab.c (sys/types.h): File included.
4530
f3636679
JM
45311999-11-22 Jason Merrill <jason@casey.cygnus.com>
4532
4533 * strtoul.c, strtol.c, random.c: Remove advertising clause from
4534 BSD license, pursuant with
4535
4536 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
4537
36dd3a44
JL
4538Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
4539
4540 * hashtab.c: Include stdio.h.
4541
6e300472
JL
4542Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
4543
4544 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
4545
df548dfc
PDM
4546Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
4547
4548 * xstrdup (sys/types.h): Include this file.
4549
2c375143
NS
45501999-10-28 Nathan Sidwell <nathan@acm.org>
4551
4552 * Makefile.in (SUBDIRS): New macro.
4553 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
4554 avoid multiple subdirectory cleaning.
4555 (*-subdir): Use SUBDIRS.
4556
a82cecda
JK
45571999-10-25 Jim Kingdon <http://developer.redhat.com/>
4558
4559 * cplus-dem.c: Move declarations of standard_symbol_characters and
4560 hp_symbol_characters inside #ifdef MAIN to avoid compiler
4561 warnings.
4562
ed38f5d5
ZW
45631999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
4564
4565 * hashtab.c (find_hash_table_entry): When returning a
4566 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
4567 (clear_hash_table_slot): New function which deletes an entry
4568 by its position in the table, not its value.
4569 (traverse_hash_table): New function which calls a hook
4570 function for every live entry in the table.
4571
b60fe4a7
MM
45721999-10-19 Mark Mitchell <mark@codesourcery.com>
4573
4574 * cplus-dem.c (INTBUF_SIZE): New macro.
4575 (string_append_template_idx): New function.
4576 (demangle_expression): Likewise.
4577 (demangle_integral_value): Use it.
4578 (demangle_real_value): New function, split out from ...
4579 (demangle_template_value_parm): ... here. Use
4580 string_append_template_idx. Use demangle_real_value.
4581 (demangle_template): Use string_append_template_idx.
4582 (demangle_qualified): Use consume_count_with_underscores.
4583 (get_count): Tweak formatting.
4584 (do_type): Use string_append_template_idx.
5194cf08 4585
3da5522a
KG
45861999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4587
4588 * calloc.c: Add a public domain notice.
4589
d7d36ea8
PDM
4590Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
4591
4592 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
4593
a2f945c6
VM
4594Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
4595
4596 * Makefile.in (CFILES): Add hashtab.c
4597 (REQUIRED_OFILES): Add hashtab.o
4598 (hashtab.o): Add dependencies.
4599 * hashtab.c: New file
4600
7f22ec2e
MK
4601Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
4602
4603 * basename.c (DIR_SEPARATOR): New macro.
4604 (DIR_SEPARATOR_2): Likewise.
4605 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
4606 (IS_DIR_SEPARATOR): Likewise.
4607 (main): Handle MSDOS style pathname.
4608
7c56a6ce
MM
46091999-10-11 Mark Mitchell <mark@codesourcery.com>
4610
4611 * cplus-dem.c (do_type): Handle pointer to member types whose
4612 enclosing classes have namespace scope.
4613
cd32188b
ME
4614Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
4615
4616 * config.table: Provide a backup shell for executing move-if-change.
4617
fc232f7a
MM
46181999-10-02 Mark Mitchell <mark@codesourcery.com>
4619
4620 * xmalloc.c (xmalloc): Fix spelling error.
4621 (xcalloc, xrealloc): Likewise.
4622
2a138827
KG
46231999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4624
4625 * cplus-dem.c (fancy_abort, demangle_integral_value,
4626 demangle_arm_hp_template, recursively_demangle,
4627 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
4628 (program_name, program_version, fatal): Constify a char*.
4629 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
4630 (main): Call return, not exit.
4631
5a657fc3
KG
46321999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4633
4634 * choose-temp.c: Remove obsolete comment about gcc.
4635 (make_temp_file): Constify a char*.
4636
33c5ddcd
KG
4637Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4638
4639 * xmemdup.c: Include sys/types.h.
4640
b10647f1
JG
46411999-09-07 Jeff Garzik <jgarzik@pobox.com>
4642
4643 * xmemdup.c: New xmemdup function.
4644 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
4645
3dd6c3af
LV
4646Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
4647
5194cf08 4648 * config.table: Add openedition target.
3dd6c3af
LV
4649 * config/mh-openedition: New file.
4650
19e28e2a
ME
4651Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
4652
4653 * pexecute.c (pexecute): Fill in temp_base when needed.
4654
4dfeccf9
RH
46551999-08-31 Richard Henderson <rth@cygnus.com>
4656
4657 * getpwd.c: Check HAVE_GETCWD before defining it away.
4658
4ac3cb83
KG
46591999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4660
4661 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
4662 (REQUIRED_OFILES): Add getpwd.o.
4663 (getpwd.o): Add target.
4664
4665 * configure.in (AC_PREREQ): Bump to 2.13.
4666 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
4667
4668 * getpwd.c: New file, moved here from gcc.
4669
e797ff70
KG
46701999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4671
4672 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
4673 comparing against a signed quantity.
4674 (arm_special): Likewise.
4675 (demangle_fund_type): Likewise.
4676 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 4677 ATTRIBUTE_UNUSED.
e797ff70
KG
4678 (main): Constify variable `valid_symbols'.
4679
55247fce
PDM
4680Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
4681
4682 * strtoul.c (strtoul): Add parentheses around && within ||.
4683
76632dd0
DJ
4684Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
4685
4686 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
4687 libdir, libsubdir and tooldir.
4688
d080bbfa
MM
46891999-08-01 Mark Mitchell <mark@codesourcery.com>
4690
4691 * splay-tree.c (splay_tree_insert): Return the new node.
4692
a81c752a
RH
46931999-07-14 Richard Henderson <rth@cygnus.com>
4694
5194cf08 4695 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
4696 prototyping directly.
4697 * choose-temp.c: Conditionally include string.h.
4698
8f1824d9
JM
46991999-07-12 Jason Merrill <jason@yorick.cygnus.com>
4700
4701 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
4702
652374d3
ILT
47031999-07-11 Ian Lance Taylor <ian@zembu.com>
4704
4705 * splay-tree.c (splay_tree_insert): Add initialization to avoid
4706 warning.
4707
a4494286
JM
47081999-07-07 Jason Merrill <jason@yorick.cygnus.com>
4709
4710 * Makefile.in (needed-list): Only include stuff we actually need
4711 for libstdc++.
4712
90e72e20
AS
47131999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4714
4715 * configure.in (checkfuncs): Add gettimeofday.
4716 * config.in, configure: Regenerated.
4717
b569200e
MK
4718Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
4719
4720 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
4721 the test fails.
4722 * configure: Regenerate.
4723
73919448
MS
47241999-06-10 Mike Stump <mrs@wrs.com>
4725
4726 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
4727 parallel builds.
4728
fee9125c
KG
47291999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4730
4731 * putenv.c: Include ansidecl.h to define `const'.
4732 * setenv.c: Likewise.
4733
71cce721
MN
4734Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
4735
a7c9637f
JL
4736 * Makefile.in (CFILES): Add putenv.c and setenv.c.
4737 * configure.in (funcs): Add putenv and setenv.
4738 (AC_CHECK_FUNCS): Check for putenv and setenv.
4739 * configure: Rebuilt.
4740 * putenv.c setenv.c: New files.
4741
71cce721
MN
4742 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
4743 bytes of space using malloc.
4744
53504016
SG
4745Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
4746
4747 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
4748 the *mangled pointer beyond the end of the string. Clean up code to
4749 match prevailing coding style.
4750
34842539
MH
47511999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4752
4753 * tmpnam.c (L_tmpnam): Fix typo.
4754
3a08531d
ME
4755Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
4756
4757 * cplus-dem.c (standard_symbol_characters): Renamed from
4758 standard_symbol_alphabet. No longer modify TABLE.
4759 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
4760 modify TABLE.
4761 (main): Corresponding changes. Use strchr to determine if a
4762 character is valid.
4763
8db9d08b
JB
47641999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
4765
4766 * cplus-dem.c (main): Use table lookup to distinguish identifier
4767 characters from non-identifier characters.
4768 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
4769
6a071f4a
FF
4770Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
4771
4772 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
4773 * getruntime.c: Only attempt to include sys/resource.h and
4774 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
4775 are defined.
4776
7dd88617
DT
4777Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
4778
4779 * configure.in (alloca detection): Handle alloca directly for interix.
4780 * configure: Rebuilt.
4781
7a1528bc
MK
4782Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
4783
4784 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
4785
76409268
JB
47861999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4787
4788 Fix from Dale Hawkins:
5194cf08 4789 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
4790 reallocated properly if we use it again.
4791
4792 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
4793 stricter about syntax. Always null-terminate string.
4794
acbbd80a
MK
4795Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
4796
4797 * configure.in (checkfuncs): Check for sbrk.
4798 * config.in: Rebuilt.
4799 * configure: Likewise.
4800 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
4801
92523551
JB
48021999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
4803
4804 Fix from Marcus Daniels:
4805 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
4806 identifier looking for another underscore.
4807
36eb4217
MK
4808Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
4809
4810 * pexecute.c: Change all references to __UWIN__ to _UWIN.
4811 * xmalloc.c: Likewise.
4812 (xcalloc): UWIN has sbrk.
4813 (xrealloc): Fix guard macro.
4814
2c45d1a0
RH
48151999-04-11 Richard Henderson <rth@cygnus.com>
4816
4817 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
4818 or <alloca.h>.
4819 * clock.c (GNU_HZ): New definition.
4820 (clock): Use it.
4821 * getruntime.c: Likewise.
4822
4823 * config.table: Use mh-beos.
4824 * config/mh-beos: New file.
4825
391cdef0
MM
48261999-04-11 Mark Mitchell <mark@codesourcery.com>
4827
4828 * cplus-dem.c (demangle_template_value_parm): Handle
4829 pointers-to-members.
4830 (do_type): Handle template parameters as qualifiers.
4831
9d229989
JB
48321999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
4833
4834 * cplus-dem.c: Attempt to handle overflows in counts with some
4835 semblance of grace.
4836 (consume_count): Detect overflows. Return -1 to indicate errors,
4837 instead of zero.
4838 (demangle_template_value_parm, demangle_template): Handle change
4839 to consume_count's return convention.
4840
7c72138a
TT
48411999-04-05 Tom Tromey <tromey@cygnus.com>
4842
4843 * testsuite/regress-demangle: New file.
4844 * testsuite/demangle-expected: New file.
4845
4846 * Makefile.in (all, check, installcheck, info, install-info,
4847 clean-info, dvi, install, etags, tags, mostlyclean, clean,
4848 distclean, maintainer-clean, realclean): Depend on corresponding
4849 `-subdir' target.
4850 (all-subdir check-subdir installcheck-subdir info-subdir
4851 install-info-subdir clean-info-subdir dvi-subdir
4852 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
4853 distclean-subdir maintainer-clean-subdir): New target.
4854 * testsuite/Makefile.in: New file.
4855 * configure: Rebuilt.
4856 * configure.in: Create testsuite/Makefile.
4857
ae7f7270
MM
48581999-04-02 Mark Mitchell <mark@codesourcery.com>
4859
4860 * splay-tree.h (splay_tree_compare_pointers): Define.
4861
30f72379
MM
48621999-03-30 Mark Mitchell <mark@codesourcery.com>
4863
4864 * splay-tree.c (splay_tree_compare_ints): Define.
4865
4cc48683
TT
48661999-03-30 Tom Tromey <tromey@cygnus.com>
4867
4868 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
4869 don't advance input pointer.
4870 (demangle_class_name): If consume_count didn't find a count, do
4871 nothing. Don't bother with `strlen' sanity check; consume_count
4872 does it for us.
4873
3510075c
JL
48741999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4875
4876 From Art Haas <ahaas@neosoft.com>:
4877 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
4878 when doing arm or hp style.
4879 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 4880
89f602a7
MK
4881Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4882
4883 * pexecute.c (__CYGWIN32__): Rename to
4884 (__CYGWIN__): this.
4885 * xmalloc.c: Likewise.
4886
4887 Changes to support i386-pc-uwin.
4888 * configure.in (*-*-uwin*): Workaround for vfork bug.
4889 * configure: Regenerate.
4890 * pexecute.c (pexecute): Be like standard Unix.
4891 (pwait): Likewise.
4892 * xmalloc.c (first_break): Define.
4893 (xmalloc_set_program_name): Use.
4894 (xmalloc): Use.
4895
9346c824
FS
4896Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4897
4898 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
4899
3510075c
JL
4900Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
4901
4902 * config.table: Check cygwin*, not cygwin32*.
4903
8ec65f13
DB
4904Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
4905
4906 * Makefile.in: Change mkstemp -> mkstemps.
4907
687361c8
ME
4908Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
4909
4910 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
4911 * configure.in (funcs): Check for and conditionally add mkstemps to
4912 the list of functions libiberty will provide.
4913 * configure: Rebuilt.
5194cf08 4914
b207e09c
MK
4915Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
4916
5194cf08 4917 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
4918 platforms that don't have HZ.
4919 * getruntime.c (HZ): Likewise.
4920
16b4c15e
RH
4921Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
4922
4923 * Makefile.in (xstrdup.o): Depend on config.h.
4924
38beb75c
UD
4925Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
4926
4927 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
4928 freeing it.
4929
7e4311a3
KG
4930Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4931
4932 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
4933
3510075c
JL
4934Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4935
4936 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
4937 splay-tree.o.
4938
49391999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
4940
4941 * configure.in: Require autoconf 2.12.1 or higher.
4942
fb9939b8
MM
49431998-12-30 Michael Meissner <meissner@cygnus.com>
4944
4945 * random.c (NULL): Don't redefine NULL if it is already defined.
4946
087aa398
KG
4947Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4948
4949 * argv.c (buildargv): Cast the result of alloca in assignment.
4950
4951 * choose-temp.c: Include stdlib.h.
38beb75c 4952
087aa398 4953 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
4954 (snarf_numeric_literal): Constify first parameter.
4955 (code_for_qualifier): Avoid a gcc extension, make the parameter an
4956 int, not a char.
087aa398
KG
4957 (demangle_qualifier): Likewise.
4958 (demangle_signature): Cast the argument of a ctype function to
4959 unsigned char.
4960 (arm_pt): Add parens around assignment used as truth value.
4961 (demangle_arm_hp_template): Constify variable `args'.
4962 (do_hpacc_template_const_value): Cast the argument of a ctype
4963 function to unsigned char.
4964 (do_hpacc_template_literal): Remove unused variable `i'.
4965 (snarf_numeric_literal): Constify parameter `args'.
4966 Cast the argument of a ctype function to unsigned char.
4967
4968 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 4969 avoid ambiguous `else'.
38beb75c 4970
087aa398 4971 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
4972 `cstart' and `cend' to unsigned char. Cast the argument of macro
4973 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
4974
4975 * objalloc.c (free): Add prototype.
4976
21f2174d
HPN
4977Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
4978
4979 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
4980
3510075c
JL
4981Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
4982
4983 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 4984 doesn't exist.
3510075c 4985 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 4986
e8fc8222
AM
4987Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
4988
4989 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
4990 bumping the pointer we read from. Also prepend these codes,
4991 as we do in other places.
4992
3510075c
JL
49931998-12-18 Nick Clifton <nickc@cygnus.com>
4994
4995 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
4996 'const char *' in order to match its usage when calling siblings.
4997 (snarf_numeric_literal): Make first arg 'const char **' in order
4998 to match usage.
11a0bb74 4999
f4f30aa1
JL
5000Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5001
11a0bb74
KG
5002 * choose-temp.c: Don't check IN_GCC anymore.
5003
5004 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
5005 * memchr.c (memchr): Likewise.
5006 * memcpy.c (memcpy): Likewise.
5007 * memmove.c (memmove): Likewise.
38beb75c 5008
11a0bb74
KG
5009 * mkstemp.c: Don't check IN_GCC anymore.
5010 * pexecute.c: Likewise.
5011 * splay-tree.c: Likewise.
38beb75c 5012
11a0bb74
KG
5013 * strchr.c (strchr): Use `const', not `CONST'.
5014 * strrchr.c (strrchr): Likewise.
5015 * strtol.c (strtol): Likewise.
5016 * strtoul.c (strtoul): Likewise.
5017
70d5ccef
DT
5018Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
5019 Elena Zannoni <ezannoni@cygnus.com>
5020 Stan Shebs <shebs@cygnus.com>
5021 Edith Epstein <eepstein@cygnus.com>
5022 Andres MacLeod <amacleod@cygnus.com>
5023 Satish Pai <pai@apollo.hp.com>
5024
5025 * HP aCC demangling support.
5026 * cplus-dem.c
5027 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
5028 demangling correctly when -edg specified; set the demangling style
5029 when user specifies 'edg'. Set strip_underscore to
5030 prepends_underscore, if not HPUXHPPA. Set
5031 current_demangling_style to hp_demangling if HPUXHPPA. Set
5032 current demangling style correctly if the switch is hp. Read
5033 label correctly also in the HP style case.
70d5ccef 5034 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 5035 function.
70d5ccef 5036 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 5037 style for this case is the same as ARM.
70d5ccef
DT
5038 (demangle_args): handle EDG_DEMANGLING style; support HP style.
5039 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
5040 demangle_arm_pt.); check and set value of temp_start field in
5041 multiple places. Also, when ceching for end of template args,
5042 check to see if at end of static member of template class.
70d5ccef 5043 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 5044 include template args in string defining class.
70d5ccef
DT
5045 (demangle_class_name): use demangel_arm_hp_template.
5046 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
5047 HP_DEMANGLING and currently point at an 'X' in the mangled name.
5048 Handle EDG_DEMANGLING style. Handle constructor and destructor
5049 ops for HP style.
70d5ccef 5050 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
5051 styles. global destructor and constructor for HP style are same
5052 as for ARM style. Same for local variables.
70d5ccef
DT
5053 (demangle_qualified): handle EDG_DEMANGLING style.
5054 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
5055 cases '1' - '9' : initialize the temp_start field to -1 and handle
5056 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
5057 and AUTO_DEMANGLING styles. If expecting a function and managed
5058 to demangle the funct args, then handle the LUCID_DEMANGLING,
5059 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
5060 class name after "Lnnn_ in HP style case. HP style too needs to
5061 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 5062 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 5063 value param for HP/aCC.
70d5ccef 5064 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 5065 literal parameter for HP aCC.
70d5ccef
DT
5066 (recursively_demangle): new function
5067 (snarf_numeric_literal): new function.
5068 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 5069 to message.
70d5ccef 5070
8d525fa8
CF
5071Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
5072
5073 * pexecute.c: Remove obsolete ifdefed cygwin code.
5074
9b1a92d8
KG
5075Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5076
5077 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
5078 * cplus-dem.c: Likewise. Conform to libiberty.h.
5079 * pexecute.c: Likewise.
5080 * splay-tree.c: Likewise.
5081
c85c3232
MS
50821998-11-25 Mike Stump <mrs@wrs.com>
5083
5084 * Makefile.in (splay-tree.o): Add config.h dependency.
5085
35a6cd99
KG
5086Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5087
5088 * configure.in: Use AC_PREREQ(2.12.1).
5089
6e6e34b7
BK
50901998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
5091
5194cf08 5092 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 5093
59b67c11
JL
5094Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
5095
5096 * mpw.c (mpw_access): Add missing parens.
5097
a6458d1d
KG
5098Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5099
5100 * configure.in: Call AC_HEADER_SYS_WAIT.
5101
5102 * pexecute.c: Include sys/wait.h when !IN_GCC.
5103
3510075c
JL
5104Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
5105
5106 * pexecute.c: revert back to checking old Cygwin
5107 preprocessor symbol until some time has passed.
5108
5109Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
5110
5111 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
5112 since it will now support similar constructs.
5113
a9acf741
KG
5114Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5115
5116 * configure.in: Check for calloc.
5117
5118 * calloc.c: New file.
5119
5120 * xmalloc.c (xcalloc): New function.
5121
a49fb37a
AM
5122Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
5123
5124 *cplus-dem.c (demangle_prefix): Use the last "__"
5125 in the mangled name when looking for the signature. This allows
5126 template names to begin with "__".
5127
0e714131
MM
51281998-11-08 Mark Mitchell <mark@markmitchell.com>
5129
ec2288ff
MM
5130 * cplus-dem.c (type_kind_t): Add tk_reference.
5131 (demangle_template_value_parm): Handle it.
5132 (do_type): Use it for references, instead of tk_pointer.
5133
0e714131
MM
5134 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
5135 not internal_cplus_demangle.
5136
2931b6d4
KG
5137Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5138
5139 * choose-temp.c: Don't include gansidecl.h.
5140 * mkstemp.c: Likewise.
5141 * pexecute.c: Likewise.
5142
dd8f3ed5
GN
5143Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
5144
5194cf08
ZW
5145 * configure.in: detect cygwin* instead of cygwin32*
5146 * configure: regenerate
dd8f3ed5 5147
c5f7c445
KG
5148Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5149
5150 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
5151 whether to include config.h. Possibly include unistd.h in the
5152 !IN_GCC case. Define VFORK_STRING as a printable function call
5153 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
5154 defined, include vfork.h. If VMS is defined, define vfork()
5155 appropriately. Remove vfork check on USG, we're using autoconf.
5156 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
5157 locally what string to use.
c5f7c445 5158
ad3ef78e
MM
51591998-10-26 Mark Mitchell <mark@markmitchell.com>
5160
5161 * splay-tree.c: Tweak include directives to make sure declarations of
5162 xmalloc and free are available.
5163
224301c1
MM
51641998-10-25 Mark Mitchell <mark@markmitchell.com>
5165
5166 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
5167 anonymous namespaces.
38beb75c 5168
d9db46fd
MM
51691998-10-23 Mark Mitchell <mark@markmitchell.com>
5170
5171 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
5172 with type_quals.
5173 (TYPE_UNQUALIFIED): New macro.
5174 (TYPE_QUAL_CONST): Likewise.
5175 (TYPE_QUAL_VOLATILE): Likewise.
5176 (TYPE_QUAL_RESTRICT): Likewise.
5177 (code_for_qualifier): New function.
5178 (qualifier_string): Likewise.
5179 (demangle_qualifier): Likewise.
5180 (internal_cplus_demangle): Use them.
5181 (demangle_signature): Likewise.
5182 (demangle_template_value_parm): Likewise.
5183 (do_type): Likewise.
5184 (demangle_fund_type)): Likewise.
224301c1 5185
b056ad1c
KG
5186Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5187
5188 * splay-tree.c (splay_tree_foreach_helper): Make definition static
5189 to match prototype.
5190
ed87f9c8
MM
51911998-10-21 Mark Mitchell <mark@markmitchell.com>
5192
5193 * splay-tree.c: New file.
5194 * Makefile.in (CFILES): Add it.
5195 (REQUIRED_OFILES): Likewise.
5196 (splay-tree.o): Add dependencies.
5197
e0c13971
AS
5198Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5199
5200 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
5201 range of 'K' index.
5202
91e0f659
KG
5203Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5204
5205 * choose-temp.c: Prototype mkstemps() when IN_GCC.
5206
5207 * cplus-dem.c (consume_count): Cast argument of ctype macro to
5208 `unsigned char'.
5209 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
5210 comparing against one.
5211 (cplus_mangle_opname): Likewise.
5212 (demangle_integral_value): Cast argument of ctype macro to
5213 `unsigned char'.
5214 (demangle_template_value_parm): Likewise.
5215 (demangle_template): Initialize variable `bindex'. Cast the
5216 result of `strlen' to (int) when comparing against one. Remove
5217 unused variable `start_of_value_parm'.
5218 (demangle_class_name): Cast the result of `strlen' to (int) when
5219 comparing against one.
5220 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
5221 (gnu_special): Likewise. Cast the result of `strlen' to (int)
5222 when comparing against one.
5223 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
5224 (get_count): Likewise.
5225 (do_type): Likewise. Cast the result of `strlen' to (int) when
5226 comparing against one.
5227 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
5228 (demangle_function_name): Cast the result of `strlen' to (int)
5229 when comparing against one.
5230
5231 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
5232 comparing against one.
5233
73aeb2ff
JL
5234Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
5235
5194cf08
ZW
5236 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
5237 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
5238 * config.in, configure: Rebuilt.
ae76f1be 5239
73aeb2ff
JL
5240 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
5241 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
5242 * config.in, configure: Rebuilt.
5243
dd8f3ed5
GN
5244Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
5245
5194cf08 5246 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 5247
f77d8413
MT
5248Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
5249
5250 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
5251
ca6b370d
JL
5252Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
5253
5254 * Merge egcs & devo libiberty.
5255
719bb4e3 52561998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
ab4856b1
ML
5257
5258 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
5259
96e88994
KG
5260Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5261
5262 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
c4b9cfe0
AJ
5263 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
5264 IN_GCC.
96e88994
KG
5265
5266 * vasprintf.c: Include stdarg.h/varargs.h first.
5267
5268 * vprintf.c: Likewise.
5269
3f3726a3
JL
5270Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
5271
5272 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
5273 is the canonical copy. Define ISSPACE if !IN_GCC.
7520c31b 5274 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
f45da49c 5275 * getopt1.c, obstack.c: Similarly.
16ba4214 5276 * Makefile.in: Build mkstemp.o
3f3726a3 5277
ca6b370d
JL
5278Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
5279
5280 * configure.in: Include asprintf in list of functions known not
5281 to be in newlib.
5282 * configure: Rebuild.
5283
28235a5c
MK
5284Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
5285
5286 * cplus-dem.c (work_stuff): Add dllimported.
5287 (demangled_prefix): Mark symbols imported from PE DLL.
5288 (internal_cplus_demangled): Handle.
5289
5210f3d0
JM
52901998-08-17 Jason Merrill <jason@yorick.cygnus.com>
5291
5292 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
5293 stay failed.
5294
a7825625
KG
5295Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5296
5297 * cplus-dem.c: Include config.h if it exists. Also, only
5298 prototype malloc/realloc if we can't get stdlib.h.
5299
ca6b370d
JL
5300Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
5301
5302 * configure.in: Switch back to checking --with-target-subdir when
5303 deciding whether to check for newlib, undoing part of July 15
5304 change.
5305 * configure: Rebuild.
5306
5307Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
5308
5309 * cplus-dem.c (type_kind_t): New type.
5310 (demangle_template_value_parm): Add type_kind_t parameter. Rely
5311 on this paramter, rather than demangling the type again.
5312 (demangle_integral_value): Pass tk_integral.
5313 (demangle_template_: Pass the value returned from do_type.
5314 (do_type): Return a type_kind_t. Pass tk_integral to
5315 demangle_template_value_parm for array bounds.
5316 (demangle_fund_type): Likewise.
5317
5318 Also incorporate from GCC version:
5319
5320 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
5321
5322 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
5323
5324Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5325
5326 * cplus-dem.c (demangle_nested_args): Make function definition
5327 static to match the prototype.
5328
4d17a06f
MM
5329Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
5330
5331 * cplus-dem.c (type_kind_t): New type.
5332 (demangle_template_value_parm): Add type_kind_t parameter. Rely
5333 on this paramter, rather than demangling the type again.
5334 (demangle_integral_value): Pass tk_integral.
5335 (demangle_template_: Pass the value returned from do_type.
5336 (do_type): Return a type_kind_t. Pass tk_integral to
5337 demangle_template_value_parm for array bounds.
5338 (demangle_fund_type): Likewise.
5339
5340 Also incorporate from GCC version:
5341
5342 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
5343
5344 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
5345
ca6b370d
JL
5346Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
5347
5348 * Makefile.in (ALLOCA): New variable.
5349 ($(TARGETLIB)): Add $(ALLOCA) to library.
5350 (needed-list): Add $(ALLOCA).
5351 ($(ALLOCA)): Depend upon stamp-picdir.
5352
d94f5c58
KG
5353Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5354
5355 * cplus-dem.c (demangle_nested_args): Make function definition
5356 static to match the prototype.
5357
ca6b370d
JL
5358Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
5359
5360 * configure.in: Check --with-cross-host rather than
5361 --with-target-subdir when deciding whether build uses a cross
5362 compiler, and when deciding where to install the library.
5363 * configure: Rebuild.
5364
5365Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
5366
5367 * cplus-dem.c (demangle_nested_args): Return a value.
9923cc56 5368
ca6b370d
JL
5369Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
5370
5371 * cplus-dem.c (string): Move definition before work_stuff.
8a2a7ea2
MM
5372 (work_stuff): Add volatile_type, forgetting_types,
5373 previous_argument, and nrepeats fields.
5374 (SCOPE_STRING): New macro.
5375 (demangle_template): Add `remember' parameter. Add comment.
5376 Register the `B' code type here, if remembering. Tidy. Fix crash
5377 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
5378 (demangle_nested_args): New function.
5379 (internal_cplus_demangle): Handle volatile-qualified member
38beb75c 5380 functions.
8a2a7ea2
MM
5381 (mop_up): Delete the previous_argument string if present.
5382 (demangle_signature): Tidy. Handle volatile-qualified member
5383 functions. Handle back-references using the `B' code. Use extra
5384 parameter to demangle_template and SCOPE_STRING where appropriate.
5385 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
38beb75c 5386 code.
8a2a7ea2
MM
5387 (demangle_class): Use SCOPE_STRING.
5388 (gnu_special): Pass additional argument to demangle_template.
5389 Use SCOPE_STRING.
5390 (demangle_qualified): Save qualified types for later
5391 back-references. Handle constructors and destructors for template
5392 types correctly.
5393 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
5394 demangle_template. Use demangled_nested_args. Don't remember
5395 qualified types here; that's now done in demangle_qualified.
5396 Similarly for templates.
5397 (do_arg): Improve commment. Handle 'n' repeat code.
5398 (remember_type): Check forgetting_types.
5399 (demangle_args): Deal with 'n' repeat codes. Tidy.
38beb75c 5400
ca6b370d
JL
5401Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
5402
5403 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
5404 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
5405
5406Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
5407
5408 * configure.in (setobjs): Correct quoting error in cygwin32 case.
5409 From Chris Faylor <cgf@cygnus.com>.
5410
5411Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
5412
5413 * obstack.c: Update to latest FSF version.
5414
5415Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
5416
5417 * Makefile.in: Add a dependency on stamp-picdir for the
5418 objects, so that we can do a parallel build.
9923cc56 5419
6391b50a
MK
5420Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
5421
5422 * configure.in (checkfuncs): Add missing "'".
5423
ca6b370d 5424Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
10c62dce 5425
ca6b370d
JL
5426 * obstack.c (_obstack_memory_used): Elide this function if we're
5427 on a system with GNU libc.
10c62dce 5428
ca6b370d 5429Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
75f6bf44 5430
ca6b370d 5431 * Makefile.in (distclean): Remove config.log.
75f6bf44 5432
ca6b370d 5433Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7b195f77 5434
ca6b370d
JL
5435 * Makefile.in (distclean): Don't remove alloca-conf.h.
5436
5437Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
5438
5439 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
7b195f77 5440
1cc75298
MM
54411998-05-21 Mark Mitchell <mmitchell@usa.net>
5442
5443 * cplus-dem.c (do_type): Handle volatile qualification.
38beb75c 5444
39d65850
MH
54451998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
5446
5447 * configure.in: Check for unistd.h as well.
5448 * configure: Rebuild.
5449 * config.in: Rebuild.
5450 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
5451 is defined in unistd.h. Reformat conditional block for easier reading.
5452
5453 * config.table (shared): Default to no if ${enable_shared}
5454 is unset or empty; this logic is used by the toplevel
5455 configure scripts, too.
5456
c2953795
JL
5457Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
5458
5459 * config.table: Add line to set enable_shared in the Makefile
5460 as needed.
5461
d6f4ec51
KG
5462Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5463
3affd5f0
JL
5464 * cplus-dem.c (squangle_mop_up): Change return type to void.
5465 (internal_cplus_demangle): Remove unused parameter `options'.
5466 All callers changed.
5467 (cplus_demangle_opname): Remove function wide variable `int i' and
5468 replace with `size_t i' at each location where it is used.
5469 (cplus_mangle_opname): change type of `i' from int to size_t.
5470
5471Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
5472
5473 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
5474 than sparc or sun.
5475 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
5476
5477Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
5478
5479 * configure.in: Set libiberty_topdir correctly when srcdir is
5480 "." and with_target_subdir is not set.
5481 * configure: Rebuild.
5482
5483Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
5484
5485 * configure.in: Add *-*-mingw32* case.
5486 * configure: Rebuild.
5487
5488Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
5489
5490 * config.table: Never use a PIC file for *-*-cygwin32*.
5491
5492 * Makefile.in (config.status): Depend upon config.table.
5493
5494 * configure.in: On a cygwin32 host, always compile random, and
5495 don't test for sys_siglist, strsignal, or psignal.
5496 * configure: Rebuild.
5497
5498 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
5499 * getcwd.c: Likewise.
5500 * getpagesize.c: Likewise.
5501 * getruntime.c: Likewise.
5502
5503Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
5504
5505 Use autoconf tests rather than the old dummy.c test:
5506 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
5507 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
5508 most functions. Add special cases to handle newlib and VxWorks.
5509 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
5510 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
5511 CONFIG_FILES is set; set ac_file before calling it.
5512 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
5513 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
5514 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
5515 (i[3456]-*-mingw32*): Remove.
5516 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
5517 (LIBOBJS): New variable.
5518 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
5519 (all): Depend upon needed-list. Don't check RULE1.
5520 (@target_makefile_frag@): Remove.
5521 (COMPILE.c): Include @DEFS@.
5522 (HFILES): Add alloca-conf.h.
5523 (REQUIRED_OFILES): Remove basename.o.
5524 ($(TARGETLIB)): New target.
5525 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
5526 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
5527 (needed-list, config.h): Rewrite.
5528 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
5529 (.always.): Remove.
5530 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
5531 (stamp-h): New target.
5532 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
5533 (basename.o): Don't depend upon config.h.
5534 (getruntime.o): Depend upon config.h.
5535 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
5536 NEED_on_exit.
5537 * basename.c: Don't include config.h. Don't check NEED_basename.
5538 * clock.c: Include config.h.
5539 * getcwd.c: Likewise.
5540 * getpagesize.c: Likewise.
5541 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
5542 HAVE_TIMES.
5543 * strerror.c: Change uses of NEED_sys_errlist to
5544 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
5545 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
5546 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
5547 HAVE_PSIGNAL.
5548 * acconfig.h: New file.
5549 * dummy.c: Remove.
5550 * functions.def: Remove.
5551 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
5552 * config/mh-windows (HDEFINES): Remove.
5553 * config/mh-cygwin32: Remove.
5554 * config/mh-go32: Remove.
5555 * config/mh-irix4: Remove.
5556 * config/mh-riscix: Remove.
5557 * config/mh-sysv4: Remove.
5558 * config/mt-mingw32: Remove.
5559 * config/mt-vxworks5: Remove.
5560 * config.in: New file, generated using autoheader.
5561 * configure: Rebuild.
5562
5563Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
5564
5565 * configure.in: Rewrite to use autoconf.
5566 * configure: Generate using autoconf.
5567 * config/mh-a68bsd: Remove.
5568 * config/mh-apollo68: Remove.
5569 * config/mh-hpbsd: Remove.
5570 * config/mh-ncr3000: Remove.
5571 * config/mh-sysv: Remove.
5572 * config/mh-aix (RANLIB, INSTALL): Don't define.
5573 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
5574 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
5575 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
5576 * config.table: Change config_shell to CONFIG_SHELL, and use
5577 libiberty_topdir to find move-if-change.
c4b9cfe0 5578 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
3affd5f0
JL
5579 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
5580 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
5581 * Makefile.in (srcdir): Set to @srcdir@.
5582 (VPATH): Likewise.
5583 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
5584 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
5585 (CC, CFLAGS, RANLIB)): Likewise.
5586 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
5587 (target_makefile_frag, host_makefile_frag): Add substitutions.
5588 (INSTALL_DEST): Set to @INSTALL_DEST@.
5589 (Makefile): Depend upon config.status. Don't depend upon
5590 $(host_makefile_frag) or $(target_makefile_frag).
5591 (config.status): New target.
5592
5593Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
5594
5595 * config/mt-sunos4: Remove. Should be handled by --with-headers
5596 and --with-libraries options at top level.
5597 * config.table: Never use mt-sunos4.
5598
5599 * alloca-conf.h: New file, combining alloca-norm.h and
5600 alloca-botch.h.
5601 * alloca-norm.h: Remove.
5602 * alloca-botch.h: Remove.
5603 * configure.in: Set shell variables files and links to empty.
5604 * config.table: Don't set shell variable files.
5605 * configure.bat: Don't create alloca-conf.h.
5606 * makefile.vms: Likewise.
5607 * mpw-config.in: Likewise.
5608 * vmsbuild.com: Likewise.
5609
5610Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
5611
5612 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
5613 target depending upon config.h.
5614 (alloca.o): Add target depending upon config.h
5615 (basename.o, choose-temp.o, fnmatch.o): Likewise.
5616 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
5617 (strsignal.o, xstrerror.o): Likewise.
d6f4ec51 5618
63586755
PS
5619Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5620
5621 * cplus-dem.c (cplus_demangle_opname): Initialize work.
5622
07623417
AM
5623Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
5624
5625 * cplus-dem.c (demangle_qualified): Replace missing else.
5626
7bf40741
AS
5627Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5628
5629 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
5630 length in the name of a virtual table.
5631
5e5199e8
AM
5632Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
5633
5634 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
5635 (cplus_demangle_opname): Call mop_up_squangle.
38beb75c 5636 (cplus_demangle): Initialize squangle info, then call
5e5199e8 5637 internal_cplus_demangle. (Most code moved there as well)
38beb75c 5638 (internal_cplus_demangle): New function, performs most of what use
5e5199e8
AM
5639 to be done in cplus_demangle, but is only called with this file.
5640 (squangle_mop_up): New function to clean up B and K code data.
5641 (mop_up): set pointers to NULL after freeing.
38beb75c 5642 (demangle_signature, demangle_template, demangle_class): Add
5e5199e8
AM
5643 switch elements to handle K and B codes.
5644 (demangle_prefix, gnu_special, demangle_qualified): Add
5645 code to handle K and B codes.
5646 (do_type, demangle_fund_type): Handle B and K codes.
5647 (remember_Ktype): New function to store K info.
5648 (register_Btype, remember_Btype): New functions for B codes.
5649 (forget_B_and_K_types): New function to destroy B and K info.
5650
3affd5f0 5651Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
9ee02b5c 5652
3affd5f0 5653 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
f9c85454 5654
0a9e7530
MH
5655Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
5656
5657 * config.table: Make locating frag files failsafe even for the
5658 special case if configuring and building in srcdir.
5659
b9fb3c42
ILT
5660Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
5661
5662 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
5663
3affd5f0
JL
5664Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
5665
5666 * choose-temp.c: Sync with copy in gcc.
5667
b134508b
ILT
5668Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
5669
5670 * getopt.c: Update to latest FSF version.
5671 * getopt1.c: Likewise.
5672
5890bc92
JL
5673Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
5674
5675 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
5676 strings that are not actually lengths.
5677
f5c3ae66
MH
5678Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
5679
5680 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
5681 (.c.o): Check value of enable_shared, not PICFLAG.
5682 (stamp-picdir): Dito.
5683
3affd5f0
JL
5684Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
5685
5194cf08
ZW
5686 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
5687 since it gets built automatically
3affd5f0 5688
c00f2b9d
MS
5689Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
5690
5691 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
5692 the currently shipping OS.
5693
76a8b46e
JL
5694Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
5695
5696 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
5697 Add fnmatch.o and objalloc.o; remove vasprintf.o.
5698 [config.h]: Define NEED_strsignal.
5699
5700Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
5701
5702 * functions.def: Correct argument types for strerror and
5703 strsignal. Reported by Alex Gutman <agutman@emc.com>.
5704
5890bc92
JL
5705Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
5706
5707 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
5708 values.
5709
3affd5f0 5710Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
1ce26fc4 5711 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
77aff459 5712
1ce26fc4
JL
5713 Add mingw32 support.
5714 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5715 (pwait): New function for mingw32.
77aff459 5716
1ce26fc4
JL
5717 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
5718 * config/mt-mingw32: New file.
5719 * xmalloc.c (first_break): Not used for mingw32.
5720 (xmalloc_set_program_name): Don't use sbrk on mingw32.
5721 (xmalloc): Likewise.
5722 (xrealloc): Likewise.
77aff459 5723
1ce26fc4 5724Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
84f79fea
JL
5725
5726 * choose-temp.c: Sync with gcc version.
5727
1ce26fc4
JL
5728Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
5729
5730 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
5731 to all filenames in libdir and tooldir.
5732 (distclean): Do MULTICLEAN before deleting Makefile.
5733 (stamp-needed, stamp-config): Add MULTISRCTOP to
5734 pathname for move-if-change.
5735
e7757d69
JL
5736Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
5737
5738 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
5739
8b715b2a
JL
5740Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
5741
5742 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
5890bc92 5743 was already defined previously.
8b715b2a
JL
5744
5745Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
5746
5747 * Makefile.in (INSTALL): Use ../install-sh, not install.
5748
0c23b0b2
JG
5749Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
5750
5751 * Makefile.in (CFILES): Add pexecute.c.
5752
a6e74b83
ILT
5753Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
5754
5755 * asprintf.c: Consistently use either stdarg or varargs.
5756
19ddc834
JM
5757Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
5758
5759 * cplus-dem.c (demangle_signature): Don't look for return types on
5760 constructors. Handle member template constructors.
5761
5762Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
5763
5764 * README: Fix configuration instructions.
5765
5766Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
5767
5768 * pexecute.c: Update to current version from /gd/gnu/lib:
5769
5770 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
5771
5194cf08 5772 * pexecute.c: Use spawn if __CYGWIN32__.
19ddc834
JM
5773
5774 1997-08-08 Paul Eggert <eggert@twinsun.com>
5775
5194cf08 5776 * pexecute.c: Include "config.h" first, as per autoconf manual.
19ddc834
JM
5777
5778 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
5779
5194cf08
ZW
5780 * pexecute.c (fix_argv): New function.
5781 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
5782 Add underscore to cwait function call.
19ddc834 5783
a3a5b5b7
MM
5784Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
5785
5194cf08
ZW
5786 * cplus-dem.c (demangle_template): Add new parameter. Handle new
5787 template-function mangling.
5788 (consume_count_with_underscores): New function.
5789 (demangle_signature): Handle new name-mangling scheme.
a3a5b5b7 5790
19ddc834
JM
5791Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
5792
5793 * asprintf.c: stdarg.h when ALMOST_STDC
5794 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
c4b9cfe0 5795 strncasecmp.o.
19ddc834
JM
5796
5797Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
5798
5799 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
5800
5801 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
5802
5803 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
5804
5805Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
5806
5807 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
5808
19ddc834
JM
5809Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
5810
5811 * asprintf.c (asprintf): New file.
5812 * Makefile.in (CFILES): Add asprintf.c
5813 * functions.def: Ditto.
5814
19ddc834
JM
5815Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
5816
5817 * argv.c (dupargv): New function, duplicate an argument vector.
5818
6599da04
JM
5819Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
5820
5821 * config/mh-cygwin32: also build random.o
5822
5823Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
5824
5825 * cplus-dem.c: Add 'extern' to prepends_underscore.
5826
3510075c
JL
5827Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
5828
5829 * cplus-dem.c: Various changes to produce Java output when passed
5830 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
5831 (main): Support --java and -j flags to set DMGL_JAVA.
5832
6599da04
JM
5833Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
5834
5835 * config/mh-go32 (CC, AR, RANLIB): Don't define.
5836
5837Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
5838
5839 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
5840 (pexecute.o): New target.
5841
5842 * Makefile.in (stamp-needed): New target, replacing needed-list.
5843 (needed-list): Just depend upon stamp-needed.
5844 (stamp-config): New target, replacing config.h.
5845 (config.h): Just depend upon stamp-config.
5846 (mostlyclean): Remove stamp-*.
5847
5848Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
5849
5850 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
5851 INSTALL_DATA for multilibbed installs
5852
5853Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
5854
5855 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
5856
5857 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
5858
5859 * choose-temp.c (try): Insist that temp dir be searchable.
5860
5861 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
5862
5863 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
5864 for current directory.
5865
5866 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
5867
5868 * pexecute.c: Remove special cases for cygwin32.
5869 (pwait): Remove local definition of `pid'.
5870
5871 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
5872
5873 * pexecute.c (vfork): Supply new definition for VMS.
5874 (pwait): Use waitpid instead of wait for VMS.
5875
5876Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5877
5878 * cplus-dem.c (do_type): Handle `J'.
5879 (demangle_fund_type): Print "complex" for it.
5880
5881Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
5882
5883 * configure.in: Don't turn on multilib here.
5884
5885Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
5886
38beb75c 5887 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
6599da04
JM
5888 elided; needed by gdb and not present in libc.
5889
5890Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
5891
5892 * Makefile.in (clean): Remove tmpmulti.out.
5893
5894Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
5895
38beb75c 5896 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
6599da04
JM
5897 Add new floatformat, mainly for ARM doubles.
5898
5899Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
5900
5901 * config.table: Use ${config_shell} with ${moveifchange}. From
5902 Thomas Graichen <graichen@rzpd.de>.
5903
5904Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
5905
5906 * configure.in: Enable multilibing by default.
5907 Update multilib template to read config-ml.in.
5908
5909Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
5910
5911 * makefile.vms: Add objalloc.
5912
5913Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
5914
5915 * cplus-dem.c (demangle_it): Add prototype declaration.
5916 (usage, fatal): Likewise.
5917
5918 * xexit.c (_xexit_cleanup): Add prototype.
5919
5920 * strerror.c (init_error_tables): Declare.
5921
5922Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
5923
5924 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
5925 * strsignal.c: Only define strsignal if NEED_strsignal.
5926 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
5927 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
5928 to xneeded-list.
5929 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
5930 (EXTRA_OFILES): Define to vasprintf.o.
5931 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
5932 (EXTRA_OFILES): Add vasprintf.o.
5933 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
5934 (vxneeded-list): Add vasprintf.o.
5935
5936Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
5937
5938 * objalloc.c: Include <stdio.h>.
5939
5940Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
5941
5942 * objalloc.c: New file.
5943 * Makefile.in (CFILES): Add objalloc.c
5944 (REQUIRED_OFILES): Add objalloc.o.
5945 (objalloc.o): New target.
5946
5947Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
5948
5949 * obstack.c: Update to current FSF version.
5950
5951Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
5952
38beb75c 5953 * cplus-dem.c: Add prototypes for all static functions.
6599da04
JM
5954 (mystrstr): Make static. Make arguments and result const.
5955 (cplus_match): Remove; not used.
5956
5957Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5958
5959 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
5960 __t* symbols.
5961
5962Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
5963
5964 * spaces.c: Declare malloc and free properly.
5965 * strsignal.c (init_signal_tables): Add prototype.
5966 * xatexit.c (_xexit_cleanup): Add parameter declarations.
5967
5968Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5969
5970 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
5971 also required because of xmalloc.o.
5972
5973Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
5974
5975 * strsignal.c: Unconditionally redefine sys_siglist around the
5976 inclusion of the system header files.
5977
5978Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
5979
5980 * makefile.vms: Remove 8 bit characters. Update to latest
5981 gcc release.
5982
5983Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
5984
5985 * strsignal.c: Use NEED_sys_siglist instead of
5986 LOSING_SYS_SIGLIST.
5987 * config.table: Don't use mh-lynxos.
5988 * config/mh-lynxos: Remove.
5989
5990Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
5991
5992 * cplus-dem.c: Fix indenting; make identical to the copy
5993 in GCC.
5994 (do_type, case 'M'): Check for a template as well as a class.
5995
5996Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5997
5998 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
5999 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
6000 libiberty is incorrect, as well.
6001
6002Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6003
6004 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
6005 alloca takes a size_t argument, not just unsigned.
6006
6007Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
6008
6009 * cplus-dem.c: Note that this file also lives in GCC.
6010
6011Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
6012
6013 * alloca.c: Remove include of libiberty.h for hpux.
6014 * argv.c: Replace defs from libiberty.h.
6015 * spaces.c: Put back externs from removed from libiberty.h.
6016 * vasprintf.c: Remove include of libiberty.h for hpux.
6017
6018Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
6019
6020 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
6021
6022Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
6023
38beb75c
UD
6024 * cplus-dem.c: Revert last two commits due to conflicts with
6025 hpux system headers.
6599da04
JM
6026
6027Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
6028
6029 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
38beb75c 6030 Revert last commit due to conflicts with hpux system headers.
6599da04
JM
6031
6032Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6033
6034 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
6035 libiberty.h when compiled with a standard compiler.
6036
6037Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
6038
38beb75c 6039 * alloca.c: Include libiberty.h for definition of xmalloc.
6599da04
JM
6040 Don't redefine NULL.
6041 * argv.c: Move prototypes to libiberty.h.
38beb75c 6042 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
6599da04
JM
6043 Don't redefine NULL.
6044 Use casts to eliminate compiler warnings.
38beb75c 6045 * spaces.c: Remove prototypes for malloc and free which are
6599da04
JM
6046 already in libibrty.h.
6047 * strcasecmp.c: Use casts to eliminate compiler warnings.
38beb75c 6048 * vasprintf.c: Include libiberty.h for definition of malloc.
6599da04
JM
6049 Don't redefine NULL.
6050 * vprintf.c: Include stdarg.h if __STDC__.
6051
6052Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
6053
6054 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
6055
6056Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
6057
6058 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
6059 upward components correctly.
6060
6061Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
6062
6063 * config.table, config/mh-windows: Add support for building under
6064 MSVC (the Microsoft build environment).
6065
6066Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
6067
6068 * fnmatch.c: Undef const if not __STDC__.
6069
6070Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
6071
6072 * fnmatch.c: New file.
6073 * Makefile.in (CFILES): Add fnmatch.c.
6074 (REQUIRED_OFILES): Add fnmatch.o.
6075 (fnmatch.o): New target.
6076
6077Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
6078
6079 * cplus-dem.c (demangle_template): Fix handling of address args.
6080 (gnu_special): Handle type_info stuff.
6081
6082Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6083
6084 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
6085 (mpwify_filename): Handle "::/" case.
6086
6087Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
6088
6089 * config/mh-cygwin32: new file (need -DNEED_basename and
6090 -DNEED_sys_siglist for native NT rebuilding)
6091 * config.table (*-*-cygwin32): new entry
6092 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
6093
6094Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6095
6096 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
6097
6098Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
6099
6100 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
6101 messed with arguments that included a '/', add escape chars
6102 to double quotes, remove const decl from arg that Mac
6103 compilers don't seem to like.
6104
6105Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
6106
6107 * pexecute.c: Update test for win32 (&& ! cygwin32).
6108 * choose-temp.c: fix WIN32 preprocessor defines
6109
6110Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
6111
6112 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
6113 to editing of default makefile rule.
6114
6115Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
6116
6117 * alloca-norm.h: Include <malloc.h> if _WIN32.
6118 * argv.c: Include non-prototyped decls for malloc and string
6119 functions if ! _WIN32 or if __GNUC__.
6120
6121Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
6122
6123 * config.h-vms: New file.
6124 * makefile.vms: Use it.
6125
6126Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
6127
6128 * getopt.c (_getopt_internal): If argc is 0, just return (before
6129 we reference *argv and segfault).
6130
6131Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
6132
6133 * Makefile.in (distclean): Add multilib.out.
6134
6135Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
6136
6137 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
6138 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
6139
6140Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
6141
6142 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
6143
6144 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
6145
6146 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
6147
6148 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
6149 (do_ofiles): Allow nonexistent source file in pass 3.
6150 (chk_deffunc): New routine.
6151
6152Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
6153
6154 * pexecute.c (PEXECUTE_VERBOSE): Define.
6155 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
6156
6157Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6158
6159 * Makefile.in (docdir): Removed.
6160
6161Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6162
6163 * Makefile.in (oldincludedir): Removed.
6164
6165Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6166
5194cf08 6167 * Makefile.in (datadir): Set to $(prefix)/share.
6599da04
JM
6168
6169Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
6170
6171 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
6172 checking for errors from do_type.
6173
6174Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
6175
6176 * makefile.vms: New file.
6177 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
6178 than declaring malloc, realloc, and sbrk.
6179
6180Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
6181
6182 * pexecute.c: New file.
6183
6184Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
6185
6186 * xmalloc.c: Declare sbrk.
6187
6188Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6189
6190 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
6191 declaration.
6192
6193Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
6194
6195 * xstrerror.c: Include <stdio.h>.
6196
6197Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
6198
6199 * Makefile.in (CFILES): Add atexit.c.
6200
6201Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
6202
6203 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
6204
6205Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
6206
6207 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
6208 #include <stdio.h>
6209 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
6210
6211Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
6212
5194cf08 6213 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
6599da04
JM
6214 Reverts Feb 8, 1995 change.
6215
6216Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
6217
6218 * choose-temp.c: New file.
6219 * Makefile.in (CFILES): Add choose-temp.c.
6220 (REQUIRED_OFILES): Add choose-temp.o.
6221
6222Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
6223
6224 * floatformat.c (floatformat_to_double): Don't bias exponent when
6225 handling zero's, denorms or NaNs.
6226
6227Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
6228
6229 * floatformat.c (floatformat_to_double): Fix bugs with handling
6230 numbers with fractions < 32 bits.
6231
6232Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
6233
6234 * config.table: Permit --enable-shared to specify a list of
6235 directories.
6236
6237Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
6238
6239 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
6240 arguments.
6241
6242Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
6243
6244 * configure.in: If srcdir is `.' and with_target_subdir is not
6245 `.', then set MULTISRCTOP before calling config-ml.in.
6246
6247Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
6248
6249 * mpw.c (mpw_open): Add debugging output option.
6250
6251Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
6252
6253 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
6254
6255Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
6256
6257 * mpw.c (mpwify_filename): Change 6 to 5 in
6258 strncmp (unixname, "/tmp/", 5).
38beb75c 6259
6599da04
JM
6260Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
6261
6262 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
6263 handle 0 as a pointer value parameter.
6264
6265Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
6266
6267 * Makefile.in (all): Depend upon required-list.
6268 (required-list): New target.
6269 (clean): Remove required-list.
6270
6271Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
6272
6273 * win32.c: Deleted.
6274 * config.table (i386-*-win32): Deleted.
6275 * config/mh-i386win32: Deleted.
6276
6277Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
6278
6279 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
6280 const char *.
6281 (cplus_mangle_opname): Change return type and opname parameter to
6282 const char *. Don't cast return value.
6283
6284Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
6285
6286 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
6287 definition.
6288
6289Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
6290
6291 * obstack.c: Update copyright to 1996.
6292 (_obstack_memory_used): Define new function. Called via
6293 obstack_memory_used macro.
6294
6295Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
6296
6297 * xstrdup.c: New file.
6298 * Makefile.in (CFILES): Add xstrdup.c.
6299 (REQUIRED_OFILES): Add xstrdup.o.
6300 (xstrdup.o): New target.
6301
6302Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
6303
6304 * atexit.c: New stub to provide atexit on systems that have
6305 on_exit, like SunOS 4.1.x systems.
6306 * functions.def (on_exit, atexit): Ditto.
6307
6308Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
6309
6310 * mpw.c (mpw_abort): Remove decl.
6311 (mpw_access): Move debugging printf.
6312
6313Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
6314
6315 * config.table: Consistently use ${host} rather than ${xhost} or
6316 ${target}.
6317 * configure.in: Don't bother to set ${xhost} before calling
6318 config.table.
6319
6320Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6321
6322 * Makefile.in (.c.o): Use test instead of the left bracket, to
6323 avoid problems with some versions of make.
6324
6325Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
6326
6327 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
6328
6329Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
6330
6331 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
6332 which was set to just alloca.o, which is now automatically marked
6333 as needed by the autoconfiguration process.
6334
6335Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
6336
6337 * config.table: Check ${with_cross_host} rather than comparing
6338 ${host} and ${target}.
6339
6340Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
6341
6342 * configure.in: If with_target_subdir is empty, set xhost to
6343 ${host} rather than ${target} before calling config.table.
6344
6345Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
6346
6347 * Makefile.in (MULTITOP): Deleted.
6348 (MULTISRCTOP, MULTIBUILDTOP): New.
6349 (FLAGS_TO_PASS): Delete INCDIR.
6350 (INCDIR): Add $(MULTISRCTOP).
6351 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
6352 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
6353 instead of cfg-ml-pos.in.
6354 (cross-compile check): Change to test for with_target_subdir.
6355 (EXTRA_LINKS): Delete.
6356
6357Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
6358
6359 * mpw-make.sed: Add getpagesize.c.o to needed-list.
6360 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
6361 functions that are supplied by Metrowerks libraries.
6362 (fstat): Clean up descriptor->pointer conversion code.
6363 (InstallConsole, etc): Empty definitions, for when linking
6364 with SIOUX.
6365
6366Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
6367
6368 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
6369 (.c.o): Stylistic change.
6370
6371Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
6372
6373 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
6374 phdm@info.ucl.ac.be (Philippe De Muyter).
6375
6376Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
6377
6378 * configure.in: Correct sed call.
6379
6380Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
6381
6382 * configure.in: Clean up / simplify for native.
6383
6384 * configure.in: Merge in stuff from ../xiberty/configure.in.
6385 * Makefile.in (CC): Add definition (so it can be overrridden
6386 by ../configure).
6387
6388Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
6389
6390 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
6391 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
6392 (link): Remove useless definition with error return.
6393 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
6394 Use UnsignedWide type for microsecond counts.
6395
6396Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6397
6398 * memcmp.c (memcmp): Argument types are const void *, not void
6399 *const.
6400
6401 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
6402 sys/types.h.
6403 * strcasecmp.c (strcasecmp): Ditto.
6404
6405Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
6406
6407 * Makefile.in (BISON): Remove macro.
6408
6409Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
6410
6411 * Makefile.in (HFILES): Add default empty definition.
6412 * mpw-config.in (config.h): Only update if changed.
6413 * mpw-make.in: Remove.
6414 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
6415 * mpw.c: Remove semi-clone of strerror code.
6416 (sys_nerr, sys_errlist): Define here.
6417 (Microseconds): Only define as A-line trap if m68k Mac.
6418
6419Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
6420
6421 * Makefile.in (maintainer-clean): New synonym for distclean.
6422
6423Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
6424
6425 * config.table: For host, generalize rs6000-ibm-aix*
6426 to *-ibm-aix* so we also include powerpc.
6427
6428Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
6429
6430 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
6431
6432 * xstrerror.c: New file.
6433 * Makefile.in, vmsbuild.com: Compile it.
6434
6435Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
6436
6437 * config.table (i386-*-win32): New.
6438
6439Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
6440
6441 * Makefile.in (MULTITOP): New variable.
6442 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
6443 (all): Add multilib support.
6444 (install_to_tooldir, *clean): Likewise.
6445
6446Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
6447
6448 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
6449
6450Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
6451
6452 * vmsbuild.com: create "new-lib.olb", build libiberty under that
6453 name, and then make it become "liberty.olb" when done, so that an
6454 incomplete build attempt never leaves behind something which looks
6455 like a complete library.
6456
6457Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
6458
6459 * config/mh-i386pe: New file for PE hosts.
6460 * config.table: Understand PE hosts.
6461
6462Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6463
6464 * cplus-dem.c: Update from gcc.
6465
6466 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
5194cf08 6467 <stddef.h>.
6599da04
JM
6468 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
6469
6470Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
6471
6472 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
6473 * mpw.c: Only test DebugPI once whenever printing debug info.
6474 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
6475 also fix to not write on input filename buffer.
6476 (mpw_access): Use stat() instead of open(), works for directories
6477 as well as files.
6478
6479Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6480
6481 * Makefile.in: Massage broken shells that require 'else true'.
6482
6483Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
6484
6485 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
6486 Declare __builtin_alloca in the sparc case, as argv.c did.
6487 * argv.c: Replace inline version of alloca-norm.h at start of file with
6488 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
6489 because alloca-norm.h needs to declare alloca as "PTR".
6490
6491Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
6492
6493 * win32.c: New file.
6494
6495Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6496
6497 * dummy.c: #include "alloca-conf.h".
6498
6499Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6500
6501 * Makefile.in (mostlyclean): Remove stamp-picdir.
6502 (clean): Don't.
6503
6504Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6505
6506 * config.table (frags): Use toplevel pic frags.
6507
6508 * Makefile.in (PICFLAG): New macro.
6509 (all): Depend on stamp-picdir.
6510 (needed-list): Ditto.
6511 (.c.o): Also build pic object.
6512 (stamp-picdir): New rule.
6513 (mostlyclean): Remove pic.
6514 (clean): Remove stamp-picdir.
6515
6516Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
6517
6518 * vmsbuild.com (config.h): Add `#define NEED_basename'.
6519
6520Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
6521
6522 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
6523 to libio-style copyright.
6524 * getpagesize.c: Remove FSF copyright.
6525
6526Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
6527
6528 Added improved VMS support from Pat Rankin:
6529
6530 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
6531
6532 * vmsbuild.com: new file.
6533
6534 * getpagesize.c (getpagesize): implement for VMS;
6535 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
6536 support for EVMSERR.
6537
6538Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
6539
6540 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6541
6542 * floatformat.c (floatformat_arm_ext): Define.
6543
6544Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
6545
6546 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
6547 strerror.c, strsignal.c: Remove FSF copyright.
6548 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
6549
6550Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
6551
6552 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
6553 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
6554 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
6555 * strchr.c, strrchr.c: Add cast to suppress const warning.
6556
6557Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6558
6559 * cplus-dem.c: Use const instead of CONST. Don't include
5194cf08 6560 ansidecl.h directly.
6599da04
JM
6561
6562Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6563
6564 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
5194cf08 6565 xrealloc.
6599da04 6566 (-DMAIN): Don't rely on an externally-defined version number;
5194cf08
ZW
6567 instead, require the version number to be defined as a
6568 preprocessor macro. Handle the RS/6000 leading dot. Define
6569 xmalloc, xrealloc and fatal. Don't strip a leading underscore
6570 if we couldn't demangle the word.
6599da04
JM
6571
6572Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
6573
6574 (Old mpw.c change descriptions retained for informational value.)
6575 * mpw.c (warning_threshold): Default to .4 sec.
6576 (overflow_count, current_progress): New globals.
6577 (warn_if_spin_delay): Include current progress type,
6578 such as program name, in message.
6579 (mpw_start_progress): Set current_progress variable from arg.
6580 (mpw_end_progress): Report spin delays by power-of-two-size
6581 buckets instead of constant-size buckets.
6582
6583 * mpw.c: Clean up formatting, types, returns, etc.
6584 (ENOSYS): Define.
6585 (mpw_fread, mpw_fwrite): Define.
6586 (sleep): Define correctly.
6587
6588 * mpw.c: New code to implement cursor spinning support.
6589 (umask): New function.
6590 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
6591
6592 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
6593 basenames for MPW and MPW/Unix filenames.
6594 (mpw_special_init): New function, calls Macsbug if desired.
6595
6596 * mpw.c: Add GPL notice.
6597 (mpwify_filename): Add more transformations.
6598 (mpw_fopen): Call mpwify_filename on file names.
6599 (rename): Remove.
6600 (chdir, getcwd): Add simple definitions.
6601
6602 * mpw.c: Random cleanups, remove unused code bits.
6603 Added copy of strerror.c for gcc's use.
6604 (stat, fstat, _stat): New versions based on Guido van Rossum code.
6605
6606 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
6607
6608 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
6609 (fork, vfork, etc): Print error messages if called.
6610 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
6611 rename, chown): Define.
6612
6613 * mpw-config.in: New file, MPW version of configure.in.
6614 * mpw-make.in: New file, MPW version of Makefile.in.
6615 * mpw.c: New file, MPW compatibility routines.
6616
6617Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6618
6619 * basename.c: Include config.h before checking for NEED_basename.
6620
6621Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6622
6623 * functions.def: Add DEFFUNC for basename.
6624
6625 * basename.c: Only define basename if NEED_basename.
6626
6627Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6628
6629 * config.table: Fix --enable-shared logic for native builds.
6630
6631Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6632
6633 * cplus-dem.c (demangle_template): Demangle bool literals properly.
6634
6635Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
6636
6637 * strtol.c strtoul.c: Replace these with less buggy versions from
6638 NetBSD. (strtoul in particular couldn't handle base 16.)
6639
6640Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
6641
6642 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
6643
6644 * clock.c: If NO_SYS_PARAM_H is defined, don't include
6645 <sys/param.h>.
6646 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
6647
6648Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
6649
6650 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
6651 a number; ANSI appears to permit any expression, including a
6652 function call.
6653
6654 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
6655 xiberty.
6656 * config/mt-vxworks5: New file.
6657
6658Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
6659
6660 * basename.c (basename): Change argument to be const.
6661
6662Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6663
6664 * Makefile.in (lneeded-list): Don't worry about xmalloc.
6665
6666Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
6667
6668 * Makefile.in (distclean): Delete xhost-mkfrag.
6669
6670Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6671
6672 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
6673
6674Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
6675
6676 * hex.c: New file.
6677 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
6678 (hex.o): Add dependencies.
6679
6680 * cplus-dem.c (demangle_prefix): For GNU style constructor and
6681 destructor names, try demangling the remainder of the string.
6682
6683Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
6684
6685 * vasprintf.c (int_vasprintf): New static function.
6686 (vasprintf): Use int_vasprintf. Removes assumption that va_list
6687 is assignment compatible.
6688
6689Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
6690
6691 * Makefile.in (LIBCFLAGS): New variable.
6692 (FLAGS_TO_PASS): Pass it.
6693 (.c.o): Use it.
6694
6695Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
6696
6697 * getopt.c, getopt1.c: Do compile these functions under Linux,
6698 since many native versions are based on glibc but are buggy.
6699
6700Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
6701
6702 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
6703 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
6704
6705Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
6706
6707 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
6708 * functions.def: Remove vasprintf.
6709
6710Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6711
6712 * xmalloc.c (first_break): New static variable.
6713 (xmalloc_set_program_name): Record sbrk (0) in first_break.
6714 (xmalloc): If memory allocation fails, try to report how much
6715 memory was allocated by the program up to this point.
6716 (xrealloc): Likewise.
6717
6718Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
6719
6720 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
6721 when linking dummy.
6722 * config.table: Add host RISCiX Makefile frag.
6723 * config/mh-riscix: New file.
6724
6725Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6726
6727 * Makefile.in (FLAGS_TO_PASS): Define.
6728 ($(RULE1)): Use $(FLAGS_TO_PASS).
6729
6730Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6731
6732 * vasprintf.c: Include <string.h>.
6733 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
6734 * xatexit.c: Declare malloc.
6735
6736Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
6737
6738 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
6739 one below).
6740
6741Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
6742
6743 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
5194cf08 6744 the type index is greater than 9.
6599da04
JM
6745
6746Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
6747
6748 * cplus-dem.c (demangle_qualified): accept optional '_' between
6749 qualified name. This is baecause the template name may end with
6750 numeric and can mixed up with the length of next qualified name.
6751
6752Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
6753
6754 * config/mt-sunos4: Use our standard location for cross-includes
6755 and cross-libs when the target is also a "host" environment (ie no
6756 newlib; includes and such don't belong to us). This is specific
6757 to the Cygnus Support environment.
6758
38beb75c 6759Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
6599da04 6760
38beb75c 6761 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
6599da04
JM
6762 xxx<ch=81>.
6763
6764Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
6765
6766 * cplus-dem.c (main): flush stdout to make pipe work.
6767
6768Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
6769
6770 * config.table (*-*-cxux7*): Recognize.
6771 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
6772 Harris-specific float format.
6773 * config/mh-cxux7: New file.
6774
6775Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6776
6777 * cplus-dem.c (demangle_template): Make sure that the result of
6778 consume_count doesn't index beyond the end of the string.
6779
6780Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6781
6782 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
6783 earlier. Improve test for new vtable mangling. Change output back
6784 to `virtual table'.
6785
6786Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6787
6788 * obstack.c: Always compile this code, even if using the GNU
6789 library. Avoids problems with relatively recent binary
6790 incompatibility.
6791
6792Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6793
6794 * cplus-dem.c: Include libiberty.h.
6795 (xmalloc, xrealloc, free): Don't declare.
6796 (strstr): Don't declare parameters.
6797 (xmalloc, xrealloc): Don't define.
6798 (long_options): Add no-strip-underscores.
6799 (main): Call xmalloc_set_program_name. Pass n in short options to
6800 getopt_long. Handle option 'n' to not strip underscores.
6801 (usage): Mention -n and --no-strip-underscores.
6802
6803Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
6804
6805 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
5194cf08 6806 space.
6599da04
JM
6807 (gnu_special): Demangle template and qualified names in a vtable name.
6808
6809Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
6810
6811 From gas-2.3 and binutils-2.4 net releases:
6812
6813 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
6814
6815 * makefile.dos: [new] Makefile for dos/go32
6816 * configure.bat: update for latest files
6817 * msdos.c: remove some functions now in libc.a
6818
6819Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
6820
6821 * cplus-dem.c (gnu_special): Recognize thunks, as well as
6822 the new naming style for vtables (when -fvtable-thunks).
6823
6824Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6825
6826 * Makefile.in (XTRAFLAGS): Don't define.
6827 (.c.o, dummy.o): Don't use XTRAFLAGS.
6828 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
6829
6830Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6831
6832 * vasprintf.c: New file.
6833 * Makefile.in, functions.def: Add it.
6834
6835Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
6836
6837 * cplus-dem.c (demangle_fund_type): Grok bool.
6838
6839Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
6840
38beb75c 6841 * config.table: Add go32
6599da04
JM
6842 * config/mh-go32: New template.
6843
6844Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
6845
6846 * config.table, config/mt-sunos4: config for when sun4 is cross target.
6847
6848Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6849
5194cf08
ZW
6850 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
6851 Declare strlen to return int. Don't include stddef.h.
6599da04
JM
6852
6853Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
6854
5194cf08
ZW
6855 * getopt.c: Delete use of IN_GCC to control whether
6856 stddef.h or gstddef.h is included.
6599da04
JM
6857
6858Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
6859
6860 * cplus-dem.c (demangle_signature): Fix a bug in template function
6861 type numbering.
6862
6863Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
6864
6865 * cplus-dem.c (demangle_signature): Fix template function with arm
6866 style argument type number, Tn.
6867
6868Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
6869
6870 * cplus-dem.c (optable): Add new[] and delete[].
6871
6872Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
6873
6874 * argv.c (buildargv): Don't produce empty argument just because
6875 there is trailing whitespace.
6876
6877Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
6878
6879 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
6880 Handle 'p' same as 'P'.
6881 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
6882
6883Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6884
6885 * floatformat.c (get_field, put_field): Fix off by one error in
6886 little endian case.
6887
6888Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6889
6890 * floatformat.c (floatformat_from_double): Pass unsigned char *,
6891 not char *, to put_field.
6892
6893Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
6894
6895 * memmove.c: Re-wrote; placed in public domain.
6896
6897Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6898
6899 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
6900 __Q* as a constructor.
6901
6902Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
6903
6904 * ieee-float.c: Removed; no longer used.
6905 * Makefile.in: Changed accordingly.
6906
6907Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6908
6909 * floatformat.c (get_field): Removed unused local variable i.
6910 (put_field): Removed unused local variable i.
6911
6912Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
6913
6914 * floatformat.c: New file, intended to replace ieee-float.c.
6915 * Makefile.in: Change accordingly.
6916
6917Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
6918
6919 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
38beb75c
UD
6920 (_getopt_initialize): New function, broken out of _getopt_internal.
6921 (_getopt_internal):
6599da04
JM
6922 If long_only and the ARGV-element has the form "-f", where f is
6923 a valid short option, don't consider it an abbreviated form of
6924 a long option that starts with f. Otherwise there would be no
6925 way to give the -f short option.
6926
6927Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6928
5194cf08
ZW
6929 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
6930 Test just __STDC__, not emacs.
6599da04
JM
6931
6932Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6933
5194cf08
ZW
6934 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
6935 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
6599da04
JM
6936
6937Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
6938
5194cf08 6939 * getopt.c (_NO_PROTO): Define before config.h is included.
6599da04
JM
6940
6941Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6942
5194cf08 6943 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
6599da04
JM
6944 <config.h> only under these, else "config.h".
6945
6946Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6947
5194cf08
ZW
6948 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
6949 <config.h> instead of "config.h".
6599da04
JM
6950
6951Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
6952
6953 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
6954 whether to use prototypes or not.
6955 * strerror.c (const): Never undefine; let ansidecl.h handle it.
6956 * strsignal.c (const): Likewise.
6957
6958Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6959
6960 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
6961 Merging common and initialized variables need not be supported by
6962 ANSI C compilers.
6963 (xatexit): Initialize _xexit_cleanup if not already set.
6964 * xexit.c: Comment fix.
6965
6966Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6967
6968 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
6969 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
6970 assuming that realloc works correctly.
6971
6972Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6973
6974 * concat.c, ieee-float.c: Replace inclusion of <string.h>
6975 with explicit function declarations, as recommended by Ian Taylor.
6976
6977Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
6978
6979 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
6980 (malloc, realloc): Declare.
6981
6982Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6983
6984 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
6985 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
6986 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
6987 * xmalloc.c: Likewise.
6988 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
6989 macros, not <varargs.h> macros.
6990 * spaces.c (spaces): Make return type const. Don't crash if
6991 malloc returns NULL.
6992 * strerror.c (struct error_info): Make name and msg fields const.
6993 (error_names): Make const.
6994 (strerrno): Make const.
6995 (strtoerrno): Make argument const.
6996 * strsignal.c (struct signal_info): Make name and msg fields
6997 const.
6998 (signal_names, sys_siglist): Make const.
6999 (strsignal, strsigno): Make const.
7000 (strtosigno): Make argument const.
7001 * xatexit.c: Declare parameter types.
7002 * xmalloc.c (name): Make const.
7003 (xmalloc_set_program_name): Make argument const.
7004 * Makefile.in (INCDIR): Define.
7005 (.c.o): Use $(INCDIR).
7006 (dummy.o): Likewise.
7007 (argv.o, basename.o): New targets; depend on libiberty.h.
7008 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
7009 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
7010 (xmalloc.o): Likewise.
7011 (cplus-dem.o): New target; depend on demangle.h.
7012 (getopt.o, getopt1.o): New targets; depend on getopt.h.
7013 (ieee-float.o): New target; depend on ieee-float.h.
7014 (obstack.o): New target; depend on obstack.h.
7015
7016Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
7017
7018 Handle obstack_chunk_alloc returning NULL. This allows
7019 obstacks to be used by libraries, without forcing them
7020 to call exit or longjmp.
7021 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
7022 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
7023 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
7024
7025Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7026
7027 * concat.c, ieee-float.c: Include <string.h>.
7028
7029Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
7030
7031 * xmalloc.c (xmalloc_set_program_name): New function.
7032 (xmalloc, xrealloc): Include the name in the error message, if set.
7033
7034 * Replace atexit.c with xatexit.c.
7035 * Makefile.in (CFILES), functions.def: Change references.
7036
7037Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
7038
7039 * getruntime.c (get_run_time): Use getrusage or times if
7040 HAVE_GETRUSAGE or HAVE_TIMES are defined.
7041
7042Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
7043
7044 * atexit.c: New file.
7045 * Makefile.in (CFILES), functions.def: Add it.
7046 * xexit.c: New file.
7047 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
7048 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
7049 Change request for 0 bytes into request for 1 byte.
7050
7051Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7052
7053 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
7054 unsigned long, to avoid warnings.
7055
7056Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
7057
7058 * dummy.c: Don't include time.h ever; always define clock_t as
7059 "unsigned long". Until gcc/fixincludes ensures that clock_t
7060 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
7061 exist, clock_t probably doesn't either.
7062
7063Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
7064
7065 * clock.c, getruntime.c: New files.
7066 * Makefile.in: Add to file lists.
7067 * functions.def (clock): Add to list.
7068 * dummy.c (time.h): Add if __STDC__.
7069 (clock_t): #define as "unsigned long" if not __STDC__.
7070
7071Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7072
7073 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
7074 Edler).
7075
7076Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7077
7078 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
7079 linking.
7080
7081Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
7082
7083 * cplus-dem.c (demangle_arm_pt): New function. Common code
7084 for ARM template demangling.
7085 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
7086 * cplus-dem.c (demangle_prefix): Likewise.
7087
7088Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
7089
7090 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
7091
7092Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
7093
7094 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
7095 * strerror.c, strsignal.c: As a small space optimization, don't
7096 include messages when they aren't actually used.
7097
7098 Merge changes from takefive.co.at!joe (Josef Leherbauer)
7099 * cplus-dem.c (demangle_prefix, demangle_function_name,
7100 cplus_demangle_opname): Fixes for systems where cplus_marker
7101 is something other than '$'.
7102
7103Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
7104
7105 * waitpid.c: Simple-minded approcimation to waitpid
7106 using vanilla wait.
7107 * functions.def, Makefile.in: Update accordingly,
7108
7109Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
7110
7111 * cplus-dem.c(demangle_template): fix bug template instantiation
7112 with value of user defined type.
7113
7114Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
7115
7116 * cplus-dem.c(cplus_demangle_opname): add the subject new function
7117 to support unified search of operator in class.
7118
7119Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7120
7121 gcc -Wall lint:
7122 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
7123 "digit = *s" as condition in while loop.
7124
7125Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
7126
7127 * Makefile.in: pass SHELL to recursive make
7128
7129Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
7130
7131 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
7132 be (const char*), for ANSI (and gcc w/fixproto) consistency.
7133
7134Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7135
7136 * config.table: Make *-*-hiux* use mh-hpux.
7137
7138Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7139
7140 * config.table: Add * to end of all OS names.
7141
7142Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7143
7144 * Makefile.in (lneeded-list): ensure that object file names are
7145 not duplicated, as multiple instances of the same object file in
7146 a library causes problems on some machines
7147
7148Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7149
7150 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
7151
7152Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7153
7154 * strncasecmp.c: new file, implements strncasecmp
7155 * strcasecmp.c: new file, implement strcasecmp
7156
7157 * Makefile.in (CFILES): list these two new source files
7158
7159 * functions.def: add strcasecmp and strncasecmp entries
7160
7161Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7162
7163 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
7164 according to ANSI C.
7165
7166Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
7167
7168 * cplus-dem.c: add support of ARM global constructor/destructor,
7169 and 'G' for passing record or union in parameter.
7170
7171Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7172
7173 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
7174 should not be in functions.def.
7175
7176Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7177
7178 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
7179 not be in functions.def.
7180
7181Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
7182
7183 * cplus-dem.c: change globl constructor/destructor to proper name
7184
7185Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
7186
7187 * cplus-dem.c: fix bug in constructor/destructor
7188
7189Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
7190
7191 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
7192
7193Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
7194
7195 * cplus-dem.c: Fix demangle_template prototype
7196
7197Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
7198
7199 * cplus-dem.c: fix template demangling
7200 * cplus-dem.c: fix const type demangling
7201 * cplus-dem.c: fix constructor/destructor, virtual table,
7202 qualifier, global constructor/destructor demangling
7203
7204Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7205
7206 * strsignal.c, strerror.c: Use fully-bracketed initializer to
7207 keep gcc -Wall happy.
7208
7209Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
7210
7211 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
7212 patch.
7213
7214Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7215
7216 Patch from Paul Flinders:
7217 * cplus-dem.c (do_type): Deal with arrays.
7218
7219Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7220
7221 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
7222 than 9 classes.
7223
7224Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
7225
7226 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
7227 not initialized" warnings under HP/UX
7228
7229Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7230
7231 * strerror.c: Move include of stdio.h after sys_errlist #define.
7232 Also remove NULL definition (stdio.h always defines NULL, so it
7233 never did anything but clutter up the code).
7234
7235Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7236
7237 * Makefile.in, functions.def: handle xmalloc.c
7238
7239 * xmalloc.c: provide xmalloc and xrealloc functions
7240
7241Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7242
7243 * cplus-dem.c: Fix a comment.
7244
7245Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7246
7247 * getopt1.c: Declare const the way getopt.c does.
7248
7249Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7250
7251 * obstack.c, alloca.c: Update from FSF.
7252 * getopt.c, getopt1.c: Update to current FSF version, which
38beb75c 7253 doesn't use alloca.
6599da04
JM
7254
7255Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
7256
7257 * Makefile.in (demangle): Add the target with a message saying
7258 where demangle went.
7259
7260Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7261
7262 * Makefile.in: Remove obsolete `demangle' target.
7263
7264Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
7265
7266 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
7267 avoid infinite loop on vtbl symbols with disambiguating "junk"
7268 tacked on the end.
7269
7270Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7271
7272 * strsignal.c: work around some systems losing definitions of
7273 sys_siglist
7274
7275 * config/mh-lynxos: this system has a losing definition of
7276 sys_siglist
7277
7278 * config.table: use mh-lynxos for *-*-lynxos
7279
7280Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
7281
7282 * config.table: Add support for HPPA BSD hosts.
7283
7284 * config/mh-hpbsd: New file.
7285
7286Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
7287
7288 * Makefile.in (TAGS): make work when srcdir != objdir.
7289
7290Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7291
7292 * cplus-dem.c (main): Add long options, including --help and
7293 --version.
7294 (usage): New function from code in main.
7295
7296Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
7297
7298 * config.table: New shell scipt, sourced by both ./configure,in
7299 and ../xiberty/configure.in, to avoid maintainance lossages.
7300 * configure.in and ../xiberty/configure.in: Use config.table.
7301
7302 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
7303 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
7304 * ../xiberty/configure.in: Update from ./configure.in.
7305
7306Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7307
7308 * Makefile.in: remove parentdir support
7309
7310Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7311
7312 * cplus-dem.c (xrealloc): Match definition with prototype.
7313
7314Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7315
7316 * cplus-dem.c (demangle_prefix): Demangle cfront
7317 local variables as an extension to ARM demangling.
7318
7319Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7320
7321 * ieee-float.c: Don't require pointers to double to be aligned.
7322
7323Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
7324
5194cf08 7325 (merge changes from dlong@cse.ucsc.edu)
6599da04
JM
7326 * cplus-dem.c (consume_count): Simplify.
7327 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
7328 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
7329
7330 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
7331 full prototypes.
7332 * cplus-dem.c (free): Add prototype.
7333 * cplus-dem.c (optable): Fully bracketize initializer.
7334
7335Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
7336
7337 * cplus-dem.c: Whether initial underscores are stripped
7338 depends on the external variable prepends_underscore
7339 (which is generated by the binutils Makefile).
7340
7341Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
7342
7343 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
7344
7345Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
7346
7347 * cplus-dem.c (consume_count): Return zero if arg does not
7348 start with digit, and don't consume any input.
7349
7350Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
7351
7352 * Makefile.in (demangle): Use ${srcdir} not $^.
7353
7354 * strtod.c: New file, needed at least for BSD 4.3.
7355
7356Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
7357
7358 * strsignal.c (sys_siglist): For ANSI compilations, type is
7359 "const char *const". Also remove conditionalization on __STDC__
7360 since const is defined away for non-ANSI.
7361
7362Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
7363
7364 * configure.in: Recognize *-*-hpux.
7365 * config/mh-hpux: New file.
7366
7367Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
7368
7369 * tmpnam.c: Added ANSI tmpnam() function.
7370 * functions.def, Makefile.in: Update accordingly.
7371
7372Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7373
7374 * cplus-dem.c (demangle_function_name): Get the demangling of
7375 stop__1A right.
7376
7377Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
7378
7379 * cplus-dem.c: Declare strstr return type.
7380
7381Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
7382
7383 * strsignal.c: Add some AIX signals.
7384
7385Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
7386
7387 * Makefile.in (MAKEOVERRIDES): Define to be empty.
7388
7389Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
7390
7391 * Makefile.in: add installcheck & dvi targets
7392
7393Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
7394
7395 * ieee-float.c: New file, moved from ../gdb (since it is
7396 needed by ../opcode/m68k-dis.c).
7397
7398Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
7399
7400 * cplus-dem.c: Replace all references to cfront with ARM.
7401
7402Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
7403
7404 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
7405 to be more useful as a filter.
7406
7407Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
7408
7409 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
7410 destination directory before running $(RANLIB), in case that
7411 program tries to create a file in the current directory as part of
7412 its work.
7413
7414Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
7415
7416 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
7417 because BSD 4.4 lacks one. Isn't this fun?
7418
7419Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
7420
7421 * cplus-dem.c (demangle_signature): Set func_done after
7422 demangling a template.
7423 * cplus-dem.c (demangle_template): Fix several small bugs
7424 in demangling GNU style templates.
7425 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
7426 style constructors.
7427 * cplus-dem.c (gnu_special): Fix for templates in GNU style
7428 static data members.
7429
7430Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
7431
7432 * cplus-dem.c (demangle_signature): Modify to include type
7433 modifiers like static and const in remembered types.
7434
7435Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
7436
7437 * cplus-dem.c (demangled_qualified): Add new parameter that tells
7438 whether to prepend or append the qualifiers.
7439 * cplus-dem.c (string_prepends): Used now, remove #if 0.
7440 * cplus-dem.c (demangle_signature): Call demangle_qualified
7441 with prepending.
29120f44 7442 * cplus-dem.c (gnu_special): Recognize static data members that
6599da04
JM
7443 use qualified names.
7444 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
7445 temporary buffer and the prepend or append them to the result,
7446 as specified by the new "append" flag.
7447 * cplus-dem.c (do_type): Call demangled_qualified with
7448 appending.
7449
7450Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
7451
7452 * strsignal.c (signal_table): Now const.
7453 (init_signal_tables): Variable eip now points to const.
7454
7455 * strerror.c (error_table): Now const.
7456 (init_error_tables): Variable eip now points to const.
7457
7458Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
7459
7460 * memchr.c (memchr): New (ANSI standard) function.
7461 * Makefile.in, functions.def: Added memchr.
7462 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
7463
7464Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7465
7466 * getopt.c: remove use of USG around <alloca.h>, which never meant
7467 anything anyway
7468
7469 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
7470 of USG and USGr4
7471
7472Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
7473
7474 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
7475 it's now a type according to the ANSI X3J16 working paper; output
7476 "wchar_t" for it.
7477 (demangle_template): Accept `w' as an integral type.
7478 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
7479 counterparts malloc and realloc to `char *'.
7480 (main): Exit with a 0 status.
7481 * Makefile.in (demangle): Don't expect the user to define
7482 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
7483 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
7484
7485Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
7486
7487 * Makefile.in (AR_FLAGS): Avoid verbosity.
7488 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
7489 replace USGr4 with HAVE_SYSCONF.
7490 * config/mh-solaris: Remove; mh-sysv4 works now.
7491 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
7492 * configure.in: Simplify host matching table, remove separate
7493 solaris config file.
7494
7495Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
7496
7497 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
7498
7499Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
7500
7501 * cplus-dem.c (xmalloc, xrealloc): Add decls.
7502 (remember_type): Don't cast xmalloc.
7503 (string_need): Likewise; don't cast xrealloc either.
7504
7505Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
7506
7507 * Makefile.in, functions.defs, rename.c: added simple
7508 implementation of rename, since some binutils programs use it.
7509
7510Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
7511
7512 * strsignal.c: Add appropriate 'const' to sys_siglist
7513 extern declaration (if __STDC__). (Needed for Linux.)
7514 * strsignal.c (strsignal): Add cast to remove const-ness.
7515
7516Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
7517
7518 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
7519 before "'s, diagnosed by BSD 4.4 awk.
7520
7521Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
7522
7523 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
7524 and $(NEEDED_LIST), to give some hooks for xiberty.
7525
7526Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7527
7528 * configure.in: use cpu-vendor-triple instead of nested cases
7529
7530Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
7531
7532 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
7533 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
7534 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
7535 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
7536 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
7537 Convert from using GPL to LGPL.
7538
7539Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
7540
7541 * Makefile.in (errors): Leave dummy.o and dummy around so that
7542 we can see how the needed list was generated (it's sometimes wrong).
7543 (mostlyclean): Remove them.
7544
7545Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
7546
7547 * getcwd.c: supply a default if MAXPATHLEN is not defined.
7548
7549 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
7550
7551Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
7552
7553 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
7554 when cross-compiling.
7555
7556Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
7557
7558 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
7559 as a time optimization.
7560
7561 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
7562 be more expensive than simply demangling.
7563
7564 * cplus-dem.c (cplus_match): new function.
7565
7566Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
7567
7568 * cplus-dem.c: #include <stdio.h>, to define NULL.
7569 Define current_demangling_style.
7570
7571Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
7572
7573 * cplus-dem.c: New file, moved from ../gdb.
7574 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
7575 function, to avoid compiling in target-dependency for CPLUS_MARKER.
7576 * cplus-dem.c (cplus_demangle): Allow demangling style option
7577 to be passed as a parameter, but using the global variable
7578 current_demangling_style as a default.
7579 * Makefile.in: Update for cplus-dem.c
7580
7581Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
7582
7583 * obstack.c: Merge in comment changes from FSF version. Now
7584 matches the FSF version exactly.
7585
7586Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
7587
7588 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
7589 least on losing DECstations!); use if-then-else instead.
7590
7591Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
7592
7593 * Makefile.in: always create installation directories.
7594
7595Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7596
f33a23a0 7597 * Makefile.in: clean up definition of CFILES, more comments
6599da04
JM
7598
7599Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
7600
7601 * getopt.c (my_index): Make first arg const to match strchr,
7602 which it sometimes is remapped to.
7603
7604Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
7605
7606 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
7607 * obstack.c (_obstack_begin): Initialize use_extra_arg.
7608 * obstack.c (_obstack_begin_1): New, from FSF version.
7609
7610Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
7611
7612 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
7613 extra_arg.
7614 * obstack.c (_obstack_begin): Remove area_id and flags arguments
7615 (previously added for mmalloc support, interface has changed).
7616 Also convert flags usage to use use_extra_arg and maybe_empty_object.
7617
7618Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
7619
7620 * argv.c: Move expandargv inline and eliminate static variables.
7621 Rewrite to always allocate in powers of two. Fix to return an
7622 argv with a single null string arg if passed a null string.
7623
7624Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
7625
7626 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
7627 "(void)" casts from function calls where the return value is
7628 ignored, in accordance with GNU coding standards.
7629
7630Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
7631
7632 * bcopy.c, strerror.c, strsignal.c: Lint.
7633
7634Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7635
7636 * getopt.c: merge changes from make.
7637
7638Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
7639
7640 * alloca.c: Incorporate fixes from gdb/alloca.c.
7641 FIXME: Eventually move gdb's alloca configuration files here,
7642 and remove gdb/alloca.c and its Makefile.in support.
7643
7644Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
7645
7646 * dummy.c: Define NOTHING to /*nothing*/, change return type
7647 of main to int and return zero.
7648 * functions.def: Supply NOTHING as the fourth arg to macros
7649 that don't have an explicit arg, to satisfy picky preprocessors.
7650
7651Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
7652
7653 * Makefile.in: Clean up *clean rules, as per standards.texi.
7654
7655Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7656
7657 * getopt.c, getopt1.c: merged largely gratuitous, mostly
7658 whitespace diffs from other prep distributions.
7659
7660Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
7661
7662 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
7663 it is broken on ncr 3000's.
7664
7665Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
7666
7667 * sigsetmask.c: Rewrite. Old one was very confused about its
7668 arguments and result. New one can't do much, but at least knows
7669 what it can't do, and it's good enough for GDB's use.
7670
7671Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
7672
7673 * functions.def: Use proper prototype for strtoul.
7674
7675Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
7676
7677 * Makefile.in: Add random.c.
7678 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
7679 * configure.in: update solaris2 config.
7680
7681Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
7682
7683 * random.c: Add for random() and srandom().
7684 * functions.def: Add random
7685
7686Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
7687
7688 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
7689 using /usr/ucb/install.
7690
7691Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
7692
7693 * strerror.c: Kludge to guard against a conflict with
7694 possible declaration of sys_errlist in errno.h.
7695
7696Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
7697
7698 * configure.in, config/mh-solaris: add solaris2 config support.
7699
7700Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
7701
7702 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
7703 is not defined (should be defined in signal.h, says Posix.).
7704
7705Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
7706
7707 * getopt.c: merged changes from make-3.62.11.
7708
7709Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
7710
7711 * getopt.c: merged changes from bison-1.18.
7712
7713Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
7714
7715 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
7716 since that introduces a circular dependency.
7717 ($(EXTRA_OFILES) are used to build config.h.)
7718
7719 * strtoul.c: Fixes to handle non-decimal bases better.
7720
7721Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
7722
7723 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
7724 * Makefile.dos: Finish MINUS_G eradication.
7725 * Makefile.in (CFILES): Add strsignal.c.
7726 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
7727 * Makefile.in (needed-list): Split creation of errors file to
7728 separate make target.
7729 * Makefile.in (config.h, needed2.awk, errors): New targets.
7730 * Makefile.in (clean): Split to multiple lines, add needed2.awk
7731 and config.h.
7732 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
7733 * functions.def (strerror): Remove from optional list.
7734 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
7735 * functions.def (strerror, psignal): DEFFUNC's
7736 * strerror.c: Rewrite from scratch to use sys_errlist only if
7737 available, add errno_max(), add strerrno(), add strtoerrno(),
7738 add test driver.
7739 * strsignal.c: New file, signal equivalent to strerror.c.
7740 Uses sys_siglist if available, defines signo_max(), strsignal(),
7741 strsigno(), strtosigno(), psignal(), and test driver.
7742
7743Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
7744
7745 * Makefile.in: do not print recursion line.
7746
7747 * Makefile.in: allow CFLAGS to be passed in from command line.
7748 Removed MINUS_G. Default CFLAGS to -g.
7749
7750Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
7751
7752 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
7753 so libg++ users don't have to be inconvenienced by a
7754 libc.a bug (libc.a needs copysign, but doesn't define it!).
7755 * configure.in: Use config/mh-aix.
7756 * strtoul.c: Handle '-' as required by ANSI.
7757 Clean up radix handling.
7758 * strstr.c: Fix buggy algorithm.
7759 * Makefile.in: Change so that ${EXTRA_OFILES} is
7760 appended to needed-list (which is used by libg++).
7761
7762Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
7763
7764 * configure.in: Recognize new ncr3000 config.
7765 * config/mh-ncr3000: New config file.
7766
7767Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
7768
7769 * argv.c, dummy.c: Lint.
7770
7771Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
7772
7773 * config/mh-sysv4: New config file.
7774 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
7775 host_os == sysv4.
7776 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
7777 pagesize.
7778
7779Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
7780
7781 * getopt.c: Lint.
7782
7783Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
7784
7785 * functions.def (alloca): Fix return type and args to avoid
7786 type clash with gcc's builtin alloca.
7787
7788Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
7789
7790 * configure.in, config/mh-irix4: irix4 support.
7791
7792 * Makefile.in, functions.def, alloca.c: added alloca.
7793
7794Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
7795
7796 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
7797
7798Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
7799
7800 * argv.c: Fix various external function definitions to be
7801 correct in an ANSI compilation environment.
7802
7803Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
7804
7805 * obstack.c: Changes to support calling mmalloc functions,
7806 which take an additional argument over malloc functions.
7807
7808Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
7809
7810 * added check target.
7811
7812Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
7813
7814 * argv.c: #include alloca-conf.h (needed by AIX).
7815
7816Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
7817
7818 * Makefile.in, configure.in: removed traces of namesubdir,
7819 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
7820 copyrights to '92, changed some from Cygnus to FSF.
7821
7822Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
7823
7824 * argv.c: Check in Fred's version which fixes problems with
7825 alloca().
7826
7827Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
7828
7829 * makefile.dos: Remove NUL to keep patch from failing.
7830
7831Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
7832
7833 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
7834
7835Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
7836
c4b9cfe0 7837 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
6599da04
JM
7838
7839Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
7840
7841 * argv.c: New file to build and destroy standard argument
7842 vectors from a command string.
7843
7844 * Makefile.in: Add argv.c and argv.o to appropriate macros.
7845
7846Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
7847
7848 * configure.in: Change svr4 references to sysv4.
7849
7850 * rindex.c: Declare return type of externally used function
7851 strrchr().
7852
7853Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
7854
7855 * Makefile.in: Remove "***" in normal output, since Make produces
7856 this on errors, and it's convenient to search for.
7857
7858Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
7859
7860 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
7861 New ANSI functions. The old non-ANSI functions (such as bcopy)
7862 should be avoided.
7863 * bcopy.c: Fix to correctly handle overlapping regions.
7864 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
7865 * functions.def: Add the new functions.
7866 * functions.def: Add 4th parameter to DEF macro,
7867 an ansidecl.h-style prototype.
7868 * dummy.c: Use expanded DEF macro to create a dummy function
7869 call, with correct parameter types. (This avoids some
7870 complaints from gcc about predefined builtins.)
7871
7872 Move the functionality of config/mh-default into Makefile.in.
7873 This avoid duplication, and simplifies things slightly.
7874 * Makefile.in: Tweak so we don't need config/mh-default.
7875 * README: Update.
7876 * configure.in: No longer need config/mh-default.
7877 * config/mh-default: Deleted.
7878 * config/mh-sysv: Remove lines copied from old mh-default.
7879
7880Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
7881
7882 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
7883 'mknod' device numbers.
7884
7885Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
7886
7887 * fdmatch.c, Makefile.in: Add new function that takes two
7888 open file descriptors and returns nonzero if they refer to
7889 the same file, zero otherwise. (used in gdb)
7890
7891Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
7892 From DJ:
7893 * msdos.c: stub functions for dos.
7894 * makefile.dos, configdj.bat: new.
7895 * getopt.c: Don't include alloca-conf.h in a GO32 world.
38beb75c 7896
6599da04
JM
7897
7898Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7899
7900 * Makefile.in: infodir belongs in datadir.
7901
7902Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7903
7904 * Makefile.in: remove spaces following hyphens because bsd make
7905 can't cope. added standards.text support. install using
7906 INSTALL_DATA.
7907
7908 * configure.in: remove commontargets as it is no longer a
7909 recognized hook.
7910
7911Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7912
7913 * Makefile.in: idestdir and ddestdir go away. Added copyrights
7914 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
7915 and mandir now keyed off datadir by default.
7916
7917Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
7918
7919 * Makefile.in: find-needed.awk does not fit in 14 chars.
7920
7921 * Makefile.in: Suppress error checking when compiling the test
7922 program, because Ultrix make/sh aborts there due to a bug.
7923
7924Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
7925
7926 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
7927 * README: Explained how the auto-configuration works,
7928 and how to add new files and/or configurations.
7929
7930Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
7931
7932 * strtoul.c: Avoid defining ULONG_MAX if already defined;
7933 cast a const char * to char * for pedants.
7934
7935 * getopt.c: Only define "const" after local include files get to,
7936 and only if they haven't defined it.
7937
7938Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
7939
7940 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
7941 emulate it with getwd() if available. This avoids callers having
7942 to find a MAXPATHLEN or PATH_MAX value from somewhere.
7943 * Makefile.in, functions.def: getwd->getcwd.
7944 * configure.in: Use generic case for every system.
7945 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
7946 * config/mh-sysv: Use default handling, just add -DUSG.
7947
7948Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
7949
7950 * Makefile.in, config/mh-default: Re-do make magic
7951 so that for the default ("automatic") mode we only
7952 compile the files we actually need. Do this using
7953 a recursive make: The top-level generates the list
7954 of needed files (loosely, the ones missing in libc),
7955 and then passes that list to the recursive make.
7956 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
7957
7958Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
7959
7960 RS/6000 host support (grumble).
7961
7962 * configure.in: Build alloca-conf.h file from alloca-norm.h
7963 (everything else) or alloca-botch.h (rs/6000).
7964 * Makefile.in: Include . on the include path.
7965 * getopt.c: Use alloca-conf.h.
7966 * alloca-norm.h: How to declare alloca on reasonable machines.
7967 * alloca-botch.h: How to declare alloca on braindead machines.
7968
7969Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
7970
7971 * concat.c : New file, like concat() in gdb but can take a
7972 variable number of arguments rather than fixed at 3 args. For
7973 now, client applications must supply an xmalloc(), which is a
7974 front end function to malloc() that deals with out-of-memory
7975 conditions.
7976
7977 * Makefile.in: Add concat.c and concat.o to appropriate macros.
7978
7979Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
7980
7981 * config/mh-svr4: Add sigsetmask to list of required functions.
7982
7983Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
7984
7985 * vsprintf.c: New file.
7986 * functions.def, Makefile.in: Add vsprintf.
7987
7988Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
7989
7990 * configure.in, config/mh-rs6000: Add rs/6000 host support.
7991 * Makefile.in: Compile with debug info.
7992
7993Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
7994
7995 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
7996 config/mf-default: Added a default configuration mode,
7997 which includes into libiberty.a functions that are "missing" in libc.
7998 * strdup.c, vprintf.c, vfprintf.c: New files.
7999
8000Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
8001
8002 * config/hmake-svr4: New file.
8003
8004 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
8005
8006 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
8007 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
8008 files containing either portable C versions or emulations using
8009 native library calls.
8010
8011 * strerror.c: Add copyright, internal documentation, etc.
8012
8013 * strtol.c: Replace hardwired hex constants with some more
8014 portable macros. Remove illegal (according to gcc) cast.
8015
8016 * strtoul.c: Replace hardwired hex constant with more portable
8017 macro.
8018
8019 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
8020 can override them. Add new source and object file names to CFILES
8021 and OFILES respectively.
8022
8023 * configure.in: Add support for SVR4 makefile fragments.
8024
8025Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
8026
8027 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
8028 over-ridden by config/hmake-*
8029 * configure.in: added m88kcvs to sysv list
8030
8031Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
8032
8033 * Makefile.in: Most hosts need strerror, but one or two don't,
8034 and they override these definitions in the host-dependent makefile
8035 fragment.
8036 * config/hmake-mach: The odd man out on strerror -- it's supplied.
8037 * strerror.c: New file.
8038
8039 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
8040 it and bfd uses it.
8041 * configure.in, Makefile.in, config/hmake-mach: Only configure
8042 strtol & strotoul in on Mach.
8043
8044Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
8045
8046 * obstack.c: Merge with latest FSF version.
8047
8048\f
8049Local Variables:
8050version-control: never
8051End: