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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [libiberty/] [ChangeLog] - Blame information for rev 118

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

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

powered by: WebSVN 2.1.0

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