forked from bminor/binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-0001
2066 lines (1457 loc) · 63.1 KB
/
ChangeLog-0001
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
2001-12-20 Julian v. Bock <julian@wongr.net>
* readelf.c (print_symbol): New function: Print a formatted symbol
name. If --wide is specified do not truncate it.
(dump_relocations): Use print_symbol() to print symbol names.
(process_symbol_table): Likewise.
(process_syminfo): Likewise.
(process_mips_specific): Likewise.
(usage): Document new feature of --wide switch.
* doc/binutils.texi (objdump): Document additional behaviour of
--wide.
2001-12-18 Michael Snyder <msnyder@redhat.com>
* objcopy.c (copy_file): Accept corefiles (format bfd_core).
(copy_object): Don't set the start address or flags of a core file.
(copy_section): Don't relocate a core file. Don't copy contents
if the input section has the contents flag set, but the output
section does not (which happens with the fake 'note' pseudo-
sections that BFD creates for corefiles).
2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (get_machine_flags): Recognize header flags for ABI and
ASE extensions. More robust code for ISA checking. Ignore empty fields
in header flags for GNU extensions.
2001-12-18 Alan Modra <amodra@bigpond.net.au>
* objcopy.c (copy_archive): Set output bfd format outside the loop.
2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
* po/ja.po: Import from translation project.
* configure.in (ALL_LINGUAS): Add ja.
* configure: Regenerate.
2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* addr2line.c (main): Protoype.
* ar.c (main): Protoype.
* nm.c (main): Protoype.
* objcopy.c (main): Protoype.
* objdump.c (main): Protoype.
* size.c (main): Protoype.
* strings.c (main): Protoype.
2001-12-17 Alan Modra <amodra@bigpond.net.au>
* readelf.c (symtab_shndx_hdr): New global.
(SECTION_HEADER_INDEX): Define.
(SECTION_HEADER_NUM): Define.
(SECTION_HEADER): Define.
(GET_ELF_SYMBOLS): Pass two params rather than three.
(get_32bit_elf_symbols): Take file and section args. Read and
use SHT_SYMTAB_SHNDX.
(get_64bit_elf_symbols): Likewise.
(dump_relocations): Use SECTION_HEADER to index "section_headers".
(process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
Remember symtab_shdx_hdr.
(process_program_headers): Scan from index 1 for segment map.
(slurp_ia64_unwind_table): Use SECTION_HEADER to index
"section_headers".
(process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
(process_unwind): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(display_debug_info): Likewise.
(process_dynamic_segment): Fake up a symtab section for changed
GET_ELF_SYMBOLS.
(get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
(process_program_headers): Kill signed/unsigned warning.
(load_debug_str): Likewise.
(display_debug_info): Likewise.
2001-12-13 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
2001-12-11 Alan Modra <amodra@bigpond.net.au>
* readelf.c (process_file_header): Print extended e_shnum and
e_shdtrndx values. Set elf_header values for same.
(get_32bit_section_headers): Add "num" arg to read "num" headers.
(get_64bit_section_headers): Likewise.
(process_section_headers): Update calls.
(get_file_header): Call get_32bit_section_headers or 64bit variant.
2001-12-10 Jakub Jelinek <jakub@redhat.com>
* objcopy.c (setup_section): Copy entsize.
2001-12-07 Geoffrey Keating <geoffk@redhat.com>
* readelf.c (guess_is_rela): Add support for stormy16.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
* dllwrap.c (main) Replace multiple strings describing a
single error with a single, newline escaped sentence to permit
better translation into foreign languages.
* readelf.c (get_elf_class): Remove internalionalisation of ELF
class names.
2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* strings.c (get_char): Initialize value.
2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* arlex.l: Silence compile warnings.
* arsup.h: Likewise. Fix formatting.
2001-12-04 Jakub Jelinek <jakub@redhat.com>
* strings.c: Include config.h before bfd.h.
(file_off): New type.
(file_open): Define.
(print_strings): Use file_off instead of file_ptr. Print addresses
which don't fit into long correctly.
(get_char): Use file_off instead of file_ptr. Use getc_unlocked if
available.
(strings_file): Use file_off instead of file_ptr. Use file_open.
* configure.in: Check for getc_unlocked.
Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
be defined for it.
* configure: Rebuilt.
* config.h.in: Rebuilt.
2001-11-29 H.J. Lu <hjl@gnu.org>
* bucomm.c (make_tempname): Revert the changes made on
2001-11-14 and 2001-11-12. They won't work with directories.
2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
* binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
CFLAGS_FOR_TARGET to runtest in environment.
* Makefile.in: Rebuild.
* doc/Makefile.in: Rebuild.
2001-11-28 Mike Stump <mrs@wrs.com>
* objcopy.c (setup_section): Preserve SEC_RELOC when
--set-section-flags is used.
2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (do_debug_str): New variable.
(display_debug_str): New function: Display the contents of a
.debug_str section.
(load_debug_str): New function: Load in the contents of a
.debug_str section.
(free_debug_str): New function: Free the memory used by
load_debug_str().
(fetch_indirect_string): Retrieve a string from the .debug_str
section.
(usage): Add -ws.
(parse_args): Accept -ws.
(process_section_headers): Allow the display of the .debug_str
section.
(read_and_display_attr_value): Use fetch_indirect_string. Show
offset into .debug_str section.
(display_debug_info): Use load_debug_str and free_debug_str.
(debug_displays): Add .debug_str.
* doc/binutils.texi: Document -ws.
2001-11-19 Andreas Jaeger <aj@suse.de>
* testsuite/binutils-all/objdump.exp: Add x86-64.
2001-11-15 Andreas Schwab <schwab@suse.de>
* readelf.c: Fix warnings without terminating newline.
2001-11-15 Alan Modra <amodra@bigpond.net.au>
* doc/binutils.texi (objdump): Document ppc -M options.
2001-11-14 Andreas Jaeger <aj@suse.de>
* doc/binutils.texi (objdump): Fix description to use x86-64.
2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
* bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
not all systems provide mkstemp.
2001-11-14 Alan Modra <amodra@bigpond.net.au>
* doc/binutils.texi (objdump): Document x86 -M options.
2001-11-13 Keith Walker <keith.walker@arm.com>
* readelf.c (read_and_display_attr_value): New function to
handle DW_FORM_indirect.
(read_and_display_attr): Use it.
2001-11-13 Geoffrey Keating <geoffk@redhat.com>
* readelf.c (display_debug_lines): Deal with unknown standard
opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
DW_LNS_set_isa.
2001-11-13 Timothy Wall <twall@alum.mit.edu>
* MAINTAINERS: Add self as tic54x maintainer. This target
includes the IBM C54XDSP clone.
2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
* bucomm.c (make_tempname): Use mkstemp in place of mktemp.
2001-11-09 Jeffrey A Law (law@cygnus.com)
* unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
(unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
(unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
(unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
(unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
(unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
(unw_decode_b2, unw_decode_b3_b4): Likewise.
* readelf.c (get_elf_class): Fix ISO portability glitch.
(get_data_encoding, get_osabi_name, request_dump): Likewise.
2001-11-07 Jakub Jelinek <jakub@redhat.com>
* readelf.c (debug_str, debug_str_size): New.
(display_debug_abbrev): If no abbrevs were read, skip the CU.
Call free_abbrevs.
(read_and_display_addr): Handle DW_FORM_strp.
(display_debug_info): Read .debug_str section if present,
so that DW_FORM_strp can be handled.
Fix test for non-existant .debug_abbrev section.
2001-11-05 Jakub Jelinek <jakub@redhat.com>
* arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
* MAINTAINERS: Add self as s390/s390x maintainer.
2001-11-02 Tom Rix <trix@bluey.cygnus.com>
* MAINTAINERS: Add self as PPC XCOFF maintainer.
2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
* configure.in (ALL_LINGUAS): Add "fr" and "tr".
* configure: Regernate.
* po/fr.po: New file.
* po/tr.po: New file.
2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
* MAINTAINERS: Add self as MMIX port maintainer.
* readelf.c: Include elf/mmix.h.
(guess_is_rela): MMIX is RELA.
(dump_relocations): Handle MMIX relocations.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (parse_args): Handle multiple options to the -w
switch.
2001-10-12 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_section_type_name): Don't print SHT_ prefix for
LOPROC, LOOS and LOUSER.
2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
* MAINTAINERS: Update my email address.
2001-10-03 Alan Modra <amodra@bigpond.net.au>
* doc/Makefile.in: Regenerate.
* configure: Regenerate.
2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (display_debug_line, display_debug_pubnames,
display_debug_info, display_debug_frames): Detect and warn
about 64-bit format entries.
(display_debug_aranges): Reword 64-bit warning.
(debug_displays): Add .debug_pubtypes as a known, but not yet
supported, debug section.
2001-10-02 Alan Modra <amodra@bigpond.net.au>
* coffdump.c (PROGRAM_VERSION): Delete.
(main <'V'>): Call print_version.
* srconv.c: Likewise.
* sysdump.c: Likewise.
* version.c (program_version): Remove.
(print_version): Use BFD_VERSION_STRING. Just print the current
year in copyright message.
* addr2line.c (program_version): Remove unused declaration.
* objdump.c (display_target_tables): Use BFD_VERSION_STRING in
place of BFD_VERSION.
* Makefile.am (Makefile): Depend on bfd/configure.in.
(cplus-dem.o): Depend on Makefile.
Run "make dep-am".
* Makefile.in: Regenerate.
2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (display_debug_aranges): Detect and warn about DWARF64
format .debug_arange sections.
(main): Add missing prototype.
2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
* Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.
2001-09-28 Richard Henderson <rth@redhat.com>
* objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
2001-09-26 Alan Modra <amodra@bigpond.net.au>
* bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
VA_CLOSE.
(non_fatal): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error): Likewise.
(warn): Likewise.
2001-09-25 Jakub Jelinek <jakub@redhat.com>
* readelf.c (do_wide): New.
(options): Add --wide.
(usage, parse_args): Likewise.
(process_program_headers): Put each segment on a single line if
--wide is given.
(process_section_headers): Put each section on a single line if
--wide is given.
* doc/binutils.texi: Document it.
* NEWS: Likewise.
2001-09-25 Alan Modra <amodra@bigpond.net.au>
* readelf.c (print_vma): Print 8 digits of low hex value.
2001-09-24 Andreas Jaeger <aj@suse.de>
* nlmconv.c: Fix warnings about unused attributes and function
prototypes.
* strings.c: Add prototype for get_char.
2000-09-19 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
$(srcdir)/cxxfilt.man.
* doc/Makefile.in: Rebuild.
2001-09-19 Alan Modra <amodra@bigpond.net.au>
* objcopy.c (copy_main): Correct rename-section string parsing.
Consolidate new_name parsing, and error messages.
2001-09-18 Bruno Haible <haible@clisp.cons.org>
* addr2line.c: Don't include <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
Use ISALNUM instead of isalpha/isdigit.
* dllwrap.c: Don't include <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
* nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
(main): For gettext, also set the LC_CTYPE locate facet.
Use TOUPPER instead of islower/toupper.
* nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
(yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
Use TOUPPER instead of islower/toupper.
* nm.c (main): For gettext, also set the LC_CTYPE locate facet.
* objcopy.c (main): Likewise.
* objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
(disassemble_bytes): Use ISPRINT instead of isprint.
(dump_section_stabs): Use ISDIGIT instead of isdigit.
(dump_data): Use ISPRINT instead of isprint.
(main): For gettext, also set the LC_CTYPE locate facet.
* rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
(cpp_line, handle_quotes): Use ISSPACE instead of isspace.
* rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
Use TOUPPER instead of islower/toupper.
* readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
* resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
(write_rc_accelerators): Use ISPRINT instead of isprint.
(write_rc_rcdata): Likewise.
* size.c (main): For gettext, also set the LC_CTYPE locate facet.
* srconv.c (main): Likewise.
* stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
(parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
isdigit/isupper/islower.
(parse_stab_string, parse_stab_type, parse_stab_argtypes,
parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
stab_demangle_prefix, stab_demangle_qualified,
stab_demangle_template, stab_demangle_type,
stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
* strings.c: Include "safe-ctype.h" instead of <ctype.h>.
(isgraphic): Use ISPRINT instead of isascii/isprint.
(main): Remove HAVE_LC_MESSAGES dependency.
* sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
(pbarray): Use ISPRINT instead of isprint.
(main): For gettext, also set the LC_CTYPE locate facet.
* windres.c: Include "safe-ctype.h" instead of <ctype.h>.
(format_from_filename): Use ISPRINT instead of isprint.
(main): For gettext, also set the LC_CTYPE locate facet.
* winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
(unicode_print): Use ISPRINT instead of isprint.
* wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
(stab_variable): Use ISDIGIT instead of isdigit.
2001-09-18 Alan Modra <amodra@bigpond.net.au>
* ar.c (print_contents): Cast args of bfd_seek to the right types.
Replace bfd_read call with call to bfd_bread.
(extract_file): Likewise.
* objdump.c (dump_section_header): Cast section->filepos to
unsigned long to suit printf format string.
* readelf.c (process_section_headers): Similarly for sh_offset.
(process_unwind): Likewise.
2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
* strings.c (encoding, encoding_bytes): New variables.
(long_options): Add --encoding.
(main): Accept -e and --encoding.
(get_char): New function. Read a, possibly wide, character from
the input stream.
(print_strings): Use get_char().
(usage): Document new command line option.
* doc/binutils.texi: Document new command line option.
* NEWS: Announce new command line option.
2001-09-12 Alexandre Oliva <aoliva@redhat.com>
* readelf.c (guess_is_rela, dump_relocations, get_machine_name,
get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
Removed EM_CYGNUS_ARC.
2001-09-04 Jeffrey A Law (law@cygnus.com)
* readelf.c: Include elf/h8 for H8 series definitions.
(guess_is_rela): H8 series if RELA.
(dump_relocations): Handle H8 series relocations.
2001-08-31 Eric Christopher <echristo@redhat.com>
* readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
2001-08-29 Peter Targett <peter.targett@arccores.com>
* MAINTAINERS: Include ARC Maintainer.
2001-08-29 Ben Elliston <bje@redhat.com>
* stabs.c (stab_demangle_template): Initialise s4.
2001-08-27 Alan Modra <amodra@bigpond.net.au>
* readelf.c (dump_relocations): Recognise EM_PPC64.
2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
2001-08-25 H.J. Lu <hjl@gnu.org>
* nm.c (print_width): New.
(display_rel_file): Set `print_width' according to
bfd_sprintf_vma.
(print_symbol_info_bsd): Check `print_width' instead of BFD64.
2001-08-24 Alexandre Oliva <aoliva@redhat.com>
* objcopy.c (use_alt_mach_code): New variable.
(OPTION_ALT_MACH_CODE): Define.
(copy_options): Added --alt-machine-code.
(copy_main): Handle it.
(copy_object): Switch to alternate machine code if requested.
* doc/binutils.texi: Document new option.
* NEWS: Likewise.
2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
2001-08-21 H.J. Lu <hjl@gnu.org>
* readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
(display_debug_info): Cast for 64bit hosts.
(display_debug_frames): Likewise.
(process_mips_specific): Likewise.
2001-08-21 Andreas Jaeger <aj@suse.de>
* coffgrok.h: Add missing parameter for prototype of coff_grok.
* sysdump.c: Add missing prototypes.
* srconv.c: Likewise.
* unwind-ia64.c: Likewise.
* coffdump.c: Likewise.
* sysinfo.y: Print prototypes, include <ansidecl.h>.
* coffgrok.c: Add missing prototypes, include libiberty.h instead
of declaring xcalloc.
2001-08-10 H.J. Lu <hjl@gnu.org>
* nm.c (print_value): Add one arg, bfd *.
(print_value): Replace fprintf_vma with bfd_fprintf_vma.
(print_symbol_info_bsd): Also pass `abfd' to print_value ().
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.
* objdump.c (dump_section_header): Replace printf_vma with
bfd_printf_vma.
(print_section_stabs): Likewise.
(dump_bfd_header): Likewise.
(objdump_print_value): Replace sprintf_vma with
bfd_sprintf_vma.
(disassemble_bytes): Likewise.
(dump_reloc_set): Likewise.
2001-08-10 Andreas Jaeger <aj@suse.de>
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
* configure: Regenerate.
2001-08-09 Alan Modra <amodra@bigpond.net.au>
* readelf.c: Add missing prototypes.
* objdump.c: Likewise. Format existing prototypes.
2001-08-08 Alexandre Oliva <aoliva@redhat.com>
* readelf.c (display_debug_info): Add to abbrev_offset the addend
of any RELA relocation for the abbrev_offset memory location that
refers to the .debug_abbrev section symbol.
2001-08-07 H.J. Lu <hjl@gnu.org>
* readelf.c (process_file): Return 0 if OK, otherwise return 1.
(main): Return process_file ().
2001-08-05 Philip Blundell <philb@gnu.org>
* doc/binutils.texi: Use "Thumb" not "THUMB".
2001-08-03 John Healy <jhealy@redhat.com>
Patch suggested by Frank Eigler <fche@redhat.com>.
* objdump.c (disassemble_data): Fill in section member of the
disasm_info structure.
2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
* configure.in: Added --with-windres option.
* configure: Regenerated.
2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* doc/binutils.texi: Use @command{name} for commands;
use @option{-opt} for options; use @table @env for list of options;
remove spaces arround [ | ] in synopsis.
* doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
center title.
2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
* objcopy.c: Fix formatting.
(section_rename): New structure.
(OPTION_RENAME_SECTION): New switch.
(copy_usage): Document new switch.
(add_section_rename): New function: Add a node to the section
rename list.
(find_section_rename): New function: Find the new name and
flags for a section.
(setup_section): Call find_section_name to determine the name
of the output section.
(copy_main): Handle OPTION_RENAME_SECTION.
* binutils.texi: Document new switch.
* NEWS: Mention new switch.
2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
* README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
* MAINTAINERS: Rename bug-gnu-utils@gcc.org to
bug-binutils@gcc.org.
2001-07-28 Matthias Kramm <kramm@quiss.org>
* bucomm.c (list_supported_architectures): New function.
* bucomm.h (list_supported_architectures): Declare.
* objdump.c (usage): Call the above.
2001-07-25 Dave Brolley <brolley@redhat.com>
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
* README: Update for 2.11. Change bug reporting email address.
* MAINTAINERS: Tidy up. Change bug reporting email address.
2001-07-16 DJ Delorie <dj@redhat.com>
* resres.c (write_res_header): Align header size.
(res_align_file): Calculate alignment correctly.
* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
correct 10).
* resrc.c (write_rc_resource): Likewise.
* windres.h (SUBLANG_SHIFT): Define - as 10.
2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Add notes about branch checkins.
2001-07-05 Daniel Berlin <dan@cgsoftware.com>
* readelf.c (display_debug_macinfo): New function, display
.debug_macinfo section.
(do_debug_macinfo): New variable.
(parse_args): Handle "-w[mM]" to mean display macro info.
(process_section_headers): Handle debug_macinfo.
(debug_displays): Replace unsupported function with macinfo
function for .debug_macinfo display.
* doc/binutils.texi: Document new command line switch.
* NEWS: Document new feature of readelf.
2001-07-05 H.J. Lu <hjl@gnu.org>
* objcopy.c (filter_symbols): Don't turn undefined symbols
into local.
2001-07-03 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
$@.pod.
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
($(DEMANGLER_NAME).1): Also substitute cxxfilt with
$(DEMANGLER_NAME).
(as.1): Removed.
* doc/Makefile.in: Regenerated.
2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2001-07-01 Daniel Berlin <dan@cgsoftware.com>
* readelf.c: Support DWARF 2.1 tags, encodings, languages.
2001-06-29 James Cownie <jcownie@etnus.com>
* readelf.c: Support DWARF 2.1 attributes.
2001-06-28 Alan Modra <amodra@bigpond.net.au>
* readelf.c (GET_DATA_ALLOC): Remove.
(GET_DATA): Remove.
(get_data): New function combining above macros, with an extra
test for zero size.
(slurp_rela_relocs): Use get_data, and catch error return.
(slurp_rel_relocs): Likewise.
(get_32bit_program_headers): Likewise.
(get_64bit_program_headers): Likewise.
(get_32bit_section_headers): Likewise.
(get_64bit_section_headers): Likewise.
(get_32bit_elf_symbols): Likewise.
(get_64bit_elf_symbols): Likewise.
(process_section_headers): Likewise.
(process_relocs): Likewise.
(slurp_ia64_unwind_table): Likewise.
(process_unwind): Likewise.
(get_32bit_dynamic_segment): Likewise.
(get_64bit_dynamic_segment): Likewise.
(process_dynamic_segment): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(dump_section): Likewise.
(display_debug_info): Likewise.
(display_debug_section): Likewise.
(process_section_contents): Likewise.
(process_corefile_note_segment): Likewise.
(process_mips_specific): Likewise. Also free econf32, econf64.
2001-06-25 Alan Modra <amodra@bigpond.net.au>
* readelf.c (dump_relocations): Print "bad symbol index" if
symtab == NULL with non-zero symtab_index.
(process_relocs): Don't bomb if reloc section has no symsec.
2001-06-24 H.J. Lu <hjl@gnu.org>
* objcopy.c (strip_main): Revert the change made on 2001-05-30
by accident.
(copy_main): Apply the change made to strip_main on
2001-05-30 by accident.
2001-06-23 Andreas Jaeger <aj@suse.de>
* unwind-ia64.c (unw_decode_x1): Add unused attribute for
parameter 'code'.
(unw_decode_x2): Likewise.
(unw_decode_x3): Likewise.
(unw_decode_x4): Likewise.
2001-06-23 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add myself as M88k maintainer.
2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
* objcopy.c (strip_main): Support -o or --output-file command lien
switch.
2001-06-19 H.J. Lu <hjl@gnu.org>
* doc/Makefile.in: Regenerated.
2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c: Restore formatting.
2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
* Makefile.am: Move documentation into doc subdirectory.
* Makefile.in: Regenerated.
* binutils.texi: Move into doc subdirectory.
* addr2line.1: Removed.
* ar.1: Likewise.
* dlltool.1: Likewise.
* nlmconv.1: Likewise.
* nm.1: Likewise.
* objcopy.1: Likewise.
* objdump.1: Likewise.
* ranlib.1: Likewise.
* readelf.1: Likewise.
* size.1: Likewise.
* strings.1: Likewise.
* strip.1: Likewise.
* windres.1: Likewise.
* cxxfilt.man: Likewise.
* doc: New Directory.
* doc/Makefile.am: New file.
* doc/Makefile.in: Generate.
2001-06-09 Alan Modra <amodra@bigpond.net.au>
* NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2001-06-01 Alan Modra <amodra@bigpond.net.au>
* MAINTAINERS: Update my email address.
2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
* objcopy.c: Add new switches: --keep-global-symbol,
--keep-symbols, --localize-symbols, --keep-global-symbols and
--weaken-symbols.
* binutils.texi: Document new switches.
* objcopy.1: Regenerate.
* NEWS: Announce new feature.
2001-05-28 Andreas Jaeger <aj@suse.de>
* readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.
2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
* objdump.c (disassemble_bytes): Remove section VMA adjustment
when computing the address of the line to show.
2001-05-16 Richard Henderson <rth@redhat.com>
* readelf.c (do_debug_frames_interp): New.
(byte_get_little_endian): If BFD64, always read entire 8-byte fields.
(byte_get_big_endian): Likewise.
(parse_args) ['F']: Set do_debug_frames_interp.
(Frame_Chunk): Make data_factor signed, add fde_encoding.
(frame_display_row): Don't trunc pc_begin to int.
(size_of_encoded_value): New.
(display_debug_frames): Handle 64-bit targets. Print raw data
unless do_debug_frames_interp.
(debug_displays): Remove duplicate .debug_frame.
2001-05-15 Ralf Baechle <ralf@gnu.org>
* readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
The former constant was never in active use and is used otherwise
by the ABI.
2001-05-11 Jakub Jelinek <jakub@redhat.com>
* readelf.c (process_unwind): Print all unwind sections, not just
one.
2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (process_unwind): Remove const specifier.
2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
* strings.c (isgraphic): Do not use isascii() unless it is needed
for isprint() to work.
(main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2001-04-27 Johan Rydberg <jrydberg@opencores.org>
* NEWS: Announce support for OpenRISC.
2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
* dlltool.c (do_default_excludes): Initialise to true.
2001-04-10 Alan Modra <amodra@one.net.au>
* MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-04-05 Hans-Peter Nilsson <hp@axis.com>
* readelf.c (display_debug_lines): Fix typo for "Prologue".
2001-03-30 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Just return if do_unwind is 0.
2001-03-28 Roger Sayle <roger@metaphorics.com>
* dlltool.c (make_one_lib_file): Fix section flags for
.text, .data and .bss in stub ds*.o files to match those
generated by gas.
2001-03-29 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Only do unwind sections for
IA64.
2001-03-28 H.J. Lu <hjl@gnu.org>
* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
* Makefile.in: Regenerate.
2001-03-26 Andreas Jaeger <aj@suse.de>
* binutils.texi (nm): Fix texi syntax.
2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* binutils.texi: Put @c man begin and @c man end indications
to generate man pages using texi2pod and pod2man. Put @c man title
to identify each man. Add SEEALSO entries.
* Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
(man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
sort the list.
(*.1): Build the man pages from binutils.texi.
* Makefile.in: Regenerate.
2001-03-13 Eric Kohl <ekohl@rz-online.de>
* defparse.y (opt_equal_name): allow "." in name.
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
* NEWS: Document addition of -B switch to objcopy.
* binutils.texi: Document addition of -B switch to objcopy.
* objcopy.c: (copy_options): Add --binary-architecture.
(copy_usage): Document -B/--binary-architecture.
(copy_main): Support -B/--binary-architecture. Set
bfd_external_binary_architecture.
2001-03-11 Andreas Jaeger <aj@suse.de>
* readelf.c (guess_is_rela): Handle EM_S390_OLD.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
2001-02-28 Nick Clifton <nickc@redhat.com>
* readelf.c: (struct unw_aux_info): Remove const modifier for
'strtab' field.
(process_unwind): Remove non-K&R compliant LHS type cast in call
to GET_DATA_ALLOC macro.
2001-02-28 Philip Blundell <pb@futuretv.com>
* readelf.c (decode_ARM_machine_flags): Explicitly mention which
ABI is in use; remove ambiguity between the "unknown" EABI and
unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
renamed EF_xx constants.
2001-02-27 Alan Modra <alan@linuxcare.com.au>
* configure.in (BFD_VERSION): New.
(AM_INIT_AUTOMAKE): Use $BFD_VERSION.
* configure: Regenerate.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
2001-02-14 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add "Obvious Fix" rule.
2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
literal concatenation.
2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* readelf.c (struct unw_aux_info): Remove const from the info member.
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.
2001-02-11 Nick Clifton <nickc@redhat.com>
* readelf.c (dump_relocations): Free corrected allocated
array.
(process_unwind): Fix compile time warning.
2001-02-10 Nick Clifton <nickc@redhat.com>
* binutils.texi: Document new --unwind option to readelf.
2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* readelf.c: Add linux target for S/390.
2001-02-10 Alan Modra <alan@linuxcare.com.au>
* nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
printf is a macro.
2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
* acinclude.m4 (AM_PROG_LEX): Override installed definition.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2001-02-07 Todd Vierling <tv@wasabisystems.com>
* bucomm.c (bfd_target_vector): Change extern array to pointer.
* objdump.c (bfd_target_vector): Likewise.
2001-02-07 David Mosberger <davidm@hpl.hp.com>
* readelf.c (process_unwind): New function.
(slurp_ia64_unwind_table): Ditto.
(dump_ia64_unwind): Ditto.
(find_symbol_for_address): Ditto.
(slurp_rela_relocs): New function (split off from dump_relocations()).
(slurp_rel_relocs): Ditto.
(parse_args): Handle '-u' option.
* unwind-ia64.c: New file.
* unwind-ia64.h: New file.