OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libiberty/] [ChangeLog] - Blame information for rev 861

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.