-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChangeLog-9899
1914 lines (1382 loc) · 63.8 KB
/
ChangeLog-9899
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
1999-12-28 Nick Clifton <[email protected]>
* readelf.c: Update with new constants added by Oct 4, 1999
ELF ABI draft.
(guess_is_rela): Add new machine codes, but leave
rel type undetermined.
(get_machine_name): Add new machine codes.
(get_section_type_name): Add new section types.
(get_elf_section_flags): New function: Decode section flags.
(process_section_headers): Call get_elf_section_flags() in
order to decode flags in section header.
(get_dynamic_flags): New function: Decode dynamic section
flags.
(process_dynamic_section): Display flags (if present).
(get_symbol_type): Add STT_COMMON.
(get_symbol_visibility): New function: Decode a symbol's
visibility.
(process_symbol_table): Call get_symbol_visibility().
(get_note_type): Add NT_PRXFPREGS.
1999-12-26 Ian Lance Taylor <[email protected]>
* strings.c (main): Correct handling of numeric argument.
1999-12-23 Andrew Haley <[email protected]>
* dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
jtab; was 8.
1999-12-17 Nick Clifton <[email protected]>
* dlltool.c (mtable): Stop compile time warnings about missing
initialisers.
(yyerror): Stop compile time warnings about unused paramater.
(INIT_SEC_DATA): New macro: initialise an entry in the secdata
array.
(secdata): Stop ccompile time warnings about uninitialised
fields.
(dtab): Stop compile time warnings about unused parameter.
(long_options): Stop compile time warning about missing
initialiser.
1999-12-10 Nick Clifton <[email protected]>
* readelf.c (print_vma): Support native 64bit ELF systems.
1999-12-09 Nick Clifton <[email protected]>
* dlltool.c (mtable): Add epoc-arm specific entry.
Make default arm entry pass -mpacs-26 to assembler.
(flush_page): Do not mangle null entries.
1999-12-07 H . J . Lu [email protected]
* readelf.c: Fix compile time warnings. Support more than 999
symbols.
1999-12-03 Nick Clifton <[email protected]>
* readelf.c (enum print_mode): New type.
(print_vma): New function.
(dump_relocations): Use print_vma to display bfd_vma values.
(process_file_header): Use print_vma to display bfd_vma values.
(process_program_headers): Use print_vma to display bfd_vma values.
(process_section_headers): Use print_vma to display bfd_vma values.
(dynamic_segment_parisc_val): Use print_vma to display bfd_vma values.
(process_dynamic_segment): Use print_vma to display bfd_vma values.
(process_symbol_table): Use print_vma to display bfd_vma values.
(process_mips_specific): Use print_vma to display bfd_vma values.
1999-11-25 Fred Fish <[email protected]>
* readelf.c (process_note): Change arg from Elf_External_Note
to Elf32_Internal_Note, which also turns the function body
into little more than a call to printf.
(process_corefile_note_segment): Substantially rewritten
to properly handle case where target and host are different
endianness, handle note sections with padding, and add some
cruft to handle notes with unterminated name data.
1999-11-22 Nick Clifton <[email protected]>
* objcopy.c (copy_usage): Reformat.
(strip_usage): Reformat.
1999-11-21 Nick Clifton <[email protected]>
* objdump.c (usage): Overhaul output: One line per switch.
Textual description of each switch. Distinguish between
optional switches and required switches.
(long_options): Add 'g', 'G' and 'z' short options.
(main): Distinguish between optional switches and required
switches.
* binutils.texi: Add -g -G and -z short options for
--debugging, --stabs and --disassemble-zeroes.
1999-11-03 Nick Clifton <[email protected]>
* dlltool.c (flush_page): Clip short values to prevent warnings
from the assembler.
Change default mcore machine name to 'mcore-le' and rename
big-endian version to 'mcore-be'.
1999-10-27 Fred Fish <[email protected]>
* objdump.c (display_bfd): Break into two functions. The
actual dumping code moves to dump_bfd. If bfd is not
unambiguously recognized as a bfd_object, attempt to dump
it as a bfd_core.
(dump_bfd): New function.
1999-10-26 Nick Clifton <[email protected]>
* dlltool.c (assemble_file): Remove spurious test of exp_name.
1999-10-22 Nick Clifton <[email protected]>
* dlltool.c (struct mac): Add new field 'how_default_as_switches'.
(mtable): Initialise new field. Some machines have a non empty
string for this field.
(HOW_BFD_TARGET): Undefine and replace with...
(HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a
file for reading. This is set to 0 so that any recognisable bfd
format can be read.
(HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening
a file for writing. This is set to the target machine type.
(ASM_SWITCHES): New macro: default switches to use when assembling
a file.
(assemble_file): New function: Assemble a source file into a
destination object file.
(gen_exp_file): Use assemble_file to create the exp file.
(make_one_lib_file): Use assemble_file to create the lib file.
Open output file use HOW_BFD_WRITE_TARGET and input files using
HOW_BFD_READ_TARGET.
(make_head): Use assemble_file to create the head file.
(make_tail): Use assemble_file to create the tail file.
(gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET.
1999-10-15 Ian Lance Taylor <[email protected]>
* ar.c (normalize): Fix full_pathname code.
1999-10-08 Ben Elliston <[email protected]>
* binutils.texi: Some rewording and clarifications.
1999-09-15 Ulrich Drepper <[email protected]>
* readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
the value is zero.
(process_symbol_table): Don't print histogram if hash table is empty.
1999-09-15 Ulrich Drepper <[email protected]>
* readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.
1999-09-02 Ulrich Drepper <[email protected]>
* readelf.c (get_symbol_type): Add support for HPUX and PARISC
specific symbol types.
* readelf.c: Add HPUX and PARISC extensions to dynamic and program
header table printing.
* readelf.c (get_machine_flags): Add handling of PARISC.
1999-09-29 Mumit Khan <[email protected]>
* dlltool.c (scan_drectve_symbols): Handle type tags in exported
symbols.
(scan_filtered_symbols): Likewise.
1999-09-19 Ian Lance Taylor <[email protected]>
* resrc.c (write_rc_rcdata): Fix local variable shadowing
problem. If RCDATA_BUFFER data can be read as strings, modify
code to print the strings as comments.
* resres.c: Add casts to avoid warnings.
(write_res_data, read_res_data): Don't put the program name in the
error message; fatal already puts it there.
1999-09-14 Michael Meissner <[email protected]>
* configure.in (Canonicalization of target names): Remove adding
${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
generates $ac_config_sub with a ${CONFIG_SHELL} already.
* configure: Regenerate.
1999-09-12 Ian Lance Taylor <[email protected]>
* ar.c (main): Clear output_file if we don't change the archive.
(delete_members, replace_members): Likewise.
1999-09-12 Donn Terry <[email protected]>
* objdump.c (dump_headers): If wide_output, print Flags header.
* objdump.c (dump_section_header): Print any comdat information.
* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
* binutils.texi, objcopy.1: Document new flags.
* ar.c (counted_name_mode): New static variable.
(counted_name_counter): New static variable.
(map_over_members): Handle counted mode.
(usage): Mention N modifier.
(main): Handle N modifier.
(delete_members): Handle counted mode.
* binutils.texi, ar.1: Document N modifier.
* ar.c (print_contents): Change printing of member name for
POSIX.2 conformance.
* ar.c (output_filename): Make const.
(open_inarch): If creating a new empty archive, set
output_filename.
1999-09-12 Ian Lance Taylor <[email protected]>
* ar.c (full_pathname): New static variable.
(map_over_members): Call normalize on command line parameter.
(usage): Mention P modifier.
(normalize): If full_pathname is true, don't do anything.
(main): Accept P modifier.
(delete_members): Call normalize on command line parameter.
* binutils.texi, ar.1: Document P modifier.
1999-09-09 Andreas Schwab <[email protected]>
* binutils.texi: Add info dir entries for all programs described
here. Fix arguments of @var to not contain punctuation.
1999-09-06 Donn Terry <[email protected]>
* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.
1999-09-04 Steve Chamberlain <[email protected]>
* readelf.c: Include "elf/pj.h".
(dump_relocations): Handle EM_PJ.
(get_machine_name): Likewise.
(get_machine_flags): Likewise.
1999-08-31 Scott Bambrough <[email protected]>
* readelf.c (get_note_type): New function: Decode the e_type
value of a note.
(process_note): New function: Display the contents of a core note.
(process_corefile_note_segment): New function.
(process_corefile_note_segments): New function.
(process_corefile_contents): New function.
(process_file): Add call to process_corefile_contents.
(parse_args): Add parsing of -n/--notes command line switch.
(usage): Document new command line switch.
* binutils.texi: Documemnt new command line switch to readelf.
1999-08-31 Ian Lance Taylor <[email protected]>
* binutils.texi (Bug Reporting): Clarify that large files should
not be sent to bug-gnu-utils.
1999-08-28 Stephane Carrez <[email protected]>
* readelf.c (process_extended_line_op): New parameter pointer_size,
read the address according to pointer_size.
(debug_line_pointer_size): New global to indicate the
size of address in .debug_line section.
(debug_displays, prescan_debug_info): Prescan the .debug_info section
to record the size of address in `debug_line_pointer_size'.
(process_section_contents): Before dumping any section, execute
the pre-scan operation defined for some debug sections.
1999-08-27 Jim Wilson <[email protected]>
* readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes
access.
(display_debug_aranges): New local excess. Use for calculating padding
and add that into ranges. Break from loop only if length is also 0.
1999-08-27 Jim Wilson <[email protected]>
* readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply
adv by info.li_min_insn_length.
1999-08-26 Jakub Jelinek <[email protected]>
* readelf.c (get_sparc64_dynamic_type): New function.
(get_dynamic_type): Use it.
1999-08-26 Jim Wilson <[email protected]>
* readelf.c (display_debug_lines, case default): Change second line
setting adv to use = not +=.
1999-08-19 Nick Clifton <[email protected]>
* dlltool.c: Added more examples to the comment at the start.
1999-08-18 Nick Clifton <[email protected]>
* dlltool.c (make_head): Only emit interworking directive if
necessary.
Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <[email protected]>
* readelf.c (process_abbrev_section): Handle standard-conforming
single zero at the end of the section.
1999-08-09 Ian Lance Taylor <[email protected]>
* objdump.c (exit_status): New static variable.
(nonfatal): New static function.
(disassemble_data): Set exit_status on error.
(read_section_stabs): Likewise.
(display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal.
(display_file): Call nonfatal rather than bfd_nonfatal.
(display_target_list, display_info_table): Likewise.
(main): Return exit_status rather than 0.
1999-08-08 Ian Lance Taylor <[email protected]>
* objdump.c (dump_section_header): Update for renaming of
SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag.
From Eli Zaretskii <[email protected]>:
* binutils.texi: Document cxxfilt as MS-DOS name for c++filt.
* configure.in: Define and substitute DEMANGLER_NAME.
* Makefile.am (DEMANGLER_PROG): Set to cxxfilt.
(man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG.
(bin_PROGRAMS): Remove $(DEMANGLER_PROG).
(noinst_PROGRAMS): Add $(DEMANGLER_PROG).
(cxxfilt_SOURCES): Rename from c__filt_SOURCES.
(cxxfilt_LDADD): Rename from c__filt_LDADD.
($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use
DEMANGLER_NAME rather than DEMANGLER_PROG in substitution.
(MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than
DEMANGLER_PROG.
(install-exec-local): When installing noinst_PROGRAMS, change
cxxfilt to $(DEMANGLER_NAME).
* configure, Makefile.in: Rebuild.
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP.
* Makefile.in: Rebuild.
1999-08-05 Donn Terry <[email protected]>
* Makefile.am (YACC): If bison is not in the source tree, use
@YACC@ rather than bison -y.
(LEX): If flex is not in the source tree, use @LEX@ rather than
flex.
* configure.in: Build dlltool for i[3-6]86-*-interix.
* Makefile.in, configure: Rebuild.
1999-07-21 Ian Lance Taylor <[email protected]>
From Mark Elbrecht:
* configure.bat: Remove; obsolete.
1999-07-16 Jakub Jelinek <[email protected]>
* readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3.
1999-07-15 Ian Lance Taylor <[email protected]>
* configure.in: Bump version number to 2.9.5.
* configure: Rebuild.
1999-07-14 Richard Henderson <[email protected]>
* objdump.c (dump_section_header): Print SEC_SHORT.
1999-07-11 Ian Lance Taylor <[email protected]>
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Add variable initializations. Add casts.
* objdump.c (disassemble_bytes): Change j to bfd_vma.
* readelf.c (process_syminfo): Change i to unsigned int.
(display_debug_info): Change abbrev_number to unsigned long.
(process_mips_specific): Change fcnt to size_t.
1999-07-09 Nick Clifton <[email protected]>
* readelf.c: Only support decoding 64bit ELF files if the compiler
supports a 64 bit data type.
Add -I equivalent for --histogram.
Add -A command-line option to display architecture specific information.
1999-07-08 Jakub Jelinek <[email protected]>
* readelf.c (guess_is_rela): Sparcv9 and v8plus use rela.
(dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10
print the secondary addend.
(get_machine_flags): Print Sparc machine flags.
(get_symbol_type): Print STT_REGISTER.
1999-07-08 Ian Lance Taylor <[email protected]>
* stabs.c (parse_stab_type): Fix handling of template names with
template parameters containing `::'.
(stab_demangle_type): Handle a qualified name in a pointer to
member.
1999-06-23 Ian Lance Taylor <[email protected]>
* Makefile.am (dlltool_SOURCES): Add dyn-string.c.
* Makefile.in: Rebuild.
1999-06-23 Mumit Khan <[email protected]>
* configure.in (HAVE_EXECUTABLE_SUFFIX): Define.
* dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX.
* dllwrap.c (look_for_prog): Likewise.
* resrc.c (look_for_default): Likewise.
* configure, config.in: Rebuild.
1999-06-22 Ian Lance Taylor <[email protected]>
Based on patches from Mumit Khan <[email protected]>:
* configure.in: Define EXECUTABLE_SUFFIX.
* dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
ANSI_PROTOTYPES, not __STDC__.
(outfile): Remove.
(gen_exp_file): Change uses of outfile to use alloca.
(make_one_lib_file, make_head, make_tail): Likewise.
(gen_lib_file): Likewise.
(look_for_prog): New static function.
(deduce_name): Rewrite to use look_for_prog.
(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
<stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
<stdarg.h> or <varargs.h>.
(driver_name): Initialize to NULL, not "gcc".
(dlltool_name): Initialize to NULL, not "dlltool".
(display, inform, look_for_prog, deduce_name): New static
functions.
(usage): Mention -mno-cygwin.
(OPTION_MNO_CYGWIN): Define.
(main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
* resrc.c (look_for_default): Make static. Remove unused local
path. Check using EXECUTABLE_SUFFIX.
(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
* Makefile.am: Rebuild dependencies.
(dllwrap_LDADD): Add $(INTLLIBS).
* configure, Makefile.in, config.in: Rebuild.
Mon Jun 21 16:49:11 1999 Jeffrey A Law ([email protected])
* readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of
elf32_hppa_reloc_type.
1999-06-17 Nick Clifton <[email protected]>
* dlltool.c (mcore_elf_gen_out_file): Link object files with the
.exp file, not the .lib file.
Fri Jun 18 20:17:51 1999 Mumit Khan <[email protected]>
* deflex.l: Accept single-character symbol names.
1999-06-16 Nick Clifton <[email protected]>
* readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb
functions.
1999-06-14 Nick Clifton <[email protected]>
* objdump.c (disassembler_options): New variable.
(usage): Document new -M/--disassembler-options option.
(long_options): Add --disassembler-options.
(disassemble_data): Initialise disassembler_options field of
disassembler_info structure.
(main): Add parsing of -M option.
* binutils.texi: Document new command line switch to objdump.
* NEWS: Describe new command line switch to objdump.
Mon Jun 14 10:27:54 1999 Andreas Schwab <[email protected]>
* binutils.texi: Fix typos.
1999-06-13 Ian Lance Taylor <[email protected]>
* objdump.c (disassemble_bytes): If the disassembler returns an
error, print out anything it may have printed to the buffer. From
H.J. Lu <[email protected]>.
* defparse.y (explist): Remove separate expline to eliminate
shift/reduce conflict.
From Kai-Uwe Rommel <[email protected]>:
* defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE,
INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
(command): Add option_list after LIBRARY.
(attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE.
(option_list, option): New nonterminals.
* deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE,
INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
1999-06-12 Ian Lance Taylor <[email protected]>
* ar.c (O_BINARY): Define as 0 if not defined.
(ranlib_touch): Open file with O_BINARY.
* rename.c (O_BINARY): Define as 0 if not defined.
(simple_copy): Open files with O_BINARY.
Based on patch from H. Peter Anvin <[email protected]>:
* objcopy.c (struct section_list): Add copy field.
(sections_copied): New static variable.
(copy_options): Add "only-section".
(copy_usage): Mention -j and --only-section.
(find_section_list): Initialize copy field.
(is_strip_section): Check for copying sections.
(copy_object): Check sections_copied when calling filter_symbols.
(setup_section): Check for copying sections.
(copy_section): Likewise.
(copy_main): Handle -j/--only-section.
* binutils.texi, objcopy.1: Document -j/--only-section.
* configure.in: If frexp is not available, check in -lm.
* configure: Rebuild.
* readelf.c (get_elf_class): Use correct printf format for type.
(get_data_encoding): Likewise.
(get_osabi_name): Likewise.
(process_file_header): Don't pass an extra argument to printf.
(process_dynamic_segment): Cast dynamic_size to long before
printing.
(decode_location_expression): Cast byte_get to long before
printing.
Wed Jun 9 11:40:16 1999 Andreas Schwab <[email protected]>
* readelf.c (dump_section): Cast values from byte_get to
[unsigned] long for printing, in case it is wider than long.
(display_block): Likewise.
(read_and_display_attr): Likewise.
(decode_location_expression): Likewise. Don't depend on
evaluation order.
Mon Jun 7 12:14:57 1999 Andreas Schwab <[email protected]>
* windres.c (usage): Fix typo.
1999-06-04 Nick Clifton <[email protected]>
* readelf.c: Use 64bit wide fields in internal structures even if
targetting a 32bit architecture.
(dump_relocations): Take a new parameter - the number of symbols
in the symbol table.
1999-06-04 Nick Clifton <[email protected]>
* readelf.c: Add support for 64bit ELF files.
1999-06-03 Nick Clifton <[email protected]>
* dlltool.c (mcore_elf_gen_out_file): Use constants for temporary
file names.
Wed Jun 2 12:34:36 1999 Richard Henderson <[email protected]>
* dlltool.c (gen_exp_file): Revert 19990411 change.
Mon May 31 09:56:22 1999 Andreas Schwab <[email protected]>
* readelf.c (process_relocs): Determine type of reloc from
DT_PLTREL and from section type.
1999-05-29 Nick Clifton <[email protected]>
* readelf.c (get_elf_class): Display unknown class number.
(get_data_encoding): Display unknown encoding number.
(get_osabi_name): Display unknown ABI number.
(process_file_header): Display unknown version number.
1999-05-29 Nick Clifton <[email protected]>
* readelf.c (dump_relocations): Fix typo.
1999-05-28 Nick Clifton <[email protected]>
* readelf.c (dump_relocations): Add extra parameter: is_rela to
specify the kind of relocations to be dumped. Call guess_is_rela
if this parameter has a value of UNKNOWN.
(guess_is_rela): New function: Guess the kind of reloc being used
baced on the machine number.
(process_relocs): Determine type of reloc before calling
dump_relocations.
1999-05-28 Ian Lance Taylor <[email protected]>
* readelf.c: Include "elf/i960.h".
(dump_relocations): Handle EM_960.
Thu May 27 11:58:33 1999 Andreas Schwab <[email protected]>
* objcopy.c (copy_archive): Preserve dates of archive members if
requested.
* readelf.c (dump_relocations): Always print the addend on RELA
systems even if there is no symbol.
(process_program_headers): Reset dynamic_size before looping
through the program headers.
(process_version_sections): Cast sh_offset to unsigned long for
printing in case bfd_vma is wider.
(process_symbol_table): Use get_symbol_index_type when printing
st_shndx.
1999-05-17 DJ Delorie <[email protected]>
* windres.c: add verbose option
(main): process verbose option
* resrc.c (look_for_default): new. Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).
1999-05-16 Nick Clifton <[email protected]>
* dlltool.c (deduce_name): New function: Deduce name of program to
run.
(mcore_elf_out_file): New variable: Name of mcore-elf output file.
(mcore_elf_linker): New variable: Name of linker to use.
(mcore_elf_linker_flags): New variable: Linker flags to pass.
(scan_obj_file): Cache filenames if necessary.
(usage): Document new command line options.
(main): Support new command line options: -M (generate an
mcore-elf output file) -L (name of linker to use) -F (flags to
pass to linker).
(mcore_elf_cache_filename): Store a filename in a cache.
(mcore_elf_gen_out_file): New function: Generate an output file
per the mcore-elf spec.
1999-05-15 Nick Clifton <[email protected]>
* configure.in (BUILD_MISC): Build dlltool for mcore
* configure: Regenerate.
* dlltool.c: Update example in comment.
(DLLTOOL_MCORE): Define.
(DLLTOOL_MCORE_ELF): Define.
(DRECTVE_SECTION_NAME): Define.
(mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore
jump to address.
(mtable): Add entries for mcore variants.
(rvaafter, rvabefore, asm_prefix): Add mcore suppport.
(scan_drectve_symbols): Use DRECTVE_SECTION_NAME.
(make_head, make_tail): Cope if file cannot be created.
(usage): Improve layout.
1999-05-13 DJ Delorie <[email protected]>
* rclex.l: add code to suppress certain output from cpp, replace
all returns with MAYBE_RETURN
(MAYBE_RETURN): new, implement the suppression by returning
IGNORED_TOKEN as needed.
(cpp_line): remember which file we're in, mark data from included
*.h files for suppression.
* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
1999-05-10 DJ Delorie <[email protected]>
* windres.c (quot): Quote shell metacharacters in a string
(main): quote parameters to cpp that might have metacharacters in
them. Allow -D as an alias for --define to allow for sharing make
macros with gcc.
* objdump.c (dump_reloc_set): don't core if howto->name is NULL
* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
the correct BFD.
* Makefile.in: ditto
* rescoff.c (write_coff_file): Set the correct BFD
1999-05-06 Ian Lance Taylor <[email protected]>
* rename.c (smart_rename): Fix test of whether file exists.
1999-05-06 Nick Clifton <[email protected]>
* objdump.c (disassemble_data): Set display_endian based on target
endianism.
1999-05-05 Catherine Moore <[email protected]>
* dlltool.c (interwork): Remove.
(arm_interwork_jtab): Use bx insn.
(thumb_jtab): Likewise.
(MARM_INTERWORK): New machine type.
(rvaafter): Handle it.
(rvabefore) Likewise.
(asm_prefix): Likewise.
(gen_exp_type): Check machine type instead of
interwork flag.
(make_one_lib_file): Likewise.
(make_head): Likewise.
(make_tail): Likewise.
(usage): Update machine types.
(main): Remove -interwork support.
1999-05-05 Catherine Moore <[email protected]>
* readelf.c (get_machine_flags): Check for EF_CPU32.
(get_data_encoding): Fix typo.
1999-04-26 Tom Tromey <[email protected]>
* aclocal.m4, configure: Updated for new version of libtool.
1999-04-18 Ian Lance Taylor <[email protected]>
* stabs.c (parse_stab_range_type): Correct parenthesization in
BFD64 case.
* readelf.c (get_section_type_name): Use correct types in printf
formats.
(process_relocs): Likewise.
(process_dynamic_segment): Likewise.
(process_symbol_table): Likewise.
(process_mips_specific): Likewise.
Tue Apr 13 21:22:00 1999 Catherine Moore <[email protected]>
* dlltool.c (make_one_lib_file): Mark thumb functions as
C_THUMBEXTFUNC.
1999-04-11 Richard Henderson <[email protected]>
* bucomm.h (environ): Declare it, if needed.
(alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>.
* configure.in (environ): Detect declaration.
* nm.c (main): Don't declare environ.
* configure, config.in: Rebuild.
* dlltool.c (gen_exp_file): Pad out the .reloc section to a
32-byte boundary with dummy relocations, to make the BeOS loader
happy. Patch from Bob Manson <[email protected]>.
1999-04-08 Tom Tromey <[email protected]>
* binutils.texi (c++filt): Updated for -j/--java, and hp/edg
formats.
1999-04-08 Nick Clifton <[email protected]>
* readelf.c: Add ability to decode new constants found in April 25
1998 Draft of System V ABI spec.
1999-04-06 Ian Lance Taylor <[email protected]>
* bucomm.h (LC_MESSAGES): Never define.
* addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the
system does not define it.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* size.c (main): Likewise.
* srconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* windres.c (main): Likewise.
* readelf.c (main): Call locale setting functions.
1999-04-05 Nick Clifton <[email protected]>
* readelf.c (decode_location_expression): Fix DW_OP_const8{s|u}
decodes.
1999-04-04 Ian Lance Taylor <[email protected]>
* rename.c: New file, copied out of objcopy.c with a few changes.
* bucomm.h (set_times, smart_rename): Declare.
* ar.c: Don't include <utime.h>.
(extract_file): Call set_times rather than utime.
(write_archive): Call smart_rename rather than unlink and rename.
* objcopy.c: Don't include <utime.h>.
(simple_copy, smart_rename, set_times): Move to rename.c.
(strip_main): Update smart_rename call for new parameter.
(copy_main): Likewise.
* Makefile.am: Rebuild dependencies.
(CFILES): Add rename.c.
(objcopy_SOURCES, strip_new_SOURCES): Add rename.c.
(ar_SOURCES, ranlib_SOURCES): Add rename.c.
* Makefile.in: Rebuild.
* Makefile.am: Rebuild dependencies.
(EXTRA_PROGRAMS): Remove backslash which troubles current version
of automake.
* Makefile.in: Rebuild.
* dllwrap.c (main): Expect correct type in format string.
* resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and
<time.h>. Don't include <stdio.h> and <errno.h>.
(write_res_file): Remove unused locals e and i.
(read_resource_entry): Remove unused locals rtype and n.
(read_unistring): Remove unused local n.
1999-04-03 Ian Lance Taylor <[email protected]>
* arparse.y: Declare yylex.
* objdump.c (disassemble_bytes): Initialize bytes. Add comment
for incorrect use of bytes.
* readelf.c: Change many formats to avoid warnings.
1999-04-01 Nick Clifton <[email protected]>
* readelf.c (reset_state_machine): New function. Resets the
registers of the source line number state machine.
(process_extended_line_op): Use state machine.
(display_debug_lines): Use state machine. Handle multiple line
number blocks within the same section.
1999-03-29 Jason Merrill <[email protected]>
* readelf.c (process_extended_line_op): end_sequence also resets
the line number.
(display_debug_lines): advance_line takes a signed operand.
(read_and_display_attr): Print refs as <%x>, addresses as %#x,
others as %d. Handle other location expression attributes.
(display_debug_info): Handle nesting. Always print the offset.
1999-03-23 Ian Lance Taylor <[email protected]>
* objcopy.c (filter_symbols): When checking whether to keep a
symbol, check the BFD section symbol for a symbol with
BSF_SECTION_SYM set.
1999-03-10 Ulrich Drepper <[email protected]>
* readelf.c (process_dynamic_segment): Print new Solaris dynamic
section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1.
1999-03-10 Nick Clifton <[email protected]>
* readelf.c (request_dump): New function.
Removed arbitary limit on the number of sections that can be
dumped.
Wed Mar 10 15:10:14 1999 Stan Cox <[email protected]>
* dlltool.c (make_one_lib_file): Use %05d to output the stub name so
order in the import library is preserved.
1999-02-19 Nick Clifton <[email protected]>
* readelf.c: Fix compile time warings.
1999-02-17 DJ Delorie <[email protected]>
* resbin.c (res_to_bin_versioninfo): Instead of entering a value
length of zero in a version info string, enter the appropriate
length.
Tue Feb 16 16:00:33 1999 Ian Lance Taylor <[email protected]>
* configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to
AC_PROG_INSTALL. Add comments for AC_DEFINE calls.
* acconfig.h: Remove.
* aclocal.m4: Rebuild.
* configure: Rebuild.
* Makefile.in: Rebuild.
* config.in: Rebuild.
1999-02-02 Nick Clifton <[email protected]>
* readelf.c (read_and_display_attr): Add display of basic type
encodings.
(display_debug_aranges): New function: Display the contents of a
.debug_aranges section.
(display_debug_info): Dump tags found after compunit entry.
* binutils.texi: Fixed bug in readelf documentation.
Mon Feb 1 12:38:01 1999 Catherine Moore <[email protected]>
* readelf.c (dump_relocations): Handle EM_ARM as REL.
1999-01-29 Nick Clifton <[email protected]>
* readelf.c (process_symbol_table): Do not produce a histogram of
bucket chains if none were found.
1999-01-27 Nick Clifton <[email protected]>
* version.c: Add 1999 copyright.
* binutils.texi (readelf): Document new command line options
--debug-dump and --histogram.
* readelf.c: Add ability to display contents of some or all of the
Dwarf2 debug sections. {Work only partially completed}.
(display_debug_section): New function.
(display_debug_info): New function.
(display_debug_not_supported): New function.
(display_debug_line): New function.
(display_debug_abbrev): New function.
(process_abbrev_section): New function.
(read_leb128): New function.
(process_extended_line_op): New function.
(get_TAG_name): New function.
(get_AT_name): New function.
(get_FORM_name): New function.
(free_abbrevs): New function.
(add_abbrev): New function.
(add_abbrev_attr): New function.
(read_and_display_attr): New function.
(display_block): New function.
Thu Jan 14 23:36:11 1999 Jeffrey A Law ([email protected])
* coffdump.c (xcalloc): Remove, in libiberty now.
* srconv.c (xcalloc): Likewise.
* sysdump.c (xcalloc): Likewise.
1999-01-14 Nick Clifton <[email protected]>
* readelf.c (process_section_headers): Omit trailing space at end
of section header contents line.
Wed Dec 16 17:20:05 1998 Doug Evans <[email protected]>
* aclocal.m4: Regenerate.
Mon Dec 14 12:55:36 1998 Jim Wilson <[email protected]>
* dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include
after libiberty.h include.
Tue Dec 8 16:29:43 1998 Ian Lance Taylor <[email protected]>
* objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
Sun Dec 6 13:28:09 1998 Ian Lance Taylor <[email protected]>
* objdump.c (SFILE): Add size field.
(objdump_sprintf): Merge both versions into one. Increase buffer
size as needed to avoid overflow.
(disassemble_bytes): Change buf from 1000 bytes to 50. Change
initialization and use of sfile to match changes to
objdump_sprintf.
* strip.1: Fix typo (-V to -v). From Issei Hirayama
1998-12-03 Ulrich Drepper <[email protected]>
* readelf.c (process_dynamic_segment): Improve output format for
various DT_* values.
1998-12-02 Ulrich Drepper <[email protected]>
* readelf.c (process_mips_specific): Print .conflict section
content.
* readelf.c (process_mips_specific): Print l_flags in liblist in
textual form.
1998-11-30 Nick Clifton <[email protected]>
* ar.c (extract_file): Add some paranoia checks for negatively
sized files.
Tue Nov 24 09:39:24 1998 Nick Clifton <[email protected]>
* stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined.
Tue Nov 17 10:25:26 1998 Nick Clifton <[email protected]>
* Makefile.in: Regenerate.
Mon Nov 16 19:17:23 1998 Dave Brolley <[email protected]>
* po/binutils.pot: Regenerate.
Mon Nov 16 10:18:53 1998 Nick Clifton <[email protected]>
* Makefile.am: Regernated dependencies.
* aclocal.m4: Regenerated.
* configure: Regenerated.
Sat Nov 14 14:50:56 1998 Ian Lance Taylor <[email protected]>
* debug.c (debug_name_type): Correct return type from false to
DEBUG_TYPE_NULL.
Sat Nov 14 14:48:21 1998 Andreas Schwab <[email protected]>