]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
Update automake-provided files in the toplevel.
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
626aaf89
DD
12009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2
3 * Makefile.in (AUTOCONF, configure_deps): New variables.
4 ($(srcdir)/configure): New rule, active only in maintainer mode.
5
b0832eea
DD
62009-07-29 Douglas B Rupp <rupp@gnat.com>
7
8 * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
9
9fef968a
DD
102009-07-27 Douglas B Rupp <rupp@gnat.com>
11
12 * pex-unix.c (vfork): Remove VMS specific definition (get from header
13 file instead).
14 (to_ptr32): New function.
15 (pex_unix_exec_child): Use it.
16
bdc0e08d
DD
172009-07-24 Ian Lance Taylor <iant@google.com>
18
19 PR bootstrap/40854
20 * crc32.c (xcrc32): Rename from crc32.
21
6e881691
DD
222009-07-24 Ian Lance Taylor <iant@google.com>
23
24 * crc32.c: New file.
25 * Makefile.in: Rebuild dependencies.
26 (CFILES): Add crc32.c.
27 (REQUIRED_OFILES): Add ./crc32.o.
28 * functions.texi: Rebuild.
29
d5031754
DD
302009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
31
32 * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
33 (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
34 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
35 (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
36 (d_demangle_callback): The variable type is now declared as enum.
37 Replace parser of _GLOBAL_ symbols by a d_make_comp call.
38
483d7cf4
DD
392009-06-21 Jakub Jelinek <jakub@redhat.com>
40
41 * hashtab.c (htab_traverse): Don't call htab_expand for
42 nearly empty hashtabs with sizes 7, 13 or 31.
43
5d7aee10
NC
442009-06-16 Nick Clifton <nickc@redhat.com>
45
46 PR 10197
47 * testsuite/test-demangle.c: Rename getline to get_line to avoid
48 conflicts with system function of the same name.
49
8893fa20
DD
502009-05-30 Eli Zaretskii <eliz@gnu.org>
51
52 * snprintf.c: Doc fix.
53
54 * vsnprintf.c: Doc fix.
55
b69c3c55
KT
562009-05-29 Kai Tietz <kai.tietz@onevision.com>
57
3a9f8410 58 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
b69c3c55 59
0dc69033
DD
602009-05-29 Michael Matz <matz@suse.de>
61
62 * fibheap.c (fibheap_replace_key_data): Make sure we don't early
63 out when forcing the minimum.
64 (fibheap_delete_node): Assert that we managed to force the minimum.
65
56ae5eb9
TG
662009-05-25 Tristan Gingold <gingold@adacore.com>
67
68 * config.h-vms: Rewritten. Define configure macros.
69 Use DEC-C builtin alloca.
70
71 * makefile.vms (OBJS): Update list.
72 (OPT): New variable.
73 (CFLAGS): Update compilation flags.
74 (libiberty.olb): Do not depend on alloca-conf.h anymore.
75
4e55d6c3
DD
762009-05-19 Ian Lance Taylor <iant@google.com>
77 Ben Elliston <bje@au.ibm.com>
78
79 * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
80 (cplus_demangle_fill_dtor): Likewise.
81
ed20019d
JB
822009-05-17 Julian Brown <julian@codesourcery.com>
83
84 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
85 standard handles (stdin, stdout, stderr) in parent.
86
59cdf842
JB
872009-04-29 Julian Brown <julian@codesourcery.com>
88
89 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
90 (pex_win32_exec_child): Ensure each process has only one handle open
3ea74505
DD
91 on pipe endpoints. Close standard input after creating child for
92 symmetry with standard output/standard error.
59cdf842 93
e1ad6b9a
DD
942009-04-25 Eli Zaretskii <eliz@gnu.org>
95
96 * Makefile.in (needed-list): Target removed (not used in GCC
97 3.0 and later). All references deleted.
98 (mostlyclean): Remove references to needed.awk and needed2.awk.
99
68724c3d
DD
1002009-04-14 Eli Zaretskii <eliz@gnu.org>
101
102 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
103 existing and required library functions to with_target_subdir
104 section, so that the native build does detect them at configure
105 time.
106 * configure: Regenerated.
107
587c6b96
KT
1082009-04-13 Ozkan Sezer <sezeroz@gmail.com>
109
110 PR target/39397
111 * pex-common.h (struct pex_obj): Store pid values as pid_t,
112 not as long (members *children and (*wait))
113 * pex-common.c (pex_run_in_environment): Likewise.
114 * pex-win32.c (pex_win32_wait): Return pid_t and properly check
115 returned pid value.
116 * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
117 * pex-msdos.c (pex_msdos_wait): Likewise.
118
3c72fdec
DD
1192009-04-07 Arnaud Patard <apatard@mandriva.com>
120
121 * libiberty/configure.ac: Fix Linux/MIPS matching rule.
122 * libiberty/configure: Regenerate.
123
6e881691 1242009-03-27 Ian Lance Taylor <iant@google.com>
10e1b6bb
DD
125
126 * memmem.c: New file, from gnulib.
127 * configure.ac: Add memmem to list of functions provided if they
128 are not available on the host.
129 * Makefile.in: Rebuild dependencies.
130 (CFILES): Add memmem.c.
131 (CONFIGURED_OFILES): Add memmem.o.
132 * configure, config.in, functions.texi: Rebuild.
133
e2e1864d
DD
1342009-03-23 Jason Merrill <jason@redhat.com>
135
136 * cp-demangle.c (d_expression): Handle pack expansion.
137 (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
138 (d_print_subexpr): Don't wrap function parms in ().
139 (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
140 not finding a pack.
141
c743cf5d
DD
1422009-03-17 Jason Merrill <jason@redhat.com>
143
144 * cp-demangle.c (d_make_function_param): new fn.
145 (cplus_demangle_mangled_name): Work around abi v2 bug.
146 (d_expr_primary): Likewise.
147 (cplus_demangle_operators): Add alignof ops.
148 (d_expression): Handle function parameters and conversions
149 with other than 1 operand.
150 (d_print_comp): Handle function parameters. Fix bug with
151 function used in type of function.
152 * testsuite/demangle-expected: Upate tests.
153
3ca747ab
DD
1542009-02-21 Mark Mitchell <mark@codesourcery.com>
155
156 * make-temp-file.c (<windows.h>): Include on Windows.
157 (choose_tmpdir): On Windows, use GetTempPath.
158
1b5bf944
DK
1592009-01-18 Dave Korn <dave.korn.cygwin@gmail.com>
160
161 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
162 as it no longer shares libiberty object files.
163 * configure: Regenerated.
164
60cf58f5
DD
1652009-01-07 Jason Merrill <jason@redhat.com>
166
167 * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
168
1692009-01-06 Ben Elliston <bje@au.ibm.com>
170
171 * cp-demangle.c (cplus_demangle_type): Return NULL if the
172 character following a 'D' cannot be recognised.
173
4e59450e
DD
1742008-12-18 Jason Merrill <jason@redhat.com>
175
176 PR c++/38561
177 * cp-demangle.c (d_expression, d_print_comp): Revert
178 cast changes.
179
1802008-12-17 Jason Merrill <jason@redhat.com>
181
182 * cp-demangle.c (d_expression): Handle rvalue stubs too.
183 [DEMANGLE_COMPONENT_CAST]: Update mangling.
184 (d_print_comp): Avoid extra ", " with empty template argument packs.
185 Remove handling for obsolete T() mangling.
186
d2825c1a
DD
1872008-12-10 Jason Merrill <jason@redhat.com>
188
189 * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
190 (d_print_comp, d_dump): Likewise.
191
bb52de30
DJ
1922008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
193
194 * Makefile.in (CPPFLAGS): Define.
195 (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
196
eff85da5
DD
1972008-10-15 Paolo Bonzini <bonzini@gnu.org>
198
199 PR bootstrap/37137
200 * Makefile.in (LIBCFLAGS): Remove.
201 (FLAGS_TO_PASS): Don't mention it.
202 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
203
de8a05ff
DE
2042008-10-08 David Edelsohn <edelsohn@gnu.org>
205
06d61999
DD
206 * xstrdup.c: Include <sys/types.h> after "config.h"
207
899de170
L
2082008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
209
210 * configure.ac: Call AC_SYS_LARGEFILE.
211 * config.in: Regenerated.
212 * configure: Likewise.
213
1c08f2c8
DD
2142008-10-06 Jason Merrill <jason@redhat.com>
215
216 * cp-demangle.c (struct d_print_info): Add pack_index.
217 (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
218 (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and
219 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
220 (cplus_demangle_builtin_types): Add char16/32_t.
221 (cplus_demangle_type): Recognize them.
222 (d_template_args): Handle empty argument packs.
223 (d_template_arg): Handle argument packs.
224 (d_expression): Handle dependent name.
225 (d_index_template_argument): New fn.
226 (d_lookup_template_argument): New fn.
227 (d_find_pack, d_pack_length): New fn.
228 (d_print_subexpr): Split out...
229 (d_print_comp): ...from here. Use d_*_template_argument.
230 Handle empty arg lists. Support pack expansions.
231 * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
d053aef8 232
ba8cb4ba
DD
2332008-09-09 Jason Merrill <jason@redhat.com>
234
235 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
236 (d_make_comp): Likewise.
237 (cplus_demangle_type): Handle decltype and DFP types.
238 (cplus_demangle_operators): Call operator takes 2 args.
239 (cplus_demangle_builtin_types): Add DFP types.
240 (d_exprlist): New fn.
241 (d_expression): Handle parm placeholders, T() and calls.
242 (d_print_comp): Handle decltype, T() and calls.
243 * testsuite/demangle-expected: Test the above.
244
bd8aab1c
DD
2452008-08-07 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
246
247 * pex-win32.c (argv_to_argc): New function.
248 (spawn_script): Duplicate argv before calling win32_spawn.
249
8975bb30
DD
2502008-07-31 Jakub Jelinek <jakub@redhat.com>
251
252 * mkstemps.c (mkstemps): Keep looping even for EISDIR.
253
f562800d
DD
2542008-07-31 Denys Vlasenko <dvlasenk@redhat.com>
255
256 * mkstemps.c (mkstemps): If open failed with errno other than
257 EEXIST, return immediately.
258 * make-temp-file.c: Include errno.h.
259 (make_temp_file): If mkstemps failed, print an error message
260 before aborting.
261
b7d9aef1
DD
2622008-07-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
263
264 * maint-tool (deps): Output config.h instead of stamp-h.
265 * Makefile.in: Rebuild deps.
266 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
267 Reverts 2007-07-11 change.
268
2c197581
EB
2692008-06-19 Eric Blake <ebb9@byu.net>
270
271 Adjust strsignal to POSIX 200x prototype.
272 * strsignal.c (strsignal): Remove const.
273
c8536f38
DD
2742008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
275
276 * configure: Regenerate.
277
83ef53a9
DD
2782008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
279
280 * libiberty.texi: Expand TABs, drop indentation outside examples.
281 * obstacks.texi: Likewise.
282
017c1138
DD
2832008-04-21 Aurelien Jarno <aurelien@aurel32.net>
284
285 * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
286 * libiberty/configure: Regenerate.
287
5ae54241
DD
2882008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
289
290 * testsuite/demangle-expected: Added tests for char16_t and char32_t.
291
2922008-04-18 Paolo Bonzini <bonzini@gnu.org>
293
294 PR bootstrap/35457
295 * aclocal.m4: Add override.m4.
296 * configure: Regenerate.
297
dddc49b7
DD
2982008-03-31 Ian Lance Taylor <iant@google.com>
299
300 * cp-demangle.c (d_substitution): Correct overflow check to avoid
301 -fstrict-overflow optimizations.
302
c779bab8
PB
3032008-03-27 Paolo Bonzini <bonzini@gnu.org>
304
305 * configure.ac (frags): Don't set, use frag instead.
306 (PICFLAG): Set here and substitute.
307 * Makefile.in (PICFLAG): Substitute from autoconf.
308 * configure: Regenerate.
309
b68965a0
DD
3102008-03-24 Ian Lance Taylor <iant@google.com>
311
312 * sha1.c: New file, from gnulib.
313 * Makefile.in: Rebuild dependencies.
314 (CFILES): Add sha1.c.
315 (REQUIRED_OFILES): Add sha1.o.
316
daddbc6e
DD
3172008-03-24 Doug Evans <dje@google.com>
318
319 * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
320 return from strdup.
321
6b357a9d
DD
3222008-03-12 Seongbae Park <seongbae.park@gmail.com>
323
324 * cplus-dem.c (malloc, realloc): Use void * instead of char *
325 as return type.
326
3f69c6bf
DD
3272008-03-11 Nick Clifton <nickc@redhat.com>
328
329 * md5.c (md5_process_bytes): Do not assume that memcpy will
330 provide a return value.
331
610f4894
BE
3322008-02-19 Ben Elliston <bje@au.ibm.com>
333
334 PR other/12618
335 * testsuite/Makefile.in (mostlyclean): Remove any core file.
336
830ef634
DD
3372008-01-26 David Daney <ddaney@avtrex.com>
338
339 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
340 DEMANGLE_COMPONENT_COMPOUND_NAME, and
341 DEMANGLE_COMPONENT_CHARACTER cases.
342 (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
343 DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
344 (d_make_character): New function.
345 (d_java_resource): Same.
346 (d_special_name): Handle "Gr" case.
347 (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
348 DEMANGLE_COMPONENT_COMPOUND_NAME, and
349 DEMANGLE_COMPONENT_CHARACTER cases.
350 * testsuite/demangle-expected: Add test for java resource name
351 mangling.
352
b4b41ceb
BE
3532008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
354
355 * cplus-dem.c (demangle_function_name): Changed to return value
356 indicating if a name was correctly demangled.
357 (iterate_demangle_function): Use demangle_function_name return
358 value.
359
145f4ab5
DD
3602008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
361
362 PR other/33768
363 * splay-tree.c (rotate_left): Fix minor typo in comment.
364 (rotate_right): Likewise.
365
38e654e2
DD
3662007-11-12 Joseph Myers <joseph@codesourcery.com>
367
368 * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
369 compiler warnings.
370 (floatformat_ibm_long_double): Use
371 floatformat_ibm_long_double_is_valid.
372
b14d30e1
JM
3732007-11-07 Joseph Myers <joseph@codesourcery.com>
374 Daniel Jacobowitz <dan@codesourcery.com>
375
376 * floatformat.c (mant_bits_set): New.
377 (floatformat_to_double): Use it. Note no special handling of
378 split formats.
379 (floatformat_from_double): Note no special handing of split
380 formats.
381 (floatformat_ibm_long_double_is_valid,
382 floatformat_ibm_long_double): New.
383 (floatformat_ieee_single_big, floatformat_ieee_single_little,
384 floatformat_ieee_double_big, floatformat_ieee_double_little,
385 floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
386 floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
387 floatformat_m68881_ext, floatformat_i960_ext,
388 floatformat_m88110_ext, floatformat_m88110_harris_ext,
389 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
390 floatformat_ia64_spill_big, floatformat_ia64_spill_little,
391 floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
392 for addition of split_half field.
393
3a0ab695
DD
3942007-09-06 Tom Tromey <tromey@redhat.com>
395
396 * pexecute.txh (pex_free): Document process killing.
397
8969a67f 3982007-08-31 Douglas Gregor <doug.gregor@gmail.com>
2c197581 399
8969a67f 400 * cp-demangle.c (d_dump): Handle
2c197581 401 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
8969a67f
DD
402 (d_make_comp): Ditto.
403 (cplus_demangle_type): Ditto.
404 (d_print_comp): Ditto.
405 (d_print_mod): Ditto.
406 (d_print_function_type): Ditto.
407
29d89e07
DD
4082007-08-24 Kai Tietz <kai.tietz@onevision.com>
409
410 * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
411 * pex-djgpp.c: Likewise.
412 * pex-msdos.c: Likewise.
413 * pex-unix.c: Likewise.
414 * pex-win32.c: Likewise.
415
cefec409
DD
4162007-08-17 Michael Snyder <msnyder@access-company.com>
417
418 * make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
419
9250f7f0
DD
4202007-08-03 Michael Snyder <msnyder@access-company.com>
421
422 * make-relative-prefix.c (make_relative_prefix_1): Fix resource
423 leak.
424
168b8298
MS
4252007-07-31 Michael Snyder <msnyder@access-company.com>
426
427 * cp-demangle.c (d_print_comp): Guard against null.
428
642c7534
BE
4292007-07-25 Ben Elliston <bje@au.ibm.com>
430
431 * Makefile.in (CFILES): Remove ternary.c.
432 (REQUIRED_OFILES): Remove ./ternary.o.
433 (INSTALLED_HEADERS): Remove ternary.h.
434 (ternary.o): Remove.
435 * ternary.c: Remove.
436
acf3a813
DD
4372007-07-23 DJ Delorie <dj@redhat.com>
438
439 * argv.c (writeargv): Fix typo in inline documentation.
440 * functions.texi: Regenerate.
441
008d60eb
DD
4422007-07-17 DJ Delorie <dj@redhat.com>
443
444 * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
445 gettimeofday entry.
446 * configure: Likewise.
447
a590e8e7
AO
4482007-07-11 Alexandre Oliva <aoliva@redhat.com>
449
450 * maint-tool (deps): Output stamp-h instead of config.h.
451 * Makefile.in: Rebuild deps.
452 (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
453
db42c6e8
DD
4542007-07-02 Simon Baldwin <simonb@google.com>
455
456 * argv.c (writeargv): Removed declaration of unused variable.
457
1f616ca1
PB
4582007-06-14 Paolo Bonzini <bonzini@gnu.org>
459
460 * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
461 * configure: Regenerate.
462
a104c397
PB
4632007-06-14 Paolo Bonzini <bonzini@gnu.org>
464
465 * aclocal.m4: Include config/warnings.m4.
466 * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
467 * configure: Regenerate.
468
958afec3
GK
4692007-06-07 Geoffrey Keating <geoffk@apple.com>
470
471 * configure.ac: Non-default multilibs can be cross compilations.
472 * configure: Regenerate
473
0c18fee5
DD
4742007-05-07 Nathan Froyd <froydnj@codesourcery.com>
475
476 * argv.c (writeargv): New function.
477
8bf955e1
GK
4782007-05-05 Geoffrey Keating <geoffk@apple.com>
479
480 * cp-demangle.c (d_name): Detect local-source-name.
481 (d_prefix): Likewise.
482 (d_unqualified_name): Implement local-source-name.
483
73bdefcf
JB
4842007-05-03 Joel Brobecker <brobecker@adacore.com>
485
486 * filename_cmp.c: Replace include of ctype.h by include of
487 safe-ctype.h.
488 (filename_cmp): Use TOLOWER instead of tolower for conversions
489 that are locale-independent.
490 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
491
8535fe17
DD
4922007-04-11 Thomas Neumann tneumann@users.sourceforge.net
493
494 * argv.c: Use ANSI C declarations.
495 * make-relative-prefix.c: Likewise.
496
34d8f01b
JB
4972007-04-06 Joel Brobecker <brobecker@adacore.com>
498
499 * filename_cmp.c (filename_cmp): Improve documentation.
500
2657faa6
AS
5012007-04-02 Andreas Schwab <schwab@suse.de>
502
503 * filename_cmp.c: Include "config.h".
504
9c577e89
DD
5052007-03-29 Joel Brobecker <brobecker@adacore.com>
506
507 * filename_cmp.c: New file.
508 * Makefile.in (CFILES): Add filename_cmp.c.
509 (REQUIRED_OFILES): Add filename_cmp.o
510 (filename_cmp.o): New rule.
511 * functions.texi: Regenerate.
512
8d301070
GK
5132007-03-15 Geoffrey Keating <geoffk@apple.com>
514
515 * cp-demangle.c (d_encoding): Exit early on error.
516 (d_pointer_to_member_type): Exit early if cplus_demangle_type
517 returns NULL.
518 (cplus_demangle_type): Likewise.
519 * testsuite/demangle-expected: New testcase.
520
d7831e7c
DD
5212007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
522
523 * Makefile.in: Add install-pdf target as copied from
524 automake v1.10 rules.
525 * testsuite/Makefile.in: Add dummy install-pdf target.
526
563d09a5 5272007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de>
2c197581 528 Eric Botcazou <ebotcazou@libertysurf.fr>
563d09a5
EB
529
530 PR other/16513
531 * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
532 Install headers in multilib independent location.
533
1f92e180
DD
5342007-02-26 DJ Delorie <dj@redhat.com>
535
536 * configure.ac: add djgpp-specific results, so we don't have to
537 link during a cross compilation.
538 * configure: Regenerated.
2c197581 539
6dd7f013
DD
5402007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
541
542 * hex.c: Fix typo.
543 * choose-temp.c: Likewise.
544 * functions.texi: Regenerate.
545
53d7966f
VP
5462007-01-31 Vladimir Prus <vladimir@codesourcery.com>
547
548 * pex-common.h (struct pex_obj): New fields
2c197581 549 stderr_pipe and read_err.
53d7966f
VP
550 * pex-common.c (pex_init_common): Initialize
551 stderr_pipe.
552 (pex_run_in_environment): Add error checking
553 for PEX_STDERR_TO_PIPE. Create a pipe
554 for stderr if necessary.
555 (pex_read_err): New.
556 (pex_free): Close read_err.
557 * pexecute.txh: Document changes.
558 * functions.texi: Regenerated.
559
71f2e6f4
BE
5602007-01-31 Ben Elliston <bje@au.ibm.com>
561
562 * strsignal.c (psignal): Change type of signo to int.
563 * functions.texi: Regenerate.
564
208c1674
DD
5652007-01-29 Simon Baldwin <simonb@google.com>
566
567 * cp-demangle.h (cplus_demangle_operators): External definition
568 suppressed if not building for libstdc++.
569 * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
570 to demangling, provides a malloc-less version of __cxa_demangle.
571 (cplus_demangle_print_callback): Public callback version of
572 cplus_demangle_print.
573 (struct d_growable_string): New growable string structure.
574 (d_growable_string_init): New function, provides support for
575 growable strings separate from print info.
576 (d_growable_string_resize): Likewise.
577 (d_growable_string_append_buffer): Likewise.
578 (d_growable_string_callback_adapter):): Likewise.
579 (d_print_init): New print info initialization function.
580 (d_print_error): Macro replace by inline function.
581 (d_print_saw_error): Likewise.
582 (d_append_char): Likewise.
583 (d_append_buffer): Likewise.
584 (d_append_string): New inline function, replaces the
585 d_append_string_constant macro.
586 (d_flush_buffer): New function, flushes buffer to callback.
587 (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
588 for unsupported dynamic arrays replaced by alloca().
589 (d_demangle): Return string length estimating removed.
590 (d_dump): Moved error case handling from call site into function.
591 (d_print_resize): Function removed.
592 (d_print_append_char): Likewise.
593 (d_print_append_buffer): Likewise.
594 (d_print_error): Likewise.
595 (d_print_comp): Added special case handling for Java arrays.
596 (java_demangle_v3): Removed string post-processing for Java arrays,
597 now replaced by special case handling in d_print_comp.
598 (cplus_demangle_v3_callback): Augmented interface to demangling,
599 provides a malloc-less version of cplus_demangle_v3.
600 (java_demangle_v3_callback): Augmented interface to demangling,
601 provides a malloc-less version of java_demangle_v3.
602
cc0732ba
BE
6032007-01-12 Ben Elliston <bje@au.ibm.com>
604
0bbe7a79
BE
605 * pex-unix.c (writeerr): Cast write result to void.
606
cc0732ba
BE
607 * choose-temp.c (choose_temp_base): Check the result of the call
608 to mktemp rather than testing the length of the modified string.
2da20a1b 609
6ef6358e
GK
6102006-12-20 Geoffrey Keating <geoffk@apple.com>
611
612 * cp-demangle.h: Add comment explaining what to do to avoid
613 overrunning string.
614 (d_check_char): New.
615 (d_next_char): Don't advance past trailing '\0'.
616 * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
617 (d_nested_name): Likewise.
618 (d_special_name): Likewise.
619 (d_call_offset): Likewise.
620 (d_function_type): Likewise.
621 (d_array_type): Likewise.
622 (d_pointer_to_member_type): Likewise.
623 (d_template_param): Likewise.
624 (d_template_args): Likewise.
625 (d_template_arg): Likewise.
626 (d_expr_primary): Likewise.
627 (d_local_name): Likewise.
628 (d_substitution): Likewise.
629 (d_ctor_dtor_name): Use d_advance rather than d_next_char.
630 * testsuite/test-demangle.c: Include sys/mman.h.
631 (MAP_ANONYMOUS): Define.
632 (protect_end): New.
633 (main): Use protect_end.
634 * testsuite/demangle-expected: Add testcases for overrunning
635 the end of the string.
636
d8f813d4 6372006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
2c197581 638 J"orn Rennecke <joern.rennecke@st.com>
d8f813d4
JR
639
640 PR driver/29931
641 * make-relative-prefix.c (make_relative_prefix_1): New function,
642 broken out of make_relative_prefix. Make link resolution dependent
643 on new parameter.
644 (make_relative_prefix): Use make_relative_prefix_1.
645 (make_relative_prefix_ignore_links): New function.
646
fb347196
VP
6472006-11-08 Vladimir Prus <vladimir@codesourcery.com>
648
649 * pex-win32.c (no_suffixes): Remove.
650 (std_suffixes): Add "" as first element.
651 (find_executable): Remove detection of already-present
652 extension. Try all suffixes in std_suffixes.
2c197581 653
9e59254c
JB
6542006-11-07 Julian Brown <julian@codesourcery.com>
655
656 * floatformat.c (get_field): Fix segfault with little-endian word
657 order on 64-bit hosts.
658 (put_field): Likewise.
659 (min): Move definition.
660
3ac01eb2
DD
6612006-10-26 Danny Smith <dannysmith@users.sourceforge.net>
662
663 pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
664 (find_executable): Likewise.
665 (win32_spawn): Cast alloca return to (char**).
666 Replace malloc with XNEWVEC.
667 bcopy.c (bcopy): Add explict casts in assignments.
668
78de3ccc
DD
6692006-10-25 Ben Elliston <bje@au.ibm.com>
670
671 * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
2c197581 672
bff368bd
DD
6732006-10-10 Brooks Moses <bmoses@stanford.edu>
674
675 * Makefile.in: Added "pdf", "libiberty.pdf" target support.
676 * testsuite/Makefile.in: Added empty "pdf" target.
677
e63f184e
DD
6782006-09-22 Ian Lance Taylor <ian@airs.com>
679
680 PR other/29176
681 * cp-demangle.c (d_substitution): Check for overflow when
682 computing substitution index.
683
069e4b19
CV
6842006-08-30 Corinna Vinschen <corinna@vinschen.de>
685
686 * configure.ac: Add case for Mingw as host.
687 * configure: Regenerate.
688
cb6c09ac
DD
6892006-08-27 Ian Lance Taylor <ian@airs.com>
690
691 PR driver/27622
692 * pex-common.h (struct pex_funcs): Add toclose parameter to
693 exec_child field.
694 * pex-common.c (pex_run_in_environment): Pass toclose to
695 exec_child.
696 * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
697 * pex-unix.c (pex_unix_exec_child): Likewise.
698 * pex-msdos.c (pex_msdos_exec_child): Likewise.
699 * pex-win32.c (pex_win32_exec_child): Likewise.
700
701 PR other/28797
702 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
703 for a qualified member which is not a function.
704 * testsuite/demangle-expected: Add test case.
705
a7d421b8
DD
7062006-07-27 Jan Hubicka <jh@suse.cz>
707
708 PR rtl-optimization/28071
709 * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
710 downsize the hashtable.
711
6816f995
AO
7122006-07-04 Peter O'Gorman <peter@pogma.com>
713
714 * Makefile.in: chmod 644 before ranlib during install.
715
7741be99
DD
7162006-06-02 Mark Shinwell <shinwell@codesourcery.com>
717
718 * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
719 to environ.
720
014a8caf
DD
7212006-06-01 Mark Shinwell <shinwell@codesourcery.com>
722
723 * pex-common.c: New function pex_run_in_environment.
724 * pex-common.h: Add environment parameter to exec_child.
725 * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
726 * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
727 (pex_djgpp_exec_child): Pass environment to child process.
728 * pex-unix.c: Add environment parameter to pex_unix_exec_child.
729 (pex_unix_exec_child): Pass environment to child process.
730 * pex-win32.c: Add environment parameter to pex_win32_exec_child.
731 New function env_compare for comparing VAR=VALUE pairs.
732 (win32_spawn): Assemble environment block and pass to CreateProcess.
733 (spawn_script): Pass environment through to win32_spawn.
734 (pex_win32_exec_child): Pass environment through to spawn_script and
735 win32_spawn.
736 * functions.texi: Regenerate.
737 * pexecute.txh: Document pex_run_in_environment.
738
069c63e2
DD
7392006-05-28 Mark Shinwell <shinwell@codesourcery.com>
740
741 * mkstemps.c: Open temporary files in binary mode.
742
f6b66e90
DD
7432006-05-12 Anton Blanchard <anton@samba.org>
744
745 * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
746 hold "int%u_t".
747
c77d28ac
JB
7482006-04-24 Julian Brown <julian@codesourcery.com>
749
750 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
751
3db2e6dd
DD
7522006-03-29 Jim Blandy <jimb@codesourcery.com>
753
b5d60b68 754 * pex-common.c (pex_input_file, pex_input_pipe): New functions.
3db2e6dd
DD
755 (pex_init_common): Initialize obj->input_file.
756 (pex_run): Close any file opened by pex_input_file.
b5d60b68
DD
757 * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
758 * pex-common.h (struct pex_obj): New field input_file.
3db2e6dd 759 (struct pex_funcs): New function ptr fdopenw.
b5d60b68
DD
760 * pex-unix.c (pex_unix_fdopenw): New function.
761 (funcs): List it as our fdopenw function.
762 * pex-win32.c (pex_win32_fdopenw): New function.
763 (funcs): List it as our fdopenw function.
764 * pex-djgpp.c (funcs): Leave fdopenw null.
765 * pex-msdos (funcs): Same.
766 * functions.texi: Regenerated.
3db2e6dd
DD
767
7682006-04-10 Jim Blandy <jimb@codesourcery.com>
769
770 * pex-common.c (temp_file): New function, containing guts of
771 pex-style temporary file name generation.
772 (pex_run): Use it.
773
545c9aee
DD
7742006-04-06 Carlos O'Donell <carlos@codesourcery.com>
775
776 * Makefile.in: Add install-html, install-html-am, and
2c197581
EB
777 install-html-recursive targets. Define mkdir_p and
778 NORMAL_INSTALL.
545c9aee
DD
779 * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
780 * configure: Regenerate.
781 * testsuite/Makefile.in: Add install-html and html targets.
782
8e1e9959
DD
7832006-03-31 Mark Mitchell <mark@codesourcery.com>
784
785 * pex-win32.c (<errno.h>): Include.
786 (fix_argv): Remove.
787 (argv_to_cmdline): New function.
788 (std_suffixes): New variable.
789 (no_suffixes): Likewise.
790 (find_executable): New function.
791 (win32_spawn): Likewise.
792 (spawn_script): Use win32_spawn instead of _spawnv[p].
793 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
794 (pex_win32_wait): Likewise.
795
57b126a3
DD
7962006-03-24 Jim Blandy <jimb@codesourcery.com>
797
798 * pex-common.c (pex_run): Simplify output name handling.
799
9223c945
DD
8002006-03-12 Jim Blandy <jimb@red-bean.com>
801
802 * pex-common.h (struct pex_obj): Doc fixes.
803
8042006-03-11 Jim Blandy <jimb@red-bean.com>
805
806 * functions.texi: Regenerate.
807
96f4851a
DD
8082006-02-21 Ben Elliston <bje@au.ibm.com>
809
810 * pexecute.c (pwait): Syntax fix for previous change.
811
1c7a49d2
DD
8122006-02-17 Uttam Pawar <uttamp@us.ibm.com>
813
814 * pexecute.c (pwait): Free vector pointer.
815 * partition.c (partition_print): Free class_elements pointer.
816
e27d251e
DD
8172006-02-11 Roger Sayle <roger@eyesopen.com>
818 R. Scott Bailey <scott.bailey@eds.com>
819 Bill Northcott <w.northcott@unsw.edu.au>
820
821 PR bootstrap/16787
822 * floatformat.c: Include <float.h> where available.
823 (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
824
fd7d450d
DD
8252006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
826
827 * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
2c197581 828 supported.
fd7d450d
DD
829 * configure: Regenerated.
830
67d78caa
DD
8312006-01-20 Carlos O'Donell <carlos@codesourcery.com>
832
833 * testsuite/Makefile.in: Add test-expandargv test.
834 * testsuite/test-expandargv.c: New test.
835 * argv.c (expandargv): Check for errors with ferror,
836 rather than just by looking at return value from fread.
837
648c3dc0
DD
8382005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
839
840 * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
841 to convert from "from".
842 (floatformat_to_double): Likewise.
843 (floatformat_from_double): Use explicit cast to convert from "to".
844
7887b2ce
DD
8452005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
846
847 PR java/9861
848 * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
849 and include return type when found.
850 (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
851 conditional logic to change printing order of return type.when
852 the DMGL_RET_POSTFIX option is present.
853 (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
854 call.
855 * testsuite/test-demangle.c (main): Recognize option --ret-postfix
856 * testsuite/demangle-expected: Test cases to verify extended encoding.
857 Updated comment to document --ret-postfix option.
2c197581 858
718c0ded
DD
8592005-11-06 Richard Guenther <rguenther@suse.de>
860
861 * splay-tree.c (rotate_left): New function.
862 (rotate_right): Likewise.
863 (splay_tree_splay_helper): Remove.
864 (splay_tree_splay): Re-implement.
865
fb10537e
DD
8662005-10-31 Mark Kettenis <kettenis@gnu.org>
867
868 * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
869 New variables.
870
5209596c
MM
8712005-10-07 Mark Mitchell <mark@codesourcery.com>
872
873 * at-file.texi: Fix typo.
874
7b96829c
MM
8752005-10-03 Mark Mitchell <mark@codesourcery.com>
876
877 * at-file.texi: New file.
878
48e79b0a
MM
8792005-09-27 Mark Mitchell <mark@codesourcery.com>
880
881 * argv.c (expandargv): Do not use xmalloc_failed.
882
7b17bc29
MM
8832005-09-26 Mark Mitchell <mark@codesourcery.com>
884
885 * argv.c (safe-ctype.h): Include it.
886 (ISBLANK): Remove.
887 (stdio.h): Include.
888 (buildargv): Use ISSPACE instead of ISBLANK.
889 (expandargv): New function.
890 * Makefile.in: Regenerated.
891
f59e96e0
DD
8922005-09-14 Christopher Faylor <cgf@timesys.com>
893
894 * pex-win32.c: Include "windows.h".
895 (backslashify): New function.
896 (fix_argv): Use backslashify to convert path to windows format.
897 Allocate one more place in new argv for potential executable from '#!'
898 parsing.
899 (tack_on_executable): New function. Conditional on USE_MINGW_MSYS
900 (openkey): Ditto.
901 (mingw_rootify): Ditto.
902 (msys_rootify): Ditto.
903 (spawn_script): New function.
904 (pex_win32_exec_child): Save translated argv in newargv. Pass to
905 spawn_script if spawnv* fails.
906 (main): New function. Conditional on MAIN. Useful for testing.
907
3b6940c0
DD
9082005-08-17 Mark Kettenis <kettenis@gnu.org>
909
910 * floatformat.c (floatformat_always_valid): Change type of last
911 argument to `void *'.
912 (floatformat_i387_ext_is_valid): Likewise.
913 (floatformat_to_double): Change type of second argument to `const
914 void *'.
915 (floatformat_from_double): Change type of last argument to `void
916 *'.
917 (floatformat_is_valid): Change type of last argument to `const
918 void *'.
919 (ieee_test): Remove redundant casts.
920
a9479c3f
KC
9212005-08-17 Kelley Cook <kcook@gcc.gnu.org>
922
923 * strverscmp.c: Update FSF address.
924 * testsuite/Makefile.in: Likewise.
925 * testsuite/test-demangle.c: Likewise.
926 * testsuite/test-pexecute.c: Likewise.
927
55060c0b
DD
9282005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
929
930 * getopt.c: Include ansidecl.h before system headers.
931
6038baea
DD
9322005-07-22 Ben Elliston <bje@gnu.org>
933
934 * getopt.c: Include "ansidecl.h".
935 (_getopt_initialize): Mark argc and argv parameters as unused.
936
9372005-07-22 Ben Elliston <bje@gnu.org>
938
939 * regex.c (regcomp): Change type of `i' from unsigned to int.
940
c750388a
DD
9412005-07-22 Ben Elliston <bje@gnu.org>
942
943 Recover patch lost in the sourceware repository:
944 2005-07-09 Ben Elliston <bje@au.ibm.com>
945 * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
946 * memmove.c: Likewise.
947 * objalloc.c: Likewise.
948
a4e5c0d8
DD
9492005-07-22 Ben Elliston <bje@gnu.org>
950
951 * configure.ac: Check for a getopt(3) declaration.
952 * configure, config.in: Regenerate.
953
4fe19082
DD
9542005-07-15 Ben Elliston <bje@au.ibm.com>
955
956 * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
957
f2942ea4
DD
9582005-07-12 Ben Elliston <bje@au.ibm.com>
959
960 * floatformat.c (floatformat_to_double): Add a comment about a
961 potential source of warnings when compiling this file.
962
9632005-07-12 Ben Elliston <bje@au.ibm.com>
964
965 * pexecute.c (pexecute): Cast string litrals to char *.
966 * regex.c (re_comp): Cast a call to gettext() to char *.
967
4cf896a5
KC
9682005-07-07 Kelley Cook <kcook@gcc.gnu.org>
969
970 * config.table: Delete file. Move former contents into ...
971 * configure.ac: ... here and escape any brackets for m4.
972 * Makefile.in (config.status): Remove dependency on config.table.
973 * configure: Regenerate.
974
20ae7c34
KC
9752005-07-07 Kelley Cook <kcook@gcc.gnu.org>
976
977 * config.in: Regenerate for 6/20 change.
978
6ba85b8c
DD
9792005-07-03 Steve Ellcey <sje@cup.hp.com>
980
981 PR other/13906
982 * md5.c (md5_process_bytes): Check alignment.
983
9842005-07-01 Ian Lance Taylor <ian@airs.com>
985
986 PR other/22268
987 * cp-demangle.c (d_expr_primary): Don't run off the end of the
988 string while looking for the end of a literal value.
989 * testsuite/demangle-expected: Add test case.
990
c3cca4c9
DD
9912005-06-30 Daniel Berlin <dberlin@dberlin.org>
992
993 * hashtab.c (EMPTY_ENTRY): Moved and renamed.
2c197581 994 (DELETED_ENTRY): Ditto.
c3cca4c9 995
67f3cb05
GK
9962005-06-20 Geoffrey Keating <geoffk@apple.com>
997
998 * strverscmp.c: New.
999 * Makefile.in (CFILES): Add strverscmp.c.
1000 (CONFIGURED_OFILES): Add strverscmp.o.
1001 (strverscmp.o): New rule.
1002 (stamp-functions): Add $(srcdir) to files in source directory.
1003 * configure.ac (funcs): Add strverscmp.
1004 (AC_CHECK_FUNCS): Add strverscmp.
1005 * configure: Regenerate.
1006 * functions.texi: Regenerate.
1007
01e94249
DD
10082005-05-28 Eli Zaretskii <eliz@gnu.org>
1009
1010 * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
1011 * config.in, configure: Regenerate.
1012
839e4798
RH
10132005-05-25 Richard Henderson <rth@redhat.com>
1014
1015 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
1016 (d_make_comp, d_print_comp): Likewise.
1017 (d_special_name): Generate one.
1018 * testsuite/demangle-expected: Add a hidden alias test.
1019
abf6a75b
DD
10202005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
1021
1022 * configure.ac: Check declarations for calloc(), getenv(),
01e94249 1023 malloc(), realloc() and sbrk().
abf6a75b
DD
1024 * config.in: Regenerate.
1025 * configure: Likewise.
1026
1027 * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
1028 instead of xmalloc.
1029 * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
1030 * concat.c (liiberty_concat_ptr): Surround definition with an
1031 extern "C" block, if __cplusplus.
1032 (concat): Use XNEWVEC instead of xmalloc.
1033 (reconcat): Likewise.
1034 * cp-demangle.c (struct d_print_template): Rename member
01e94249 1035 "template" to "template_decl". Adjust use throughout the file.
abf6a75b
DD
1036 (d_print_resize): Properly cast return value of realloc().
1037 (cplus_demangle_print): Same for malloc().
1038 (d_demangle): Likewise.
1039 * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
1040 "typename" to "type_name".
1041 * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
1042 (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
1043 (demangle_template_value_parm): Likewise.
1044 (demangle_template): Likewise.
1045 (recursively_demangle): Likewise.
1046 (do_hpacc_template_literal): Likewise.
1047 (do_arg): Likewise.
1048 (remember_type): Likewise.
1049 (remember_Ktype): Likewise.
1050 (register_Btype): Likewise.
1051 (string_need): Use XRESIZEVEC instead of xrealloc().
1052 * dyn-string.c (dyn_string_init): Use XNEWVEC.
1053 (dyn_string_new): Use XNEW.
1054 (dyn_string_resize): Use XRESIZEVEC.
1055 * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
1056 * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
1057 Otherwise include <stdlib.h>.
1058 (exchange): Cast return value of malloc().
1059 * hashtab.c (htab_size): Define as both macro and non-inline
1060 function.
1061 (htab_elements): Likewise.
1062 * getpwd.c (getpwd): Use XNEWVEC.
1063 (htab_create_alloc_ex): Use C90 prototype-style.
1064 * lrealpath.c (lrealpath): Appropriately cast return value of
01e94249 1065 malloc().
abf6a75b
DD
1066 * make-relative-prefix.c (save_string): Likewise.
1067 * make-temp-file.c (try_dir): Rename from "try". Adjust use in
1068 the file.
1069 (choose_tmpdir): Use XNEWVEC.
1070 * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
1071 * pex-common.c (pex_init_common): Use XNEW.
1072 (pex_add_remove): Use XRESIZEVEC.
1073 (pex_run): Likewise.
1074 (pex_get_status_and_time): Likewise.
1075 * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
1076 * pex-msdos.c (pex_init): Use XNEW.
1077 (pex_msdos_exec_child): Likewise.
1078 (pex_msdos_exec_child): Use XRESIZEVEC.
1079 * pex-unix.c (pex_wait): Use XNEW.
1080 * pex-win32.c (fix_argv): Use XNEWVEC.
1081 * pexecute.c (pwait): Likewise.
1082 * setenv.c (setenv): Properly cast return value of malloc().
1083 * sigsetmask.c (sigsetmask): Rename local variables "old" and
1084 "new" to "old_sig" and "new_sig".
1085 * sort.c (main): Use XNEWVEC.
1086 * spaces.c (spaces): Cast return value of malloc().
1087 * strndup.c (strndup): Likewise.
1088 * ternary.c (ternary_insert): Use XNEW.
1089 * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
1090 with an extern "C" block if __cplusplus.
1091 * xstrdup.c (xstrdup): Cast return value of memcpy().
1092 * xstrerror.c (strerror): Enclose declaration in an extern "C"
1093 block if __cplusplus.
1094 * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
1095
2349f557
DD
10962005-05-16 Andreas Jaeger <aj@suse.de>
1097
1098 * getpwd.c: Remove unneeded prototype getcwd and move getwd so
1099 that it's only declared if needed.
1100
1101 * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
1102 defined.
1103
e9edcedc
DD
11042005-05-15 Andreas Jaeger <aj@suse.de>
1105
1106 * functions.texi: Regenerated.
1107
f13c9bea
DD
11082005-05-15 Eli Zaretskii <eliz@gnu.org>
1109
1110 * pexecute.txh: Enclose multi-word data types in @deftypefn in
1111 braces. Minor wording fixes. Use --- for em-dash. Use
1112 @enumerate in enumerated lists.
1113
e9edcedc
DD
1114 * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
1115 braces.
1116
282d9ec3
ILT
11172005-05-11 Eli Zaretskii <eliz@gnu.org>
1118
1119 * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
1120 sys/stat.h.
1121 (pex_init): Fix last argument to pex_init_common.
1122 (pex_djgpp_exec_child): Remove leading underscore from _open,
1123 _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
1124 which is undeclared, with `executable', which was unused. Remove
1125 unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
1126 (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
1127
75919f94
DD
11282005-05-11 Paul Brook <paul@codesourcery.com>
1129
1130 * Makefile.in: Regenerate dependencies.
1131
979c05d3
NC
11322005-05-10 Nick Clifton <nickc@redhat.com>
1133
1134 * Update the address and phone number of the FSF organization in
1135 the GPL notices in the following files:
75919f94
DD
1136 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
1137 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
1138 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
1139 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
1140 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
1141 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
1142 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
1143 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
1144 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
1145 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
1146 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
1147 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
1148 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
979c05d3 1149
0093138c
DD
11502005-05-06 Kelley Cook <kcook@gcc.gnu.org>
1151
1152 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
1153 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
1154 * configure: Regenerate.
1155
11562005-05-06 Kelley Cook <kcook@gcc.gnu.org>
1157
1158 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
1159 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
1160 * aclocal.m4: Don't include accross.m4.
1161 * configure, config.in: Regenerate.
1162
c631edf1
DD
11632005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1164
1165 * fopen_unlocked.c (unlock_std_streams): New.
f13c9bea 1166
c631edf1
DD
1167 * functions.texi: Regenerate.
1168
7b6f6286
DD
11692005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1170
1171 * fopen_unlocked.c (unlock_stream): New.
1172 Consolidate unlocking code into a helper function.
1173
1174 * functions.texi: Regenerate.
1175
fa99459d
DD
11762005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
1177
1178 * asprintf.c: Include config.h.
1179 * basename.c: Likewise.
1180 * fdmatch.c: Likewise.
1181 * hex.c: Likewise.
1182 * lbasename.c: Likewise.
1183 * spaces.c: Likewise.
1184 * xatexit.c:Likewise.
f13c9bea 1185 * configure.ac: Do check declarations for basename, ffs, asprintf
fa99459d
DD
1186 and vasprintf for real.
1187 * configure: Regenerate.
1188
ab70e2a5
DD
11892005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
1190
f13c9bea 1191 * argv.c (dupargv): Allocate space of argv[argc], not
ab70e2a5
DD
1192 sizeof(char *) of that amount. Cast result to char *.
1193
ea7143ac
DD
11942005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
1195
1196 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
f13c9bea 1197 Replace not with negate.
ea7143ac 1198
41c953f9
DD
11992005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
1200
1201 * configure.ac: Check declarations for basename, ffs, asprintf,
1202 vasprintf.
1203 * configure: Regenerate.
1204 * config.in: Likewise.
1205
ac119ae8
DD
12062005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1207
1208 * Makefile.in (CFILES): Add fopen_unlocked.c.
1209 (REQUIRED_OFILES): Add ./fopen_unlocked.o.
1210 Regenerate dependencies.
1211
1212 * configure.ac: Check for stdio_ext.h and __fsetlocking.
1213
1214 * fopen_unlocked.c: New file.
1215
1216 * functions.texi, configure, config.in: Regenerate.
1217
6e933b47
DD
12182005-04-04 Ian Lance Taylor <ian@airs.com>
1219
1220 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
1221 declaration before statement.
1222
aa55ccb1
DD
12232005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1224
14a88c49
DD
1225 * bcmp.c: Fix warnings and implement using memcmp.
1226 * bcopy.c: Fix warnings.
1227 * bzero.c: Fix warnings and implement using memset.
1228
aa55ccb1
DD
1229 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
1230 -Wstrict-prototypes.
1231 * configure, config.in: Regenerate.
1232
1233 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
1234 warnings and reconcile interfaces with relevant standards.
1235
b31a49d7
ILT
12362005-04-02 Ian Lance Taylor <ian@airs.com>
1237
1238 * cp-demangle.c: Update copyright.
1239
0e867e79
DD
12402005-03-31 Joseph S. Myers <joseph@codesourcery.com>
1241
1242 * gettimeofday.c: Add "Supplemental" to @deftypefn.
1243 * functions.texi: Regenerate.
1244
b109e79a
ILT
12452005-03-28 Ian Lance Taylor <ian@airs.com>
1246
1247 * pex-common.c: New file.
1248 * pex-one.c: New file.
1249 * pexecute.c: New file.
1250 * pex-common.h: Include <stdio.h>.
1251 (struct pex_obj): Define.
1252 (struct pex_funcs): Define.
1253 (pex_init_common): Declare.
1254 * pex-unix.c: Rewrite.
1255 * pex-win32.c: Rewrite.
1256 * pex-djgpp.c: Rewrite.
1257 * pex-msdos.c: Rewrite.
1258 * testsuite/text-pexecute.c: New file.
1259 * pexecute.txh: Rewrite.
1260 * configure.ac: Check for wait3 and wait4. Set CHECK to
1261 really-check rather than check-cplus-dem.
1262 * functions.texi: Rebuild.
1263 * Makefile.in: Rebuild dependencies.
1264 (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
1265 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
1266 * testsuite/Makefile.in (really-check): New target.
1267 (check-pexecute, test-pexecute): New targets.
1268 * configure: Rebuild.
1269
864e8148 12702005-03-28 Mark Kettenis <kettenis@gnu.org>
f13c9bea 1271
864e8148
DD
1272 * unlink-if-ordinary.c: Include <sys/types.h>.
1273
e064c173
DD
12742005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1275
1276 Convert libiberty to use ISO C prototype style 7/n.
1277 * regex.c (PARAMS): Remove definition.
1278 (PREFIX): Unconditionaly define using ISO C ## operator.
f13c9bea 1279 (init_syntax_once, extract_number, extract_number_and_incr,
e064c173 1280 print_fastmap, print_partial_compiled_pattern,
f13c9bea 1281 print_compiled_pattern, print_double_string, printchar,
e064c173
DD
1282 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
1283 regex_compile, store_op1, store_op2, insert_op1, insert_op2,
f13c9bea
DD
1284 at_begline_loc_p, at_endline_p, group_in_compile_stack,
1285 insert_space, wcs_compile_range, byte_compile_range,
1286 truncate_wchar, re_compile_fastmap, re_compile_fastmap,
1287 re_set_registers, re_search, re_search_2, re_search_3, re_match,
e064c173
DD
1288 re_match_2, count_mbs_length, wcs_re_match_2_internal,
1289 byte_re_match_2_internal, group_match_null_string_p,
1290 alt_match_null_string_p, common_op_match_null_string_p,
f13c9bea 1291 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
e064c173
DD
1292 regexec, regerror, regfree): Use ISO C prototype style.
1293 * partition.c: (elem_compare): Likewise.
1294 * cp-demangle.c (print_usage): Likewise.
1295
1e45deed
DD
12962005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1297
1298 Convert libiberty to use ISO C prototype style 5/n.
1299 * random.c (srandom, initstate, setstate, random): Use ISO C
f13c9bea 1300 prototypes.
1e45deed
DD
1301 * putenv.c (putenv): Likewise.
1302 * physmem.c (physmem_available, physmem_total, main): Likewise.
1303 * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
1304 * pex-unix.c (pexecute, pwait): Likewise.
1305 * pex-msdos.c (pexecute, pwait): Likewise.
1306 * pex-djgpp.c (pexecute, pwait): Likewise.
f13c9bea 1307 * partition.c (partition_new, partition_delete, partition_union)
1e45deed 1308 (elem_compare, partition_print): Likewise.
f13c9bea
DD
1309 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
1310 _obstack_allocated_p, _obstack_free, obstack_free,
1e45deed
DD
1311 _obstack_memory_used, print_and_abort, obstack_next_free,
1312 obstack_object_size, obstack_base): Likewise. Remove codes
1313 predicated on !defined(__STDC__).
f13c9bea 1314 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
1e45deed
DD
1315 objalloc_free_block): Use ISO C prototypes.
1316 * mkstemps.c (mkstemps): Likewise.
1317 * memset.c (memset): Likewise.
1318 * mempcpy.c (mempcpy): Likewise.
1319 * rename.c (rename): Likewise.
1320 * rindex.c (rindex): Likewise.
1321 * setenv.c (setenv, unsetenv): Likewise.
1322 * sigsetmask.c (sigsetmask): Likewise.
1323 * snprintf.c (snprintf): Likewise.
f13c9bea 1324 * sort.c (sort_pointers, xmalloc): Likewise.
1e45deed 1325 * spaces.c (spaces): Likewise.
f13c9bea
DD
1326 * splay-tree.c (splay_tree_delete_helper,
1327 splay_tree_splay_helper, splay_tree_splay,
1e45deed 1328 splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
f13c9bea 1329 splay_tree_new, splay_tree_xmalloc_allocate,
1e45deed 1330 splay_tree_new_with_allocator, splay_tree_delete,
f13c9bea
DD
1331 splay_tree_insert, splay_tree_remove, splay_tree_lookup,
1332 splay_tree_max, splay_tree_min, splay_tree_predecessor,
1333 splay_tree_successor, splay_tree_foreach,
1e45deed
DD
1334 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
1335 * stpcpy.c (stpcpy): Likewise.
1336 * stpncpy.c (stpncpy): Likewise.
1337 * strcasecmp.c (strcasecmp): Likewise.
1338 * strchr.c (strchr): Likewise.
1339 * strdup.c (strdup): Likewise.
1340
49b1fae4
DD
13412005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1342
1343 Convert libiberty to use ISO C prototype style 6/n.
f13c9bea 1344 * strerror.c (init_error_tables, errno_max, strerror, strerrno,
49b1fae4
DD
1345 strtoerrno, main): Use ISO C prototype style.
1346 * strncasecmp.c (strncasecmp): Likewise.
1347 * strncmp.c (strncmp): Likewise.
1348 * strndup.c (strndup): Likewise.
1349 * strrchr.c (strrchr): Likewise.
f13c9bea 1350 * strsignal.c (init_signal_tables, signo_max, strsignal,
49b1fae4
DD
1351 strsigno, strtosigno, psignal, main): Likewise.
1352 * strstr.c (strstr): Likewise.
1353 * strtod.c (strtod, atof): Likewise.
1354 * strtol.c (strtol): Likewise.
1355 * strtoul.c (strtoul): Likewise.
f13c9bea 1356 * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
49b1fae4
DD
1357 ternary_recursivesearch): Likewise.
1358 * tmpnam.c (tmpnam): Likewise.
1359 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
1360 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
1361 * vfork.c (vfork): Likewise.
1362 * vfprintf.c (vfprintf): Likewise.
1363 * vprintf.c (vprintf): Likewise.
1364 * vsnprintf.c (vsnprintf, checkit, main): Likewise.
1365 * vsprintf.c (vsprintf): Likewise.
1366 * waitpid.c (waitpid): Likewise.
1367 * xatexit.c (xatexit, xatexit_cleanup): Likewise.
1368 * xexit.c (xexit): Likewise.
f13c9bea 1369 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
49b1fae4
DD
1370 xcalloc, xrealloc): Likewise.
1371 * xmemdup.c (xmemdup): Likewise.
1372 * xstrdup.c (xstrdup): Likewise.
1373 * xstrerror.c (xstrerror): Likewise.
1374 * xstrndup.c (xstrndup): Likewise.
1375
13762005-03-27 Andreas Jaeger <aj@suse.de>
1377
1378 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
1379 flags.
1380 * configure: Regenerated.
1381
13822005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1383
1384 * getopt1.c (getopt_long_only): Fix thinko.
1385
13862005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1387
1388 Convert libiberty to use ISO C prototype style 4/n.
1389 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
1390 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
1391 htab_create_alloc, htab_set_functions_ex, htab_create,
1392 htab_try_create, htab_delete, htab_empty,
1393 find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
1394 htab_find, htab_find_slot_with_hash, htab_find_slot,
1395 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
1396 htab_traverse_noresize, htab_traverse, htab_collisions,
1397 htab_hash_string, iterative_hash): Use ISO C prototype.
1398 * hex.c (hex_init): Likewise.
1399 * index.c (index): Likewise.
1400 * insque.c (insque, remque): Likewise.
1401 * lbasename.c (lbasename): Likewise.
1402 * lrealpath.c (lrealpath): Likewise.
1403 * make-relative-prefix.c (save_string, split_directories,
1404 free_split_directories, make_relative_prefix): Likewise.
1405 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
1406 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
1407 md5_buffer, md5_process_bytes, md5_process_block): Likewise.
1408 * memchr.c (memchr): Likewise.
1409 * memcpy.c (memcpy): Likewise.
1410 * memmove.c (memmove): Likewise.
1411 * gettimeofday.c (gettimeofday): Likewise.
1412 * getruntime.c (get_run_time): Likewise.
1413 * getpwd.c (getpwd, getpwd): Likewise.
1414 * getpagesize.c (getpagesize): Likewise.
1415 * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
1416 * getopt.c (my_index, exchange, _getopt_initialize,
1417 _getopt_internal, getopt, main): Likewise.
1418 * getcwd.c (getcwd): Likewise.
1419 * fnmatch.c (fnmatch): Likewise.
1420 * floatformat.c (floatformat_always_valid,
1421 floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
1422 put_field, floatformat_from_double, floatformat_is_valid,
1423 ieee_test, main): Likewise.
1424 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
1425 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
1426 fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
1427 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
1428 fibheap_delete, fibheap_empty, fibheap_extr_min_node,
1429 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
1430 fibheap_link, fibheap_cut, fibheap_cascading_cut,
1431 fibnode_insert_after, fibnode_remove): Likewise.
1432 * ffs.c (ffs): Likewise.
1433 * fdmatch.c (fdmatch): Likewise.
1434 * dyn-string.c (dyn_string_init, dyn_string_new,
1435 dyn_string_delete, dyn_string_release, dyn_string_resize,
1436 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
1437 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
1438 dyn_string_insert_cstr, dyn_string_insert_char,
1439 dyn_string_append, dyn_string_append_cstr,
1440 dyn_string_append_char, dyn_string_substring, dyn_string_eq):
1441 Likewise.
1442
9334f9c6
DD
14432005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1444
1445 Convert libiberty to use ISO C prototype style 3/n.
49b1fae4
DD
1446 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
1447 consume_count_with_underscores, code_for_qualifier,
1448 qualifier_string, demangle_qualifier, cplus_demangle_opname,
1449 cplus_mangle_opname, cplus_demangle_set_style,
1450 cplus_demangle_name_to_style, cplus_demangle, grow_vect,
9334f9c6 1451 ada_demangle, internal_cplus_demangle, squangle_mop_up,
49b1fae4
DD
1452 work_stuff_copy_to_from, delete_non_B_K_work_stuff,
1453 delete_work_stuff, mop_up, demangle_signature,
1454 demangle_method_args, demangle_template_template_parm,
1455 demangle_expression, demangle_integral_value,
1456 demangle_real_value, demangle_template_value_parm,
1457 demangle_template, arm_pt, demangle_arm_hp_template,
1458 demangle_class_name, demangle_class, iterate_demangle_function,
1459 demangle_prefix, gnu_special, recursively_demangle, arm_special,
1460 demangle_qualified, get_count, do_type, demangle_fund_type,
1461 do_hpacc_template_const_value, do_hpacc_template_literal,
1462 snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
1463 register_Btype, remember_Btype, forget_B_and_K_types,
1464 forget_types, demangle_args, demangle_nested_args,
1465 demangle_function_name, string_need, string_delete, string_init,
1466 string_clear, string_empty, string_append, string_appends,
9334f9c6
DD
1467 string_appendn, string_prepend, string_prepends, string_prependn,
1468 string_append_template_idx): Use ISO C prootype style.
1469 * cp-demint.c (cplus_demangle_fill_component,
49b1fae4 1470 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
9334f9c6
DD
1471 cplus_demangle_v3_components): Likewise.
1472
14732005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
1474
1475 Convert libiberty to use ISO C prototype style 2/n.
1476 * cp-demangle.h: Remove uses of PARAMS.
1477 * cp-demangle.c: Likewise.
49b1fae4
DD
1478 (d_dump, cplus_demangle_fill_name,
1479 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
1480 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
1481 d_make_builtin_type, d_make_operator, d_make_extended_operator,
1482 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
1483 cplus_demangle_mangled_name, has_return_type,
1484 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
1485 d_prefix, d_unqualified_name, d_source_name, d_number,
1486 d_identifier, d_operator_name, d_special_name, d_call_offset,
1487 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
1488 d_function_type, d_bare_function_type, d_class_enum_type,
1489 d_array_type, d_pointer_to_member_type, d_template_param,
1490 d_template_args, d_template_arg, d_expression, d_expr_primary,
1491 d_local_name, d_discriminator, d_add_substitution,
1492 d_substitution, d_print_resize, d_print_append_char,
1493 d_print_append_buffer, d_print_error, cplus_demangle_print,
1494 d_print_comp, d_print_java_identifier, d_print_mod_list,
1495 d_print_mod, d_print_function_type, d_print_array_type,
1496 d_print_expr_op, d_print_cast, cplus_demangle_init_info,
1497 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
9334f9c6 1498 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
49b1fae4 1499 print_usage, main):
9334f9c6
DD
1500
15012005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
1502
1503 Convert libiberty to ISO C prototype style 1/n.
1504 * _doprnt.c: Remove conditional #include <varargs.h> on
1505 ANSI_PROTOTYPES as the latter is always assumed.
1506 (_doprnt, checkit, main): Use ISO C prototype.
1507 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
1508 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
49b1fae4 1509 (dupargv, freeargv, buildargv, main): Use ISO C prototype.
9334f9c6
DD
1510 * atexit.c (atexit): Likewise
1511 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
49b1fae4 1512 (asprintf): Use ISO C prototype.
9334f9c6
DD
1513 * basename.c (basename): Likewise
1514 * bcmp.c (bcmp): Likewise.
1515 * bcopy.c (bcopy): Likewise.
1516 * bzero.c (bzero): Likewise.
1517 * bsearch.c (bsearch): Likewise. Improve const-correctness.
1518 * choose-temp.c (choose_temp_base): Likewise.
1519 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
1520 (calloc): Use ISO C prototype.
1521 * clock.c (clock): Likewise.
1522 * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
49b1fae4 1523 (vconcat_length, vconcat_copy, concat_length, concat_copy,
9334f9c6
DD
1524 concat_copy2, concat, reconcat, main): Use ISO C prototype.
1525 * copysign.c (copysign): Likewise.
1526
0fad4bdb
DD
15272005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1528
1529 * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
1530 (REQUIRED_OFILES): Add xstrndup.o.
1531 (CONFIGURED_OFILES): Add strndup.o.
1532 Regenerate dependencies.
1533
1534 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
1535
1536 * strndup.c, xstrndup.c: New.
1537
1538 * config.in, configure, functions.texi: Regenerate.
1539
51e32d64
DD
15402005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1541
1542 * xmemdup.c, xstrdup.c: Expose the tail call.
1543
8ec32723
DD
15442005-03-09 Mark Mitchell <mark@codesourcery.com>
1545
1546 * configure.ac (funcs): Add gettimeofday.
1547 * configure: Regenerated.
1548 * gettimeofday.c: New file.
1549 * Makefile.in (CFILES): Add gettimeofday.
1550 (CONFIGURED_OFILES): Add gettimeofday.o.
1551 (./gettimeofday.o): New rule.
1552
27ff8836
ILT
15532005-03-09 Ian Lance Taylor <ian@airs.com>
1554
1555 * pex-os2.c: Remove.
1556 * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
1557 * Makefile.in (CFILES): Remove pex-os2.c.
1558 (CONFIGURED_OFILES): Remove pex-os2.o.
1559 (pex-os2.o): Remove target.
1560 * configure: Rebuild.
1561
48e39b59
ILT
15622005-03-07 Ian Lance Taylor <ian@airs.com>
1563
1564 * mpw-config.in: Remove.
1565 * mpw-make.sed: Remove.
1566 * mpw.c: Remove.
1567 * Makefile.in (CFILES): Remove pex-mpw.c.
1568 (CONFIGURED_OFILES): Remove pex-mpw.o.
1569 (mpw.o, pex-mpw.o): Remove targets.
1570 * maint-tool (undoc): Remove reference to mpw.c.
1571
65dce80e
DD
15722005-03-06 DJ Delorie <dj@redhat.com>
1573
1574 * configure.ac (target_header_dir): vfork is a stub under djgpp.
1575 * configure: Regenerated.
1576
190eb137
DD
15772005-03-01 Jan Beulich <jbeulich@novell.com>
1578
1579 * Makefile.in (CFILES): Add unlink-if-ordinary.c
1580 (REQUIRED_OFILES): Add unlink-if-ordinary.o.
1581 Add dependencies and rule for unlink-if-ordinary.o.
1582 * unlink-if-ordinary.c: New.
1583
bac7199c
DD
15842005-03-01 Ben Elliston <bje@au.ibm.com>
1585
1586 * hashtab.c (htab_find_slot_with_hash): Make function
1587 documentation clearer.
1588
aca9a742
JM
15892005-02-13 Jason Merrill <jason@redhat.com>
1590
1591 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
1592 arguments.
1593
b5c3b3de
DD
15942005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
1595
1596 * hex.c (hex_value): Group 'unsigned int' together to get correct
1597 markup.
1598 * functions.texi: Regenerated.
49b1fae4 1599
46a10049
DD
16002004-12-27 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 * Makefile.in: Undo to 2004-12-17.
1603 * aclocal.m4: Likewise.
1604 * config.table: Likewise.
1605 * configure.ac: Likewise.
1606 * maint-tool: Likewise.
1607 * configure: Likewise.
1608
fbfdf750
DD
16092004-12-19 H.J. Lu <hongjiu.lu@intel.com>
1610
1611 PR bootstrap/19072
1612 * Makefile.in (enable_shared): New substitute.
1613 (LTTARGETLIB): New.
1614 (PREFIXTARGETLIB): New.
1615 (LTTESTLIB): New.
1616 (PREFIXTESTLIB): New.
1617 (CCLD): New.
1618 (LINK): New.
1619 ($(TARGETLIB)): Use $(LINK) to create libraries and create
1620 targets by hand.
1621 ($(TESTLIB)): Likewise.
1622 (mostlyclean): Don't remove .libs. Remove the libtool object
1623 directory.
1624
1625 * config.table (enable_shared): Removed.
1626
1627 * configure.ac (enable_static): Set to yes.
1628 (AC_PROG_LIBTOOL): Removed.
1629 (AM_DISABLE_SHARED): Uncommented.
1630 (AM_PROG_LIBTOOL): Likewise.
1631 (LIBOBJS): Add `./' to avoid VPATH.
1632 (LTLIBOBJS): Likewise.
1633 (enable_shared): Substitute.
1634 * configure: Regenerated.
1635
96e00b33
L
16362004-12-18 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 * Makefile.in (top_builddir): Set to `.'.
1639 (OUTPUT_OPTION): Removed.
1640 (LIBTOOL): New.
1641 (LTLIBOBJS): New.
1642 (EXTRA_LTOFILES): New.
1643 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
1644 (all): Remove stamp-picdir.
1645 (LTCOMPILE): New.
1646 (.c.lo): New rule.
1647 (REQUIRED_LTOFILES): New.
1648 (CONFIGURED_LTOFILES): New.
1649 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
1650 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
1651 (stamp-picdir): Completely removed.
1652 (maint-missing): Pass $(REQUIRED_LTOFILES)
1653 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
1654 $(CONFIGURED_OFILES)
1655 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
1656 $(CONFIGURED_LTOFILES).
1657 (mostlyclean): Also remove *.lo .libs.
1658 Run "make maint-deps".
1659
1660 * aclocal.m4: Include ../libtool.m4.
1661
1662 * config.table: Don't check --enable-shared.
1663
1664 * configure.ac (AC_PROG_LIBTOOL): Add.
1665 (AC_PROG_CC_C_O): Removed.
1666 (OUTPUT_OPTION): Removed.
1667 (NO_MINUS_C_MINUS_O): Removed.
1668 (ltpexecute): New substitute.
1669 (LIBOBJS): Cleanup.
1670 * configure: Regenerated.
1671
1672 * maint-tool: Updated for .lo/libtool.
1673
40a59a4c
DD
16742004-12-11 Ben Elliston <bje@au.ibm.com>
1675
1676 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
1677 * configure: Regenerate.
1678 * config.in: Likewise.
1679
9923bc33
DD
16802004-12-07 DJ Delorie <dj@redhat.com>
1681
1682 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
1683 that recursion (and thus large stack space) is not needed.
1684
70615d15
DD
16852004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
1686
1687 * pex-unix.c: Fix the spelling of longjmp.
1688
eb129e35
DD
16892004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
1690
1691 PR other/18623
1692 * cp-demangle.c (d_call_offset): Remove useless local variables
1693 offset and virtual_offset.
1694 * cplus-dem.c (ada_demangle): Remove useless local variable
1695 at_start_name.
1696 (demangle_template): Remove useless local variable start.
1697
3e0f1404
DD
16982004-11-19 Roger Sayle <roger@eyesopen.com>
1699
1700 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
1701 "ansidecl.h" to avoid redeclaration errors with native compilers.
1702 * regex.c: Protect config.h from multiple inclusion.
1703
6cfb3176
DD
17042004-11-12 Mike Stump <mrs@apple.com>
1705
1706 * Makefile.in (libiberty.html): Fix html generation.
1707
f9b4e353
DD
17082004-09-08 Adam Nemet <anemet@lnxw.com>
1709
1710 * vasprintf.c: Accept __va_copy in addition to va_copy.
1711
49b1fae4 17122004-09-03 Paolo Bonzini <bonzini@gnu.org>
c7efc4d5
PB
1713
1714 * configure: Regenerate.
1715
49b1fae4 17162004-09-02 Paolo Bonzini <bonzini@gnu.org>
f5396bbe
PB
1717
1718 * configure.ac: Do not enable multilibs for build-side libiberty.
1719
49b1fae4 17202004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
950ad202
DD
1721
1722 * lrealpath.c (lrealpath): Add _WIN32 support.
1723
a21da8bf
DD
17242004-06-28 Zack Weinberg <zack@codesourcery.com>
1725
1726 * cp-demangle.h: Declare cplus_demangle_operators,
1727 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
1728 cplus_demangle_type as static if IN_GLIBCPP_V3.
1729
17302004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
1731
1732 PR other/16240
1733 * cp-demangle.c (d_expr_primary): Check for a failure return from
1734 cplus_demangle_type.
1735 * testsuite/demangle-expected: Add test case.
1736
9f7d3e7d
DD
17372004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
1738
1739 * pex-win32.c (fix_argv): Expand comment.
1740
0cb2db3a
DD
17412004-05-25 Daniel Jacobowitz <drow@false.org>
1742
1743 * Makefile.in: Add .NOEXPORT.
1744
25319993
DD
17452004-04-29 Douglas B Rupp <rupp@gnat.com>
1746
1747 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
1748 copyright.
1749
7e9f5c71
DD
17502004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1751
1752 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
1753 * configure: Regenerate.
1754
bb6a587d
DD
17552004-04-22 Richard Henderson <rth@redhat.com>
1756
1757 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
1758 (CHAR_BIT): Provide default.
1759 (struct prime_ent, prime_tab): New.
1760 (higher_prime_index): Rename from higher_prime_number, return index.
1761 (htab_mod_1): New.
1762 (htab_mod, htab_mod_m2): Use it.
1763 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
1764 (htab_expand): Likewise.
1765 * configure.ac: Check for stdint.h.
1766 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
1767 * config.in, configure: Rebuild.
1768
53239e41
DD
17692004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
1770
1771 * strerror.c: Include config.h, and redefine sys_nerr and
1772 sys_errlist, before including ansidecl.h and libiberty.h.
1773
d6ea4e80
DD
17742004-04-13 Jeff Law <law@redhat.com>
1775
1776 * hashtab.c (htab_remove_elt_with_hash): New function.
1777 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
1778
fe046a17
DD
17792004-03-31 Richard Henderson <rth@redhat.com>
1780
1781 * hashtab.c (htab_size): Move to top of file; mark inline.
1782 (htab_elements): Likewise.
1783 (htab_mod, htab_mod_m2): New.
1784 (htab_delete): Refactor htab->size and htab->entries.
1785 (htab_empty): Likewise.
1786 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
1787 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
1788 (htab_clear_slot): Use htab_size, htab_elements.
1789 (htab_traverse_noresize, htab_traverse): Likewise.
1790
e0c148a7
DD
17912004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
1792
12a7367e
DD
1793 * pex-unix.c (pexecute): Use vfork instead of fork, with
1794 appropriate changes to make this safe.
1795 * pex-common.h (STDERR_FILE_NO): Define.
1796
e0c148a7
DD
1797 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
1798 an 80 column screen. Run maint-deps.
1799
85f969cd
DD
18002004-03-09 Kelley Cook <kcook@gcc.gnu.org>
1801
1802 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
1803 * acconfig.h: Delete redundant file.
1804 * config.in: Regenerate.
1805 * configure: Regenerate.
1806
58670637
DD
18072004-03-09 Hans-Peter Nilsson <hp@axis.com>
1808
1809 * configure: Regenerate for config/accross.m4 correction.
1810
758d77be
DD
18112004-03-07 Andreas Jaeger <aj@suse.de>
1812
1813 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
1814 prototypes.
1815 (main): Initialize style.
1816
74aee4eb
DD
18172004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
1818
2d733211
DD
1819 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
1820 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
1821 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
1822 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
1823 short types to D_PRINT_DEFAULT. Change other integer types to use
1824 new D_PRINT_* values where appropriate. Change float types to
1825 D_PRINT_FLOAT.
1826 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
1827 values.
1828 * testsuite/demangle-expected: Adjust two test cases.
1829
1830 * cp-demangle.c (d_print_function_type): Print a space before the
1831 parenthesis around the function type in more cases.
1832 * testsuite/demangle-expected: Adjust one test case.
1833
099f84cf
DD
1834 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
1835 parentheses around a cast.
1836 * testsuite/demangle-expected: Adjust two test cases to match new
1837 output.
1838
74aee4eb
DD
1839 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
1840
1841 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
1842 push more than one of the same CV-qualifier on the top of the
1843 stack.
1844 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
1845 move the CV-qualifiers to apply to the element type instead.
1846 (d_print_array_type): When checking the modifiers, keep looking
1847 past ones which have been printed already.
1848 * testsuite/demangle-expected: Add three test cases.
1849
18502004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1851
1852 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
1853 empty string correctly.
1854
1855 * cp-demangle.c (__cxa_demangle): It is not an error if status is
1856 not NULL. It is an error if the mangled name is the same as a
1857 built-in type name.
1858 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
1859 than cplus_demangle_v3.
1860
1861 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
1862 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
1863
f9375305
DD
18642004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
1865
1866 * regex.c: Include <ansidecl.h>.
1867 (regcomp): Cast i to int.
1868 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
1869
cbf0ee79
DD
18702004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
1871
1872 * configure.ac: Add m4_pattern_allow(LIBOBJS).
1873 * configure: Regenerate.
1874
37254c9a
DD
18752004-01-22 DJ Delorie <dj@redhat.com>
1876
1877 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
1878 with explicit build rules.
1879 (VPATH): Remove.
1880 (.c.o): Poison.
1881 * configure.ac (pexecute, LIBOBJS): Add ./ .
1882 * maint-tool: Build dependencies with explicit rules.
1883
211333f6
DD
18842004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1885
1886 * strdup.c (strdup): Constify the argument.
1887
3795d586
DD
18882004-01-14 Loren J. Rittle <ljrittle@acm.org>
1889
1890 * Makefile.in (distclean): Remove config.cache.
1891
2d6520ee
DJ
18922004-01-13 Daniel Jacobowitz <drow@mvista.com>
1893
1894 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
1895 takes two parameters.
1896 * cp-demint.c (cplus_demangle_fill_component): Likewise.
1897
59727473
DD
18982004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1899
1900 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
1901 defined, rename some functions which are to become static via
1902 #define.
1903 (CP_STATIC_IF_GLIBCPP_V3): Define.
1904 (struct d_operator_info): Move definition to cp-demangle.h, and
1905 rename to demangle_operator_info. Change all uses.
1906 (enum d_builtin_type_print): Move definition to cp-demangle.h.
1907 (struct d_builtin_type_info): Move definition to cp-demangle.h,
1908 and rename to demangle_builtin_type_info. Change all uses.
1909 (enum d_comp_type): Move definition to include/demangle.h, and
1910 rename to demangle_component_type, and change all enums to start
1911 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
1912 (struct d_comp): Move definition to include/demangle.h, and rename
1913 to demangle_component. Change all uses.
1914 (struct d_info): Move definition to cp-demangle.h.
1915 (cplus_demangle_fill_name): New function.
1916 (cplus_demangle_fill_extended_operator): New function.
1917 (cplus_demangle_fill_ctor): New function.
1918 (cplus_demangle_fill_dtor): New function.
1919 (d_make_empty): Remove type parameter. Change all callers.
1920 (d_make_name): Use cplus_demangle_fill_name.
1921 (d_make_extended_operator): Use
1922 cplus_demangle_fill_extended_operator.
1923 (d_make_ctor): Use cplus_demangle_fill_ctor.
1924 (d_make_dtor): Use cplus_demangle_fill_dtor.
1925 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
1926 non-static by default. Change all callers.
1927 (cplus_demangle_operators): Rename from d_operators. Change all
1928 uses. Make non-static by default. Add sentinel at end of array.
1929 (d_operator_name): Adjust initialization of high for new sentinel
1930 in cplus_demangle_operators.
1931 (cplus_demangle_builtin_types): Rename from d_builtin_types.
1932 Change all uses. Make non-static by default. Change initializer
1933 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
1934 (cplus_demangle_type): Rename from d_type. Make non-static by
1935 default. Change all callers.
1936 (cplus_demangle_init_info): Rename from d_init_info. Make
1937 non-static by default. Change all callers.
1938 * cp-demangle.h: New file.
1939 * cp-demint.c: New file.
1940 * Makefile.in: Rebuild dependencies.
1941 (CFILES): Add cp-demint.c.
1942 (REQUIRED_OFILES): Add cp-demint.o.
1943
1a79b024
DD
19442004-01-09 Kelley Cook <kcook@gcc.gnu.org>
1945
1946 * configure.in: Rename file to ...
1947 * configure.ac: ... this.
1948 * Makefile.in: Update a comment for above change.
1949 * README: Likewise.
1950 * config.in: Regenerate.
1951
820542c9
DD
19522004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
1953
1954 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
1955 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
1956 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
1957 demangling template parameters.
1958 * testsuite/test-demangle.c (fail): New static function.
1959 (main): Support new options in input file: --no-params,
1960 --is-v3-ctor, and --is-v3-dtor.
1961 * testsuite/demangle-expected: Add --no-params to most tests, and
1962 add the correct result when parameters are not demangled. Add
1963 some simple tests for V3 constructor/destructor recognition.
1964
2f9c4058
DD
19652003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1966
1967 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
1968
4fd47f10
DJ
19692003-12-22 Daniel Jacobowitz <drow@mvista.com>
1970
1971 PR debug/13272
1972 * Makefile.in (lbasename.o): Depend on filenames.h.
1973 * lbasename.c: Include "filenames.h" instead of defining
1974 its macros locally.
1975
b6fb00c0
DD
19762003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
1977
1978 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
1979 dynamic arrays.
1980 (struct d_operator_info): Add len field.
1981 (struct d_builtin_type_info): Add len and java_len fields.
1982 (struct d_standard_sub_info): Add simple_len, full_len, and
1983 set_last_name_len fields.
1984 (struct d_comp): Add len field to s_string.
1985 (struct d_info): Add send, did_subs, and expansion fields.
1986 (d_append_string_constant): Define.
1987 (d_append_string): Remove. Change all users to use
1988 d_append_string_constant or d_append_buffer instead.
1989 (d_make_sub): Add len parameter. Change all callers.
1990 (d_name): Increase expansion when substituting std::.
1991 (d_unqualified_name): Increase expansion for an operator.
1992 (d_number): Don't use multiplication for negative numbers.
1993 (d_identifier): Make sure there are enough characters in the
1994 string for the specified length. Adjust expansion for an
1995 anonymous namespace.
1996 (d_operators): Initialize len field.
1997 (d_special_name, d_ctor_dtor_name): Increase expansion.
1998 (d_builtin_types): Initialize len and java_len fields.
1999 (d_type): Increase expansion for a builtin type.
2000 (d_cv_qualifiers): Increase expansion for each qualifier.
2001 (d_bare_function_type): Decrease expansion when removing single
2002 void parameter.
2003 (d_template_param): Increment did_subs.
2004 (d_expression): Increase expansion for an operator.
2005 (d_expr_primary): Decrease expansion for a type we will print
2006 specially.
2007 (standard_subs): Initialize new fields.
2008 (d_substitution): Increment did_subs when doing a normal
2009 substitution. Increase expansion for a special substitution.
2010 (d_print): Add estimate parameter. Change all callers.
2011 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
2012 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
2013 (d_print_java_identifier): Rename from d_print_identifier. Handle
2014 only Java case. Change caller.
2015 (d_init_info): Change return type to void. Change all callers.
2016 Initialize send, did_subs, and expansion fields. Do not
2017 initialize comps and subs fields.
2018 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
2019 arrays on stack. Make an estimate of the length of the demangled
2020 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
2021 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
2022 subs arrays on stack.
2023
2730f651
DD
20242003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
2025
2026 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
2027 after the identifier.
2028 * testsuite/demangle-expected: Add test case.
2029
d4edd112
DD
20302003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
2031
2032 Fix for PR c++/13447:
2033 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
2034 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
2035 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
2036 D_COMP_QUAL_NAME.
2037 (is_ctor_or_dtor): Likewise.
2038 (d_local_name): Use D_COMP_LOCAL_NAME rather than
2039 D_COMP_QUAL_NAME.
2040 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
2041 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
2042 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
2043 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
2044 * testsuite/demangle-expected: Add two test cases.
2045
2046 * cp-demangle.c (d_print_function_type): Clear the global modifier
2047 list when printing the modifiers, not just when printing the
2048 function parameters.
2049 * testsuite/demangle-expected: Add two test cases.
2050
d35d0cd4
DD
20512003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
2052
2053 * cp-demangle.c (d_print_function_type): Print the function
2054 parameters with no modifiers.
2055 * testsuite/demangle-expected: Add test case.
2056
2057 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
2058 expect that we've read the entire string.
2059 (is_ctor_or_dtor): Don't expect that we've read the entire
2060 string--reverse patch of 2003-11-29.
2061
09e9708c
DD
20622003-12-15 Brendan Kehoe <brendan@zen.org>
2063
2064 * libiberty/Makefile.in (floatformat.o): Add dependency on
2065 config.h to accompany change of 2003-12-03.
2066
97ceaf5b
DD
20672003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
2068
2069 Fix handling of constructor/destructor of standard substitution:
2070 * cp-demangle.c (struct d_standard_sub_info): Define.
2071 (d_substitution): Add prefix argument. Change all callers.
2072 Rework handling of standard substitutions to print full name when
2073 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
2074 * testsuite/demangle-expected: Add test case.
2075
2076 Fix handling of negative literal constants:
2077 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
2078 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
2079 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
2080 (d_print_comp): Handle D_COMP_LITERAL_NEG.
2081 * testsuite/demangle-expected: Add test case.
2082
858b45cf
DD
20832003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
2084
2085 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
2086 (d_last_char): Define new macro.
2087 (d_make_name): Reject an empty name.
2088 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
2089 (d_substitution, d_print_identifier): Likewise.
2090 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
2091 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
2092 (d_print_mod) Use new d_last_char macro.
2093 (d_print_cast): Use new d_last_char macro.
2094 (is_ctor_or_dtor): Don't leak memory.
2095
2096 Fix handling of member function modifiers:
2097 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
2098 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
2099 (d_dump): Dump new d_comp_type values.
2100 (d_make_comp): Accept new d_comp_type values.
2101 (has_return_type): Only accept _THIS variants of qualifiers.
2102 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
2103 qualifiers.
2104 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
2105 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
2106 qualifiers and printing them at the end, add _THIS qualifiers to
2107 the modifier list.
2108 (d_print_comp) [D_COMP_*_THIS]: New cases.
2109 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
2110 qualifiers.
2111 (d_print_mod_list): Add suffix parameter. Change all callers.
2112 Keep walking the list even if the current modifier has been
2113 printed.
2114 (d_print_mod): Handle new _THIS qualifiers.
2115 (d_print_function_type): Handle new _THIS qualifiers when deciding
2116 whether to print a parenthesis. Put a space before the
2117 parenthesis in some cases. Call d_print_mod_list again at the
2118 end, passing suffix as 1.
2119 (is_ctor_or_dtor): Look for new _THIS qualifiers.
2120 * testsuite/demangle-expected: Add test case.
2121
2122 Fix for PR gcc/13304:
2123 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
2124 before the '<' is itself a '<', insert a space.
2125 (d_print_cast): Likewise.
2126 * testsuite/demangle-expected: Add test case.
2127
2128 Fix for PR gcc/13244:
2129 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
2130 which uses the '>' operator in an extra layer of parens.
2131 * testsuite/demangle-expected: Add test case.
2132
b52927b7
DD
21332003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
2134
2135 * floatformat.c: Include "config.h" and <string.h> if available.
2136 (INFINITY, NAN): Define if not defined by <math.h>.
2137 (floatformat_to_double): Handle NaN, infinity, and denormalized
2138 numbers.
2139 (floatformat_from_double): Likewise.
2140 (ieee_test): In debugging code, use little endian rather than big
2141 endian. Correct tests to handle NaN and to check correct sign of
2142 zero. Omit m68k extended test.
2143 (main): Add more debugging cases.
2144
24afc00d
DD
21452003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
2146
2147 * cp-demangle.c (d_demangle): Only return success if we consumed
2148 the entire demangled string.
2149 (is_ctor_or_dtor): Likewise.
2150
2151 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
2152 to restore expected result of EDG test case to original expected
2153 result.
2154
331c3da2
DD
21552003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
2156
2157 * cp-demangle.c (struct d_print_mod): Add templates field.
2158 (d_make_builtin_type): Check for NULL type.
2159 (d_make_extended_operator): Check for NULL name.
2160 (d_make_ctor, d_make_dtor): Likewise.
2161 (d_mangled_name): Add top_level parameter. Change all callers.
2162 (d_encoding): If DMGL_PARAMS is not set, strip off initial
2163 CV-qualifiers.
2164 (d_type): Check some return values we rely on.
2165 (d_bare_function_type, d_array_type): Likewise.
2166 (d_pointer_to_member_type, d_template_args): Likewise.
2167 (d_add_substitution): Fail if argument is NULL.
2168 (d_print_resize): Check whether buf is NULL.
2169 (d_print_comp): Save current templates list with each modifier.
2170 Don't pass the modifier list down when printing a template.
2171 (d_print_cast): Don't pass the modifier list down when printing a
2172 template.
2173 (d_print_mod_list): Temporarily set templates list while printing
2174 a modifier.
2175 (d_print_mod): Check that buf is not NULL before using it.
2176 (d_print_function_type): Print parens if there is no modifier.
2177 (d_init_info): Permit as many substitutions as there are
2178 characters in the mangled name.
2179 * testsuite/demangle-expected: Add two new test cases.
2180
51948b34
DD
21812003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
2182
2183 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
2184 d_demangle.
2185
6d95373e
DD
21862003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
2187
2188 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
2189 callers.
2190 (print_usage): Display new -p option.
2191 (long_options): Add --no-params.
2192 (main): Accept and handle -p.
2193
54a962d9
DD
21942003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
2195
2196 * cp-demangle.c (has_return_type): Skip qualifiers when checking
2197 whether we have a template.
2198 * testsuite/demangle-expected: Add four new tests.
2199
8fe0d347
DD
22002003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
2201
2202 * testsuite/demangle-expected: Minor changes to match output of
2203 new demangler: adjust whitespace in four tests, and change order
2204 of qualifiers in one test.
2205
2206 * cp-demangle.c: Complete rewrite.
2207
dd9d4b48
DD
22082003-11-19 Mark Mitchell <mark@codesourcery.com>
2209
2210 * cp-demangle.c (demangle_type): Correct thinko in substitution
2211 processing.
2212
0976f6a7
DD
22132003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
2214
2215 * cp-demangle.c (demangle_operator_name): Remove space before
2216 "sizeof".
2217 (demangle_type_ptr): Put qualifiers in the right place. Handle
2218 qualifiers in pointer to member specially.
2219 (demangle_type): Handle qualifiers for pointer or reference
2220 specially. Handle function type.
2221 (demangle_local_name): Save and restore caret around demangling of
2222 initial encoding.
2223
2224 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
2225 cplus_demangle.
2226
2227 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
2228
e7e6980b
DD
22292003-10-31 Andreas Jaeger <aj@suse.de>
2230
2231 * floatformat.c (floatformat_always_valid): Add unused attribute.
2232
97ceaf5b
DD
22332003-10-30 Josef Zlomek <zlomekj@suse.cz>
2234
2235 Jan Hubicka <jh@suse.cz>
2236 * vasprintf.c (int_vasprintf): Pass va_list by value.
2237 Use va_copy for copying va_list.
2238 (vasprintf): Pass va_list by value.
2239
686e72d7
DD
22402003-10-30 Josef Zlomek <zlomekj@suse.cz>
2241
2242 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
2243 instead of increasing n_elements when inserting to deleted slot.
2244
eec65ede
JB
22452003-10-20 J. Brobecker <brobecker@gnat.com>
2246
2247 * cplus-dem.c (demangle_template): Register a new Btype only
2248 when needed.
2249 * testsuite/demangle-expected: Add a new test.
2250
cd275bff
L
22512003-10-16 H.J. Lu <hongjiu.lu@intel.com>
2252
2253 * testsuite/demangle-expected: Update the expected output of
2254 _GLOBAL__I__Z2fnv.
2255
e3b1168e
DJ
22562003-10-02 Daniel Jacobowitz <drow@mvista.com>
2257
2258 * strerror.c: Revert last change. Declare static sys_nerr
2259 and sys_errlist using different names.
2260
efb150d5
DJ
22612003-10-01 Daniel Jacobowitz <drow@mvista.com>
2262
2263 * strerror.c: Don't provide or reference sys_errlist if
2264 strerror is available.
2265
b7ca9213
L
22662003-10-01 H.J. Lu <hongjiu.lu@intel.com>
2267
2268 * configure.in: Check if $MAKEINFO is missing.
2269 * configure: Regenerated.
2270
8ddbb593
DJ
22712003-09-24 Daniel Jacobowitz <drow@mvista.com>
2272
2273 * configure.in: Use AC_PROG_CPP_WERROR.
2274 * configure: Regenerated.
2275
5324d185
AC
22762003-09-22 Andrew Cagney <cagney@redhat.com>
2277
2278 * floatformat.c (floatformat_i387_ext_is_valid): New function.
2279 (floatformat_always_valid): New function.
2280 (floatformat_i387_ext): Initialize new "is_valid" field to
2281 "floatformat_i387_ext_is_valid".
2282 (floatformat_ieee_single_little): Initialize "is_valid" field to
2283 floatformat_always_valid.
2284 (floatformat_ieee_double_big): Ditto.
2285 (floatformat_ieee_double_little): Ditto.
2286 (floatformat_ieee_double_little): Ditto.
2287 (floatformat_ieee_double_littlebyte_bigword): Ditto.
2288 (floatformat_i960_ext): Ditto.
2289 (floatformat_m88110_ext): Ditto.
2290 (floatformat_m88110_harris_ext): Ditto.
2291 (floatformat_arm_ext_big): Ditto.
2292 (floatformat_arm_ext_littlebyte_bigword): Ditto.
2293 (floatformat_ia64_spill_big): Ditto.
2294 (floatformat_ia64_spill_little): Ditto.
2295 (floatformat_ia64_quad_big): Ditto.
2296 (floatformat_ia64_quad_little): Ditto.
2297 (floatformat_ia64_quad_little): Ditto.
2298 (floatformat_is_valid): Call "is_valid".
2299
34f4a113
AC
23002003-09-15 Andrew Cagney <cagney@redhat.com>
2301
2302 * floatformat.c (get_field): Make "data" constant.
2303 (floatformat_is_valid, floatformat_to_double): Make "from"
2304 constant, fix casts.
2305 (floatformat_from_double): Make "from" constant.
2306
3f2aacaf
DJ
23072003-09-15 Daniel Jacobowitz <drow@mvista.com>
2308
2309 * floatformat.c (floatformat_is_valid): New function.
2310 (get_field, put_field): Correct comments.
2311
aae66b9f
DD
23122003-09-06 Josef Zlomek <zlomekj@suse.cz>
2313
2314 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
2315 FIBHEAPKEY_T.
2316
60b04ee8
DD
23172003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2318
2319 PR bootstrap/12100
2320 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
2321 * configure: Rebuilt.
2322
2299a76d
DJ
23232003-08-27 Daniel Jacobowitz <drow@mvista.com>
2324
2325 * aclocal.m4: Include acx.m4 and no-executables.m4.
2326 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
2327 (LIB_AC_PROG_CC): Remove.
2328 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
2329 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
2330 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
2331 performing link tests.
2332 * configure: Regenerated.
2333
9ad1aa29
DD
23342003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
2335
a21da8bf 2336 * cp-demangle.c: Clarify what package(s) this is part of.
9ad1aa29 2337
dbb9d0f3
DD
23382003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
2339
2340 * pex-win32.c (pexecute): Mark parameters this_pname and
2341 temp_base as unused. Remove unused variables retries,
2342 sleep_interval. Initialize org_stdin, org_stdout.
2343 (pwait): Mark parameter flags as unused.
2344
23452003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
ab8c7bb1
DD
2346
2347 * pex-win32.c (fix_argv): Ensure that the executable pathname
2348 uses Win32 backslashes.
2349 (pexecute): Cast away constness when assigning *errmsg_arg.
2350
78c5b0a5
L
23512003-06-26 H.J. Lu <hongjiu.lu@intel.com>
2352
2353 * testsuite/demangle-expected: Add more GNU V3 testcases.
2354
70ecf948
DD
23552003-06-22 Zack Weinberg <zack@codesourcery.com>
2356
2357 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
2358 not HC_ASCII and HC_EBCDIC.
2359 Add documentation in form expected by gather-docs.
2360 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
2361 * Makefile.in, functions.texi: Regenerate.
2362
cbc0188b
DD
23632003-06-21 Zack Weinberg <zack@codesourcery.com>
2364
2365 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
2366 for charset determination.
2367
5f73c378
DD
23682003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
2369
2370 * configure.in: Add check for malloc.h needed by
2371 m68k for function free().
2372 * configure: Regenerated.
2373 * config.in: Add HAVE_MALLOC_H.
2374 * hashtab.c: include malloc.h were available for
2375 free().
2376
e69f6c8c 23772003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
cbc0188b 2378
e69f6c8c
DD
2379 PR bootstrap/10974
2380 * physmem.c: Update comment.
2381 * configure.in: Modify test for _system_configuration for older
2382 AIX systems.
2383
2384 * config.in, configure: Regenerated.
cbc0188b 2385
54c60684
DD
23862003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2387
2388 PR other/10810
2389 * test-demangle.c (getline): Fix fence-post error.
2390
5a4e47bd
NC
23912003-06-03 Nick Clifton <nickc@redhat.com>
2392
2393 * asprintf.c: Change comment to note that -1 is returned upon
2394 error.
2395 * vasprintf.c: Likewise.
2396 (vasprintf): Return -1 upon error.
2397 * functions.texi: Document changes to asprintf and vasprintf.
2398
916f5d13
DD
23992003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
2400
2401 * config.table: Accept i[345867]86 variant.
2402
e4f79046
JB
24032003-05-15 Jim Blandy <jimb@redhat.com>
2404
2405 * hex.c (_hex_value): Make this unsigned.
2406 (hex_value): Update documentation for new return type. hex_value
2407 now expands to an unsigned int expression, to avoid unexpected
2408 sign extension when we store it in a bfd_vma, which is larger than
2409 int on some platforms.
2410 * functions.texi: Regenerated.
2411
0f3538e7
DD
24122003-05-07 Josef Zlomek <zlomekj@suse.cz>
2413
2414 * splay-tree.c (splay_tree_predecessor): Fix comment.
2415 (splay_tree_successor): Fix comment.
2416
7108c5dc
JM
24172003-05-07 Jason Merrill <jason@redhat.com>
2418
eafaf5eb 2419 * hashtab.c (iterative_hash): New fn.
7108c5dc
JM
2420 * configure.in: Add AC_C_BIGENDIAN_CROSS.
2421 * aclocal.m4: Include accross.m4.
2422 * configure, config.in: Regenerate.
2423
0b555173
DD
24242003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2425
2426 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
2427 * configure: Regenerate.
2428
8730135a
DD
24292003-05-03 Carlo Wood <carlo@alinoe.com>
2430
2431 * cp-demangle.c: Fix typo in "char_traints" string-literal.
2432
341eccbc
DD
24332003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2434
2435 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
2436 (main): Test that we don't write too much data.
2437
2ed1e5cc
DD
24382003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2439
2440 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
2441 vsnprintf.
2442 * snprintf.c, vsnprintf.c: New files.
2443 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
2444 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
2445 Regenerate dependencies.
2446
2447 * functions.texi, configure, config.in: Regenerated.
2448
10b57b38
DD
24492003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2450
2451 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
2452 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
2453 and stpncpy.
2454 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
2455 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
2456 Regenerate dependencies.
2457
2458 * functions.texi, configure, config.in: Regenerated.
2459
ff773b85
DD
24602003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2461
2462 * argv.c: Fix comments.
2463 * calloc.c: Don't unnecessarily include "libiberty.h".
2464 (bzero): Add prototype.
2465 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
2466 * getcwd.c (getcwd): Use standard definition to avoid conflicts
2467 with system headers.
2468 * hashtab.c (htab_traverse): Delete unused variables.
2469 * rename.c: Include "ansidecl.h".
2470 (rename): Use standard definition to avoid conflicts with system
2471 headers.
2472 * strsignal.c: Rely on ANSI_PROTOTYPES.
2473 * strstr.c: Check GNUC >= 2, not GNUC == 2.
2474 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
2475 * vprintf.c: Include "ansidecl.h" earlier, rely on
2476 ANSI_PROTOTYPES.
2477 * vsprintf.c: Include "ansidecl.h" earlier, rely on
2478 ANSI_PROTOTYPES and possibly include <stdarg.h>.
cbc0188b 2479
ff773b85
DD
2480 * Makefile.in: Regenerate dependencies.
2481
bb325820
DD
24822003-04-15 DJ Delorie <dj@redhat.com>
2483
2484 * maint-tool (deps): Scan for headers in $srcdir also.
2485
258a4893
DD
24862003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2487
2488 PR target/10338
2489 PR bootstrap/10198
2490 PR bootstrap/10140
2491 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
2492 __mempcpy.
2493 * regex.c (regerror): Likewise.
2494
ff773b85
DD
24952003-04-14 Roger Sayle <roger@eyesopen.com>
2496
2497 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
2498 * memchr.c: Likewise.
2499 * strcasecmp.c: Likewise.
2500 * strncasecmp.c: Likewise.
2501 * strncmp.c: Likewise.
2502 * xatexit.c: Likewise.
2503 * xmalloc.c: Likewise.
2504
2505 * copysign.c: Use traditional function declaration instead of DEFUN.
2506 * sigsetmask.c: Likewise.
2507
2508 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
2509 * memset.c: Likewise.
2510
2511 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
2512 * memmove.c: Likewise.
2513
eec539c7
DD
25142003-04-14 Roger Sayle <roger@eyesopen.com>
2515
2516 * strdup.c (strdup): Tweak implementation to use memcpy.
2517
daf7c4ad
DD
25182003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2519
2520 * configure.in (HAVE_UINTPTR_T): Always define.
2521 * configure: Regenerated.
2522
aa072e59
AO
25232003-03-23 Alexandre Oliva <aoliva@redhat.com>
2524
2525 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
2526 instead of $$CC alone.
2527 (install_to_tooldir): Use it.
2528
f77ed96c
DD
25292003-17-03 Jan Hubicka <jh@suse.cz>
2530
2531 * hashtab.c (htab_traverse_noresize): Break out from ...
2532 * hashtab.c (htab_traverse): ... here.
2533
2336e177
DD
25342003-12-03 Jan Hubicka <jh@suse.cz>
2535
2536 * hashtab.c (htab_expand): Fix warning.
2537
2538 * hashtab.c (htab_expand): Compute the size of hashtable based
2539 on the number of elements actually used.
2540 (htab_traverse): Call htab_expand when table is too empty.
2541
d8cbbf95
DD
25422003-03-11 Carlo Wood <carlo@gnu.org>
2543
2544 * cplus-dem.c (demangle_integral_value): Correction to reflect
2545 patch of 2002-01-10 in order to also make negative multi-digits
2546 without leading underscore work.
2547
a01fefeb
DD
25482003-03-03 Mark Mitchell <mark@codesourcery.com>
2549
2550 * cplus-dem.c: Add license exception to copyright notice.
2551
638ceb1a
DD
25522003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2553
2554 * physmem.c: Formatting changes from upstream.
2555
ef803806
DD
25562003-02-24 Danny Smith <dannysmith@users.source.forge.net>
2557
2558 * physmem.c (physmem_total): Add _WIN32 support.
2559 (physmem_available): Likewise.
2560
181fa229
DD
25612003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2562
2563 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
2564 GSI_PHYSMEM.
2565 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
2566
cc529274
DD
25672003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2568
2569 * configure.in: Check for sys/systemcfg.h and
2570 _system_configuration.
2571 * physmem.c: Add support for AIX. Tweek formatting as per
2572 upstream coreutils beta.
2573
25742003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2575 Richard Earnshaw <rearnsha@arm.com>
2576 Geoffrey Keating <geoffk@apple.com>
cbc0188b 2577
cc529274
DD
2578 * configure.in: Check for sys/sysctl.h and sysctl.
2579 * physmem.c: Add support for *bsd and darwin.
2580 * Makefile.in: Generate depedency for physmem.o.
2581
192cbe66
DD
25822003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2583
2584 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
2585 Tru64 UNIX.
2586 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
2587 Tru64 UNIX.
2588
2589 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
2590 machine/hal_sysinfo.h, sys/table.h.
2591 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
2592 * configure, config.in: Regenerate.
2593
ff773b85
DD
25942003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2595
2596 * configure.in: Check for sys/sysmp.h and sysmp.
2597 * physmem.c: Pull upstream copy, add support for irix6.
2598
2599 * config.in, configure: Regenerated.
2600
900d2082
DD
26012003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2602
2603 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
2604 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
2605 pstat_getdynamic.
cbc0188b 2606
4938384a
DD
26072003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2608
2609 * Makefile.in (CFILES): Add physmem.c.
2610 (REQUIRED_OFILES): Add physmem.o.
2611 * configure.in: Check for sys/pstat.h.
2612 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
2613 * physmem.c: New file, copied from textutils.
2614
2615 * config.in, configure: Regenerated.
2616
ba61a412
DJ
26172003-02-20 Daniel Jacobowitz <drow@mvista.com>
2618
2619 * Makefile.in (CFILES): Add lrealpath.c.
2620 (REQUIRED_OFILES): Add lrealpath.o.
2621 (lrealpath.o): Add rule.
2622 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
2623 * configure.in: Add realpath and canonicalize_file_name to
2624 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
2625 for canonicalize_file_name.
2626 * lrealpath.c: New file.
2627 * make-relative-prefix.c: Update documentation.
2628 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
2629 * config.in: Regenerated.
2630 * configure: Regenerated.
2631 * functions.texi: Regenerated.
2632
25dfe0ac
DD
26332003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
2634
2635 * cplus_dem.c: Fix typo: intializes -> initializes.
2636
8b90eef4
AO
26372003-02-20 Alexandre Oliva <aoliva@redhat.com>
2638
2639 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2640 config.status.
2641 * configure: Rebuilt.
2642
fcd7c7c9
DD
26432003-02-13 Daniel Jacobowitz <drow@mvista.com>
2644
2645 Fix PR c++/7612.
2646 * cplus-dem.c (demangle_signature): Call string_delete.
2647 Remove extra string_init.
2648 (demangle_arm_hp_template): Call string_delete instead of
2649 string_clear. Add missing string_delete call.
2650 (demangle_qualified): Add missing string_delete call.
2651 (do_type): Remove unused variable btype. Add missing string_delete
2652 call. Call string_delete instead of string_clear.
2653 (demangle_fund_type): Move variable btype inside of the switch
2654 statement. Add missing string_delete call.
2655 (do_arg): Call string_delete instead of string_clear. Remove extra
2656 string_init.
2657 (demangle_nested_args): Free work->previous_argument.
2658
073c427b
DD
26592003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2660
2661 * acconfig.h: New file. Add uintptr_t.
2662 * config.in: Regenerated.
2663
f8bd3000
DD
26642003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2665
2666 * libiberty.texi: Update to GFDL 1.2.
2667
85b9a938
DD
26682003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2669
2670 * Makefile.in (libiberty_topdir): New subst.
2671 (mkinstalldirs): Redefine in terms of the above.
2672 * configure.in: AC_SUBST it.
2673 * configure: Regenerate.
2674
578460f2
AO
26752003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2676
2677 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
2678 (info-subdir, install-info-subdir, clean-info-subdir)
2679 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
2680 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
2681 Pass $(FLAGS_TO_PASS).
2682
7f285245
AO
26832003-01-27 Alexandre Oliva <aoliva@redhat.com>
2684
2685 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
2686 /`$$CC -print-multi-os-directory`.
2687
5f9624e3
DJ
26882003-01-26 Daniel Jacobowitz <drow@mvista.com>
2689
2690 * hashtab.c (htab_create_alloc_ex): New function.
2691 (hatab_set_functions_ex): New function.
2692 (htab_delete, htab_expand): Support alternate allocation functions.
2693
9c2259b8
DD
26942003-01-24 Christopher Faylor <cgf@redhat.com>
2695
2696 * configure.in: Remove special pex-cygwin consideration.
2697 * configure: Regenerate.
2698 * pex-cygwin.c: Remove.
2699 * Makefile.in: Remove pex-cygwin.[co] lines.
2700
5a17353c
DD
27012003-01-24 Zack Weinberg <zack@codesourcery.com>
2702
2703 * Makefile.in (CFILES): Add pex-*.c.
2704 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
2705 (CONFIGURED_OFILES): Add pex-*.o.
2706 (TEXIFILES): Add pexecute.txh.
2707 (pexecute.o): Delete rule.
2708 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
2709 pex-unix.o, pex-win32.o): New rules.
2710 * configure.in: Change AC_INIT argument to xmalloc.c.
2711 Compute appropriate pexecute implementation and substitute it
2712 as @pexecute@.
2713
2714 * pexecute.c: Split up into...
2715 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
2716 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
2717 new files.
2718
2719 * functions.texi: Regenerate.
2720 * configure: Regenerate.
2721
eed2b28c
DD
27222003-01-20 Josef Zlomek <zlomekj@suse.cz>
2723
2724 * hashtab.c (htab_expand): Fix allocation of new entries.
2725
27a39a5f
DD
27262003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2727
2728 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2729
2730 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
2731 mkinstalldirs command.
2732
b51c1553
DD
27332002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
2734
2735 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
2736 Define for hosts with HOST_EXECUTABLE_SUFFIX.
2737
756954c3
DD
27382002-11-24 Nick Clifton <nickc@redhat.com>
2739
2740 * make-relative-prefix.c (make_relative_prefix): Ensure return
2741 string is empty before using strcat to construct it.
2742
2a80c0a4
DD
27432002-11-22 Daniel Jacobowitz <drow@mvista.com>
2744
2745 * Makefile.in: Add make-relative-prefix.c.
2746 * make-relative-prefix.c: New file.
2747 * functions.texi: Rebuilt.
2748
768b20d8
JJ
27492002-11-16 Jakub Jelinek <jakub@redhat.com>
2750
2751 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
2752 used with arguments in traditional C' warnings.
2753
f52d1d64
JJ
27542002-10-16 Jakub Jelinek <jakub@redhat.com>
2755
2756 * config.table: Use mh-s390pic for s390x too.
2757
0d3deb8d
DD
27582002-10-06 Andreas Jaeger <aj@suse.de>
2759
2760 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
2761 variable and of strict-aliasing warning.
2762 (grow_vect): Use char as first parameter.
2763
1b67de92
DD
27642002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2765
2766 * Makefile.in (all): Fix multilib parallel build.
2767
585cc78f
DD
27682002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
2769
2770 * cp-demangle.c (demangling_new): Cast 0 to enum.
2771 (demangle_char): Cast return of strdup to char *.
2772 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
2773 (is_gnu_v3_mangled_dtor): Likewise.
2774 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
2775 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
2776 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
2777 * md5.c (md5_process_bytes): Cast results back to const void *.
2778 (md5_process_block): Add cast to const md5_uint32 *.
2779 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
2780 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
2781 unsigned short.
2782 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
2783 to void *.
2784 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
2785
e21b0cc1
NC
27862002-09-19 Nick Clifton <nickc@redhat.com>
2787
2788 * README: Update email addresses for bugs and patches.
2789
a54ba43f
DD
27902002-09-10 Mike Stump <mrs@apple.com>
2791
2792 * splay-tree.c (splay_tree_successor): Fix comments.
2793
27942002-09-11 Zack Weinberg <zack@codesourcery.com>
2795
2796 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
2797 * testsuite/Makefile.in: Adjust for test-demangle.
2798 * testsuite/regress-demangle: Deleted.
2799 * testsuite/test-demangle.c: New file.
2800 * testsuite/demangle-expected: Change \$ to $ throughout, now that
2801 this file is not being read by a shell script.
2802
01cea699
DD
28032002-09-05 Roger Sayle <roger@eyesopen.com>
2804
2805 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
2806
a2832523
DD
28072002-08-07 DJ Delorie <dj@redhat.com>
2808
2809 * regex.c (re_error_msgid): Just use a simple array of strings.
2810 (re_compile_pattern): Compensate.
2811 (re_comp): Likewise.
2812 (re_comp): Likewise.
2813 (regerror): Likewise.
2814
1e3f0be0
DD
28152002-07-29 Neil Booth <neil@daikokuya.co.uk>
2816
2817 * cplus-dem.c (PREPEND_BLANK): Remove.
2818
b851d07b
DD
28192002-07-10 Jason Merrill <jason@redhat.com>
2820
2821 * cp-demangle.c (demangle_identifier): Support extended Unicode
2822 characters.
2823
2a9dffbf
DD
28242002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2825
2826 * cp-demangle.c (demangle_v3_with_details): Wrap in
2827 !defined IN_GLIBCPP_V3.
2828
793011ca
DD
28292002-07-01 Mark Mitchell <mark@codesourcery.com>
2830
2831 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
2832 Set it for the "st" operator.
2833 (demangle_expression): Handle expressions with types as arguments.
2834
b39b76b8
DD
28352002-06-30 Douglas Rupp <rupp@gnat.com>
2836
2837 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
2838 * Makefile.in (OUTPUT_OPTION): Use.
2839
4748c6d8
DD
28402002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
2841
2842 * Makefile.in (install_to_libdir): Add $(DESTDIR).
2843 (install_to_tooldir): Likewise.
2844
f9c3326a
DD
28452002-06-17 Douglas Rupp <rupp@gnat.com>
2846
2847 * lbasename.c: Add 2002 to copyright.
2848 (IS_DIR_SEPARATOR): Remove VMS junk.
2849
18893690
DD
28502002-06-05 Geoffrey Keating <geoffk@redhat.com>
2851
2852 * hashtab.c (htab_create): New stub function for backward
2853 compatibility.
2854 (htab_try_create): Likewise.
2855
28562002-06-03 Geoffrey Keating <geoffk@redhat.com>
2857
2858 * hashtab.c (htab_create): Delete.
2859 (htab_try_create): Delete.
2860 (htab_create_alloc): New.
2861 (htab_delete): Support user-specified memory allocation.
2862 (htab_expand): Likewise.
2863
28642002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
2865
2866 * configure.in: Fix typo in the code checking for sys_errlist.
2867 * configure: Regenerated.
2868
9296c8b2
DD
28692002-05-13 Andreas Schwab <schwab@suse.de>
2870
2871 * config.table: Use mh-x86pic also for x86-64.
2872
52d98c2d
DD
28732002-05-08 Alexandre Oliva <aoliva@redhat.com>
2874
2875 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2876 script entry, and set LD to it when configuring multilibs.
2877 * configure: Rebuilt.
2878
cafa3917
DD
28792002-05-07 Mark Mitchell <mark@codesourcery.com>
2880
2881 * configure.in (AC_TYPE_PID_T): Use it.
2882 * configure: Regenerated.
2883 * getruntime.c: Include <sys/types.h>.
2884 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
2885
b1c933fc
RH
28862002-04-09 Richard Henderson <rth@redhat.com>
2887
2888 * hashtab.c (higher_prime_number): Use 7 as minimum.
2889 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
2890 (htab_find_slot_with_hash): Likewise.
2891
0c4460bb
DD
28922002-04-01 Phil Edwards <pme@gcc.gnu.org>
2893
2894 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
2895 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
2896 not compile if IN_GLIBCPP_V3 defined.
2897 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
2898
f2160d2b
DD
28992002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2900
3ebf1f59 2901 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
2902 if it is NULL.
2903
7dd4d42a
DD
29042002-03-27 DJ Delorie <dj@redhat.com>
2905
2906 * hex.c: Add documentation.
2907 (_hex_value): Provide non-ASCII empty table.
2908 (hex_init): Initialize the non-ASCII table.
2909 * functions.texi: Regenerate.
2910
38e57a35
DD
29112002-03-27 Mark Mitchell <mark@codesourcery.com>
2912
2913 * dyn-string.c: Add libgcc exception to copyright notice.
2914
cfed0715
DD
29152002-03-26 H.J. Lu (hjl@gnu.org)
2916
2917 * config.table: Support --with-build-subdir.
2918 * configure.in: Likewise.
2919 * configure: Rebuild.
2920
1504972f
DD
29212002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
2922
2923 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
2924 seen.
2925
35efcd67
DD
29262002-03-12 Mark Mitchell <mark@codesourcery.com>
2927
2928 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
2929 notice.
2930
dabc64ea
DD
29312002-03-11 Douglas B Rupp <rupp@gnat.com>
2932
2933 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
2934
3ddbd84c
JB
29352002-03-06 Jim Blandy <jimb@redhat.com>
2936
2937 * splay-tree.c (splay_tree_xmalloc_allocate,
2938 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
2939 prototyped definitions. Mark `data' arguments as unused.
2940
efdab807
AC
29412002-03-06 Andrew Cagney <ac131313@redhat.com>
2942
2943 * floatformat.c (floatformat_arm_ext_big): Delete definition.
2944
50d4562d
DD
29452002-03-04 Phil Edwards <pme@gcc.gnu.org>
2946
2947 * configure.in: Add --enable-install-libiberty option.
2948 * Makefile.in (INSTALLED_HEADERS): New variable.
2949 (install_to_libdir): Possibly also copy headers.
2950 * configure: Regenerated.
2951
29522002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
2953
2954 * xmalloc.c (xmalloc_fail): Clarify error message further.
2955
6e9980f5
DD
29562002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
2957
2958 * xmalloc.c (xmalloc_fail): Clarify error message.
2959
18893690 29602002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
2961
2962 * splay-tree.c (splay_tree_xmalloc_allocate,
2963 splay_tree_xmalloc_deallocate): New functions.
2964 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
2965 above functions and a dummy data pointer.
2966 (splay_tree_new_with_allocator): New function.
2967 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
2968 splay_tree_remove): Use the splay tree's allocation and
2969 deallocation functions.
2970
59ea9fe7
DD
29712002-02-19 Scott Snyder <snyder@fnal.gov>
2972
2973 * testsuite/demangle-expected: Add test case for infinite loop in
2974 demangler.
2975 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
2976 if do_type() doesn't make any progress --- prevents an infinite
2977 loop.
2978
6f848550
DD
29792002-02-18 Carlo Wood <carlo@gnu.org>
2980
2981 PR c++/5390
2982 * cplus-dem.c (demangle_integral_value): Accept multi-digit
2983 numbers that do not start with an underscore; This is needed
2984 for integer template parameters. This doesn't break anything
2985 because multi-digit numbers are never followed by a digit.
2986 * testsuite/demangle-expected: Corrected all mangled test
2987 cases with multi-digit template parameters: g++ 2.95.x does
2988 not generate underscores around these parameters.
2989
44354ae1
DD
29902002-02-05 Jason Merrill <jason@redhat.com>
2991
2992 * cplus-dem.c (flags): Add DMGL_VERBOSE
2993 (cplus_demangle_v3_p): Remove.
2994 (demangle_it): Add DMGL_TYPES to passed flags.
2995 * cp-demangle.c (cplus_demangle_v3_all): Remove.
2996 (cplus_demangle_v3_type): Remove.
2997 (cplus_demangle_v3): Add options parm.
2998
42da15d6
DD
29992002-02-02 H.J. Lu (hjl@gnu.org)
3000
3001 * cp-demangle.c (cp_demangle_type): Do not protect with
3002 IN_LIBGCC2.
3003 (cplus_demangle_v3_all): New.
3004 (cplus_demangle_v3): Call cplus_demangle_v3_all.
3005 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
3006
3007 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
3008 Initialized to cplus_demangle_v3.
3009 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
3010 of cplus_demangle_v3.
3011 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
3012 command line symbol.
3013
3014 * testsuite/regress-demangle: Pass the mangled name at the
3015 command line.
3016
b117c158
DD
30172002-02-01 H.J. Lu <hjl@gnu.org>
3018
3019 * cp-demangle.c (cp_demangle_type): Call demangling_new with
3020 DMGL_GNU_V3.
3021
c78d91b1
DD
30222002-01-31 Phil Edwards <pme@gcc.gnu.org>
3023
3024 * cp-demangle.c: Revert yesterday's change.
3025
bef8b55d
DD
30262002-01-31 Adam Megacz <adam@xwt.org>
3027
3028 * gcc/libiberty/configure.in: Treat mingw the same as cywin
3029 wrt HAVE_SYS_ERRLIST.
3030
2c955b8b
DD
30312002-01-30 Phil Edwards <pme@gcc.gnu.org>
3032
3033 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
3034 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
3035 cp_demangle_type.
3036 * testsuite/demangle-expected: New gnu-v3 test.
3037
58b1717a
RH
30382002-01-22 Momchil Velikov <velco@fadata.bg>
3039
3040 * configure.in (variable detection): Use arrays of unspecified
3041 size instead of plain integers.
3042
cc096b71
DD
30432002-01-18 DJ Delorie <dj@redhat.com>
3044
3045 * Makefile.in (TESTLIB): New. This library is for future
3046 testsuites.
3047 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
3048 break down by letter.
3049 (REQUIRED_OFILES): List long-to-compile files first.
3050 (maint-deps): New, target for updating dependencies.
3051 (dependencies): Update.
3052 * maint-tool: Add dependency-generating option.
3053 * configure.in: Check for _doprnt even if we're not providing it.
3054 * configure: Regenerate.
3055
3056 * _doprnt.c: Modifications to allow compiling on any platform.
3057 * copysign.c: Likewise.
3058 * putenv.c: Likewise.
3059 * setenv.c: Likewise.
3060 * vsprintf.c: Likewise.
3061
30622002-01-15 Douglas B Rupp <rupp@gnat.com>
3063
3064 * mkstemps.c (mkstemps): On VMS, open temp file with option
3065 that causes it to be deleted when closed.
3066
20d54542
DD
30672002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3068
c23795e2
DD
3069 * cp-demangle.c (long_options): Const-ify.
3070 * cplus-dem.c (long_options): Likewise.
3071
20d54542
DD
3072 * cplus-dem.c (mystrstr): Delete. All callers changed to use
3073 strstr instead.
3074
f348a7b1
DD
30752001-12-31 Ira Ruben <ira@apple.com>
3076
3077 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
3078 * configure: Regenerated.
3079
d86cd745
DD
30802001-12-24 Douglas B. Rupp <rupp@gnat.com>
3081
3082 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
3083 * configure: Regenerated.
3084
ae533646
DD
30852001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
3086
3087 PR other/2719
3088 * cplus-dem.c (consume_count): Treat negative count as an error.
3089 * testsuite/demangle-expected: Added testcase.
3090
c0eb281b
DD
3091Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
3092
3093 * configure.in: Hardcode that vfork works on VMS host.
3094 * configure: Regenerated.
3095
2da4c07f
RH
30962001-12-06 Richard Henderson <rth@redhat.com>
3097
3098 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
3099 (cplus_demangle): Support no_demangling.
3100
24acd898
DD
31012001-11-27 Zack Weinberg <zack@codesourcery.com>
3102
3103 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
3104 in libiberty context. Fix typo in leading comment.
3105 * configure.in: Fix various AC_DEFINEs so autoheader works.
3106 If any of vprintf, vsprintf, vfprintf is missing from libc,
3107 then AC_REPLACE_FUNCS(_doprnt).
3108
fec50157 31092001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 3110 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
3111
3112 * Makefile.in (stamp-h): Depend on Makefile for proper
3113 serialization.
3114 (*-subdir): Depend on config.h for proper serialization.
3115
5527febf
DD
31162001-11-26 DJ Delorie <dj@redhat.com>
3117
3118 * configure.in: Check for alloca.h (for regex.c and putenv.c).
3119 * configure: Regenerate.
3120 * config.h: Add HAVE_ALLOCA_H.
3121
941d74a0
DD
31222001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3123
3124 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
3125 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
3126 is available.
3127
dc579051
DD
3128Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
3129
3130 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
3131 * configure.in (HAVE_UINTPTR_T): Test for system defining
3132 uintptr_t and define HAVE_UINTPTR_T appropriately.
3133 * regex.c (uintptr_t): Do not provide a definition if the
3134 system provided one.
3135
3136 * regex.c (PREFIX): Provide an alternate definition for
3137 non-ANSI/ISO compilers.
3138 (ARG_PREFIX): Likewise.
3139
1a78a35a
DD
31402001-11-12 Jim Meyering <meyering@lucent.com>
3141
3142 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
3143 this code would end up calling gettext even in packages built
3144 with --disable-nls.
3145 * getopt.c (_): Likewise.
3146 * regex.c (_): Likewise.
3147
4e55c4b6
DD
31482001-11-03 Alan Modra <amodra@bigpond.net.au>
3149
3150 * configure.in: Cope with missing makeinfo.
3151 * configure: Regenerate.
3152
d311a83a
DD
31532001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3154
3155 * hex.c (hex_init): Provide empty stub.
3156
3157 * hex.c (hex_init): Delete.
3158 (_hex_value): Const-ify and initialize at compile-time.
3159
3bc62f91
DD
31602001-10-19 H.J. Lu <hjl@gnu.org>
3161
3162 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
3163 necessary.
3164
5d852400
DD
31652001-10-17 DJ Delorie <dj@redhat.com>
3166
3167 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
3168 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 3169 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
3170 Improve manual formatting.
3171 * functions.texi: Regenerate.
3172
ba19b94f
DD
31732001-10-15 DJ Delorie <dj@redhat.com>
3174
3175 * Makefile.in (TEXIFILES): Add fnmatch.txh.
3176 (maint-undoc): New.
3177 maint-tool: Add "undoc" tool.
3178 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
3179 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
3180 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
3181 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
3182 documentation.
3183 * fnmatch.txh: New.
3184 * functions.texi: Regenerate.
3185
56056af5
DD
31862001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
3187
3188 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
3189 * strtod.c: Use "ISO C" instead of "ANSI C".
3190 * functions.texi: Regenerate.
3191
99b58139
DD
31922001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3193
3194 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
3195 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
3196 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
3197 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
3198 spelling. Give names to function arguments in documentation. Use
3199 (void) prototypes in documentation.
3200 * functions.texi: Regenerate.
3201
e6450fe5
DD
32022001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3203
3204 * argv.c (buildargv, tests, main): Const-ify.
3205 * cp-demangle.c (operator_code): Likewise.
3206 * cplus-dem.c (optable, libiberty_demanglers,
3207 cplus_demangle_set_style, cplus_demangle_name_to_style,
3208 print_demangler_list): Likewise.
3209 * hashtab.c (higher_prime_number): Likewise.
3210 * strcasecmp.c (charmap): Likewise.
3211 * strerror.c (error_info, strerror, main): Likewise.
3212 * strncasecmp.c (charmap): Likewise.
3213 * strsignal.c (signal_info): Likewise.
3214
da191b5b
DD
32152001-09-29 DJ Delorie <dj@redhat.com>
3216
3217 * configure: Regenerate.
3218
916aaa12
DD
32192001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3220
3221 * concat.c: Include stdlib.h.
3222
fa9f0e33
DD
32232001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
3224
3225 * libiberty.texi: (Top level): Add syncodeindex pg. Add
3226 @dircategory and @direntry directives. Add @finalout.
3227 (many nodes): Lose the next,prev,up pointers on the @nide line.
3228 (Using, Supplemental Functions, Replacement Functions): Fix
3229 markup.
3230 (Functions): Move around, to allow makeinfo to build the manual
3231 without next,prev,up pointers in thye node lines.
3232 (Licenses): Fix typos.
3233
3234 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
3235 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
3236 * functions.texi: Regenerate.
3237
3238 * copying-lib.texi: Lose the next,prev,up pointers on the @node
3239 line.
3240
32412001-09-27 DJ Delorie <dj@redhat.com>
3242
3243 * configure.in: Don't use in-tree texinfo, because libiberty must
3244 be built before it. Check for makeinfo version 4 or higher.
3245 * functions.texi: Regenerate.
3246
39423523
DD
32472001-09-20 DJ Delorie <dj@redhat.com>
3248 Phil Edwards <pedwards@disaster.jaj.com>
3249
3250 * configure.in (MAKEINFO, PERL): Detect these.
3251 (--enable-maintainer-mode): Add.
3252 * configure: Regenerate.
3253 * Makefile.in (MAKEINFO, PERL): Define.
3254 (libiberty.info, libiberty.dvi, libiberty.html): New.
3255 (CFILES): Add bsearch.c.
3256 (CONFIGURED_OFILES): New, list of objects configure might add.
3257 (maint-missing, maint-buildall): New, for maintainers only.
3258 (clean, mostlyclean): Add info/dvi/html files.
3259 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
3260 * gather-docs: New, for maintainers.
3261 * maint-tool: New, for maintainers.
3262 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
3263 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
3264 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
3265 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
3266 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
3267 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
3268 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
3269 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
3270 documentation.
3271
66c94e19
DD
32722001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3273
3274 * concat.c (reconcat): Fix for traditional C.
3275
99ee3a8f
DD
32762001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3277
3278 * concat.c (reconcat): New function.
3279
54c20242
DD
32802001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3281
3282 * concat.c (vconcat_length, vconcat_copy, concat_length,
3283 concat_copy, concat_copy2): New functions.
3284 (concat): Use vconcat_length/vconcat_copy.
3285
3286 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
3287 Define.
3288
843f21be
DD
32892001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3290
3291 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
3292 VA_FIXEDARG & VA_CLOSE.
3293
3294 * vasprintf.c: Check HAVE_STRING_H when including string.h.
3295 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
3296 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
3297
8a423cb3
DD
32982001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3299
3300 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
3301
dc676635
DD
33022001-08-23 Ulrich Drepper <drepper@redhat.com>
3303
3304 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
3305
33062001-08-23 Ulrich Drepper <drepper@redhat.com>
3307
3308 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
3309 instead of mbrtowc.
3310 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
3311 wcslen, and __wcscoll instead of wcscoll.
3312
f080c76d
DD
33132001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
3314
3ebf1f59
DD
3315 * fibheap.c (fibheap_init, fibnode_init): Remove.
3316 (fibheap_new, fibnode_new): Use xcalloc to allocate and
3317 initialize memory.
3318 (fibheap_insert): Remove check for node allocation failure.
f080c76d 3319
f01b59ed
DD
33202001-08-21 Richard Henderson <rth@redhat.com>
3321
3322 * Makefile.in (fibheap.o): Depend on config.h.
3323 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
3324 functions for inlining.
3325
3326Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
3327
3328 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
3329 hosting on cygwin.
3330 * configure: Regenerate.
3331
eb828599
AC
33322001-08-20 Andrew Cagney <ac131313@redhat.com>
3333
3334 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
3335 HARRIS_FLOAT_FORMAT.
3336 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
3337 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
3338 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
3339 (floatformat_m88110_harris_ext): New float formats.
3340
4e55c4b6
DD
33412001-08-20 Daniel Berlin <dan@cgsoftware.com>
3342
3343 * fibheap.c: New file. Fibonacci heap.
3344
3345 * Makefile.in (CFILES): Add fibheap.c.
3346 (REQUIRED_OFILES): Add fibheap.o.
3347 (fibheap.o): Add dependencies for fibheap.o.
3348
68a41de7
DD
33492001-08-17 Christopher Faylor <cgf@cygnus.com>
3350
3351 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
3352 * configure: Regenerate.
3353
8fc34799
DD
33542001-08-16 Richard Henderson <rth@redhat.com>
3355
3356 * hashtab.c (htab_hash_string): New.
3357
16bad250
AC
33582001-08-13 Andrew Cagney <ac131313@redhat.com>
3359
3360 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
3361 name.
3362
a9022147
DD
33632001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
3364
3365 * regex.c (wcs_regex_compile): Use appropriate string
3366 to compare with collating element.
3367 Fix the padding for the alignment.
3368
8aefe91a 33692001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
3370
3371 * lbasename.c (lbasename): Change function definition to return a
3372 const char pointer.
3373
e7e9b069
DD
33742001-08-07 Jason Merrill <jason_merrill@redhat.com>
3375
3376 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
3377 for".
3378
cc5144f8
DD
33792001-08-03 Richard Henderson <rth@redhat.com>
3380
3381 * Makefile.in (concat.o): Depend on config.h.
3382
8aefe91a
DD
33832001-07-30 Andreas Jaeger <aj@suse.de>
3384
3385 * concat.c: Include "config.h".
3386
86710ce2
DD
33872001-07-30 Andreas Jaeger <aj@suse.de>
3388
3389 * regex.c: Declare wcs functions only if compiling with
3390 MBS_SUPPORT.
3391 Don't use #elif for traditional C.
3392
33932001-07-23 Ulrich Drepper <drepper@redhat.com>
3394
3395 * regex.c: Revamp memory allocation for WCHAR functions to
3396 not use too much stack.
3397
33982001-07-30 Andreas Jaeger <aj@suse.de>
3399
3400 * regex.c: Declare wcs functions only if compiling with
3401 MBS_SUPPORT.
3402 Don't use #elif for traditional C.
3403
a5d8f731
DD
34042001-07-25 Daniel Jacobowitz <drow@mvista.com>
3405
3406 * Makefile.in (regex.o): Add dependency on config.h.
3407
6ad8a379
DD
34082001-07-18 Andreas Schwab <schwab@suse.de>
3409
3410 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
3411 underscore character.
3412
34132001-07-18 Ulrich Drepper <drepper@redhat.com>
3414
3415 * regex.c: Limit string length printed in debug messages to 100
3416 chars.
3417
34182001-07-18 Andreas Jaeger <aj@suse.de>
3419
3420 * regex.c: Place under LGPL version 2.1.
3421
2a6ef469
DD
34222001-07-10 Jeff Johnston <jjohnstn@redhat.com>
3423
3424 * Makefile.in: Add support for regex code.
3425 * regex.c: New file.
3426
7b78baae
DD
34272001-07-05 Mark Klein <mklein@dis.com>
3428
3429 * Makefile.in: Add ffs.c dependency.
3430 * configure.in: Add ffs.c.
3431 * ffs.c: New file.
3432
926150e2
DD
34332001-06-18 Richard Henderson <rth@redhat.com>
3434
3435 * concat.c: Include <sys/types.h>.
3436
11f6f21d
DD
34372001-06-11 Loren J. Rittle <ljrittle@acm.org>
3438
3439 bootstrap/3106
3440 * strerror.c (sys_nerr): Hide the OS header version.
3441 * strsignal.c (sys_nsig): Likewise.
3442
d42dae6c
DD
34432001-06-10 Richard Henderson <rth@redhat.com>
3444
3445 * concat.c: Include string.h. Fix int vs size_t usage.
3446 Simplify the iteration loops. Use memcpy.
3447
e05c6d27
DD
34482001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
3449
3450 * partition.c: Fix misspelling of `implementation'.
3451
b50c4073
DD
34522001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3453
3454 * md5.c (md5_init_ctx): Declare constants as unsigned.
3455 (md5_process_block): Likewise.
3456
457161bf
DD
34572001-05-07 Zack Weinberg <zackw@stanford.edu>
3458
3459 * cp-demangle.c (demangle_v3_with_details,
3460 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
3461 function definition.
3462 * ternary.c: Use K+R style function definitions. Use PTR, not
3463 void *. Make arguments constant where possible.
3464
e00bc6a7
DD
34652001-05-07 Mark Mitchell <mark@codesourcery.com>
3466
3467 * splay-tree.h (splay_tree_max): New function.
3468 (splay_tree_min): Likewise.
3469
400ee7e1
DB
34702001-04-15 Daniel Berlin <dan@cgsoftware.com>
3471
3472 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
3473
3474 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 3475
d9697354
DD
34762001-04-03 Zack Weinberg <zackw@stanford.edu>
3477
3478 * make-temp-file.c (try): Inline.
3479
a7bf099b
DD
34802001-02-28 Richard Henderson <rth@redhat.com>
3481
3482 * Makefile.in (make-temp-file.o): Depend on config.h.
3483
30a1def2
DD
34842001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3485
3486 * memchr.c (memchr): Adjust condition to avoid infinite loop.
3487
079c672a
DD
34882001-03-23 Jakub Jelinek <jakub@redhat.com>
3489
3490 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
3491 `_' not followed by a digit is invalid.
3492
a88e356a
JB
34932001-03-22 Jim Blandy <jimb@redhat.com>
3494
3495 * cp-demangle.c (string_list_delete): Use dyn_string_delete
3496 instead of free, to free the contents as well as the string
3497 structure.
3498
1dffcc66
DD
34992001-03-21 Zack Weinberg <zackw@stanford.edu>
3500
3501 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
3502 Don't default P_tmpdir to anything. Try /var/tmp before
3503 /usr/tmp.
3504
35052001-03-20 Zack Weinberg <zackw@stanford.edu>
3506
3507 * choose-temp.c: Split off make_temp_file, and the code
3508 duplicated between it and choose_temp_base, into...
3509 * make-temp-file.c: ... here; new file.
3510
3511 * Makefile.in (CFILES): Add make-temp-file.c.
3512 (REQUIRED_OFILES): Add make-temp-file.o.
3513
e61231f1
JB
35142001-03-20 Jim Blandy <jimb@redhat.com>
3515
3516 * cp-demangle.c (struct demangling_def): New fields:
3517 is_constructor and is_destructor.
3518 (demangling_new): Initialize them.
3519 (demangle_ctor_dtor_name): Set them, if we detect a constructor
3520 or destructor.
3521 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
3522 is_gnu_v3_mangled_dtor): New functions.
3523
a9cbbe6d
DD
35242001-03-20 Jason Merrill <jason@redhat.com>
3525
3526 * cplus-dem.c (main): Skip initial $.
3527
b1e51b3c
DD
35282001-03-15 Michael Meissner <meissner@redhat.com>
3529
3530 * hashtab.c (higher_prime_number): Silence warning that 4294967291
3531 might be a signed integer under pre-ISO C systems.
3532
8aa30e60 35332001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 3534 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 3535
8aa30e60
DD
3536 * libiberty/lbasename.c: New file.
3537 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 3538
30673bf5
DD
35392001-03-06 Zack Weinberg <zackw@stanford.edu>
3540
3541 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
3542 * configure.in: Replace all alloca logic with a simple use of
3543 the above new macro.
3544 * config.table: Kill *-*-beos* entry.
3545 * config/mh-beos: Delete.
3546 * configure, config.in: Regenerate.
fa03f0a7 3547
30673bf5
DD
3548 * Makefile.in (ALLOCA, HFILES): Kill.
3549 (REQUIRED_OFILES): Add alloca.o.
3550 (alloca.o): Depend on libiberty.h.
3551 (argv.o): Don't depend on alloca-conf.h.
3552 * alloca-conf.h: Delete.
3553 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
3554 blocks. Provide the C alloca unconditionally. Use PTR where
3555 appropriate. Make i00afunc static.
3556 * argv.c: Don't include alloca-conf.h.
fa03f0a7 3557
5810f394
DD
35582001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3559
3560 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 3561
a9db032a
DD
35622001-02-16 Loren J. Rittle <ljrittle@acm.org>
3563
3564 * cplus-dem.c (main): Initialize style.
fa03f0a7 3565
8aefe91a
DD
35662001-02-02 Phil Edwards <pme@sources.redhat.com>
3567
3568 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
3569
bc9bf259
DD
35702001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
3571
3572 Add support for Java demangling under the v3 ABI:
3573 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
3574 (struct demangling_def): Add `style' field.
3575 (demangling_new): New parameter `style'. Set it in demangling_t.
3576 (demangle_prefix): Use NAMESPACE_SEPARATOR.
3577 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
3578 (cp_demangle): New parameter `style'. Pass it to demangling_new().
3579 (main): Call cp_demangle with extra parameter.
3580 (java_demangle_v3): New function.
3581 (java_builtin_type_names): New. Table of primitive type names used
3582 for Java demangling.
3583 (demangle_builtin_type): Look up in java_builtin_type_names if doing
3584 Java output.
3585 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3586 demangling.
3587 (long_options): Remove obsolete `java' option.
3588 (main): Remove explicit handling of `java' option. Instead, pass style
3589 parameter in cplus_demangle flags as gdb does.
3590 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 3591
f6528837
DD
35922000-12-29 DJ Delorie <dj@redhat.com>
3593
3594 * fnmatch.c: Make the note about the origins of this file more
3595 accurate, at least until we can sync with glibc.
3596 * getopt.c: Ditto.
3597 * getopt1.c: Ditto.
3598 * md5.c: Ditto.
3599 * obstack.c: Ditto.
9d969b59 3600
c6da642e
DD
36012000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3602
3603 * bsearch.c: New file.
3604 * configure.in (funcs): Add bsearch.
3605 (AC_CHECK_FUNCS): Likewise.
3606 * configure, config.in: Regenerate.
3607
ae7d06ad 36082000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
3609
3610 * safe-ctype.c: #include "ansidecl.h".
3611 * strtod.c: Likewise.
3612
ae7d06ad 36132000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
3614
3615 * strtoul.c: Include safe-ctype.h, not ctype.h.
3616
ac424eb3
DD
36172000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
3618
3619 * safe-ctype.c: New file.
3620 * Makefile.in (CFILES): Add safe-ctype.c.
3621 (REQUIRED_OFILES): Add safe-ctype.o.
3622
3623 * argv.c: Define ISBLANK and use it, not isspace.
3624 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
3625 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
3626 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
3627 before calling TOLOWER(c)/TOUPPER(c).
3628
4415a860
DD
36292000-12-07 Mike Stump <mrs@wrs.com>
3630
3631 * Makefile.in (distclean): When cleaning, remove testsuite.
3632
849ee224
DD
36332000-12-05 Jason Merrill <jason@redhat.com>
3634
3635 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
3636 name before allocating the dyn_string.
3637
ae7d06ad 36382000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
3639
3640 * cp-demangle.c: s/new_abi/v3/.
3641 * cplus-dem.c: Likewise.
3642 (current_demangling_style): Now auto_demangling.
3643 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 3644 (main): Use standard symbol chars for auto_demangling.
e49a569c 3645
ae7d06ad 36462000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
3647
3648 * hashtab.c (higher_prime_number): Use a table, rather than a
3649 seive, to find the next prime.
ae7d06ad
NC
3650
36512000-11-22 H.J. Lu <hjl@gnu.org>
3652
3653 * cplus-dem.c (main): Handle gnat_demangling.
3654
36552000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
3656
3657 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
3658 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
3659 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
3660 argument form of AC_DEFINE in dummy definitions block. Use
3661 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
3662 in dummy block. Preload cache variables instead of bypassing
3663 tests, where possible.
3664 * acconfig.h: Removed.
ae7d06ad 3665
2ea7befd
DD
3666 * xmalloc.c (xmalloc_failed): New function, does error
3667 reporting on failed allocation.
3668 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 3669
f1775526
HPN
36702000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
3671
3672 * cplus-dem.c (cplus_demangle): Fix formatting.
3673 (grow_vect): Ditto.
3674 (ada_demangle): Ditto.
3675 (internal_cplus_demangle): Ditto.
3676 (mop_up): Ditto.
3677
36782000-11-21 H.J. Lu <hjl@gnu.org>
3679
3680 * cplus-dem.c (main): Handle java_demangling.
3681
ae7d06ad 36822000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
3683
3684 * cplus-dem.c (grow_vect): Prototype.
3685 (ada_demangle): Cast the arg of ctype macros to unsigned char.
3686
5dd42ef4
HPN
36872000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
3688
3689 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
3690 parameter `option'.
3691
296731c1
DD
36922000-11-15 Kenneth Block <kenneth.block@compaq.com>
3693
8944fb9d 3694 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
3695 be used in GCC.
3696
6e53a714 36972000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 3698
5dd42ef4 3699 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
3700 list.
3701
99a4c1bd
HPN
37022000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
3703
3704 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
3705 xcalloc depending on htab->return_allocation_failure. Return zero
3706 if calloc fails.
99a4c1bd
HPN
3707 (htab_create): Update comment to cover memory allocation.
3708 (htab_try_create): New.
3709 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 3710 Update comment to cover this.
99a4c1bd 3711
e0f3df8f
HPN
37122000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
3713
3714 * hashtab.c: Change void * to PTR where necessary.
3715 (htab_create, htab_expand): Correct formatting of comment before
3716 function.
3717
ae7d06ad 37182000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
3719
3720 * cp-demangle.c (string_list_def): Add caret_position and comments.
3721 (result_caret_pos): New macro.
3722 (result_append_string): Rename to...
3723 (result_add_string): ... this, and insert at caret position.
ae7d06ad 3724 Rename throughout.
59666b35
DD
3725 (result_append): Rename to...
3726 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 3727 throughout.
59666b35
DD
3728 (result_append_char): Rename to...
3729 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 3730 throughout.
59666b35
DD
3731 (result_append_space): Remove.
3732 (string_list_new): Initialize caret position.
3733 (result_add_separated_char): Use caret position.
3734 (result_get_caret): New funtion.
3735 (result_set_caret): Likewise.
3736 (result_shift_caret): Likewise.
3737 (result_previous_char_is_space): Likewise.
3738 (substitution_start): Use caret position.
3739 (substitution_add): Likewise.
3740 (demangling_new): Initialize caret position.
3741 (demangle_encoding): Use caret position.
ae7d06ad 3742 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
3743 (demangle_type_ptr): Use switch statement. Handle pointers to
3744 arrays. Don't use result_append_space. Use caret position.
3745 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
3746 call to demangle_array_type.
3747 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 3748
ae7d06ad 37492000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
3750
3751 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
3752
37532000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
3754
3755 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
3756
37572000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3758
3759 * splay-tree.c: #include <stdio.h>.
3760
37612000-09-14 Hans-Peter Nilsson <hp@axis.com>
3762
3763 * testsuite/demangle-expected: Add two tests for anonymous
3764 namespaces.
3765 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
3766
37672000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
3768
3769 * splay-tree.c (splay_tree_predecessor): New function.
3770 (splay_tree_successor): Likewise.
ae7d06ad
NC
3771
37722000-09-10 Hans-Peter Nilsson <hp@axis.com>
3773
3774 * testsuite/demangle-expected: Add four tests for type_info
3775 mangling.
3776 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
3777 for a non-template non-qualified type_info function or node.
3778
37792000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3780
3781 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
3782
37832000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3784
3785 * md5.c: #include "ansidecl.h".
3786
37872000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3788
3789 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
3790 (demangle_type): Handle substitution candidates correctly in the
3791 face of special substitutions.
ae7d06ad
NC
3792
37932000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3794
3795 * cp-demangle.c (demangle_encoding): Rename variable.
3796 (demangle_name): Rename parameter. Handle return type
3797 suppression.
3798 (demangle_nested_name): Rename parameter.
3799 (demangle_prefix): Likewise. Change return type suppression.
3800 (demangle_unqualified_name): Add parameter. Flag constructors and
3801 conversion operators.
3802 (demangle_special_name): Fix comment.
3803 (demangle_type): Rename variable.
3804 (demangle_bare_function_type): Check for missing return type and
3805 parameter.
3806 (demangle_class_enum_type): Rename parameter.
3807 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
3808
38092000-08-31 DJ Delorie <dj@redhat.com>
3810
3811 * configure.in (Cygwin): special case cygwin only when we're
3812 building cygwin, not when we're hosting cygwin.
3813
38142000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3815
3816 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
3817 <expression>.
ae7d06ad
NC
3818
38192000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3820
3821 * cp-demangle.c (demangle_type_ptr): Increment position past
3822 pointer and reference characters.
ae7d06ad
NC
3823
38242000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3825
3826 * cp-demangle.c (demangle_nv_offset): New function.
3827 (demangle_v_offset): Likewise.
3828 (demangle_call_offset): Likewise.
3829 (demangle_special_name): Update thunk demangling to comply with
3830 ABI changes.
ae7d06ad
NC
3831
38322000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3833
3834 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
3835 (substitution_def): Remove template_parm_number.
3836 (NOT_TEMPLATE_PARM): Remove.
3837 (result_insert_string): New macro.
3838 (result_insert): Likewise.
3839 (result_insert_char): Likewise.
3840 (substitution_add): Remove last parameter. Don't store template
3841 parm number.
3842 (BFT_NO_RETURN_TYPE): Define as NULL.
3843 (demangle_encoding): Adjust call to demangle_bare_function_type.
3844 (demangle_name): Adjust substitution. Adjust call to
3845 substitution_add.
3846 (demangle_prefix): Adjust call to substitution_add.
3847 (demangle_identifier): Handle anonymous namespaces.
3848 (demangle_operator_name): Change demangling of vendor-extended
3849 operator to match ABI changes.
3850 (demangle_type_ptr): Change parameters. Make recursive. Handle
3851 substitutions here.
3852 (demangle_type): Adjust calls to demangle_template_param,
3853 substitution_add, and demangle_type_ptr. Fix substitution of
3854 templated types.
3855 (demangle_function_type): Change parameter to a pointer.
3856 (demangle_bare_function_type): Likewise. Adjust insertion point.
3857 (demangle_template_param): Remove last parameter.
3858 (demangle_expr_primary): Remove unused variable. Adjust call to
3859 demangle_template_param.
3860 (is_mangled_char): Accept `$' and `.'.
3861 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
3862 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
3863
38642000-08-31 Hans-Peter Nilsson <hp@axis.com>
3865
3866 * testsuite/demangle-expected: Add nine tests for
3867 underscore-after-number followed by five tests for name-signature
3868 delimiter.
3869
38702000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
3871
3872 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
3873
38742000-08-28 Jason Merrill <jason@redhat.com>
3875
3876 * Makefile.in (REQUIRED_OFILES): Add md5.o.
3877 (CFILES): Add md5.c.
3878 * md5.c: New file.
3879
38802000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3881
3882 * cp-demangle.c (demangle_name): Initialize template_p in local
3883 name case. Don't re-add substitutions as candidates.
3884 (demangle_nested_name): Use <unqualified-name>.
3885 (demangle_prefix): Likewise. Don't add template names as
3886 substitution candidates twice, or re-add a substitution or the
3887 last prefix component.
3888 (demangle_local_name): Adjust output format.
ae7d06ad
NC
3889
38902000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3891
3892 * cp-demangle.c (result_add_separated_char): Change parameter to
3893 int.
3894 (substitution_add): Don't check for duplicates. Check if
3895 previously allocated size is zero.
3896 (demangle_name): Remove duplicate check for std substitution.
3897 Clear template flag appropriately.
3898 (demangle_prefix): Remove argument to demangle_substitution.
3899 Don't check that template flag is already set.
3900 (demangle_operator_name): Add pt operator.
3901 (demangle_type): Don't treat r as built-in type. Remove argument
3902 to demangle_substitution. Fix substitution candidate mechanics.
3903 Handle <template-template-parm>s. Improve comments.
3904 (demangle_template_param): Don't handle template arg lists here.
3905 (demangle_substitution): Remove parameter.
3906 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
3907
39082000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
3909
3910 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
3911
39122000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
3913
3914 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
3915 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
3916 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
3917
39182000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
3919
3920 * cp-demangle.c (result_close_template_list): Remove function.
3921 (result_add_separated_char): New function.
3922 (result_open_template_list): New macro.
3923 (result_close_template_list): Likewise.
3924 (demangle_prefix): Don't set template_p if the
3925 prefix ends with a ctor name.
3926 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
3927 (demangle_type): Check for template args after substitution.
3928 (demangle_template_args): Use result_open_template_list.
d3e85005 3929
ae7d06ad 39302000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 3931
ae7d06ad 3932 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 3933
ae7d06ad 39342000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
3935
3936 * config/mh-openedition.h: Added -DLE370 definition.
3937
a9f34fb6
JL
39382000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
3939
3940 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
3941 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
3942 Cast program to 'char *' in errmsg_arg assignment.
3943 (PWAIT_ERROR): Define.
3944 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
3945 to DJGPP's WIF* macros.
3946
90aaccd1 39472000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 3948 Jeff Law <law@cygnus.com>
90aaccd1 3949
ae7d06ad 3950 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 3951
90aaccd1 3952 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
3953 * rename.c: Include config.h, unistd.h
3954 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 3955
6ef554e3
HPN
39562000-07-24 Hans-Peter Nilsson <hp@axis.com>
3957
3958 * cplus-dem.c (work_stuff_copy_to_from): New.
3959 (delete_non_B_K_work_stuff): New.
3960 (delete_work_stuff): New.
3961 (mop_up): Break out work_stuff partly destruction to
3962 delete_non_B_K_work_stuff.
3963 (iterate_demangle_function): New.
3964 (demangle_prefix): Call iterate_demangle_function instead of
3965 demangle_function_name. Leave handling of name-signature
3966 __-delimiters to iterate_demangle_function.
3967 (demangle_integral_value): Strip an optional
3968 following underscore cautiously. Handle negative numbers.
3969
ae7d06ad 39702000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 3971
ae7d06ad 3972 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
3973 if (AUTO_DEMANGLING || GNU_DEMANGLING)
3974
ae7d06ad
NC
39752000-07-21 Alex Samuel <samuel@codesourcery.com>
3976
3977 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
3978 allocating ctor mangling.
3979 (demangle_array_type): Handle empty and non-constant array length.
3980
b1233257 39812000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
3982 Jeff Law <law@cygnus.com>
3983
3984 * configure.in (AC_CHECK_HEADERS): Add time.h.
3985 (AC_HEADER_TIME): Add check.
3986 * configure, config.in: Regenerate.
3987 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
3988
3989 * configure.in (AC_CHECK_HEADERS): Add limits.h.
3990 * configure, config.in: Regenerate.
3991 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
3992 * strtol.c, strtoul.c: #include "config.h". Portably #include
3993 <limits.h> and/or <sys/param.h>.
3994 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 3995
7d3ffcaf
JL
3996 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
3997 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
3998 * configure, config.in: Regenerate.
3999 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
4000
b1233257
JL
4001 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
4002
ae7d06ad
NC
40032000-07-21 Mike Stump <mrs@wrs.com>
4004
4005 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
4006 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
4007
40082000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4009
4010 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
4011
4012 * setenv.c (setenv): Initialize variable `ep'.
4013
4014 * sigsetmask.c (abort): Prototype.
4015
4016 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
4017 __STDC__ for stdarg.h include.
4018 (int_vasprintf): Prototype.
4019 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
4020 definition. Cast `global_total_width' in comparison.
4021 (main): Prototype. Return a value.
4022
4023 * vfork.c (fork): Prototype.
4024
4025 * xexit.c: Include config.h.
4026
9adf30b2
JL
40272000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
4028
4029 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
4030 and print it with %u.
4031
2ed78d1b
HPN
40322000-07-17 Hans-Peter Nilsson <hp@axis.com>
4033
4034 * testsuite/regress-demangle (failed test): Show result and
4035 expected output.
4036
0473bdf7
AH
40372000-07-07 Andrew Haley <aph@cygnus.com>
4038
4039 * cplus-dem.c (main): fflush() after emitting last char before
4040 waiting for input.
4041
03d5f569
JM
40422000-06-28 Alex Samuel <samuel@codesourcery.com>
4043
4044 * cp-demangle.c (demangle_encoding): Accept no substitutions.
4045 (demangle_name): Handle <substitution> followed by
4046 <unqualified-template-name>.
4047 (demangle_type): Follow special substitutions with
4048 <class-enum-type>
4049 (demangle_subtitution): Set template_p for special substitutions.
4050 (main): Fix typos.
ae7d06ad 4051
03d5f569
JM
40522000-06-27 Alex Samuel <samuel@codesourcery.com>
4053
4054 * cp-demangle.c (demangle_special_name): Swap base and derived
4055 class when demangling construction vtables.
4056
40572000-06-21 Alex Samuel <samuel@codesourcery.com>
4058
4059 * cp-demangle.c: Don't include ctype.h.
4060 (IS_DIGIT): New macro.
4061 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
4062 instead of isdigit and isalpanum.
4063 (demangling_def): Make name and next const pointers.
4064 (STATUS_ALLOCATION_FAILED): New status code.
4065 (dyn_string_append_space): Handle failure in
4066 dyn_string_append_char.
4067 (int_to_dyn_string): Likewise. Change return value to status_t.
4068 (string_list_new): Handle failure of dyn_string_init.
4069 (result_close_template_list): Change return type to status_t.
4070 Handle failure in dyn_string_append.
4071 (result_push): Change return value to status_t. Handle failure in
4072 string_list_new. Handle failure of result_push throughout.
4073 (substitution_add): Change return value to status_t. Handle
4074 dyn_string failures. Handle failure of substitution_add
4075 throughout.
4076 (template_arg_list_new): Return NULL on allocation failure.
4077 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
4078 Handle error result throughout.
4079 (result_append): Likewise.
4080 (result_append_char): Likewise.
4081 (result_append_space): Likewise.
4082 (demangling_new): Make argument a const pointer. Handle
4083 allocation failures.
4084 (demangle_template_args): Handle failure in template_arg_list_new
4085 and result_close_template_list.
4086 (demangle_discriminator): Return if int_to_dyn_string fails.
4087 (cp_demangle): Likewise.
4088 (cp_demangle_type): New function.
4089 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
4090 memory allocation failure.
4091 (main): Likewise.
4092 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
4093 IN_LIBGCC2.
4094 (dyn_string_init): Change return value to int. Handle
4095 RETURN_ON_ALLOCATION_FAILURE case.
4096 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
4097 (dyn_string_release): Delete the dyn_string.
4098 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
4099 (dyn_string_copy): Change return type to int.
4100 (dyn_string_copy_cstr): Likewise.
4101 (dyn_string_prepend): Likewise.
4102 (dyn_string_prepend_cstr): Likewise.
4103 (dyn_string_insert): Likewise.
4104 (dyn_string_insert_cstr): Likewise.
4105 (dyn_string_append): Likewise.
4106 (dyn_string_append_cstr): Likewise.
4107 (dyn_string_append_char): Likewise.
4108 (dyn_string_substring): Likewise.
ae7d06ad 4109
eb383413 41102000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 4111
eb383413
L
4112 * cp-demangle.c (demangle_operator_name): Add spaces before
4113 names beginning with a letter: delete, delete[], new, new[],
4114 sizeof.
4115 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 4116
eb383413
L
4117Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
4118
4119 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
4120
4121Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
4122
4123 * cp-demangle.c (stdio.h): File included unconditionaly.
4124 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
4125 * dyn-string.c (stdio.h): File included.
4126 * partition.c (partition_print): No `&' needed to take the address of
4127 a function.
4128
41292000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4130
4131 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 4132
eb383413
L
4133 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
4134
4135 * cp-demangle.c (demangle_char): Change parameter from char to int.
4136 (demangle_expression, demangle_expr_primary): Remove extra
4137 semi-colon in prototype.
4138
4139 * dyn-string.c (dyn_string_append_char): Change parameter from
4140 char to int.
4141
4142 * memcmp.c (memcmp): Constify.
4143
4144 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
4145 __extension__.
4146
4147 * partition.c (elem_compare): Prototype. Don't cast away
4148 const-ness.
4149
4150 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 4151
eb383413
L
41522000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4153
4154 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
4155
4156 * cp-demangle.c: Include demangle.h.
4157 (template_arg_list_new): DeANSIfy.
4158 (cp_demangle): Make static and add prototype.
4159 (operator_code, operators): Constify.
4160 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
4161
41622000-06-05 Alex Samuel <samuel@codesourcery.com>
4163
4164 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
4165 unsigned char.
4166 (demangle_unqualified_name): Likewise.
4167 (demangle_number_literally): Likewise.
4168 (demangle_type): Likewise.
4169 (demangle_substitution): Likewise.
4170 (is_mangled_char): Likewise, for isalnum.
4171
41722000-06-04 Alex Samuel <samuel@codesourcery.com>
4173
4174 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
4175 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
4176 (cp-demangle.o): New dependency.
4177 (dyn-string.o): Likewise.
4178
4179 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
4180
4181 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
4182 demangler.
4183 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
4184 demangling mode.
4185 (gnu_new_abi_symbol_characters): New function.
4186 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
4187 file.
4188 * cp-demangle.c: New file.
ae7d06ad 4189
f03aa80d
AC
4190Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
4191
4192 * floatformat.c: Add name to each floatformat field.
4193
77bfb694
JL
4194Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
4195
4196 * Makefile.in (objalloc.o): Depend on config.h
4197
5c82d20a
ZW
41982000-05-29 Zack Weinberg <zack@wolery.cumb.org>
4199
eb383413 4200 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
4201 if HAVE_STRING_H.
4202 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
4203 * objalloc.c: Include config.h. Include stdlib.h and don't
4204 declare malloc or free if HAVE_STDLIB_H.
4205 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
4206 else declare malloc without prototype. Include string.h if
4207 HAVE_STRING_H, else declare memset without prototype. Don't
4208 include stddef.h.
4209
eb383413
L
42102000-05-23 Mike Stump <mrs@wrs.com>
4211
4212 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 4213 -j3.
eb383413
L
4214
42152000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4216
4217 * xmalloc.c: Include config.h for HAVE_SBRK definition.
4218
42192000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
4220
ae7d06ad 4221 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
4222 probably zero, also eliminate a warning on alpha.
4223
42242000-05-15 David Edelsohn <edelsohn@gnu.org>
4225
4226 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
4227 on $(enable_shared).
4228
42292000-05-10 Jakub Jelinek <jakub@redhat.com>
4230
4231 * config.table: Use mh-sparcpic for sparc*-*-*.
4232
42332000-05-08 Nick Clifton <nickc@cygnus.com>
4234
4235 * Makefile.in (CFILES): Add strncmp.c.
4236 (NEEDED): Add strncmp.
4237
42382000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 4239
eb383413
L
4240 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
4241 Cast the arguments to `islower' to `unsigned char'.
4242 (print_demangler_list): Prototype.
4243
4244Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
4245
4246 * sort.c (UCHAR_MAX): Provide fallback definition.
4247
42482000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
4249
4250 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
4251 SUBDIRS.
4252
eb383413
L
42532000-04-28 Kenneth Block <block@zk3.dec.com>
4254 Jason Merrill <jason@casey.cygnus.com>
4255
ae7d06ad
NC
4256 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
4257 (cplus_demangle_set_style): New function for setting style.
4258 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
4259
42602000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4261
4262 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
4263
4264 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
4265 (libiberty_AC_FUNC_STRNCMP): Invoke.
4266
4267 * strncmp.c: New file.
4268
4269Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
4270
4271 * hashtab.c (htab_expand): Add prototype.
4272 (find_empty_slot_for_expand): Likewise.
4273
42742000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4275
4276 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
4277 match prototype.
4278 (htab_expand): Cast the return value of xcalloc.
4279
42802000-04-24 Mark Mitchell <mark@codesourcery.com>
4281
4282 * hashtab.c (hash_pointer): New function.
4283 (eq_pointer): Likewise.
4284 (htab_hash_pointer): New variable.
4285 (htab_eq_pointer): Likewise.
4286
42872000-04-23 Mark Mitchell <mark@codesourcery.com>
4288
4289 * sort.c (sort_pointers): Fix endianness bugs.
4290
4291 * sort.c: New file.
4292 * Makefile.in (CFILES): Add sort.c
4293 (REQUIRED_OFILES): Add sort.o.
4294 (sort.o): New target.
4295
19be4303
JL
42962000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4297
4298 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
4299 4.3BSD systems.
4300
eb383413
L
4301Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4302
4303 * hashtab.c: Various minor cleanups.
4304 (htab_find_slot_with_hash): INSERT is now enum insert_option.
4305 (htab_find_slot): Likewise.
4306
43072000-04-16 Dave Pitts <dpitts@cozx.com>
4308
4309 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 4310
afe36a78
RH
43112000-04-05 Richard Henderson <rth@cygnus.com>
4312
4313 * splay-tree.c (splay_tree_remove): New.
4314
eb383413
L
43152000-03-30 Mark Mitchell <mark@codesourcery.com>
4316
4317 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
4318 codes.
4319 (htab_find_with_hash): Likewise.
4320 (htab_find_slot_with_hash): Likewise.
ae7d06ad 4321
eb383413
L
43222000-03-29 Zack Weinberg <zack@wolery.cumb.org>
4323
4324 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
4325 unless it will be used. Rearrange loop for better
4326 optimization.
4327 (higher_prime_number): Add static prototype.
4328
b4fe2683
JM
4329Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
4330
4331 * Makefile.in (partition.o): Depend on config.h
4332
43332000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
4334
4335 * hashtab.c (find_empty_slot_for_expand): New function.
4336 (htab_expand): Use it instead of htab_find_slot.
4337 (htab_find_with_hash): Renamed from htab_find; now accepts extra
4338 argument HASH.
4339 (htab_find_slot_with_hash): Likewise for htab_find_slot.
4340 (htab_find): New wrapper function.
4341 (htab_find_slot): Likewise.
4342 (htab_traverse): Pass slot, not entry, to called function.
4343
43442000-03-09 Alex Samuel <samuel@codesourcery.com>
4345
4346 * Makefile.in (CFILES): Add partition.c.
4347 (REQUIRED_OFILES): Add partition.o.
4348 (partition.o): New rule.
4349 * partition.c: New file.
ae7d06ad 4350
b4fe2683
JM
43512000-03-09 Zack Weinberg <zack@wolery.cumb.org>
4352
4353 * hashtab.c (htab_create): Set del_f.
4354 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
4355 Use it.
4356
43572000-03-08 Zack Weinberg <zack@wolery.cumb.org>
4358
4359 * hashtab.c: Remove debugging variables (all_searches,
4360 all_collisions, all_expansions). Delete
4361 all_hash_table_collisions.
4362 (create_hash_table, delete_hash_table, empty_hash_table,
4363 find_hash_table_entry, remove_element_from_hash_table_entry,
4364 clear_hash_table_slot, traverse_hash_table, hash_table_size,
4365 hash_table_elements_number, hash_table_collisions): Rename to:
4366 htab_create, htab_delete, htab_empty, htab_find_slot,
4367 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
4368 htab_elements, htab_collisions.
4369 (htab_find): New function, handles common case where you don't
4370 plan to add or delete an entry.
4371 (htab_expand): Don't create a whole new table, just a new
4372 entry vector.
4373 (htab_find_slot): Simplify logic.
4374
08372f14
ILT
43751999-08-03 Ian Lance Taylor <ian@zembu.com>
4376
4377 * floatformat.c: Add casts to avoid signed/unsigned warnings.
4378 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
4379
4380 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
4381 $(TARGETLIB)n so it works on MSDOS.
4382 (install_to_tooldir): Likewise.
4383
9c8ac5a9
ILT
43841999-07-21 Ian Lance Taylor <ian@zembu.com>
4385
4386 From Mark Elbrecht:
4387 * makefile.dos: Remove; obsolete.
8f36e47c 4388 * configure.bat: Remove; obsolete.
9c8ac5a9 4389
0c0a36a4
ILT
43901999-07-11 Ian Lance Taylor <ian@zembu.com>
4391
4392 * splay-tree.c (splay_tree_insert): Add initialization to avoid
4393 warning.
4394
43952000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4396
4397 * pexecute.c: Conditionally include string.h.
b4fe2683 4398 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
4399
44002000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4401
4402 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
4403 we're using gcc.
4404
4405 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
4406
44071999-12-27 Geoff Keating <geoffk@cygnus.com>
4408
4409 * vasprintf.c (int_vasprintf): Don't re-read the format character
4410 as this mishandles strings like '%%s'.
4411
44121999-12-05 Mark Mitchell <mark@codesourcery.com>
4413
4414 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
4415 rather than struct splay_tree_node.
4416 (splay_tree_insert): Use struct splay_tree_s rather than struct
4417 splay_tree.
4418
4419Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
4420
4421 * hashtab.c (sys/types.h): File included.
4422
44231999-11-22 Jason Merrill <jason@casey.cygnus.com>
4424
4425 * strtoul.c, strtol.c, random.c: Remove advertising clause from
4426 BSD license, pursuant with
4427
4428 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
4429
4430Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
4431
4432 * hashtab.c: Include stdio.h.
4433
4434Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
4435
4436 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
4437
4438Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
4439
4440 * xstrdup (sys/types.h): Include this file.
4441
44421999-10-28 Nathan Sidwell <nathan@acm.org>
4443
4444 * Makefile.in (SUBDIRS): New macro.
4445 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
4446 avoid multiple subdirectory cleaning.
4447 (*-subdir): Use SUBDIRS.
4448
44491999-10-25 Jim Kingdon <http://developer.redhat.com/>
4450
4451 * cplus-dem.c: Move declarations of standard_symbol_characters and
4452 hp_symbol_characters inside #ifdef MAIN to avoid compiler
4453 warnings.
4454
44551999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
4456
4457 * hashtab.c (find_hash_table_entry): When returning a
4458 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
4459 (clear_hash_table_slot): New function which deletes an entry
4460 by its position in the table, not its value.
4461 (traverse_hash_table): New function which calls a hook
4462 function for every live entry in the table.
4463
44641999-10-19 Mark Mitchell <mark@codesourcery.com>
4465
4466 * cplus-dem.c (INTBUF_SIZE): New macro.
4467 (string_append_template_idx): New function.
4468 (demangle_expression): Likewise.
4469 (demangle_integral_value): Use it.
4470 (demangle_real_value): New function, split out from ...
4471 (demangle_template_value_parm): ... here. Use
4472 string_append_template_idx. Use demangle_real_value.
4473 (demangle_template): Use string_append_template_idx.
4474 (demangle_qualified): Use consume_count_with_underscores.
4475 (get_count): Tweak formatting.
4476 (do_type): Use string_append_template_idx.
b4fe2683 4477
0c0a36a4
ILT
44781999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4479
4480 * calloc.c: Add a public domain notice.
4481
4482Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
4483
4484 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
4485
4486Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
4487
4488 * Makefile.in (CFILES): Add hashtab.c
4489 (REQUIRED_OFILES): Add hashtab.o
4490 (hashtab.o): Add dependencies.
4491 * hashtab.c: New file
4492
4493Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
4494
4495 * basename.c (DIR_SEPARATOR): New macro.
4496 (DIR_SEPARATOR_2): Likewise.
4497 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
4498 (IS_DIR_SEPARATOR): Likewise.
4499 (main): Handle MSDOS style pathname.
4500
45011999-10-11 Mark Mitchell <mark@codesourcery.com>
4502
4503 * cplus-dem.c (do_type): Handle pointer to member types whose
4504 enclosing classes have namespace scope.
4505
4506Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
4507
4508 * config.table: Provide a backup shell for executing move-if-change.
4509
45101999-10-02 Mark Mitchell <mark@codesourcery.com>
4511
4512 * xmalloc.c (xmalloc): Fix spelling error.
4513 (xcalloc, xrealloc): Likewise.
4514
45151999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4516
4517 * cplus-dem.c (fancy_abort, demangle_integral_value,
4518 demangle_arm_hp_template, recursively_demangle,
4519 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
4520 (program_name, program_version, fatal): Constify a char*.
4521 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
4522 (main): Call return, not exit.
4523
45241999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4525
4526 * choose-temp.c: Remove obsolete comment about gcc.
4527 (make_temp_file): Constify a char*.
4528
4529Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4530
4531 * xmemdup.c: Include sys/types.h.
4532
45331999-09-07 Jeff Garzik <jgarzik@pobox.com>
4534
4535 * xmemdup.c: New xmemdup function.
4536 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
4537
4538Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
4539
b4fe2683 4540 * config.table: Add openedition target.
0c0a36a4
ILT
4541 * config/mh-openedition: New file.
4542
4543Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
4544
4545 * pexecute.c (pexecute): Fill in temp_base when needed.
4546
45471999-08-31 Richard Henderson <rth@cygnus.com>
4548
4549 * getpwd.c: Check HAVE_GETCWD before defining it away.
4550
45511999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4552
4553 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
4554 (REQUIRED_OFILES): Add getpwd.o.
4555 (getpwd.o): Add target.
4556
4557 * configure.in (AC_PREREQ): Bump to 2.13.
4558 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
4559
4560 * getpwd.c: New file, moved here from gcc.
4561
45621999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4563
4564 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
4565 comparing against a signed quantity.
4566 (arm_special): Likewise.
4567 (demangle_fund_type): Likewise.
4568 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 4569 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
4570 (main): Constify variable `valid_symbols'.
4571
4572Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
4573
4574 * strtoul.c (strtoul): Add parentheses around && within ||.
4575
4576Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
4577
4578 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
4579 libdir, libsubdir and tooldir.
4580
45811999-08-01 Mark Mitchell <mark@codesourcery.com>
4582
4583 * splay-tree.c (splay_tree_insert): Return the new node.
4584
35ca97ea
RH
45851999-07-14 Richard Henderson <rth@cygnus.com>
4586
b4fe2683 4587 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
4588 prototyping directly.
4589 * choose-temp.c: Conditionally include string.h.
4590
0c0a36a4
ILT
45911999-07-12 Jason Merrill <jason@yorick.cygnus.com>
4592
4593 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
4594
af32ff69
ILT
45951999-07-11 Ian Lance Taylor <ian@zembu.com>
4596
4597 * splay-tree.c (splay_tree_insert): Add initialization to avoid
4598 warning.
4599
0c0a36a4
ILT
46001999-07-07 Jason Merrill <jason@yorick.cygnus.com>
4601
4602 * Makefile.in (needed-list): Only include stuff we actually need
4603 for libstdc++.
4604
46051999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4606
4607 * configure.in (checkfuncs): Add gettimeofday.
4608 * config.in, configure: Regenerated.
4609
4610Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
4611
4612 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
4613 the test fails.
4614 * configure: Regenerate.
4615
46161999-06-10 Mike Stump <mrs@wrs.com>
4617
4618 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
4619 parallel builds.
4620
46211999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4622
4623 * putenv.c: Include ansidecl.h to define `const'.
4624 * setenv.c: Likewise.
4625
4626Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
4627
4628 * Makefile.in (CFILES): Add putenv.c and setenv.c.
4629 * configure.in (funcs): Add putenv and setenv.
4630 (AC_CHECK_FUNCS): Check for putenv and setenv.
4631 * configure: Rebuilt.
4632 * putenv.c setenv.c: New files.
4633
4634 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
4635 bytes of space using malloc.
4636
4637Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
4638
4639 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
4640 the *mangled pointer beyond the end of the string. Clean up code to
4641 match prevailing coding style.
4642
46431999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4644
4645 * tmpnam.c (L_tmpnam): Fix typo.
4646
4647Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
4648
4649 * cplus-dem.c (standard_symbol_characters): Renamed from
4650 standard_symbol_alphabet. No longer modify TABLE.
4651 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
4652 modify TABLE.
4653 (main): Corresponding changes. Use strchr to determine if a
4654 character is valid.
4655
e9868447
JB
46561999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
4657
4658 * cplus-dem.c (main): Use table lookup to distinguish identifier
4659 characters from non-identifier characters.
4660 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
4661
33fbbfbc
RH
4662Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
4663
4664 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
4665 * getruntime.c: Only attempt to include sys/resource.h and
4666 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
4667 are defined.
4668
0c0a36a4
ILT
4669Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
4670
4671 * configure.in (alloca detection): Handle alloca directly for interix.
4672 * configure: Rebuilt.
4673
4674Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
4675
4676 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
4677
252b5132
RH
46781999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4679
4680 Fix from Dale Hawkins:
b4fe2683 4681 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
4682 reallocated properly if we use it again.
4683
4684 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
4685 stricter about syntax. Always null-terminate string.
4686
c1687039
ILT
4687Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
4688
4689 * configure.in (checkfuncs): Check for sbrk.
4690 * config.in: Rebuilt.
4691 * configure: Likewise.
4692 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
4693
0c0a36a4
ILT
46941999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
4695
4696 Fix from Marcus Daniels:
4697 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
4698 identifier looking for another underscore.
4699
4700Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
4701
4702 * pexecute.c: Change all references to __UWIN__ to _UWIN.
4703 * xmalloc.c: Likewise.
4704 (xcalloc): UWIN has sbrk.
4705 (xrealloc): Fix guard macro.
4706
252b5132
RH
47071999-04-11 Richard Henderson <rth@cygnus.com>
4708
4709 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
4710 or <alloca.h>.
4711 * clock.c (GNU_HZ): New definition.
4712 (clock): Use it.
4713 * getruntime.c: Likewise.
4714
4715 * config.table: Use mh-beos.
4716 * config/mh-beos: New file.
4717
0c0a36a4
ILT
47181999-04-11 Mark Mitchell <mark@codesourcery.com>
4719
4720 * cplus-dem.c (demangle_template_value_parm): Handle
4721 pointers-to-members.
4722 (do_type): Handle template parameters as qualifiers.
4723
252b5132
RH
47241999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
4725
4726 * cplus-dem.c: Attempt to handle overflows in counts with some
4727 semblance of grace.
4728 (consume_count): Detect overflows. Return -1 to indicate errors,
4729 instead of zero.
4730 (demangle_template_value_parm, demangle_template): Handle change
4731 to consume_count's return convention.
4732
0c0a36a4
ILT
47331999-04-05 Tom Tromey <tromey@cygnus.com>
4734
4735 * testsuite/regress-demangle: New file.
4736 * testsuite/demangle-expected: New file.
252b5132 4737
0c0a36a4
ILT
4738 * Makefile.in (all, check, installcheck, info, install-info,
4739 clean-info, dvi, install, etags, tags, mostlyclean, clean,
4740 distclean, maintainer-clean, realclean): Depend on corresponding
4741 `-subdir' target.
4742 (all-subdir check-subdir installcheck-subdir info-subdir
4743 install-info-subdir clean-info-subdir dvi-subdir
4744 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
4745 distclean-subdir maintainer-clean-subdir): New target.
4746 * testsuite/Makefile.in: New file.
4747 * configure: Rebuilt.
4748 * configure.in: Create testsuite/Makefile.
252b5132
RH
4749
47501999-04-02 Mark Mitchell <mark@codesourcery.com>
4751
4752 * splay-tree.h (splay_tree_compare_pointers): Define.
4753
47541999-03-30 Mark Mitchell <mark@codesourcery.com>
4755
4756 * splay-tree.c (splay_tree_compare_ints): Define.
4757
47581999-03-30 Tom Tromey <tromey@cygnus.com>
4759
4760 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
4761 don't advance input pointer.
4762 (demangle_class_name): If consume_count didn't find a count, do
4763 nothing. Don't bother with `strlen' sanity check; consume_count
4764 does it for us.
4765
47661999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4767
4768 From Art Haas <ahaas@neosoft.com>:
4769 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
4770 when doing arm or hp style.
4771 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 4772
252b5132
RH
4773Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4774
4775 * pexecute.c (__CYGWIN32__): Rename to
4776 (__CYGWIN__): this.
4777 * xmalloc.c: Likewise.
4778
4779 Changes to support i386-pc-uwin.
4780 * configure.in (*-*-uwin*): Workaround for vfork bug.
4781 * configure: Regenerate.
4782 * pexecute.c (pexecute): Be like standard Unix.
4783 (pwait): Likewise.
4784 * xmalloc.c (first_break): Define.
4785 (xmalloc_set_program_name): Use.
4786 (xmalloc): Use.
4787
4788Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4789
4790 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
4791
4792Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
4793
4794 * config.table: Check cygwin*, not cygwin32*.
4795
4796Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
4797
4798 * Makefile.in: Change mkstemp -> mkstemps.
4799
4800Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
4801
4802 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
4803 * configure.in (funcs): Check for and conditionally add mkstemps to
4804 the list of functions libiberty will provide.
4805 * configure: Rebuilt.
b4fe2683 4806
252b5132
RH
4807Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
4808
b4fe2683 4809 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
4810 platforms that don't have HZ.
4811 * getruntime.c (HZ): Likewise.
4812
4813Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
4814
4815 * Makefile.in (xstrdup.o): Depend on config.h.
4816
4817Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
4818
4819 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
4820 freeing it.
4821
4822Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4823
4824 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
4825
4826Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4827
4828 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
4829 splay-tree.o.
4830
48311999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
4832
4833 * configure.in: Require autoconf 2.12.1 or higher.
4834
48351998-12-30 Michael Meissner <meissner@cygnus.com>
4836
4837 * random.c (NULL): Don't redefine NULL if it is already defined.
4838
4839Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4840
4841 * argv.c (buildargv): Cast the result of alloca in assignment.
4842
4843 * choose-temp.c: Include stdlib.h.
4844
4845 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
4846 (snarf_numeric_literal): Constify first parameter.
4847 (code_for_qualifier): Avoid a gcc extension, make the parameter an
4848 int, not a char.
252b5132
RH
4849 (demangle_qualifier): Likewise.
4850 (demangle_signature): Cast the argument of a ctype function to
4851 unsigned char.
4852 (arm_pt): Add parens around assignment used as truth value.
4853 (demangle_arm_hp_template): Constify variable `args'.
4854 (do_hpacc_template_const_value): Cast the argument of a ctype
4855 function to unsigned char.
4856 (do_hpacc_template_literal): Remove unused variable `i'.
4857 (snarf_numeric_literal): Constify parameter `args'.
4858 Cast the argument of a ctype function to unsigned char.
4859
4860 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 4861 avoid ambiguous `else'.
252b5132
RH
4862
4863 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
4864 `cstart' and `cend' to unsigned char. Cast the argument of macro
4865 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
4866
4867 * objalloc.c (free): Add prototype.
4868
4869Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
4870
4871 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
4872
4873Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
4874
4875 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 4876 doesn't exist.
252b5132 4877 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 4878
252b5132
RH
4879Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
4880
4881 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
4882 bumping the pointer we read from. Also prepend these codes,
4883 as we do in other places.
4884
48851998-12-18 Nick Clifton <nickc@cygnus.com>
4886
4887 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
4888 'const char *' in order to match its usage when calling siblings.
4889 (snarf_numeric_literal): Make first arg 'const char **' in order
4890 to match usage.
4891
4892Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4893
4894 * choose-temp.c: Don't check IN_GCC anymore.
4895
4896 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
4897 * memchr.c (memchr): Likewise.
4898 * memcpy.c (memcpy): Likewise.
4899 * memmove.c (memmove): Likewise.
4900
4901 * mkstemp.c: Don't check IN_GCC anymore.
4902 * pexecute.c: Likewise.
4903 * splay-tree.c: Likewise.
4904
4905 * strchr.c (strchr): Use `const', not `CONST'.
4906 * strrchr.c (strrchr): Likewise.
4907 * strtol.c (strtol): Likewise.
4908 * strtoul.c (strtoul): Likewise.
4909
4910Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
4911 Elena Zannoni <ezannoni@cygnus.com>
4912 Stan Shebs <shebs@cygnus.com>
4913 Edith Epstein <eepstein@cygnus.com>
4914 Andres MacLeod <amacleod@cygnus.com>
4915 Satish Pai <pai@apollo.hp.com>
4916
4917 * HP aCC demangling support.
4918 * cplus-dem.c
4919 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
4920 demangling correctly when -edg specified; set the demangling style
4921 when user specifies 'edg'. Set strip_underscore to
4922 prepends_underscore, if not HPUXHPPA. Set
4923 current_demangling_style to hp_demangling if HPUXHPPA. Set
4924 current demangling style correctly if the switch is hp. Read
4925 label correctly also in the HP style case.
252b5132 4926 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 4927 function.
252b5132 4928 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 4929 style for this case is the same as ARM.
252b5132
RH
4930 (demangle_args): handle EDG_DEMANGLING style; support HP style.
4931 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
4932 demangle_arm_pt.); check and set value of temp_start field in
4933 multiple places. Also, when ceching for end of template args,
4934 check to see if at end of static member of template class.
252b5132 4935 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 4936 include template args in string defining class.
252b5132
RH
4937 (demangle_class_name): use demangel_arm_hp_template.
4938 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
4939 HP_DEMANGLING and currently point at an 'X' in the mangled name.
4940 Handle EDG_DEMANGLING style. Handle constructor and destructor
4941 ops for HP style.
252b5132 4942 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
4943 styles. global destructor and constructor for HP style are same
4944 as for ARM style. Same for local variables.
252b5132
RH
4945 (demangle_qualified): handle EDG_DEMANGLING style.
4946 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
4947 cases '1' - '9' : initialize the temp_start field to -1 and handle
4948 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
4949 and AUTO_DEMANGLING styles. If expecting a function and managed
4950 to demangle the funct args, then handle the LUCID_DEMANGLING,
4951 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
4952 class name after "Lnnn_ in HP style case. HP style too needs to
4953 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 4954 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 4955 value param for HP/aCC.
252b5132 4956 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 4957 literal parameter for HP aCC.
252b5132
RH
4958 (recursively_demangle): new function
4959 (snarf_numeric_literal): new function.
4960 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 4961 to message.
252b5132
RH
4962
4963Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
4964
4965 * pexecute.c: Remove obsolete ifdefed cygwin code.
4966
4967Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4968
4969 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
4970 * cplus-dem.c: Likewise. Conform to libiberty.h.
4971 * pexecute.c: Likewise.
4972 * splay-tree.c: Likewise.
4973
49741998-11-25 Mike Stump <mrs@wrs.com>
4975
4976 * Makefile.in (splay-tree.o): Add config.h dependency.
4977
4978Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4979
4980 * configure.in: Use AC_PREREQ(2.12.1).
4981
49821998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
4983
b4fe2683 4984 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
4985
4986Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
4987
4988 * mpw.c (mpw_access): Add missing parens.
4989
4990Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4991
4992 * configure.in: Call AC_HEADER_SYS_WAIT.
4993
4994 * pexecute.c: Include sys/wait.h when !IN_GCC.
4995
4996Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
4997
4998 * pexecute.c: revert back to checking old Cygwin
4999 preprocessor symbol until some time has passed.
5000
5001Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
5002
5003 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
5004 since it will now support similar constructs.
5005
5006Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5007
5008 * configure.in: Check for calloc.
5009
5010 * calloc.c: New file.
5011
5012 * xmalloc.c (xcalloc): New function.
5013
5014Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
5015
5016 *cplus-dem.c (demangle_prefix): Use the last "__"
5017 in the mangled name when looking for the signature. This allows
5018 template names to begin with "__".
5019
50201998-11-08 Mark Mitchell <mark@markmitchell.com>
5021
5022 * cplus-dem.c (type_kind_t): Add tk_reference.
5023 (demangle_template_value_parm): Handle it.
5024 (do_type): Use it for references, instead of tk_pointer.
5025
5026 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
5027 not internal_cplus_demangle.
5028
5029Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5030
5031 * choose-temp.c: Don't include gansidecl.h.
5032 * mkstemp.c: Likewise.
5033 * pexecute.c: Likewise.
5034
5035Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
5036
b4fe2683
JM
5037 * configure.in: detect cygwin* instead of cygwin32*
5038 * configure: regenerate
252b5132
RH
5039
5040Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5041
5042 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
5043 whether to include config.h. Possibly include unistd.h in the
5044 !IN_GCC case. Define VFORK_STRING as a printable function call
5045 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
5046 defined, include vfork.h. If VMS is defined, define vfork()
5047 appropriately. Remove vfork check on USG, we're using autoconf.
5048 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
5049 locally what string to use.
252b5132
RH
5050
50511998-10-26 Mark Mitchell <mark@markmitchell.com>
5052
5053 * splay-tree.c: Tweak include directives to make sure declarations of
5054 xmalloc and free are available.
5055
50561998-10-25 Mark Mitchell <mark@markmitchell.com>
5057
5058 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
5059 anonymous namespaces.
5060
50611998-10-23 Mark Mitchell <mark@markmitchell.com>
5062
5063 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
5064 with type_quals.
5065 (TYPE_UNQUALIFIED): New macro.
5066 (TYPE_QUAL_CONST): Likewise.
5067 (TYPE_QUAL_VOLATILE): Likewise.
5068 (TYPE_QUAL_RESTRICT): Likewise.
5069 (code_for_qualifier): New function.
5070 (qualifier_string): Likewise.
5071 (demangle_qualifier): Likewise.
5072 (internal_cplus_demangle): Use them.
5073 (demangle_signature): Likewise.
5074 (demangle_template_value_parm): Likewise.
5075 (do_type): Likewise.
5076 (demangle_fund_type)): Likewise.
5077
5078Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5079
5080 * splay-tree.c (splay_tree_foreach_helper): Make definition static
5081 to match prototype.
5082
50831998-10-21 Mark Mitchell <mark@markmitchell.com>
5084
5085 * splay-tree.c: New file.
5086 * Makefile.in (CFILES): Add it.
5087 (REQUIRED_OFILES): Likewise.
5088 (splay-tree.o): Add dependencies.
5089
5090Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5091
5092 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
5093 range of 'K' index.
5094
5095Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5096
5097 * choose-temp.c: Prototype mkstemps() when IN_GCC.
5098
5099 * cplus-dem.c (consume_count): Cast argument of ctype macro to
5100 `unsigned char'.
5101 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
5102 comparing against one.
5103 (cplus_mangle_opname): Likewise.
5104 (demangle_integral_value): Cast argument of ctype macro to
5105 `unsigned char'.
5106 (demangle_template_value_parm): Likewise.
5107 (demangle_template): Initialize variable `bindex'. Cast the
5108 result of `strlen' to (int) when comparing against one. Remove
5109 unused variable `start_of_value_parm'.
5110 (demangle_class_name): Cast the result of `strlen' to (int) when
5111 comparing against one.
5112 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
5113 (gnu_special): Likewise. Cast the result of `strlen' to (int)
5114 when comparing against one.
5115 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
5116 (get_count): Likewise.
5117 (do_type): Likewise. Cast the result of `strlen' to (int) when
5118 comparing against one.
5119 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
5120 (demangle_function_name): Cast the result of `strlen' to (int)
5121 when comparing against one.
5122
5123 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
5124 comparing against one.
5125
5126Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
5127
b4fe2683
JM
5128 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
5129 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
5130 * config.in, configure: Rebuilt.
252b5132
RH
5131
5132 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
5133 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
5134 * config.in, configure: Rebuilt.
5135
5136Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
5137
b4fe2683 5138 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
5139
5140Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
5141
5142 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
5143
5144Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
5145
5146 * Merge egcs & devo libiberty.
5147
ba8cb4ba 51481998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
252b5132
RH
5149
5150 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
5151
5152Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5153
5154 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
8aefe91a
DD
5155 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
5156 IN_GCC.
252b5132
RH
5157
5158 * vasprintf.c: Include stdarg.h/varargs.h first.
5159
5160 * vprintf.c: Likewise.
5161
5162Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
5163
5164 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
5165 is the canonical copy. Define ISSPACE if !IN_GCC.
5166 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
5167 * getopt1.c, obstack.c: Similarly.
5168 * Makefile.in: Build mkstemp.o
5169
5170Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
5171
5172 * configure.in: Include asprintf in list of functions known not
5173 to be in newlib.
5174 * configure: Rebuild.
5175
5176Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
5177
5178 * cplus-dem.c (work_stuff): Add dllimported.
5179 (demangled_prefix): Mark symbols imported from PE DLL.
5180 (internal_cplus_demangled): Handle.
5181
51821998-08-17 Jason Merrill <jason@yorick.cygnus.com>
5183
5184 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
5185 stay failed.
5186
5187Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5188
5189 * cplus-dem.c: Include config.h if it exists. Also, only
5190 prototype malloc/realloc if we can't get stdlib.h.
5191
5192Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
5193
5194 * configure.in: Switch back to checking --with-target-subdir when
5195 deciding whether to check for newlib, undoing part of July 15
5196 change.
5197 * configure: Rebuild.
5198
5199Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
5200
5201 * cplus-dem.c (type_kind_t): New type.
5202 (demangle_template_value_parm): Add type_kind_t parameter. Rely
5203 on this paramter, rather than demangling the type again.
5204 (demangle_integral_value): Pass tk_integral.
5205 (demangle_template_: Pass the value returned from do_type.
5206 (do_type): Return a type_kind_t. Pass tk_integral to
5207 demangle_template_value_parm for array bounds.
5208 (demangle_fund_type): Likewise.
5209
5210 Also incorporate from GCC version:
5211
5212 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
5213
5214 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
5215
5216Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5217
5218 * cplus-dem.c (demangle_nested_args): Make function definition
5219 static to match the prototype.
5220
5221Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
5222
5223 * cplus-dem.c (type_kind_t): New type.
5224 (demangle_template_value_parm): Add type_kind_t parameter. Rely
5225 on this paramter, rather than demangling the type again.
5226 (demangle_integral_value): Pass tk_integral.
5227 (demangle_template_: Pass the value returned from do_type.
5228 (do_type): Return a type_kind_t. Pass tk_integral to
5229 demangle_template_value_parm for array bounds.
5230 (demangle_fund_type): Likewise.
5231
5232 Also incorporate from GCC version:
5233
5234 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
5235
5236 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
5237
5238Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
5239
5240 * Makefile.in (ALLOCA): New variable.
5241 ($(TARGETLIB)): Add $(ALLOCA) to library.
5242 (needed-list): Add $(ALLOCA).
5243 ($(ALLOCA)): Depend upon stamp-picdir.
5244
5245Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5246
5247 * cplus-dem.c (demangle_nested_args): Make function definition
5248 static to match the prototype.
5249
5250Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
5251
5252 * configure.in: Check --with-cross-host rather than
5253 --with-target-subdir when deciding whether build uses a cross
5254 compiler, and when deciding where to install the library.
5255 * configure: Rebuild.
5256
5257Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
5258
5259 * cplus-dem.c (demangle_nested_args): Return a value.
5260
5261Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
5262
5263 * cplus-dem.c (string): Move definition before work_stuff.
5264 (work_stuff): Add volatile_type, forgetting_types,
5265 previous_argument, and nrepeats fields.
5266 (SCOPE_STRING): New macro.
5267 (demangle_template): Add `remember' parameter. Add comment.
5268 Register the `B' code type here, if remembering. Tidy. Fix crash
5269 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
5270 (demangle_nested_args): New function.
5271 (internal_cplus_demangle): Handle volatile-qualified member
5272 functions.
5273 (mop_up): Delete the previous_argument string if present.
5274 (demangle_signature): Tidy. Handle volatile-qualified member
5275 functions. Handle back-references using the `B' code. Use extra
5276 parameter to demangle_template and SCOPE_STRING where appropriate.
5277 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
5278 code.
5279 (demangle_class): Use SCOPE_STRING.
5280 (gnu_special): Pass additional argument to demangle_template.
5281 Use SCOPE_STRING.
5282 (demangle_qualified): Save qualified types for later
5283 back-references. Handle constructors and destructors for template
5284 types correctly.
5285 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
5286 demangle_template. Use demangled_nested_args. Don't remember
5287 qualified types here; that's now done in demangle_qualified.
5288 Similarly for templates.
5289 (do_arg): Improve commment. Handle 'n' repeat code.
5290 (remember_type): Check forgetting_types.
5291 (demangle_args): Deal with 'n' repeat codes. Tidy.
5292
5293Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
5294
5295 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
5296 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
5297
5298Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
5299
5300 * configure.in (setobjs): Correct quoting error in cygwin32 case.
5301 From Chris Faylor <cgf@cygnus.com>.
5302
5303Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
5304
5305 * obstack.c: Update to latest FSF version.
5306
5307Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
5308
5309 * Makefile.in: Add a dependency on stamp-picdir for the
5310 objects, so that we can do a parallel build.
5311
5312Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
5313
5314 * configure.in (checkfuncs): Add missing "'".
5315
5316Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
5317
5318 * obstack.c (_obstack_memory_used): Elide this function if we're
5319 on a system with GNU libc.
5320
5321Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
5322
5323 * Makefile.in (distclean): Remove config.log.
5324
5325Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5326
5327 * Makefile.in (distclean): Don't remove alloca-conf.h.
5328
5329Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
5330
5331 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
5332
53331998-05-21 Mark Mitchell <mmitchell@usa.net>
5334
5335 * cplus-dem.c (do_type): Handle volatile qualification.
5336
53371998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
5338
5339 * configure.in: Check for unistd.h as well.
5340 * configure: Rebuild.
5341 * config.in: Rebuild.
5342 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
5343 is defined in unistd.h. Reformat conditional block for easier reading.
5344
5345 * config.table (shared): Default to no if ${enable_shared}
5346 is unset or empty; this logic is used by the toplevel
5347 configure scripts, too.
5348
5349Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
5350
5351 * config.table: Add line to set enable_shared in the Makefile
5352 as needed.
5353
5354Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5355
5356 * cplus-dem.c (squangle_mop_up): Change return type to void.
5357 (internal_cplus_demangle): Remove unused parameter `options'.
5358 All callers changed.
5359 (cplus_demangle_opname): Remove function wide variable `int i' and
5360 replace with `size_t i' at each location where it is used.
5361 (cplus_mangle_opname): change type of `i' from int to size_t.
5362
5363Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
5364
5365 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
5366 than sparc or sun.
5367 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
5368
5369Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
5370
5371 * configure.in: Set libiberty_topdir correctly when srcdir is
5372 "." and with_target_subdir is not set.
5373 * configure: Rebuild.
5374
5375Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
5376
5377 * configure.in: Add *-*-mingw32* case.
5378 * configure: Rebuild.
5379
5380Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
5381
5382 * config.table: Never use a PIC file for *-*-cygwin32*.
5383
5384 * Makefile.in (config.status): Depend upon config.table.
5385
5386 * configure.in: On a cygwin32 host, always compile random, and
5387 don't test for sys_siglist, strsignal, or psignal.
5388 * configure: Rebuild.
5389
5390 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
5391 * getcwd.c: Likewise.
5392 * getpagesize.c: Likewise.
5393 * getruntime.c: Likewise.
5394
5395Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
5396
5397 Use autoconf tests rather than the old dummy.c test:
5398 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
5399 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
5400 most functions. Add special cases to handle newlib and VxWorks.
5401 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
5402 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
5403 CONFIG_FILES is set; set ac_file before calling it.
5404 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
5405 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
5406 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
5407 (i[3456]-*-mingw32*): Remove.
5408 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
5409 (LIBOBJS): New variable.
5410 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
5411 (all): Depend upon needed-list. Don't check RULE1.
5412 (@target_makefile_frag@): Remove.
5413 (COMPILE.c): Include @DEFS@.
5414 (HFILES): Add alloca-conf.h.
5415 (REQUIRED_OFILES): Remove basename.o.
5416 ($(TARGETLIB)): New target.
5417 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
5418 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
5419 (needed-list, config.h): Rewrite.
5420 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
5421 (.always.): Remove.
5422 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
5423 (stamp-h): New target.
5424 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
5425 (basename.o): Don't depend upon config.h.
5426 (getruntime.o): Depend upon config.h.
5427 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
5428 NEED_on_exit.
5429 * basename.c: Don't include config.h. Don't check NEED_basename.
5430 * clock.c: Include config.h.
5431 * getcwd.c: Likewise.
5432 * getpagesize.c: Likewise.
5433 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
5434 HAVE_TIMES.
5435 * strerror.c: Change uses of NEED_sys_errlist to
5436 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
5437 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
5438 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
5439 HAVE_PSIGNAL.
5440 * acconfig.h: New file.
5441 * dummy.c: Remove.
5442 * functions.def: Remove.
5443 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
5444 * config/mh-windows (HDEFINES): Remove.
5445 * config/mh-cygwin32: Remove.
5446 * config/mh-go32: Remove.
5447 * config/mh-irix4: Remove.
5448 * config/mh-riscix: Remove.
5449 * config/mh-sysv4: Remove.
5450 * config/mt-mingw32: Remove.
5451 * config/mt-vxworks5: Remove.
5452 * config.in: New file, generated using autoheader.
5453 * configure: Rebuild.
5454
5455Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
5456
5457 * configure.in: Rewrite to use autoconf.
5458 * configure: Generate using autoconf.
5459 * config/mh-a68bsd: Remove.
5460 * config/mh-apollo68: Remove.
5461 * config/mh-hpbsd: Remove.
5462 * config/mh-ncr3000: Remove.
5463 * config/mh-sysv: Remove.
5464 * config/mh-aix (RANLIB, INSTALL): Don't define.
5465 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
5466 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
5467 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
5468 * config.table: Change config_shell to CONFIG_SHELL, and use
5469 libiberty_topdir to find move-if-change.
8aefe91a 5470 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
252b5132
RH
5471 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
5472 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
5473 * Makefile.in (srcdir): Set to @srcdir@.
5474 (VPATH): Likewise.
5475 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
5476 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
5477 (CC, CFLAGS, RANLIB)): Likewise.
5478 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
5479 (target_makefile_frag, host_makefile_frag): Add substitutions.
5480 (INSTALL_DEST): Set to @INSTALL_DEST@.
5481 (Makefile): Depend upon config.status. Don't depend upon
5482 $(host_makefile_frag) or $(target_makefile_frag).
5483 (config.status): New target.
5484
5485Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
5486
5487 * config/mt-sunos4: Remove. Should be handled by --with-headers
5488 and --with-libraries options at top level.
5489 * config.table: Never use mt-sunos4.
5490
5491 * alloca-conf.h: New file, combining alloca-norm.h and
5492 alloca-botch.h.
5493 * alloca-norm.h: Remove.
5494 * alloca-botch.h: Remove.
5495 * configure.in: Set shell variables files and links to empty.
5496 * config.table: Don't set shell variable files.
5497 * configure.bat: Don't create alloca-conf.h.
5498 * makefile.vms: Likewise.
5499 * mpw-config.in: Likewise.
5500 * vmsbuild.com: Likewise.
5501
5502Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
5503
5504 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
5505 target depending upon config.h.
5506 (alloca.o): Add target depending upon config.h
5507 (basename.o, choose-temp.o, fnmatch.o): Likewise.
5508 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
5509 (strsignal.o, xstrerror.o): Likewise.
5510
5511Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5512
5513 * cplus-dem.c (cplus_demangle_opname): Initialize work.
5514
5515Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
5516
5517 * cplus-dem.c (demangle_qualified): Replace missing else.
5518
5519Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5520
5521 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
5522 length in the name of a virtual table.
5523
5524Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
5525
5526 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
5527 (cplus_demangle_opname): Call mop_up_squangle.
5528 (cplus_demangle): Initialize squangle info, then call
5529 internal_cplus_demangle. (Most code moved there as well)
5530 (internal_cplus_demangle): New function, performs most of what use
5531 to be done in cplus_demangle, but is only called with this file.
5532 (squangle_mop_up): New function to clean up B and K code data.
5533 (mop_up): set pointers to NULL after freeing.
5534 (demangle_signature, demangle_template, demangle_class): Add
5535 switch elements to handle K and B codes.
5536 (demangle_prefix, gnu_special, demangle_qualified): Add
5537 code to handle K and B codes.
5538 (do_type, demangle_fund_type): Handle B and K codes.
5539 (remember_Ktype): New function to store K info.
5540 (register_Btype, remember_Btype): New functions for B codes.
5541 (forget_B_and_K_types): New function to destroy B and K info.
5542
5543Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
5544
5545 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
5546
5547Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
5548
5549 * config.table: Make locating frag files failsafe even for the
5550 special case if configuring and building in srcdir.
5551
5552Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
5553
5554 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
5555
5556Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
5557
5558 * choose-temp.c: Sync with copy in gcc.
5559
5560Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
5561
5562 * getopt.c: Update to latest FSF version.
5563 * getopt1.c: Likewise.
5564
5565Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
5566
5567 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
5568 strings that are not actually lengths.
5569
5570Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
5571
5572 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
5573 (.c.o): Check value of enable_shared, not PICFLAG.
5574 (stamp-picdir): Dito.
5575
5576Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
5577
b4fe2683
JM
5578 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
5579 since it gets built automatically
252b5132
RH
5580
5581Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
5582
5583 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
5584 the currently shipping OS.
5585
5586Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
5587
5588 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
5589 Add fnmatch.o and objalloc.o; remove vasprintf.o.
5590 [config.h]: Define NEED_strsignal.
5591
5592Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
5593
5594 * functions.def: Correct argument types for strerror and
5595 strsignal. Reported by Alex Gutman <agutman@emc.com>.
5596
5597Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
5598
5599 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
5600 values.
5601
5602Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
5603 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5604
5605 Add mingw32 support.
5606 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5607 (pwait): New function for mingw32.
5608
5609 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
5610 * config/mt-mingw32: New file.
5611 * xmalloc.c (first_break): Not used for mingw32.
5612 (xmalloc_set_program_name): Don't use sbrk on mingw32.
5613 (xmalloc): Likewise.
5614 (xrealloc): Likewise.
5615
5616Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
5617
5618 * choose-temp.c: Sync with gcc version.
5619
5620Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
5621
5622 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
5623 to all filenames in libdir and tooldir.
5624 (distclean): Do MULTICLEAN before deleting Makefile.
5625 (stamp-needed, stamp-config): Add MULTISRCTOP to
5626 pathname for move-if-change.
5627
5628Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
5629
5630 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
5631
5632Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
5633
5634 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
5635 was already defined previously.
5636
5637Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
5638
5639 * Makefile.in (INSTALL): Use ../install-sh, not install.
5640
5641Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
5642
5643 * Makefile.in (CFILES): Add pexecute.c.
5644
5645Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
5646
5647 * asprintf.c: Consistently use either stdarg or varargs.
5648
5649Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
5650
5651 * cplus-dem.c (demangle_signature): Don't look for return types on
5652 constructors. Handle member template constructors.
5653
5654Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
5655
5656 * README: Fix configuration instructions.
5657
5658Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
5659
5660 * pexecute.c: Update to current version from /gd/gnu/lib:
5661
5662 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
5663
b4fe2683 5664 * pexecute.c: Use spawn if __CYGWIN32__.
252b5132
RH
5665
5666 1997-08-08 Paul Eggert <eggert@twinsun.com>
5667
b4fe2683 5668 * pexecute.c: Include "config.h" first, as per autoconf manual.
252b5132
RH
5669
5670 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
5671
b4fe2683
JM
5672 * pexecute.c (fix_argv): New function.
5673 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
5674 Add underscore to cwait function call.
252b5132
RH
5675
5676Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
5677
b4fe2683
JM
5678 * cplus-dem.c (demangle_template): Add new parameter. Handle new
5679 template-function mangling.
5680 (consume_count_with_underscores): New function.
5681 (demangle_signature): Handle new name-mangling scheme.
252b5132
RH
5682
5683Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
5684
5685 * asprintf.c: stdarg.h when ALMOST_STDC
5686 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
8aefe91a 5687 strncasecmp.o.
252b5132
RH
5688
5689Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
5690
5691 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
5692
5693 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
5694
5695 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
5696
5697Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
5698
5699 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
5700
5701Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
5702
5703 * asprintf.c (asprintf): New file.
5704 * Makefile.in (CFILES): Add asprintf.c
5705 * functions.def: Ditto.
5706
5707Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
5708
5709 * argv.c (dupargv): New function, duplicate an argument vector.
5710
5711Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
5712
5713 * config/mh-cygwin32: also build random.o
5714
5715Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
5716
5717 * cplus-dem.c: Add 'extern' to prepends_underscore.
5718
5719Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
5720
5721 * cplus-dem.c: Various changes to produce Java output when passed
5722 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
5723 (main): Support --java and -j flags to set DMGL_JAVA.
5724
5725Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
5726
5727 * config/mh-go32 (CC, AR, RANLIB): Don't define.
5728
5729Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
5730
5731 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
5732 (pexecute.o): New target.
5733
5734 * Makefile.in (stamp-needed): New target, replacing needed-list.
5735 (needed-list): Just depend upon stamp-needed.
5736 (stamp-config): New target, replacing config.h.
5737 (config.h): Just depend upon stamp-config.
5738 (mostlyclean): Remove stamp-*.
5739
5740Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
5741
5742 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
5743 INSTALL_DATA for multilibbed installs
5744
5745Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
5746
5747 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
5748
5749 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
5750
5751 * choose-temp.c (try): Insist that temp dir be searchable.
5752
5753 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
5754
5755 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
5756 for current directory.
5757
5758 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
5759
5760 * pexecute.c: Remove special cases for cygwin32.
5761 (pwait): Remove local definition of `pid'.
5762
5763 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
5764
5765 * pexecute.c (vfork): Supply new definition for VMS.
5766 (pwait): Use waitpid instead of wait for VMS.
5767
5768Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5769
5770 * cplus-dem.c (do_type): Handle `J'.
5771 (demangle_fund_type): Print "complex" for it.
5772
5773Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
5774
5775 * configure.in: Don't turn on multilib here.
5776
5777Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
5778
5779 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
5780 elided; needed by gdb and not present in libc.
5781
5782Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
5783
5784 * Makefile.in (clean): Remove tmpmulti.out.
5785
5786Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
5787
5788 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
5789 Add new floatformat, mainly for ARM doubles.
5790
5791Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
5792
5793 * config.table: Use ${config_shell} with ${moveifchange}. From
5794 Thomas Graichen <graichen@rzpd.de>.
5795
5796Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
5797
5798 * configure.in: Enable multilibing by default.
5799 Update multilib template to read config-ml.in.
5800
5801Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
5802
5803 * makefile.vms: Add objalloc.
5804
5805Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
5806
5807 * cplus-dem.c (demangle_it): Add prototype declaration.
5808 (usage, fatal): Likewise.
5809
5810 * xexit.c (_xexit_cleanup): Add prototype.
5811
5812 * strerror.c (init_error_tables): Declare.
5813
5814Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
5815
5816 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
5817 * strsignal.c: Only define strsignal if NEED_strsignal.
5818 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
5819 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
5820 to xneeded-list.
5821 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
5822 (EXTRA_OFILES): Define to vasprintf.o.
5823 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
5824 (EXTRA_OFILES): Add vasprintf.o.
5825 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
5826 (vxneeded-list): Add vasprintf.o.
5827
5828Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
5829
5830 * objalloc.c: Include <stdio.h>.
5831
5832Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
5833
5834 * objalloc.c: New file.
5835 * Makefile.in (CFILES): Add objalloc.c
5836 (REQUIRED_OFILES): Add objalloc.o.
5837 (objalloc.o): New target.
5838
5839Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
5840
5841 * obstack.c: Update to current FSF version.
5842
5843Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
5844
5845 * cplus-dem.c: Add prototypes for all static functions.
5846 (mystrstr): Make static. Make arguments and result const.
5847 (cplus_match): Remove; not used.
5848
5849Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5850
5851 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
5852 __t* symbols.
5853
5854Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
5855
5856 * spaces.c: Declare malloc and free properly.
5857 * strsignal.c (init_signal_tables): Add prototype.
5858 * xatexit.c (_xexit_cleanup): Add parameter declarations.
5859
5860Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5861
5862 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
5863 also required because of xmalloc.o.
5864
5865Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
5866
5867 * strsignal.c: Unconditionally redefine sys_siglist around the
5868 inclusion of the system header files.
5869
5870Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
5871
5872 * makefile.vms: Remove 8 bit characters. Update to latest
5873 gcc release.
5874
5875Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
5876
5877 * strsignal.c: Use NEED_sys_siglist instead of
5878 LOSING_SYS_SIGLIST.
5879 * config.table: Don't use mh-lynxos.
5880 * config/mh-lynxos: Remove.
5881
5882Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
5883
5884 * cplus-dem.c: Fix indenting; make identical to the copy
5885 in GCC.
5886 (do_type, case 'M'): Check for a template as well as a class.
5887
5888Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5889
5890 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
5891 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
5892 libiberty is incorrect, as well.
5893
5894Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5895
5896 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
5897 alloca takes a size_t argument, not just unsigned.
5898
5899Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
5900
5901 * cplus-dem.c: Note that this file also lives in GCC.
5902
5903Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5904
5905 * alloca.c: Remove include of libiberty.h for hpux.
5906 * argv.c: Replace defs from libiberty.h.
5907 * spaces.c: Put back externs from removed from libiberty.h.
5908 * vasprintf.c: Remove include of libiberty.h for hpux.
5909
5910Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5911
5912 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
5913
5914Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5915
5916 * cplus-dem.c: Revert last two commits due to conflicts with
5917 hpux system headers.
5918
5919Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5920
5921 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
5922 Revert last commit due to conflicts with hpux system headers.
5923
5924Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5925
5926 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
5927 libiberty.h when compiled with a standard compiler.
5928
5929Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5930
5931 * alloca.c: Include libiberty.h for definition of xmalloc.
5932 Don't redefine NULL.
5933 * argv.c: Move prototypes to libiberty.h.
5934 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
5935 Don't redefine NULL.
5936 Use casts to eliminate compiler warnings.
5937 * spaces.c: Remove prototypes for malloc and free which are
5938 already in libibrty.h.
5939 * strcasecmp.c: Use casts to eliminate compiler warnings.
5940 * vasprintf.c: Include libiberty.h for definition of malloc.
5941 Don't redefine NULL.
5942 * vprintf.c: Include stdarg.h if __STDC__.
5943
5944Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
5945
5946 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
5947
5948Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
5949
5950 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
5951 upward components correctly.
5952
5953Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
5954
5955 * config.table, config/mh-windows: Add support for building under
5956 MSVC (the Microsoft build environment).
5957
5958Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
5959
5960 * fnmatch.c: Undef const if not __STDC__.
5961
5962Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
5963
5964 * fnmatch.c: New file.
5965 * Makefile.in (CFILES): Add fnmatch.c.
5966 (REQUIRED_OFILES): Add fnmatch.o.
5967 (fnmatch.o): New target.
5968
5969Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
5970
5971 * cplus-dem.c (demangle_template): Fix handling of address args.
5972 (gnu_special): Handle type_info stuff.
5973
5974Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5975
5976 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
5977 (mpwify_filename): Handle "::/" case.
5978
5979Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
5980
5981 * config/mh-cygwin32: new file (need -DNEED_basename and
5982 -DNEED_sys_siglist for native NT rebuilding)
5983 * config.table (*-*-cygwin32): new entry
5984 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
5985
5986Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5987
5988 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
5989
5990Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
5991
5992 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
5993 messed with arguments that included a '/', add escape chars
5994 to double quotes, remove const decl from arg that Mac
5995 compilers don't seem to like.
5996
5997Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
5998
5999 * pexecute.c: Update test for win32 (&& ! cygwin32).
6000 * choose-temp.c: fix WIN32 preprocessor defines
6001
6002Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
6003
6004 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
6005 to editing of default makefile rule.
6006
6007Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
6008
6009 * alloca-norm.h: Include <malloc.h> if _WIN32.
6010 * argv.c: Include non-prototyped decls for malloc and string
6011 functions if ! _WIN32 or if __GNUC__.
6012
6013Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
6014
6015 * config.h-vms: New file.
6016 * makefile.vms: Use it.
6017
6018Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
6019
6020 * getopt.c (_getopt_internal): If argc is 0, just return (before
6021 we reference *argv and segfault).
6022
6023Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
6024
6025 * Makefile.in (distclean): Add multilib.out.
6026
6027Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
6028
6029 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
6030 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
6031
6032Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
6033
6034 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
6035
6036 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
6037
6038 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
6039
6040 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
6041 (do_ofiles): Allow nonexistent source file in pass 3.
6042 (chk_deffunc): New routine.
6043
6044Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
6045
6046 * pexecute.c (PEXECUTE_VERBOSE): Define.
6047 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
6048
6049Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6050
6051 * Makefile.in (docdir): Removed.
6052
6053Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6054
6055 * Makefile.in (oldincludedir): Removed.
6056
6057Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6058
b4fe2683 6059 * Makefile.in (datadir): Set to $(prefix)/share.
252b5132
RH
6060
6061Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
6062
6063 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
6064 checking for errors from do_type.
6065
6066Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
6067
6068 * makefile.vms: New file.
6069 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
6070 than declaring malloc, realloc, and sbrk.
6071
6072Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
6073
6074 * pexecute.c: New file.
6075
6076Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
6077
6078 * xmalloc.c: Declare sbrk.
6079
6080Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6081
6082 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
6083 declaration.
6084
6085Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
6086
6087 * xstrerror.c: Include <stdio.h>.
6088
6089Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
6090
6091 * Makefile.in (CFILES): Add atexit.c.
6092
6093Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
6094
6095 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
6096
6097Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
6098
6099 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
6100 #include <stdio.h>
6101 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
6102
6103Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
6104
b4fe2683 6105 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
252b5132
RH
6106 Reverts Feb 8, 1995 change.
6107
6108Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
6109
6110 * choose-temp.c: New file.
6111 * Makefile.in (CFILES): Add choose-temp.c.
6112 (REQUIRED_OFILES): Add choose-temp.o.
6113
6114Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
6115
6116 * floatformat.c (floatformat_to_double): Don't bias exponent when
6117 handling zero's, denorms or NaNs.
6118
6119Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
6120
6121 * floatformat.c (floatformat_to_double): Fix bugs with handling
6122 numbers with fractions < 32 bits.
6123
6124Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
6125
6126 * config.table: Permit --enable-shared to specify a list of
6127 directories.
6128
6129Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
6130
6131 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
6132 arguments.
6133
6134Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
6135
6136 * configure.in: If srcdir is `.' and with_target_subdir is not
6137 `.', then set MULTISRCTOP before calling config-ml.in.
6138
6139Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
6140
6141 * mpw.c (mpw_open): Add debugging output option.
6142
6143Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
6144
6145 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
6146
6147Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
6148
6149 * mpw.c (mpwify_filename): Change 6 to 5 in
6150 strncmp (unixname, "/tmp/", 5).
6151
6152Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
6153
6154 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
6155 handle 0 as a pointer value parameter.
6156
6157Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
6158
6159 * Makefile.in (all): Depend upon required-list.
6160 (required-list): New target.
6161 (clean): Remove required-list.
6162
6163Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
6164
6165 * win32.c: Deleted.
6166 * config.table (i386-*-win32): Deleted.
6167 * config/mh-i386win32: Deleted.
6168
6169Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
6170
6171 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
6172 const char *.
6173 (cplus_mangle_opname): Change return type and opname parameter to
6174 const char *. Don't cast return value.
6175
6176Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
6177
6178 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
6179 definition.
6180
6181Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
6182
6183 * obstack.c: Update copyright to 1996.
6184 (_obstack_memory_used): Define new function. Called via
6185 obstack_memory_used macro.
6186
6187Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
6188
6189 * xstrdup.c: New file.
6190 * Makefile.in (CFILES): Add xstrdup.c.
6191 (REQUIRED_OFILES): Add xstrdup.o.
6192 (xstrdup.o): New target.
6193
6194Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
6195
6196 * atexit.c: New stub to provide atexit on systems that have
6197 on_exit, like SunOS 4.1.x systems.
6198 * functions.def (on_exit, atexit): Ditto.
6199
6200Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
6201
6202 * mpw.c (mpw_abort): Remove decl.
6203 (mpw_access): Move debugging printf.
6204
6205Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
6206
6207 * config.table: Consistently use ${host} rather than ${xhost} or
6208 ${target}.
6209 * configure.in: Don't bother to set ${xhost} before calling
6210 config.table.
6211
6212Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6213
6214 * Makefile.in (.c.o): Use test instead of the left bracket, to
6215 avoid problems with some versions of make.
6216
6217Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
6218
6219 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
6220
6221Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
6222
6223 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
6224 which was set to just alloca.o, which is now automatically marked
6225 as needed by the autoconfiguration process.
6226
6227Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
6228
6229 * config.table: Check ${with_cross_host} rather than comparing
6230 ${host} and ${target}.
6231
6232Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
6233
6234 * configure.in: If with_target_subdir is empty, set xhost to
6235 ${host} rather than ${target} before calling config.table.
6236
6237Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
6238
6239 * Makefile.in (MULTITOP): Deleted.
6240 (MULTISRCTOP, MULTIBUILDTOP): New.
6241 (FLAGS_TO_PASS): Delete INCDIR.
6242 (INCDIR): Add $(MULTISRCTOP).
6243 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
6244 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
6245 instead of cfg-ml-pos.in.
6246 (cross-compile check): Change to test for with_target_subdir.
6247 (EXTRA_LINKS): Delete.
6248
6249Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
6250
6251 * mpw-make.sed: Add getpagesize.c.o to needed-list.
6252 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
6253 functions that are supplied by Metrowerks libraries.
6254 (fstat): Clean up descriptor->pointer conversion code.
6255 (InstallConsole, etc): Empty definitions, for when linking
6256 with SIOUX.
6257
6258Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
6259
6260 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
6261 (.c.o): Stylistic change.
6262
6263Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
6264
6265 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
6266 phdm@info.ucl.ac.be (Philippe De Muyter).
6267
6268Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
6269
6270 * configure.in: Correct sed call.
6271
6272Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
6273
6274 * configure.in: Clean up / simplify for native.
6275
6276 * configure.in: Merge in stuff from ../xiberty/configure.in.
6277 * Makefile.in (CC): Add definition (so it can be overrridden
6278 by ../configure).
6279
6280Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
6281
6282 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
6283 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
6284 (link): Remove useless definition with error return.
6285 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
6286 Use UnsignedWide type for microsecond counts.
6287
6288Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6289
6290 * memcmp.c (memcmp): Argument types are const void *, not void
6291 *const.
6292
6293 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
6294 sys/types.h.
6295 * strcasecmp.c (strcasecmp): Ditto.
6296
6297Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
6298
6299 * Makefile.in (BISON): Remove macro.
6300
6301Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
6302
6303 * Makefile.in (HFILES): Add default empty definition.
6304 * mpw-config.in (config.h): Only update if changed.
6305 * mpw-make.in: Remove.
6306 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
6307 * mpw.c: Remove semi-clone of strerror code.
6308 (sys_nerr, sys_errlist): Define here.
6309 (Microseconds): Only define as A-line trap if m68k Mac.
6310
6311Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
6312
6313 * Makefile.in (maintainer-clean): New synonym for distclean.
6314
6315Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
6316
6317 * config.table: For host, generalize rs6000-ibm-aix*
6318 to *-ibm-aix* so we also include powerpc.
6319
6320Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
6321
6322 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
6323
6324 * xstrerror.c: New file.
6325 * Makefile.in, vmsbuild.com: Compile it.
6326
6327Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
6328
6329 * config.table (i386-*-win32): New.
6330
6331Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
6332
6333 * Makefile.in (MULTITOP): New variable.
6334 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
6335 (all): Add multilib support.
6336 (install_to_tooldir, *clean): Likewise.
6337
6338Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
6339
6340 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
6341
6342Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
6343
6344 * vmsbuild.com: create "new-lib.olb", build libiberty under that
6345 name, and then make it become "liberty.olb" when done, so that an
6346 incomplete build attempt never leaves behind something which looks
6347 like a complete library.
6348
6349Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
6350
6351 * config/mh-i386pe: New file for PE hosts.
6352 * config.table: Understand PE hosts.
6353
6354Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6355
6356 * cplus-dem.c: Update from gcc.
6357
6358 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
b4fe2683 6359 <stddef.h>.
252b5132
RH
6360 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
6361
6362Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
6363
6364 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
6365 * mpw.c: Only test DebugPI once whenever printing debug info.
6366 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
6367 also fix to not write on input filename buffer.
6368 (mpw_access): Use stat() instead of open(), works for directories
6369 as well as files.
6370
6371Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6372
6373 * Makefile.in: Massage broken shells that require 'else true'.
6374
6375Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
6376
6377 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
6378 Declare __builtin_alloca in the sparc case, as argv.c did.
6379 * argv.c: Replace inline version of alloca-norm.h at start of file with
6380 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
6381 because alloca-norm.h needs to declare alloca as "PTR".
6382
6383Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
6384
6385 * win32.c: New file.
6386
6387Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6388
6389 * dummy.c: #include "alloca-conf.h".
6390
6391Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6392
6393 * Makefile.in (mostlyclean): Remove stamp-picdir.
6394 (clean): Don't.
6395
6396Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6397
6398 * config.table (frags): Use toplevel pic frags.
6399
6400 * Makefile.in (PICFLAG): New macro.
6401 (all): Depend on stamp-picdir.
6402 (needed-list): Ditto.
6403 (.c.o): Also build pic object.
6404 (stamp-picdir): New rule.
6405 (mostlyclean): Remove pic.
6406 (clean): Remove stamp-picdir.
6407
6408Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
6409
6410 * vmsbuild.com (config.h): Add `#define NEED_basename'.
6411
6412Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
6413
6414 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
6415 to libio-style copyright.
6416 * getpagesize.c: Remove FSF copyright.
6417
6418Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
6419
6420 Added improved VMS support from Pat Rankin:
6421
6422 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
6423
6424 * vmsbuild.com: new file.
6425
6426 * getpagesize.c (getpagesize): implement for VMS;
6427 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
6428 support for EVMSERR.
6429
6430Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
6431
6432 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6433
6434 * floatformat.c (floatformat_arm_ext): Define.
6435
6436Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
6437
6438 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
6439 strerror.c, strsignal.c: Remove FSF copyright.
6440 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
6441
6442Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
6443
6444 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
6445 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
6446 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
6447 * strchr.c, strrchr.c: Add cast to suppress const warning.
6448
6449Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6450
6451 * cplus-dem.c: Use const instead of CONST. Don't include
b4fe2683 6452 ansidecl.h directly.
252b5132
RH
6453
6454Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6455
6456 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
b4fe2683 6457 xrealloc.
252b5132 6458 (-DMAIN): Don't rely on an externally-defined version number;
b4fe2683
JM
6459 instead, require the version number to be defined as a
6460 preprocessor macro. Handle the RS/6000 leading dot. Define
6461 xmalloc, xrealloc and fatal. Don't strip a leading underscore
6462 if we couldn't demangle the word.
252b5132
RH
6463
6464Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
6465
6466 (Old mpw.c change descriptions retained for informational value.)
6467 * mpw.c (warning_threshold): Default to .4 sec.
6468 (overflow_count, current_progress): New globals.
6469 (warn_if_spin_delay): Include current progress type,
6470 such as program name, in message.
6471 (mpw_start_progress): Set current_progress variable from arg.
6472 (mpw_end_progress): Report spin delays by power-of-two-size
6473 buckets instead of constant-size buckets.
6474
6475 * mpw.c: Clean up formatting, types, returns, etc.
6476 (ENOSYS): Define.
6477 (mpw_fread, mpw_fwrite): Define.
6478 (sleep): Define correctly.
6479
6480 * mpw.c: New code to implement cursor spinning support.
6481 (umask): New function.
6482 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
6483
6484 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
6485 basenames for MPW and MPW/Unix filenames.
6486 (mpw_special_init): New function, calls Macsbug if desired.
6487
6488 * mpw.c: Add GPL notice.
6489 (mpwify_filename): Add more transformations.
6490 (mpw_fopen): Call mpwify_filename on file names.
6491 (rename): Remove.
6492 (chdir, getcwd): Add simple definitions.
6493
6494 * mpw.c: Random cleanups, remove unused code bits.
6495 Added copy of strerror.c for gcc's use.
6496 (stat, fstat, _stat): New versions based on Guido van Rossum code.
6497
6498 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
6499
6500 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
6501 (fork, vfork, etc): Print error messages if called.
6502 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
6503 rename, chown): Define.
6504
6505 * mpw-config.in: New file, MPW version of configure.in.
6506 * mpw-make.in: New file, MPW version of Makefile.in.
6507 * mpw.c: New file, MPW compatibility routines.
6508
6509Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6510
6511 * basename.c: Include config.h before checking for NEED_basename.
6512
6513Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6514
6515 * functions.def: Add DEFFUNC for basename.
6516
6517 * basename.c: Only define basename if NEED_basename.
6518
6519Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6520
6521 * config.table: Fix --enable-shared logic for native builds.
6522
6523Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6524
6525 * cplus-dem.c (demangle_template): Demangle bool literals properly.
6526
6527Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
6528
6529 * strtol.c strtoul.c: Replace these with less buggy versions from
6530 NetBSD. (strtoul in particular couldn't handle base 16.)
6531
6532Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
6533
6534 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
6535
6536 * clock.c: If NO_SYS_PARAM_H is defined, don't include
6537 <sys/param.h>.
6538 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
6539
6540Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
6541
6542 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
6543 a number; ANSI appears to permit any expression, including a
6544 function call.
6545
6546 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
6547 xiberty.
6548 * config/mt-vxworks5: New file.
6549
6550Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
6551
6552 * basename.c (basename): Change argument to be const.
6553
6554Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6555
6556 * Makefile.in (lneeded-list): Don't worry about xmalloc.
6557
6558Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
6559
6560 * Makefile.in (distclean): Delete xhost-mkfrag.
6561
6562Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6563
6564 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
6565
6566Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
6567
6568 * hex.c: New file.
6569 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
6570 (hex.o): Add dependencies.
6571
6572 * cplus-dem.c (demangle_prefix): For GNU style constructor and
6573 destructor names, try demangling the remainder of the string.
6574
6575Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
6576
6577 * vasprintf.c (int_vasprintf): New static function.
6578 (vasprintf): Use int_vasprintf. Removes assumption that va_list
6579 is assignment compatible.
6580
6581Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
6582
6583 * Makefile.in (LIBCFLAGS): New variable.
6584 (FLAGS_TO_PASS): Pass it.
6585 (.c.o): Use it.
6586
6587Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
6588
6589 * getopt.c, getopt1.c: Do compile these functions under Linux,
6590 since many native versions are based on glibc but are buggy.
6591
6592Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
6593
6594 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
6595 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
6596
6597Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
6598
6599 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
6600 * functions.def: Remove vasprintf.
6601
6602Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6603
6604 * xmalloc.c (first_break): New static variable.
6605 (xmalloc_set_program_name): Record sbrk (0) in first_break.
6606 (xmalloc): If memory allocation fails, try to report how much
6607 memory was allocated by the program up to this point.
6608 (xrealloc): Likewise.
6609
6610Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
6611
6612 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
6613 when linking dummy.
6614 * config.table: Add host RISCiX Makefile frag.
6615 * config/mh-riscix: New file.
6616
6617Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6618
6619 * Makefile.in (FLAGS_TO_PASS): Define.
6620 ($(RULE1)): Use $(FLAGS_TO_PASS).
6621
6622Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6623
6624 * vasprintf.c: Include <string.h>.
6625 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
6626 * xatexit.c: Declare malloc.
6627
6628Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
6629
6630 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
6631 one below).
6632
6633Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
6634
6635 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
b4fe2683 6636 the type index is greater than 9.
252b5132
RH
6637
6638Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
6639
6640 * cplus-dem.c (demangle_qualified): accept optional '_' between
6641 qualified name. This is baecause the template name may end with
6642 numeric and can mixed up with the length of next qualified name.
6643
6644Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
6645
6646 * config/mt-sunos4: Use our standard location for cross-includes
6647 and cross-libs when the target is also a "host" environment (ie no
6648 newlib; includes and such don't belong to us). This is specific
6649 to the Cygnus Support environment.
6650
6651Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
6652
6653 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
6654 xxx<ch=81>.
6655
6656Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
6657
6658 * cplus-dem.c (main): flush stdout to make pipe work.
6659
6660Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
6661
6662 * config.table (*-*-cxux7*): Recognize.
6663 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
6664 Harris-specific float format.
6665 * config/mh-cxux7: New file.
6666
6667Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6668
6669 * cplus-dem.c (demangle_template): Make sure that the result of
6670 consume_count doesn't index beyond the end of the string.
6671
6672Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6673
6674 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
6675 earlier. Improve test for new vtable mangling. Change output back
6676 to `virtual table'.
6677
6678Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6679
6680 * obstack.c: Always compile this code, even if using the GNU
6681 library. Avoids problems with relatively recent binary
6682 incompatibility.
6683
6684Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6685
6686 * cplus-dem.c: Include libiberty.h.
6687 (xmalloc, xrealloc, free): Don't declare.
6688 (strstr): Don't declare parameters.
6689 (xmalloc, xrealloc): Don't define.
6690 (long_options): Add no-strip-underscores.
6691 (main): Call xmalloc_set_program_name. Pass n in short options to
6692 getopt_long. Handle option 'n' to not strip underscores.
6693 (usage): Mention -n and --no-strip-underscores.
6694
6695Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
6696
6697 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
b4fe2683 6698 space.
252b5132
RH
6699 (gnu_special): Demangle template and qualified names in a vtable name.
6700
6701Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
6702
6703 From gas-2.3 and binutils-2.4 net releases:
6704
6705 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
6706
6707 * makefile.dos: [new] Makefile for dos/go32
6708 * configure.bat: update for latest files
6709 * msdos.c: remove some functions now in libc.a
6710
6711Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
6712
6713 * cplus-dem.c (gnu_special): Recognize thunks, as well as
6714 the new naming style for vtables (when -fvtable-thunks).
6715
6716Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6717
6718 * Makefile.in (XTRAFLAGS): Don't define.
6719 (.c.o, dummy.o): Don't use XTRAFLAGS.
6720 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
6721
6722Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6723
6724 * vasprintf.c: New file.
6725 * Makefile.in, functions.def: Add it.
6726
6727Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
6728
6729 * cplus-dem.c (demangle_fund_type): Grok bool.
6730
6731Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
6732
6733 * config.table: Add go32
6734 * config/mh-go32: New template.
6735
6736Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
6737
6738 * config.table, config/mt-sunos4: config for when sun4 is cross target.
6739
6740Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6741
b4fe2683
JM
6742 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
6743 Declare strlen to return int. Don't include stddef.h.
252b5132
RH
6744
6745Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
6746
b4fe2683
JM
6747 * getopt.c: Delete use of IN_GCC to control whether
6748 stddef.h or gstddef.h is included.
252b5132
RH
6749
6750Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
6751
6752 * cplus-dem.c (demangle_signature): Fix a bug in template function
6753 type numbering.
6754
6755Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
6756
6757 * cplus-dem.c (demangle_signature): Fix template function with arm
6758 style argument type number, Tn.
6759
6760Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
6761
6762 * cplus-dem.c (optable): Add new[] and delete[].
6763
6764Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
6765
6766 * argv.c (buildargv): Don't produce empty argument just because
6767 there is trailing whitespace.
6768
6769Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
6770
6771 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
6772 Handle 'p' same as 'P'.
6773 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
6774
6775Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6776
6777 * floatformat.c (get_field, put_field): Fix off by one error in
6778 little endian case.
6779
6780Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6781
6782 * floatformat.c (floatformat_from_double): Pass unsigned char *,
6783 not char *, to put_field.
6784
6785Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
6786
6787 * memmove.c: Re-wrote; placed in public domain.
6788
6789Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6790
6791 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
6792 __Q* as a constructor.
6793
6794Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
6795
6796 * ieee-float.c: Removed; no longer used.
6797 * Makefile.in: Changed accordingly.
6798
6799Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6800
6801 * floatformat.c (get_field): Removed unused local variable i.
6802 (put_field): Removed unused local variable i.
6803
6804Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
6805
6806 * floatformat.c: New file, intended to replace ieee-float.c.
6807 * Makefile.in: Change accordingly.
6808
6809Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
6810
6811 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
6812 (_getopt_initialize): New function, broken out of _getopt_internal.
6813 (_getopt_internal):
6814 If long_only and the ARGV-element has the form "-f", where f is
6815 a valid short option, don't consider it an abbreviated form of
6816 a long option that starts with f. Otherwise there would be no
6817 way to give the -f short option.
6818
6819Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6820
b4fe2683
JM
6821 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
6822 Test just __STDC__, not emacs.
252b5132
RH
6823
6824Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6825
b4fe2683
JM
6826 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
6827 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
252b5132
RH
6828
6829Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
6830
b4fe2683 6831 * getopt.c (_NO_PROTO): Define before config.h is included.
252b5132
RH
6832
6833Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6834
b4fe2683 6835 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
252b5132
RH
6836 <config.h> only under these, else "config.h".
6837
6838Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6839
b4fe2683
JM
6840 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
6841 <config.h> instead of "config.h".
252b5132
RH
6842
6843Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
6844
6845 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
6846 whether to use prototypes or not.
6847 * strerror.c (const): Never undefine; let ansidecl.h handle it.
6848 * strsignal.c (const): Likewise.
6849
6850Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6851
6852 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
6853 Merging common and initialized variables need not be supported by
6854 ANSI C compilers.
6855 (xatexit): Initialize _xexit_cleanup if not already set.
6856 * xexit.c: Comment fix.
6857
6858Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6859
6860 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
6861 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
6862 assuming that realloc works correctly.
6863
6864Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6865
6866 * concat.c, ieee-float.c: Replace inclusion of <string.h>
6867 with explicit function declarations, as recommended by Ian Taylor.
6868
6869Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
6870
6871 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
6872 (malloc, realloc): Declare.
6873
6874Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6875
6876 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
6877 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
6878 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
6879 * xmalloc.c: Likewise.
6880 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
6881 macros, not <varargs.h> macros.
6882 * spaces.c (spaces): Make return type const. Don't crash if
6883 malloc returns NULL.
6884 * strerror.c (struct error_info): Make name and msg fields const.
6885 (error_names): Make const.
6886 (strerrno): Make const.
6887 (strtoerrno): Make argument const.
6888 * strsignal.c (struct signal_info): Make name and msg fields
6889 const.
6890 (signal_names, sys_siglist): Make const.
6891 (strsignal, strsigno): Make const.
6892 (strtosigno): Make argument const.
6893 * xatexit.c: Declare parameter types.
6894 * xmalloc.c (name): Make const.
6895 (xmalloc_set_program_name): Make argument const.
6896 * Makefile.in (INCDIR): Define.
6897 (.c.o): Use $(INCDIR).
6898 (dummy.o): Likewise.
6899 (argv.o, basename.o): New targets; depend on libiberty.h.
6900 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
6901 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
6902 (xmalloc.o): Likewise.
6903 (cplus-dem.o): New target; depend on demangle.h.
6904 (getopt.o, getopt1.o): New targets; depend on getopt.h.
6905 (ieee-float.o): New target; depend on ieee-float.h.
6906 (obstack.o): New target; depend on obstack.h.
6907
6908Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6909
6910 Handle obstack_chunk_alloc returning NULL. This allows
6911 obstacks to be used by libraries, without forcing them
6912 to call exit or longjmp.
6913 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
6914 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
6915 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
6916
6917Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6918
6919 * concat.c, ieee-float.c: Include <string.h>.
6920
6921Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6922
6923 * xmalloc.c (xmalloc_set_program_name): New function.
6924 (xmalloc, xrealloc): Include the name in the error message, if set.
6925
6926 * Replace atexit.c with xatexit.c.
6927 * Makefile.in (CFILES), functions.def: Change references.
6928
6929Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
6930
6931 * getruntime.c (get_run_time): Use getrusage or times if
6932 HAVE_GETRUSAGE or HAVE_TIMES are defined.
6933
6934Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6935
6936 * atexit.c: New file.
6937 * Makefile.in (CFILES), functions.def: Add it.
6938 * xexit.c: New file.
6939 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
6940 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
6941 Change request for 0 bytes into request for 1 byte.
6942
6943Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6944
6945 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
6946 unsigned long, to avoid warnings.
6947
6948Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
6949
6950 * dummy.c: Don't include time.h ever; always define clock_t as
6951 "unsigned long". Until gcc/fixincludes ensures that clock_t
6952 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
6953 exist, clock_t probably doesn't either.
6954
6955Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
6956
6957 * clock.c, getruntime.c: New files.
6958 * Makefile.in: Add to file lists.
6959 * functions.def (clock): Add to list.
6960 * dummy.c (time.h): Add if __STDC__.
6961 (clock_t): #define as "unsigned long" if not __STDC__.
6962
6963Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6964
6965 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
6966 Edler).
6967
6968Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6969
6970 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
6971 linking.
6972
6973Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
6974
6975 * cplus-dem.c (demangle_arm_pt): New function. Common code
6976 for ARM template demangling.
6977 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
6978 * cplus-dem.c (demangle_prefix): Likewise.
6979
6980Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
6981
6982 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
6983
6984Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
6985
6986 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
6987 * strerror.c, strsignal.c: As a small space optimization, don't
6988 include messages when they aren't actually used.
6989
6990 Merge changes from takefive.co.at!joe (Josef Leherbauer)
6991 * cplus-dem.c (demangle_prefix, demangle_function_name,
6992 cplus_demangle_opname): Fixes for systems where cplus_marker
6993 is something other than '$'.
6994
6995Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
6996
6997 * waitpid.c: Simple-minded approcimation to waitpid
6998 using vanilla wait.
6999 * functions.def, Makefile.in: Update accordingly,
7000
7001Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
7002
7003 * cplus-dem.c(demangle_template): fix bug template instantiation
7004 with value of user defined type.
7005
7006Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
7007
7008 * cplus-dem.c(cplus_demangle_opname): add the subject new function
7009 to support unified search of operator in class.
7010
7011Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7012
7013 gcc -Wall lint:
7014 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
7015 "digit = *s" as condition in while loop.
7016
7017Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
7018
7019 * Makefile.in: pass SHELL to recursive make
7020
7021Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
7022
7023 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
7024 be (const char*), for ANSI (and gcc w/fixproto) consistency.
7025
7026Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7027
7028 * config.table: Make *-*-hiux* use mh-hpux.
7029
7030Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7031
7032 * config.table: Add * to end of all OS names.
7033
7034Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7035
7036 * Makefile.in (lneeded-list): ensure that object file names are
7037 not duplicated, as multiple instances of the same object file in
7038 a library causes problems on some machines
7039
7040Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7041
7042 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
7043
7044Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7045
7046 * strncasecmp.c: new file, implements strncasecmp
7047 * strcasecmp.c: new file, implement strcasecmp
7048
7049 * Makefile.in (CFILES): list these two new source files
7050
7051 * functions.def: add strcasecmp and strncasecmp entries
7052
7053Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7054
7055 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
7056 according to ANSI C.
7057
7058Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
7059
7060 * cplus-dem.c: add support of ARM global constructor/destructor,
7061 and 'G' for passing record or union in parameter.
7062
7063Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7064
7065 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
7066 should not be in functions.def.
7067
7068Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7069
7070 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
7071 not be in functions.def.
7072
7073Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
7074
7075 * cplus-dem.c: change globl constructor/destructor to proper name
7076
7077Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
7078
7079 * cplus-dem.c: fix bug in constructor/destructor
7080
7081Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
7082
7083 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
7084
7085Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
7086
7087 * cplus-dem.c: Fix demangle_template prototype
7088
7089Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
7090
7091 * cplus-dem.c: fix template demangling
7092 * cplus-dem.c: fix const type demangling
7093 * cplus-dem.c: fix constructor/destructor, virtual table,
7094 qualifier, global constructor/destructor demangling
7095
7096Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7097
7098 * strsignal.c, strerror.c: Use fully-bracketed initializer to
7099 keep gcc -Wall happy.
7100
7101Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
7102
7103 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
7104 patch.
7105
7106Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7107
7108 Patch from Paul Flinders:
7109 * cplus-dem.c (do_type): Deal with arrays.
7110
7111Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7112
7113 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
7114 than 9 classes.
7115
7116Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
7117
7118 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
7119 not initialized" warnings under HP/UX
7120
7121Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7122
7123 * strerror.c: Move include of stdio.h after sys_errlist #define.
7124 Also remove NULL definition (stdio.h always defines NULL, so it
7125 never did anything but clutter up the code).
7126
7127Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7128
7129 * Makefile.in, functions.def: handle xmalloc.c
7130
7131 * xmalloc.c: provide xmalloc and xrealloc functions
7132
7133Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7134
7135 * cplus-dem.c: Fix a comment.
7136
7137Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7138
7139 * getopt1.c: Declare const the way getopt.c does.
7140
7141Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7142
7143 * obstack.c, alloca.c: Update from FSF.
7144 * getopt.c, getopt1.c: Update to current FSF version, which
7145 doesn't use alloca.
7146
7147Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
7148
7149 * Makefile.in (demangle): Add the target with a message saying
7150 where demangle went.
7151
7152Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7153
7154 * Makefile.in: Remove obsolete `demangle' target.
7155
7156Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
7157
7158 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
7159 avoid infinite loop on vtbl symbols with disambiguating "junk"
7160 tacked on the end.
7161
7162Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7163
7164 * strsignal.c: work around some systems losing definitions of
7165 sys_siglist
7166
7167 * config/mh-lynxos: this system has a losing definition of
7168 sys_siglist
7169
7170 * config.table: use mh-lynxos for *-*-lynxos
7171
7172Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
7173
7174 * config.table: Add support for HPPA BSD hosts.
7175
7176 * config/mh-hpbsd: New file.
7177
7178Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
7179
7180 * Makefile.in (TAGS): make work when srcdir != objdir.
7181
7182Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
7183
7184 * cplus-dem.c (main): Add long options, including --help and
7185 --version.
7186 (usage): New function from code in main.
7187
7188Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
7189
7190 * config.table: New shell scipt, sourced by both ./configure,in
7191 and ../xiberty/configure.in, to avoid maintainance lossages.
7192 * configure.in and ../xiberty/configure.in: Use config.table.
7193
7194 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
7195 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
7196 * ../xiberty/configure.in: Update from ./configure.in.
7197
7198Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7199
7200 * Makefile.in: remove parentdir support
7201
7202Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7203
7204 * cplus-dem.c (xrealloc): Match definition with prototype.
7205
7206Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7207
7208 * cplus-dem.c (demangle_prefix): Demangle cfront
7209 local variables as an extension to ARM demangling.
7210
7211Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7212
7213 * ieee-float.c: Don't require pointers to double to be aligned.
7214
7215Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
7216
b4fe2683 7217 (merge changes from dlong@cse.ucsc.edu)
252b5132
RH
7218 * cplus-dem.c (consume_count): Simplify.
7219 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
7220 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
7221
7222 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
7223 full prototypes.
7224 * cplus-dem.c (free): Add prototype.
7225 * cplus-dem.c (optable): Fully bracketize initializer.
7226
7227Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
7228
7229 * cplus-dem.c: Whether initial underscores are stripped
7230 depends on the external variable prepends_underscore
7231 (which is generated by the binutils Makefile).
7232
7233Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
7234
7235 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
7236
7237Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
7238
7239 * cplus-dem.c (consume_count): Return zero if arg does not
7240 start with digit, and don't consume any input.
7241
7242Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
7243
7244 * Makefile.in (demangle): Use ${srcdir} not $^.
7245
7246 * strtod.c: New file, needed at least for BSD 4.3.
7247
7248Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
7249
7250 * strsignal.c (sys_siglist): For ANSI compilations, type is
7251 "const char *const". Also remove conditionalization on __STDC__
7252 since const is defined away for non-ANSI.
7253
7254Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
7255
7256 * configure.in: Recognize *-*-hpux.
7257 * config/mh-hpux: New file.
7258
7259Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
7260
7261 * tmpnam.c: Added ANSI tmpnam() function.
7262 * functions.def, Makefile.in: Update accordingly.
7263
7264Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7265
7266 * cplus-dem.c (demangle_function_name): Get the demangling of
7267 stop__1A right.
7268
7269Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
7270
7271 * cplus-dem.c: Declare strstr return type.
7272
7273Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
7274
7275 * strsignal.c: Add some AIX signals.
7276
7277Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
7278
7279 * Makefile.in (MAKEOVERRIDES): Define to be empty.
7280
7281Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
7282
7283 * Makefile.in: add installcheck & dvi targets
7284
7285Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
7286
7287 * ieee-float.c: New file, moved from ../gdb (since it is
7288 needed by ../opcode/m68k-dis.c).
7289
7290Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
7291
7292 * cplus-dem.c: Replace all references to cfront with ARM.
7293
7294Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
7295
7296 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
7297 to be more useful as a filter.
7298
7299Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
7300
7301 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
7302 destination directory before running $(RANLIB), in case that
7303 program tries to create a file in the current directory as part of
7304 its work.
7305
7306Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
7307
7308 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
7309 because BSD 4.4 lacks one. Isn't this fun?
7310
7311Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
7312
7313 * cplus-dem.c (demangle_signature): Set func_done after
7314 demangling a template.
7315 * cplus-dem.c (demangle_template): Fix several small bugs
7316 in demangling GNU style templates.
7317 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
7318 style constructors.
7319 * cplus-dem.c (gnu_special): Fix for templates in GNU style
7320 static data members.
7321
7322Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
7323
7324 * cplus-dem.c (demangle_signature): Modify to include type
7325 modifiers like static and const in remembered types.
7326
7327Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
7328
7329 * cplus-dem.c (demangled_qualified): Add new parameter that tells
7330 whether to prepend or append the qualifiers.
7331 * cplus-dem.c (string_prepends): Used now, remove #if 0.
7332 * cplus-dem.c (demangle_signature): Call demangle_qualified
7333 with prepending.
5dd42ef4 7334 * cplus-dem.c (gnu_special): Recognize static data members that
252b5132
RH
7335 use qualified names.
7336 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
7337 temporary buffer and the prepend or append them to the result,
7338 as specified by the new "append" flag.
7339 * cplus-dem.c (do_type): Call demangled_qualified with
7340 appending.
7341
7342Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
7343
7344 * strsignal.c (signal_table): Now const.
7345 (init_signal_tables): Variable eip now points to const.
7346
7347 * strerror.c (error_table): Now const.
7348 (init_error_tables): Variable eip now points to const.
7349
7350Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
7351
7352 * memchr.c (memchr): New (ANSI standard) function.
7353 * Makefile.in, functions.def: Added memchr.
7354 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
7355
7356Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7357
7358 * getopt.c: remove use of USG around <alloca.h>, which never meant
7359 anything anyway
7360
7361 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
7362 of USG and USGr4
7363
7364Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
7365
7366 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
7367 it's now a type according to the ANSI X3J16 working paper; output
7368 "wchar_t" for it.
7369 (demangle_template): Accept `w' as an integral type.
7370 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
7371 counterparts malloc and realloc to `char *'.
7372 (main): Exit with a 0 status.
7373 * Makefile.in (demangle): Don't expect the user to define
7374 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
7375 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
7376
7377Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
7378
7379 * Makefile.in (AR_FLAGS): Avoid verbosity.
7380 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
7381 replace USGr4 with HAVE_SYSCONF.
7382 * config/mh-solaris: Remove; mh-sysv4 works now.
7383 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
7384 * configure.in: Simplify host matching table, remove separate
7385 solaris config file.
7386
7387Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
7388
7389 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
7390
7391Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
7392
7393 * cplus-dem.c (xmalloc, xrealloc): Add decls.
7394 (remember_type): Don't cast xmalloc.
7395 (string_need): Likewise; don't cast xrealloc either.
7396
7397Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
7398
7399 * Makefile.in, functions.defs, rename.c: added simple
7400 implementation of rename, since some binutils programs use it.
7401
7402Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
7403
7404 * strsignal.c: Add appropriate 'const' to sys_siglist
7405 extern declaration (if __STDC__). (Needed for Linux.)
7406 * strsignal.c (strsignal): Add cast to remove const-ness.
7407
7408Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
7409
7410 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
7411 before "'s, diagnosed by BSD 4.4 awk.
7412
7413Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
7414
7415 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
7416 and $(NEEDED_LIST), to give some hooks for xiberty.
7417
7418Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7419
7420 * configure.in: use cpu-vendor-triple instead of nested cases
7421
7422Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
7423
7424 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
7425 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
7426 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
7427 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
7428 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
7429 Convert from using GPL to LGPL.
7430
7431Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
7432
7433 * Makefile.in (errors): Leave dummy.o and dummy around so that
7434 we can see how the needed list was generated (it's sometimes wrong).
7435 (mostlyclean): Remove them.
7436
7437Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
7438
7439 * getcwd.c: supply a default if MAXPATHLEN is not defined.
7440
7441 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
7442
7443Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
7444
7445 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
7446 when cross-compiling.
7447
7448Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
7449
7450 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
7451 as a time optimization.
7452
7453 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
7454 be more expensive than simply demangling.
7455
7456 * cplus-dem.c (cplus_match): new function.
7457
7458Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
7459
7460 * cplus-dem.c: #include <stdio.h>, to define NULL.
7461 Define current_demangling_style.
7462
7463Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
7464
7465 * cplus-dem.c: New file, moved from ../gdb.
7466 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
7467 function, to avoid compiling in target-dependency for CPLUS_MARKER.
7468 * cplus-dem.c (cplus_demangle): Allow demangling style option
7469 to be passed as a parameter, but using the global variable
7470 current_demangling_style as a default.
7471 * Makefile.in: Update for cplus-dem.c
7472
7473Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
7474
7475 * obstack.c: Merge in comment changes from FSF version. Now
7476 matches the FSF version exactly.
7477
7478Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
7479
7480 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
7481 least on losing DECstations!); use if-then-else instead.
7482
7483Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
7484
7485 * Makefile.in: always create installation directories.
7486
7487Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7488
b5d60b68 7489 * Makefile.in: clean up definition of CFILES, more comments
252b5132
RH
7490
7491Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
7492
7493 * getopt.c (my_index): Make first arg const to match strchr,
7494 which it sometimes is remapped to.
7495
7496Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
7497
7498 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
7499 * obstack.c (_obstack_begin): Initialize use_extra_arg.
7500 * obstack.c (_obstack_begin_1): New, from FSF version.
7501
7502Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
7503
7504 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
7505 extra_arg.
7506 * obstack.c (_obstack_begin): Remove area_id and flags arguments
7507 (previously added for mmalloc support, interface has changed).
7508 Also convert flags usage to use use_extra_arg and maybe_empty_object.
7509
7510Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
7511
7512 * argv.c: Move expandargv inline and eliminate static variables.
7513 Rewrite to always allocate in powers of two. Fix to return an
7514 argv with a single null string arg if passed a null string.
7515
7516Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
7517
7518 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
7519 "(void)" casts from function calls where the return value is
7520 ignored, in accordance with GNU coding standards.
7521
7522Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
7523
7524 * bcopy.c, strerror.c, strsignal.c: Lint.
7525
7526Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7527
7528 * getopt.c: merge changes from make.
7529
7530Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
7531
7532 * alloca.c: Incorporate fixes from gdb/alloca.c.
7533 FIXME: Eventually move gdb's alloca configuration files here,
7534 and remove gdb/alloca.c and its Makefile.in support.
7535
7536Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
7537
7538 * dummy.c: Define NOTHING to /*nothing*/, change return type
7539 of main to int and return zero.
7540 * functions.def: Supply NOTHING as the fourth arg to macros
7541 that don't have an explicit arg, to satisfy picky preprocessors.
7542
7543Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
7544
7545 * Makefile.in: Clean up *clean rules, as per standards.texi.
7546
7547Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
7548
7549 * getopt.c, getopt1.c: merged largely gratuitous, mostly
7550 whitespace diffs from other prep distributions.
7551
7552Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
7553
7554 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
7555 it is broken on ncr 3000's.
7556
7557Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
7558
7559 * sigsetmask.c: Rewrite. Old one was very confused about its
7560 arguments and result. New one can't do much, but at least knows
7561 what it can't do, and it's good enough for GDB's use.
7562
7563Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
7564
7565 * functions.def: Use proper prototype for strtoul.
7566
7567Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
7568
7569 * Makefile.in: Add random.c.
7570 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
7571 * configure.in: update solaris2 config.
7572
7573Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
7574
7575 * random.c: Add for random() and srandom().
7576 * functions.def: Add random
7577
7578Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
7579
7580 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
7581 using /usr/ucb/install.
7582
7583Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
7584
7585 * strerror.c: Kludge to guard against a conflict with
7586 possible declaration of sys_errlist in errno.h.
7587
7588Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
7589
7590 * configure.in, config/mh-solaris: add solaris2 config support.
7591
7592Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
7593
7594 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
7595 is not defined (should be defined in signal.h, says Posix.).
7596
7597Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
7598
7599 * getopt.c: merged changes from make-3.62.11.
7600
7601Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
7602
7603 * getopt.c: merged changes from bison-1.18.
7604
7605Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
7606
7607 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
7608 since that introduces a circular dependency.
7609 ($(EXTRA_OFILES) are used to build config.h.)
7610
7611 * strtoul.c: Fixes to handle non-decimal bases better.
7612
7613Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
7614
7615 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
7616 * Makefile.dos: Finish MINUS_G eradication.
7617 * Makefile.in (CFILES): Add strsignal.c.
7618 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
7619 * Makefile.in (needed-list): Split creation of errors file to
7620 separate make target.
7621 * Makefile.in (config.h, needed2.awk, errors): New targets.
7622 * Makefile.in (clean): Split to multiple lines, add needed2.awk
7623 and config.h.
7624 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
7625 * functions.def (strerror): Remove from optional list.
7626 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
7627 * functions.def (strerror, psignal): DEFFUNC's
7628 * strerror.c: Rewrite from scratch to use sys_errlist only if
7629 available, add errno_max(), add strerrno(), add strtoerrno(),
7630 add test driver.
7631 * strsignal.c: New file, signal equivalent to strerror.c.
7632 Uses sys_siglist if available, defines signo_max(), strsignal(),
7633 strsigno(), strtosigno(), psignal(), and test driver.
7634
7635Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
7636
7637 * Makefile.in: do not print recursion line.
7638
7639 * Makefile.in: allow CFLAGS to be passed in from command line.
7640 Removed MINUS_G. Default CFLAGS to -g.
7641
7642Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
7643
7644 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
7645 so libg++ users don't have to be inconvenienced by a
7646 libc.a bug (libc.a needs copysign, but doesn't define it!).
7647 * configure.in: Use config/mh-aix.
7648 * strtoul.c: Handle '-' as required by ANSI.
7649 Clean up radix handling.
7650 * strstr.c: Fix buggy algorithm.
7651 * Makefile.in: Change so that ${EXTRA_OFILES} is
7652 appended to needed-list (which is used by libg++).
7653
7654Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
7655
7656 * configure.in: Recognize new ncr3000 config.
7657 * config/mh-ncr3000: New config file.
7658
7659Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
7660
7661 * argv.c, dummy.c: Lint.
7662
7663Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
7664
7665 * config/mh-sysv4: New config file.
7666 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
7667 host_os == sysv4.
7668 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
7669 pagesize.
7670
7671Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
7672
7673 * getopt.c: Lint.
7674
7675Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
7676
7677 * functions.def (alloca): Fix return type and args to avoid
7678 type clash with gcc's builtin alloca.
7679
7680Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
7681
7682 * configure.in, config/mh-irix4: irix4 support.
7683
7684 * Makefile.in, functions.def, alloca.c: added alloca.
7685
7686Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
7687
7688 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
7689
7690Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
7691
7692 * argv.c: Fix various external function definitions to be
7693 correct in an ANSI compilation environment.
7694
7695Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
7696
7697 * obstack.c: Changes to support calling mmalloc functions,
7698 which take an additional argument over malloc functions.
7699
7700Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
7701
7702 * added check target.
7703
7704Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
7705
7706 * argv.c: #include alloca-conf.h (needed by AIX).
7707
7708Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
7709
7710 * Makefile.in, configure.in: removed traces of namesubdir,
7711 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
7712 copyrights to '92, changed some from Cygnus to FSF.
7713
7714Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
7715
7716 * argv.c: Check in Fred's version which fixes problems with
7717 alloca().
7718
7719Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
7720
7721 * makefile.dos: Remove NUL to keep patch from failing.
7722
7723Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
7724
7725 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
7726
7727Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
7728
8aefe91a 7729 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
252b5132
RH
7730
7731Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
7732
7733 * argv.c: New file to build and destroy standard argument
7734 vectors from a command string.
7735
7736 * Makefile.in: Add argv.c and argv.o to appropriate macros.
7737
7738Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
7739
7740 * configure.in: Change svr4 references to sysv4.
7741
7742 * rindex.c: Declare return type of externally used function
7743 strrchr().
7744
7745Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
7746
7747 * Makefile.in: Remove "***" in normal output, since Make produces
7748 this on errors, and it's convenient to search for.
7749
7750Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
7751
7752 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
7753 New ANSI functions. The old non-ANSI functions (such as bcopy)
7754 should be avoided.
7755 * bcopy.c: Fix to correctly handle overlapping regions.
7756 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
7757 * functions.def: Add the new functions.
7758 * functions.def: Add 4th parameter to DEF macro,
7759 an ansidecl.h-style prototype.
7760 * dummy.c: Use expanded DEF macro to create a dummy function
7761 call, with correct parameter types. (This avoids some
7762 complaints from gcc about predefined builtins.)
7763
7764 Move the functionality of config/mh-default into Makefile.in.
7765 This avoid duplication, and simplifies things slightly.
7766 * Makefile.in: Tweak so we don't need config/mh-default.
7767 * README: Update.
7768 * configure.in: No longer need config/mh-default.
7769 * config/mh-default: Deleted.
7770 * config/mh-sysv: Remove lines copied from old mh-default.
7771
7772Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
7773
7774 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
7775 'mknod' device numbers.
7776
7777Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
7778
7779 * fdmatch.c, Makefile.in: Add new function that takes two
7780 open file descriptors and returns nonzero if they refer to
7781 the same file, zero otherwise. (used in gdb)
7782
7783Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
7784 From DJ:
7785 * msdos.c: stub functions for dos.
7786 * makefile.dos, configdj.bat: new.
7787 * getopt.c: Don't include alloca-conf.h in a GO32 world.
7788
7789
7790Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7791
7792 * Makefile.in: infodir belongs in datadir.
7793
7794Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7795
7796 * Makefile.in: remove spaces following hyphens because bsd make
7797 can't cope. added standards.text support. install using
7798 INSTALL_DATA.
7799
7800 * configure.in: remove commontargets as it is no longer a
7801 recognized hook.
7802
7803Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7804
7805 * Makefile.in: idestdir and ddestdir go away. Added copyrights
7806 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
7807 and mandir now keyed off datadir by default.
7808
7809Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
7810
7811 * Makefile.in: find-needed.awk does not fit in 14 chars.
7812
7813 * Makefile.in: Suppress error checking when compiling the test
7814 program, because Ultrix make/sh aborts there due to a bug.
7815
7816Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
7817
7818 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
7819 * README: Explained how the auto-configuration works,
7820 and how to add new files and/or configurations.
7821
7822Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
7823
7824 * strtoul.c: Avoid defining ULONG_MAX if already defined;
7825 cast a const char * to char * for pedants.
7826
7827 * getopt.c: Only define "const" after local include files get to,
7828 and only if they haven't defined it.
7829
7830Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
7831
7832 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
7833 emulate it with getwd() if available. This avoids callers having
7834 to find a MAXPATHLEN or PATH_MAX value from somewhere.
7835 * Makefile.in, functions.def: getwd->getcwd.
7836 * configure.in: Use generic case for every system.
7837 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
7838 * config/mh-sysv: Use default handling, just add -DUSG.
7839
7840Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
7841
7842 * Makefile.in, config/mh-default: Re-do make magic
7843 so that for the default ("automatic") mode we only
7844 compile the files we actually need. Do this using
7845 a recursive make: The top-level generates the list
7846 of needed files (loosely, the ones missing in libc),
7847 and then passes that list to the recursive make.
7848 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
7849
7850Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
7851
7852 RS/6000 host support (grumble).
7853
7854 * configure.in: Build alloca-conf.h file from alloca-norm.h
7855 (everything else) or alloca-botch.h (rs/6000).
7856 * Makefile.in: Include . on the include path.
7857 * getopt.c: Use alloca-conf.h.
7858 * alloca-norm.h: How to declare alloca on reasonable machines.
7859 * alloca-botch.h: How to declare alloca on braindead machines.
7860
7861Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
7862
7863 * concat.c : New file, like concat() in gdb but can take a
7864 variable number of arguments rather than fixed at 3 args. For
7865 now, client applications must supply an xmalloc(), which is a
7866 front end function to malloc() that deals with out-of-memory
7867 conditions.
7868
7869 * Makefile.in: Add concat.c and concat.o to appropriate macros.
7870
7871Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
7872
7873 * config/mh-svr4: Add sigsetmask to list of required functions.
7874
7875Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
7876
7877 * vsprintf.c: New file.
7878 * functions.def, Makefile.in: Add vsprintf.
7879
7880Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
7881
7882 * configure.in, config/mh-rs6000: Add rs/6000 host support.
7883 * Makefile.in: Compile with debug info.
7884
7885Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
7886
7887 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
7888 config/mf-default: Added a default configuration mode,
7889 which includes into libiberty.a functions that are "missing" in libc.
7890 * strdup.c, vprintf.c, vfprintf.c: New files.
7891
7892Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
7893
7894 * config/hmake-svr4: New file.
7895
7896 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
7897
7898 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
7899 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
7900 files containing either portable C versions or emulations using
7901 native library calls.
7902
7903 * strerror.c: Add copyright, internal documentation, etc.
7904
7905 * strtol.c: Replace hardwired hex constants with some more
7906 portable macros. Remove illegal (according to gcc) cast.
7907
7908 * strtoul.c: Replace hardwired hex constant with more portable
7909 macro.
7910
7911 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
7912 can override them. Add new source and object file names to CFILES
7913 and OFILES respectively.
7914
7915 * configure.in: Add support for SVR4 makefile fragments.
7916
7917Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
7918
7919 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
7920 over-ridden by config/hmake-*
7921 * configure.in: added m88kcvs to sysv list
7922
7923Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
7924
7925 * Makefile.in: Most hosts need strerror, but one or two don't,
7926 and they override these definitions in the host-dependent makefile
7927 fragment.
7928 * config/hmake-mach: The odd man out on strerror -- it's supplied.
7929 * strerror.c: New file.
7930
7931 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
7932 it and bfd uses it.
7933 * configure.in, Makefile.in, config/hmake-mach: Only configure
7934 strtol & strotoul in on Mach.
7935
7936Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
7937
7938 * obstack.c: Merge with latest FSF version.
7939
7940\f
7941Local Variables:
7942version-control: never
7943End: