-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChangeLog-9197
5223 lines (3780 loc) · 188 KB
/
ChangeLog-9197
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Mon Dec 29 16:58:05 1997 Ian Lance Taylor <[email protected]>
From Matthew Bellantoni <[email protected]>:
* ar.c (get_pos_bfd): Add default_posname parameter. Change all
callers.
(replace_members): Default to replacing in the same position.
Mon Dec 22 11:27:22 1997 Ian Lance Taylor <[email protected]>
* rclex.l: Don't permit a comma in a STRING.
* rcparse.y (acc_entry): Warn if an inappropriate modifier is used
with a non VIRTKEY.
(acc_event): For a control character, set VIRTKEY, and force the
character to uppercase.
(acc_options): Don't require a comma separator.
Tue Dec 9 13:25:42 1997 Michael Meissner <[email protected]>
* size.c (size_number): New function to provide size of field.
({l,r}print_number): For octal and hex fields, print field using
'0' and '0x' suffixes. Do not include following tab.
(sysv_internal_sizer): Size section name, section size, and vma
address fields.
(sysv_internal_printer): Use calculated sizes for the columns.
(print_sysv_format): Size columns before printing.
(print_berkeley_format): Print tabs between numbers now that
{l,r}print_number doesn't. Print fields right justified.
Mon Dec 8 11:22:04 1997 Nick Clifton <[email protected]>
* objdump.c (objdump_print_addr_with_sym): Remove call to
disasm_symaddr() as this function no longer exists.
Tue Dec 2 10:23:50 1997 Nick Clifton <[email protected]>
* objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr()
to allow backend to know which symbol has just been displayed.
Tue Dec 2 13:06:46 1997 Ian Lance Taylor <[email protected]>
* windres.h (ESCAPE_*): Define standard escape sequences.
* rclex.l (handle_quotes): Handle standard escape sequences. Warn
about an unrecognized escape character.
* windres.c (unicode_print): Print standard escape sequences.
* rcparse.y (acc_event): Initialize $$.next.
* resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or
MENUITEM_ENDMENU in the menu item flags.
(bin_to_res_accelerators): Allocate a structure (the old code
never worked).
(res_to_bin_accelerator): Correct the test for setting ACC_LAST.
(res_to_bin_dialog): Save the extended style rather than saving
the style twice. Remove useless shadowing length variable. Set
the length of control data correctly.
* resrc.c (write_rc_dialog): Don't print the class or menu if the
string length is zero.
Mon Nov 24 18:52:43 1997 Andreas Schwab <[email protected]>
* stabs.c (parse_stab_argtypes): Don't try to parse the name of a
destructor as mangled argument types.
Mon Nov 10 17:51:41 1997 Gavin Koch <[email protected]>
* addr2line.c (translate_addresses): Use bfd_scan_vma rather
than strtol to scan addresses.
Sun Nov 9 11:01:31 1997 Jeffrey A Law ([email protected])
* Makefile.am (bin_PROGRAMS): Don't use line continuations here.
Tue Nov 4 11:56:14 1997 Ian Lance Taylor <[email protected]>
* objcopy.c (copy_section): Don't crash if there is no particular
information for a section.
Mon Nov 3 12:36:19 1997 Ian Lance Taylor <[email protected]>
* objcopy.c (parse_flags): Make flag check case insensitive.
Check for `contents' flag. Give an error for unrecognized flags.
(copy_section): If the contents flag was set for a section that
had no contents, zero out the new contents.
* binutils.texi (objcopy): Document contents section flag.
Sun Nov 2 14:49:56 1997 Ian Lance Taylor <[email protected]>
* objcopy.c: Move new struct and variable definitions to top of
file. Remove obsolete add_strip_symbol and is_strip_symbol
declarations. Add prototype declarations for add_specific_symbol
and is_specified_symbol.
Mon Oct 20 15:31:43 1997 Klaus K"ampf <[email protected]>
* configure.com (HAVE_SBRK): Undefine.
Tue Oct 14 16:14:35 1997 Nick Clifton <[email protected]>
* objdump.c (objdump_symbol_at_address): New function. Returns
true if a symbol can be found at the address passed in.
(disassemble_data): Set the symbol_at_address_func field to point
to objdump_symbol_at_address.
Fri Oct 10 14:13:09 1997 Richard Henderson <[email protected]>
* objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
than "privatize". Update all references.
Thu Oct 9 15:57:29 1997 Ian Lance Taylor <[email protected]>
* binutils.texi (strip): Remove duplicate --target. From Marty
Leisner <[email protected]>.
* nm.c (lineno_cache_bfd): New file static variable.
(lineno_cache_rel_bfd): New file static variable.
(display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
when closing a BFD.
(display_file): Likewise.
(print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
instead of cache_bfd and cache_rel_bfd. Make seccount static, and
only set it when setting relocs.
Wed Oct 8 21:19:11 1997 Richard Henderson <[email protected]>
* objcopy.c (keep_specific_list, privatize_specific_list,
weaken_specific_list): New variables.
(keep_symbols): Removed.
(add_specific_symbol): New function from the carcas of
add_strip_symbol. Takes a list as an argument.
(is_specified_symbol): Likewise from is_strip_symbol.
(filter_symbols): Honor the new privatize and weaken lists.
Optimize bfd_asymbol_name handling.
(copy_object, copy_options, copy_usage): Add privatize-symbol &
weaken-symbol options.
* objcopy.1, binutils.texi: Update docs.
Sun Oct 5 09:05:44 1997 Frank Ch. Eigler <[email protected]>
* objdump.c (disassemble_data): Make "--prefix-addresses"
disassembly adjust to mixed-length instructions.
(objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal
symbol-offsets in disassembly.
Fri Oct 3 12:04:25 1997 Ian Lance Taylor <[email protected]>
* objcopy.c (set_times): New static function, replacing
make_same_dates.
(strip_main): If preserve_dates, stat the input file before
copying it, and call set_times afterward.
(copy_main): Likewise.
* wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
char * when calling strcpy and strlen.
Wed Sep 24 11:34:05 1997 Ian Lance Taylor <[email protected]>
* binutils.texi (ar cmdline): Document that q now works like r.
From Marty Leisner <[email protected]>.
* binutils.texi (size): The object file argument is optional.
From Marty Leisner <[email protected]>.
* aclocal.m4: Rebuild with new libtool.
* configure: Rebuild.
Tue Aug 26 17:48:34 1997 Ian Lance Taylor <[email protected]>
* Makefile.am (EXEEXT_FOR_BUILD): New variable. Use it in all
references to the sysinfo program.
* configure.in: Rebuild with new bfd/acinclude.m4.
* Makefile.in: Rebuild.
Fri Aug 8 15:32:49 1997 Ian Lance Taylor <[email protected]>
* windres.c: Include <time.h>.
(define_resource): Set a timestamp for the resource.
Wed Aug 6 13:37:58 1997 Ian Lance Taylor <[email protected]>
* configure.in: Define TARGET in header file.
* acconfig.h (TARGET): Add #undef.
* Makefile.am (version.o, bucomm.o): Remove special targets.
* bucomm.c (target): Remove.
* nm.c (program_name): Don't declare.
(target): Make static.
* size.c (target): Make static.
* configure, config.in, Makefile.in: Rebuild.
Tue Aug 5 00:01:41 1997 Ian Lance Taylor <[email protected]>
* Makefile.am (check-DEJAGNU): Export r.
(.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS).
* Makefile.in: Rebuild.
* nlmheader.y: Use VERSIONK rather than VERSION.
* Makefile.am (STRIP_PROG): Change from strip.new to strip-new.
(NM_PROG): Change from nm.new to nm-new.
(TOOL_PROGS, install-exec-local): Adjust accordingly.
* Makefile.in: Rebuild.
Mon Aug 4 11:47:31 1997 Ian Lance Taylor <[email protected]>
* configure.in: Remove AC_ARG_PROGRAM; it's invoked by
AM_INIT_AUTOMAKE.
* configure: Rebuild.
* Makefile.am (install-exec-local): Create $(tooldir)/bin before
trying to install anything into it.
* Makefile.in: Rebuild.
* Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT).
(install-exec-local): When handling $(noinst_PROGRAMS), only use
$(EXEEXT) on the installed file. When handling $(TOOL_PROGS),
handle $(EXEEXT) correctly.
* configure.in: Add an explicit $(EXEEXT) when substituting for
the name of a program to build.
* Makefile.in, configure: Rebuild.
* aclocal.m4, configure, Makefile.in: Rebuild with new automake
patches.
* deflex.l, defparse.y: Use VERSIONK rather than VERSION.
* rclex.l, rcparse.y: Likewise.
* Makefile.am (windres_SOURCES): Add $(BULIBS).
* Makefile.in: Rebuild.
Fri Aug 1 13:08:39 1997 Ian Lance Taylor <[email protected]>
* acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4.
* aclocal.m4, configure: Rebuild with new libtool.
Thu Jul 31 11:51:35 1997 Ian Lance Taylor <[email protected]>
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and
AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove
stamp-h handling in AC_OUTPUT.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* config.in, configure: Rebuild.
From Ton van Overbeek <[email protected]>:
* rcparse.y (dialog): Default menu and class to be named.
(styles): If FONT is seen, set DS_SETFONT in dialog style.
* resbin.c (res_to_bin_dialog): Correct computation of font
information length.
Wed Jul 30 11:21:06 1997 Ian Lance Taylor <[email protected]>
From Ton van Overbeek <[email protected]>:
* resbin.c (res_to_bin_menu): Correct computation of menu
vs. menuex length.
* resrc.c (define_stringtable): Add 1 to resource ID.
Tue Jul 29 11:06:03 1997 Ian Lance Taylor <[email protected]>
* resbin.c (bin_to_res_string): Correct adjustment of data and
length. From Ton van Overbeek <[email protected]>.
Tue Jul 22 18:01:23 1997 Ian Lance Taylor <[email protected]>
* nlmconv.c (link_inputs): Call libiberty pexecute function.
(pexecute) [multiple versions]: Remove.
Tue Jul 22 16:19:34 1997 Robert Hoehne <[email protected]>
* bucomm.c (make_tempname): If we might be using a DOS filesystem,
check for a backslash as well as a slash.
Thu Jun 26 13:53:17 1997 Ian Lance Taylor <[email protected]>
* windres.c (main): Quit if we didn't get any resources.
(usage): Fix --yydebug usage message.
* rescoff.c (write_coff_file): Don't free the relocation array
until after we've closed the BFD.
(read_coff_rsrc): Quit rather than try to read standard input.
(write_coff_file): Quit rather than try to write to standard
output.
* rcparse.y: Add a couple of missing semicolons (accepted by bison
but not byacc).
* binutils.texi: Document windres.
Wed Jun 25 20:57:06 1997 Ian Lance Taylor <[email protected]>
* resbin.c: New file.
* rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h:
Numerous fixes and improvements.
* Makefile.in: Rebuild dependencies.
(CFILES): Add resbin.c.
(WINDRES_OBJS): Add resbin.o.
Sun Jun 22 17:29:41 1997 Ian Lance Taylor <[email protected]>
First stab at Windows resource compiler:
* windres.h: New file.
* windres.c: New file.
* resrc.c: New file.
* rcparse.y: New file.
* rclex.l: New file.
* rescoff.c: New file.
* configure.in: Define and substitute BUILD_WINDRES.
* configure: Rebuild.
* Makefile.in: Rebuild dependencies.
(WINDRES_PROG): New variable.
(PROGS): Add @BUILD_WINDRES@.
(HFILES): Add dlltool.h and windres.h.
(CFILES): Add windres.c and resrc.c.
(GENERATED_CFILES): Add rcparse.c and rclex.c.
(WINDRES_OBJS): New variable.
$(WINDRES_PROG): New target.
(rcparse.c, rcparse.h, rclex.c): New targets.
Thu Jun 12 12:27:51 1997 Ian Lance Taylor <[email protected]>
* dlltool.c (export_type): Add data field.
(def_exports): Add data parameter. Change all callers.
(dump_def_info): Print data field.
(gen_def_file): Likewise.
(make_one_lib_file): Handle data field by not emitting simple
label and not emitting anything in SEC_TEXT.
(dtab): Print data field.
(process_duplicates): Merge data field.
* dlltool.h (def_exports): Update declaration.
* defparse.y (expline): Accept opt_DATA. Pass it to def_exports.
(opt_DATA): New non-terminal.
Wed Jun 11 17:15:47 1997 Ian Lance Taylor <[email protected]>
* dlltool.h: New file.
* deflex.l: Include dlltool.h and libiberty.h. Don't declare
strdup. Use xstrdup rather than strdup.
* defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
* dlltool.c: Include dlltool.h and time.h. Make a lot of
variables and functions static. Make a lot of char * variables
and parameters const. Add declarations for static functions. Do
some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC.
Wed Jun 11 12:05:52 1997 H.J. Lu <[email protected]>
* ar.c (bfd_special_undocumented_glue): Add const.
Mon May 12 22:09:35 1997 Bob Manson <[email protected]>
* Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET
to runtest.
Mon May 12 13:14:22 1997 Ian Lance Taylor <[email protected]>
* configure.in: Don't clear OPCODES when --enable-commonbfdlib is
used on HP/UX.
* configure: Rebuild.
Fri Apr 25 14:22:08 1997 H.J. Lu <[email protected]>
* Makefile.in (maintainer-clean realclean): Change *.info*
to binutils.info* to save sysroff.info.
Tue Apr 15 13:42:22 1997 Ian Lance Taylor <[email protected]>
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info): Run mkinstalldirs.
Mon Apr 14 11:52:39 1997 Ian Lance Taylor <[email protected]>
* Makefile.in (INSTALL): Change install.sh to install-sh.
From Thomas Graichen <[email protected]>:
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
Fri Apr 4 13:28:02 1997 Ian Lance Taylor <[email protected]>
* configure.in: Add AC_FUNC_ALLOCA.
* configure, config.in: Rebuild.
* bucomm.h: Add alloca handling, copied from gas/as.h.
* dlltool.c: Add #pragma alloca for AIX to start of file.
* nlmconv.c: Likewise.
* Makefile.in (distclean): Remove site.exp and site.bak. Remove
everything that clean removes.
Thu Apr 3 13:18:39 1997 Ian Lance Taylor <[email protected]>
* Makefile.in (VERSION): Set to 2.8.1.
* Branched binutils 2.8.
Tue Apr 1 16:21:44 1997 Klaus Kaempf <[email protected]>
* configure.com: New file.
* config.h-vms: Remove file.
* makefile.vms: Update for new configure scheme.
Mon Mar 31 15:30:43 1997 Philippe De Muyter <[email protected]>
* objcopy.c (make_same_dates): Use statbuf, not buf, if not
HAVE_GOOD_UTIME_H.
Fri Mar 28 17:57:53 1997 Alan Modra <[email protected]>
* Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice.
* configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set,
set OPCODES to empty.
* configure: Rebuild.
Thu Mar 27 16:03:02 1997 Ian Lance Taylor <[email protected]>
Based on patch from Marty Leisner <[email protected]>:
* objcopy.c: Include <utime.h> or <sys/time.h>.
(strip_options): Add "preserve-dates".
(copy_options): Likewise.
(copy_usage): Mention -p and --preserve-dates.
(strip_usage): Likewise.
(make_same_dates): New static function.
(strip_main): Handle -p.
(copy_main): Likewise.
* binutils.texi, strip.1, objcopy.1: Document new option.
addr2line.c contributed by Ulrich Lauther
* addr2line.c: New file.
* Makefile.in: Rebuild dependencies.
(ADDR2LINE_PROG): New variable.
(MANPAGES): Add addr2line.
(PROGS): Add $(ADDR2LINE_PROG).
(CFILES): Add addr2line.c.
($(ADDR2LINE_PROG)): New target.
* binutils.texi: Document addr2line.
* addr2line.1: New file.
* version.c (print_version): Update copyright date.
Mon Mar 24 10:52:45 1997 Andreas Schwab <[email protected]>
* objdump.c (disassemble_data): Don't exit if a file cannot be
disassembled, instead just return.
Thu Mar 20 21:16:51 1997 Jeffrey A Law ([email protected])
* size.c (usage): Make definition match its prototype.
(display_bfd, lprint_number, rprint_number): Likewise.
(print_berkeley_format, sysv_internal_printer): Likewise.
(print_sysv_format): Likewise.
* nm.c (set_print_radix, set_output_format): Likewise.
* objcopy.c (filter_bytes): Likewise.
Tue Mar 18 16:39:55 1997 H.J. Lu <[email protected]>
* Many files: Add function prototypes.
* ar.c (mri_emul, get_pos_bfd): Make static.
* arlex.l: Include "libiberty.h". Don't declare strdup. Use
xstrdup rather than strdup.
* arparse.y (yyerror): Make argument const. Correct typo.
* arsup.c (strdup): Don't declare.
(ar_save): Use xstrdup rather than strdup.
* filemode.c: Include "bucomm.h".
* nm.c (usage): Make static.
(print_symname): Make format and name const.
* objcopy.c (cat): Remove.
(copy_archive): Make output_target const. Use concat, not cat.
(copy_file, simple_copy, smart_rename): Make arguments const.
* objdump.c (read_section_stabs): Likewise.
(print_section_stabs): Likewise.
(display_target_tables): Don't declare getenv.
* strings.c (strings_object_file): Change file to const.
(print_strings): Change filename to const.
* Makefile.in: Rebuild dependencies.
Tue Mar 18 11:37:24 1997 Ian Lance Taylor <[email protected]>
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* nlmconv.c (getenv): Don't declare.
* Makefile.in: Rebuild dependencies.
Sat Mar 15 15:35:56 1997 Ian Lance Taylor <[email protected]>
Based on patches from Jamie Lokier <[email protected]>:
* objdump.c: Include "demangle.h".
(do_demangle): New static variable.
(usage): Mention -C/--demangle.
(long_options): Add "demangle".
(objdump_print_symname): New static function.
(objdump_print_addr_with_sym): Use objdump_print_symname.
(disassemble_bytes): Likewise.
(dump_reloc_set): Likewise.
(dump_symbols): Demangle symbol name.
(main): Handle -C.
* binutils.texi, objdump.1: Document -C/--demangle.
* objdump.c (usage): Mention --no-show-raw-insn.
(long_options): Add "no-show-raw-insn".
(disassemble_bytes): Handle --no-show-raw-insn.
* binutils.texi, objdump.1: Document --no-show-raw-insn.
Wed Mar 12 11:42:00 1997 Andreas Schwab <[email protected]>
* rddbg.c (free_saved_stabs): Set the strings to NULL after being
freed.
Fri Feb 28 17:18:45 1997 Ian Lance Taylor <[email protected]>
* bucomm.c (set_default_bfd_target): New function.
* bucomm.h (set_default_bfd_target): Declare.
* ar.c (main): Call set_default_bfd_target.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* size.c (main): Likewise.
* strings.c (main): Likewise.
* Makefile.in (bucomm.o): New target, to define TARGET.
Tue Feb 25 21:28:38 1997 Ian Lance Taylor <[email protected]>
* objdump.c (adjust_section_vma): New static variable.
(usage): Mention --adjust-section-vma.
(OPTION_ADJUST_VMA): Define.
(long_options): Add "addjust-vma".
(display_bfd): If adjust_section_vma is not 0, add it to all the
section addresses.
(main): Handle OPTION_ADJUST_VMA.
* binutils.texi, objdump.1: Document --adjust-vma.
Fri Feb 14 18:46:47 1997 Ian Lance Taylor <[email protected]>
* nm.c (print_symbol): Cache the BFD as well as the symbols and
relocs, and don't try to use the symbols or relocs with a
different BFD.
Thu Feb 13 21:34:43 1997 Klaus Kaempf ([email protected])
* config.h-vms: sbrk() is provided on openVMS/Alpha.
* makefile.vms: allow compiling with current gcc snapshot.
Thu Feb 13 20:14:40 1997 Ian Lance Taylor <[email protected]>
* arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
than malloc.
Wed Feb 12 16:12:02 1997 Ian Lance Taylor <[email protected]>
* objdump.c (disassemble_data): Correct VMA argument to
find_symbol_for_address. Improve handling of code with no symbol
followed by code with a symbol.
Wed Feb 12 12:16:47 1997 Andreas Schwab <[email protected]>
* objdump.c (disassemble_bytes): Make output of raw instructions
work better for non-standard values of bytes_per_chunk and
bytes_per_line.
Thu Feb 6 14:14:59 1997 Martin M. Hunt <[email protected]>
* objdump.c (disassemble_bytes): Added code to allow some control
over the way raw instructions are displayed.
Thu Feb 6 12:36:03 1997 Ian Lance Taylor <[email protected]>
* stabs.c (struct bincl_file): Add next_stack field.
(push_bincl): Put the new file on both bincl_list and
bincl_stack. Clear the file_types field.
(pop_bincl): Use the next_stack field when popping the stack.
Don't put the file on bincl_list.
(find_excl): Include the file name when warning about an unfound
N_EXCL.
* debug.c (debug_type_samep): Don't crash if we are passed NULL.
Thu Feb 6 11:54:24 1997 Alan Modra <[email protected]>
* objcopy.1: Add missing space after .B.
Fri Jan 31 10:33:07 1997 Andreas Schwab <[email protected]>
* objdump.c (disassemble_data): Initialize `aux.require_sec'.
Wed Jan 29 13:21:21 1997 Ian Lance Taylor <[email protected]>
* objdump.c (objdump_print_value): Add skip_zeroes parameter.
Change all callers.
(objdump_print_addr_with_sym): Likewise. Call objdump_print_value
to print address.
(objdump_print_addr): New static function.
(objdump_print_address): Just call objdump_print_addr.
(disassemble_bytes): Print real address, not function offset.
Skip a certain number of leading zeroes.
* objdump.c (disassemble_zeroes): New static variable.
(usage): Mention --disassemble-zeroes.
(long_options): Add "disassemble-zeroes".
(disassemble_bytes): Check disassemble_zeroes.
Tue Jan 28 16:47:26 1997 Ian Lance Taylor <[email protected]>
* objdump.c (disassemble_bytes): Don't skip zeroes if the
disassembler has told us that we are in a branch delay slot.
Mon Jan 20 14:24:04 1997 Ian Lance Taylor <[email protected]>
* size.c (berkeley_sum): Rewrite. Skip sections which are not
SEC_ALLOC. Count SEC_READONLY sections as text.
Tue Jan 14 15:14:14 1997 Ian Lance Taylor <[email protected]>
* Makefile.in (maintainer-clean realclean): Remove *.info*, not
just *.info. From H.J. Lu <[email protected]>.
Tue Dec 31 15:42:54 1996 Ian Lance Taylor <[email protected]>
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
Fri Dec 27 11:19:26 1996 Ian Lance Taylor <[email protected]>
* configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
* configure: Rebuild.
Thu Dec 19 13:11:20 1996 Ian Lance Taylor <[email protected]>
Based on patch from Andrew J Klossner <[email protected]>:
* objcopy.c (OPTION_WEAKEN): Define.
(copy_options): Add "weaken".
(copy_usage): Mention --weaken.
(weaken): New static variable.
(filter_symbols): Handle weaken.
(copy_object): Call filter_symbols if weaken.
(copy_main): Handle OPTION_WEAKEN.
* binutils.texi, objcopy.1: Document --weaken.
Wed Dec 18 22:49:13 1996 Stan Shebs <[email protected]>
* mpw-make.sed: Use NewFolderRecursive for installation.
Sat Dec 7 10:17:25 1996 Jeffrey A Law ([email protected])
* Makefile.in (install): Add "else true" clause to cater to
broken "make" on some systems.
Fri Dec 6 17:21:41 1996 Ian Lance Taylor <[email protected]>
* ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
warning about uninitialized variable.
(ieee_read_cxx_class): Likewise, for pf.
(ieee_enum_type): Likewise, for i.
Tue Nov 26 17:01:25 1996 Ian Lance Taylor <[email protected]>
* wrstabs.c (stab_array_type): Add casts when printing
bfd_signed_vma values.
* configure: Rebuild with autoconf 2.12.
Mon Nov 25 16:53:18 1996 Ian Lance Taylor <[email protected]>
* objdump.c (disassemble_data): Don't crash if there is no
symbol.
Fri Nov 22 17:29:14 1996 Andreas Schwab <[email protected]>
* ar.c (open_inarch): Don't call bfd_openr with a null name.
Fri Nov 1 12:08:13 1996 Ian Lance Taylor <[email protected]>
* binutils.texi: Add section on reporting bugs.
Thu Oct 31 18:20:53 1996 Ian Lance Taylor <[email protected]>
* stabs.c (struct stab_handle): Add bincl_list field.
(parse_stab): Pass value to push_bincl. Call find_excl for
N_EXCL.
(struct bincl_file): Add hash, file and file_types fields.
(push_bincl): Add hash parameter. Save it in the new hash field.
Save the file number in the new file field.
(pop_bincl): Put the bincl_file on bincl_list, rather than freeing
it. Save the file types in the new file_types field.
(find_excl): New static function.
* ieee.c (ieee_lineno): Don't compare line number addresses to
info->highaddr (undo part of October 28 patch).
Tue Oct 29 16:40:22 1996 Ian Lance Taylor <[email protected]>
* objdump.c (objdump_print_value): Don't print the empty string
for zero.
Mon Oct 28 16:58:14 1996 Ian Lance Taylor <[email protected]>
* stabs.c (struct stab_handle): Add function_end field.
(start_stab): Initialize function_end.
(finish_stab): Pass info->function_end to debug_end_function.
(parse_stab): If info->function_end is set, use it as the address
which ends a function.
* ieee.c (ieee_array_type): Remember the correct size.
* ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
that are up to 0x1000 bytes apart, not just 64.
(ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less
than 0x100 bytes.
(ieee_lineno): Only emit line numbers that are less than
info->highaddr.
Fri Oct 25 12:12:17 1996 Ian Lance Taylor <[email protected]>
* ieee.c (struct ieee_defined_enum): Add defined field.
(ieee_enum_type): If the enum tag has been seen before but not
defined, reuse the same type index, and define it.
(ieee_tag_type): If this enum has not been defined, add an
undefined entry to the list of enums.
* objdump.c (disassemble_bytes): Let the disassembler override the
number of bytes printed on a line.
Thu Oct 24 16:42:10 1996 Ian Lance Taylor <[email protected]>
* objdump.c (prefix_addresses): New static variable.
(long_options): Add "prefix-addresses".
(compare_symbols): Sort BSF_FUNCTION symbols before other
symbols.
(find_symbol_for_address): New static function, broken out of
objdump_print_address.
(objdump_print_addr_with_sym): New static function, broken out of
objdump_print_address.
(objdump_print_address): Call new functions.
(disassemble_bytes): New static function, broken out of
disassemble_data. Change disassembly format, unless
prefix_addresses is set.
(disassemble_data): Call disassemble_bytes. Unless
prefix_addresses is set, disassemble in chunks headed by a
symbol.
* binutils.texi, objdump.1: Document --prefix-addresses.
* rddbg.c (read_section_stabs_debugging_info): Preserve the
backslash when concatenating multiple stabs strings.
Thu Oct 10 11:36:31 1996 Doug Evans <[email protected]>
* dlltool.c (scan_open_obj_file): Fix loop exit test.
Add missing parameter to def_exports.
Tue Oct 8 12:06:17 1996 Ian Lance Taylor <[email protected]>
* Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the
default for flex, and is not recognized by lex.
Thu Oct 3 17:41:23 1996 Ian Lance Taylor <[email protected]>
* binutils.texi (Target Selection): Document that you can now
specify targets using configuration triplets.
* ar.c (usage): Declare. Make sure all callers pass an argument.
Thu Oct 3 15:39:42 1996 Jason Molenda ([email protected])
* Makefile.in (clean): Remove config.log.
Wed Oct 2 15:49:16 1996 Klaus Kaempf <[email protected]>
* makefile.vms: Bump version date.
Tue Oct 1 15:00:59 1996 Ian Lance Taylor <[email protected]>
* version.c (print_version): New function.
* bucomm.h (print_version): Declare.
* ar.c (program_version): Don't declare.
(do_show_version): Remove.
(usage): Add help parameter. Print bug report address.
(main): Set is_ranlib at start. Check for --help and --version.
Call print_version, not do_show_version.
* nlmconv.c (program_version): Don't declare.
(main): Call print_version.
(show_usage): Print bug report address.
* nm.c (program_version, print_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* objcopy.c (program_version): Don't declare.
(copy_usage): Print bug report address.
(strip_usage): Likewise.
(strip_main): Call print_version.
(copy_main): Likewise.
* objdump.c (program_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* size.c (program_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* strings.c (program_version): Don't declare.
(main): Call print_version.
(usage): Print bug report address.
* Makefile.in: Update dependencies.
Thu Sep 19 14:53:15 1996 Ian Lance Taylor <[email protected]>
* ieee.c: Revert Monday's reflocalp patch, and apply this patch
instead:
(write_ieee_debugging_info): Write a dummy type at the end of the
global type block.
Mon Sep 16 15:30:54 1996 Ian Lance Taylor <[email protected]>
* ieee.c (struct ieee_write_type): Add reflocalp field.
(ieee_pointer_type): Set reflocalp after pushing type.
(ieee_function_type): If reflocalp is set, make this type local.
(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
(ieee_const_type, ieee_volatile_type): Likewise.
(ieee_struct_field, ieee_class_baseclass): Likewise.
* ieee.c (struct ieee_info): Add global_types field.
(parse_ieee_bb): When starting a BB1, initialize the types field
to the global_types field.
(parse_ieee_be): When ending a BB2, copy the types field to the
global_types field.
Fri Sep 13 17:32:21 1996 Ian Lance Taylor <[email protected]>
* objcopy.c (change_leading_char): New static variable.
(OPTION_CHANGE_LEADING_CHAR): Define.
(copy_options): Add "change-leading-char".
(copy_usage): Mention --change-leading-char.
(filter_symbols): Add obfd parameter. Change all callers.
Implement change_leading_char.
(copy_object): Call filter_symbols if change_leading_char.
(copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
* binutils.texi, objcopy.1: Document --change-leading-char.
Tue Sep 3 14:05:29 1996 Ian Lance Taylor <[email protected]>
* ieee.c (ieee_enum_type): Don't check index into a NULL names
array.
* nm.c (sort_symbols_by_size): Always initialize next.
* rdcoff.c (parse_coff_type): Warn about an incomprehensible
type rather than crashing.
* rddbg.c (read_symbol_stabs_debugging_info): Initialize f.
* stabs.c (parse_stab_members): Set context in all cases.
Thu Aug 29 16:56:52 1996 Michael Meissner <[email protected]>
* configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
* configure: Regenerate.
Thu Aug 29 11:29:20 1996 Ian Lance Taylor <[email protected]>
* objdump.c (L_tmpnam): Never define.
(display_target_list): Use choose_temp_base instead of tmpnam.
(display_info_table): Likewise.
Tue Aug 27 18:15:01 1996 Ian Lance Taylor <[email protected]>
* stabs.c (parse_stab): An N_FUN symbol with an empty string
indicates the end of a function.
Thu Aug 22 17:08:00 1996 Ian Lance Taylor <[email protected]>
* wrstabs.c (struct string_hash_entry): Add next field.
(struct stab_write_handle): Change strings to a pointer to
string_hash_entry. Add last_strings field. Remove strings_alloc
field.
(string_hash_newfunc): Initialize next field.
(stab_write_symbol): Copy string into hash table rather than into
buffer. Keep a list of hash table entries.
(write_stabs_in_sections_debugging_info): Initialize last_string.
Copy strings from list of hash table entries in memory.
(stab_modify_type): If the entry on the stack is a definition,
make a new definition rather than failing an assert.
(stab_array_type): The size is only zero if high is strictly less
than low.
* ieee.c (struct ieee_info): Add saw_filename field.
(parse_ieee): Initialize saw_filename.
(parse_ieee_bb): Set saw_filename for a BB1 or BB2. In a BB1,
discard the current variables and types. In a BB10, if no
filename has been seen, call debug_set_filename.
(parse_ieee_ty): In case 'g', the type is optional.
* prdbg.c (pr_fix_visibility): Don't abort on
DEBUG_VISIBILITY_IGNORE.
* debug.c (debug_name_type): Correct error message.
* configure.in: Substitute HLDENV.
* configure: Rebuild.
* Makefile.in (HLDENV): New variable. Use it whenever linking a
program.
Thu Aug 15 19:30:41 1996 Stan Shebs <[email protected]>
* mpw-make.sed: Add symbolic doublequotes around the version
number.
Thu Aug 8 12:27:52 1996 Klaus Kaempf <[email protected]>
* makefile.vms: Add better support for DEC C compilation.
Add new macros as in Makefile.in.
Wed Aug 7 14:27:33 1996 Philippe De Muyter <[email protected]>
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
(NEED_DECLARATION_SBRK): New macro.
* configure, config.in: Rebuild.
* bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
(sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
* prdbg.c (pr_end_struct_type): Avoid using a string constant in
assert, for the benefit of broken assert macros.
Fri Jul 26 14:06:50 1996 Ian Lance Taylor <[email protected]>
* objdump.c (disassemble_data): Set disasm_info.flavour from
abfd.
Tue Jul 23 13:59:54 1996 Ian Lance Taylor <[email protected]>
* dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
of .text section to 2.
Mon Jul 22 08:46:15 1996 Stu Grossman ([email protected])
* objdump.c (dump_section_stabs): Fix test for stabs sections
ending with numbers. This fixes a problem with .stab being
confused with .stab.index.
Wed Jul 10 13:32:28 1996 Ian Lance Taylor <[email protected]>
* stabs.c (stab_demangle_fund_type): Return a void * for a
template, rather than simply aborting.
Mon Jul 8 15:28:05 1996 Ian Lance Taylor <[email protected]>
* ar.c (open_inarch): Add file parameter. Change all callers. If
this is a newly created archive, set the target based on the
file.
* arsup.h (open_inarch): Update declaration.
Thu Jul 4 12:00:55 1996 Ian Lance Taylor <[email protected]>
* Makefile.in (VERSION): Set to cygnus-2.7.1.
* Released binutils 2.7.
* rdcoff.c (parse_coff): Get address to pass to debug_end_function
from function size, not value of .ef symbol. From Ning
Mosberger-Tang <[email protected]>.
Sat Jun 29 21:18:09 1996 Ian Lance Taylor <[email protected]>
* objcopy.c (strip_main): Add -o option, and handle it.
(strip_usage): Mention -o.
* binutils.texi, strip.1: Mention -o.
Mon Jun 24 17:19:02 1996 Jason Molenda ([email protected])
* Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values.
(docdir): Removed.
* configure.in (AC_PREREQ): Autoconf 2.5 or higher.
Mon Jun 24 11:59:13 1996 Ian Lance Taylor <[email protected]>
* objdump.c (endian): New static variable.
(usage): Mention -EB/-EL/--endian.
(long_options): Add "endian".
(disassemble_data): If endianness was specified, replace
abfd->xvec with a copy of itself with the given endianness.
(main): Handle -EB/-EL/--endian.
* binutils.texi, objdump.1: Mention -EB/-EL/--endian.
* objdump.c: Make most variables and functions static.
* configure.in: On alpha*-*-osf*, link against libbfd.a if not
using shared libraries.
* configure: Rebuild with autoconf 2.10.
Sun Jun 23 14:47:36 1996 Kim Knuttila <[email protected]>
* dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work.
(make_one_lib_file): Removed cruft. (#if 1)
Wed Jun 19 14:46:38 1996 Ian Lance Taylor <[email protected]>
* objdump.c (stabs): Change from struct internal_nlist * to
bfd_byte *.
(print_section_stabs): Fetch stabs information directly, rather
than assuming that struct internal_nlist is the right size.