forked from bminor/binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-0203
2187 lines (1542 loc) · 66.8 KB
/
ChangeLog-0203
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
2003-12-31 Daniel Jacobowitz <drow@mvista.com>
* MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.
2003-12-29 Nick Clifton <nickc@redhat.com>
* readelf.c (debug_line_pointer_size): Replace with an array
called 'debug_line_pointer_sizes'.
(num_debug_line_pointer_sizes): New variable.
(display_debug_lines): Extract pointer size from the
debug_line_pointer_sizes array.
(display_debug_loc): Likewise.
(prescan_debug_info): Fill in the debug_line_pointer_sizes
array.
2003-12-23 Ralf Baechle <ralf@gnu.org>
Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
to handle flags for tweaking.
(copy_options): New options: impure, pure, readonly-text,
writable-text.
(copy_usage, copy_object, command_line_switch): Handle the new
options.
* doc/binutils.texi: Document the new options.
2003-12-22 Jakub Jelinek <jakub@redhat.com>
* objdump.c (disassemble_bytes): Subtract rel_offset from printed
reloc address.
(disassemble_section): Set rel_offset to section->vma instead of
pinfo->buffer_vma.
2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* readelf.c (guess_is_rela): Changed m32r's default type to RELA.
2003-12-11 Nick Clifton <nickc@redhat.com>
* objcopy.c (strip_usage): Add --only-keep-debug.
(copy_usage): Likewise.
2003-12-04 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_object): Do not copy the object if the
output file's format cannot be set to that of the input file.
If the input file's format is unknown, fail.
2003-11-28 Ian Lance Taylor <ian@wasabisystems.com>
* cxxfilt.c (usage): Mention new -p/--no-params options.
2003-11-28 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (install-exec-local): Remove common term from string
comparison.
* Makefile.in: Regenerate.
* doc/Makefile.am: Don't use $<.
* doc/Makefile.in: Regenerate.
2003-11-27 Nick Clifton <nickc@redhat.com>
* rename.c (smart_rename): Make sure that we have write
permission on the destination file before renaming.
2003-11-26 Daniel Jacobowitz <drow@mvista.com>
Nick Clifton <nickc@redhat.com>
* readelf.c: Add a comment describing the difference between
readelf and objdump.
* doc/binutils.texi (readelf): Likewise.
2003-11-25 Danny Smith <dannysmith@users.sourceforge.net>
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
option.
* dlltool.c (usage): Likewise.
2003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
* cxxfilt.c (long_options): Add --no-params.
(main): Handle -p/--no-params.
* doc/binutils.texi (c++filt): Document -p/--no-params.
2003-11-19 Alan Modra <amodra@bigpond.net.au>
* objdump.c: Wrap long lines, init vars separately from decl.
(disassemble_section): Reset require_sec after call to
find_symbol_for_address.
2003-11-14 Nick Clifton <nickc@redhat.com>
* objdump.c (find_symbol_for_address): Change parameters so
that the entire disassemble_info structure is passed, not just
a few fields. Use the symbol_is_valid field to check the
validity of located symbols and continue searching if they are
not valid.
(objdump_print_addr): Alter parameters passed to
find_symbol_for_address.
(objdump_symbol_at_address): Likewise.
(disassemble_section): Likewise. Also use symbol_is_valid
function to check the validity of located symbols.
2003-11-13 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
* ar.c (open_inarch): Emit a warning when an archive is created
(only shown with -v) in order to confrom to POSIX specification.
2003-11-11 Wang Li <charles@linux.net.cn>
* objcopy.c (wildcard): New variable. True if wildcard pattern
matching is allowed in symbol names.
(strip_options): Add -w option to enable wildcard pattern
matching.
(copy_options): Likewise.
(copy_usage): Mention new switch.
(strip_usage): Likewise.
(is_specified_symbol): If performing wildcard matches use fnmatch
to compare symbol names with entries on the symbol list.
(strip_main): Accept -w switch.
(copy_main): Likewise.
* Makefile.am: Add dependency on fnmatch.h for objcopy.c
* Makefile.in: Regenerate.
* doc/binutils.texi: Document new switch.
* NEWS: Mention new switch.
2003-11-11 Alan Modra <amodra@bigpond.net.au>
* objdump.c: Revert rev 1.81 commit.
2003-11-10 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
* ar.c (print_contents): Remove "member" from verbose output in
order to conform to POSIX specification.
2003-11-10 Alan Modra <amodra@bigpond.net.au>
* README: Expand bug reporting information.
2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
* bucomm,c (get_file_size): New function. Returns the size of a
file.
* bucomm.h: Add prototype for get_file_size.
* addr2line.c (process_file): Use new function.
* ar.c (main, ranlib_only, ranlib_touch): Likewise.
* nm.c (display_file): Likewise.
* objcopy.c (add_specific_symbols, copy_file, strip_main,
copy_main): Likewise.
* objdump.c (display_file): Likewise.
* size.c (display_file): Likewise.
* strings.c (strings_file): Likewise.
* readelf.c (process_file): Use similar code to get_file_size.
2003-11-06 Bruno Rohee <bruno@rohee.com>
* ieee.c: Fix "the the" typo.
* stabs.c: Likewise.
2003-10-30 Marshall T. Vandegrift <llasram@wuli.nu>
* readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
sections - they have no file space assigned to their contents.
2003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
* readelf.c (dump_section): Don't display DEL characters.
2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Fix typos.
* ChangeLog-9197: Likewise.
* ChangeLog-9899: Likewise.
* NEWS: Likewise.
* ar.c: Fix comment typos.
* arsup.c: Likewise.
* coffgrok.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* dlltool.c: Likewise.
* ieee.c: Likewise.
* nm.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* readelf.c: Likewise.
* resrc.c: Likewise.
* sysinfo.y: Likewise.
* windres.c: Likewise.
2003-10-27 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_section): Do not complain when a target does not
support relocations.
(mark_symbols_used_in_relocations): Likewise.
2003-10-14 Anil Paranjpe <anilp1@KPITCummins.com>
* objcopy.c (copy_main): Reads machine flags from arch_info
structure.
2003-10-20 Andrew Cagney <cagney@redhat.com>
* coffgrok.h (coff_section): Replace 'struct sec" with "struct
bfd_section".
2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
* objdump.c (read_section_stabs): Just read one section, return
pointer to it. Add size parameter.
(print_section_stabs): Add string offset parameter. Adjust.
(struct stab_section_names): Add string offset member.
(find_stabs_sections): Correct check for split section suffix,
adjust read_section_stabs and print_section_stabs calls.
(dump_stabs_section): Clear string_offset, free string table.
2003-10-01 Martin Fuchs <martin-fuchs@gmx.net>
* resrc.c (define_icon): Fix storage of color attributes 'planes' and
'bit count' in icon groups.
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
(get_symbol_index_type): Likewise.
2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_version_sections): Indent version names.
2003-09-15 Anthony Green <green@redhat.com>
* dlltool.c (prefix_encode): Fix ISO C90 conversion.
(dlltmp): Ditto.
(dtab): Ditto.
2003-09-14 Andreas Jaeger <aj@suse.de>
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
unneeded (void *) casts.
* ar.c: Likewise.
* arlex.l: Likewise.
* arparse.y: Likewise.
* arsup.c: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* bucomm.h: Likewise.
* budbg.h: Likewise.
* budemang.c: Likewise.
* budemang.h: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* cxxfilt.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* deflex.l: Likewise.
* dlltool.c: Likewise.
* dlltool.h: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* filemode.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* nlmconv.h: Likewise.
* nlmheader.y: Likewise.
* nm.c: Likewise.
* prdbg.c: Likewise.
* rclex.l: Likewise.
* rcparse.y: Likewise.
* rdcoff.c: Likewise.
* rddbg.c: Likewise.
* rename.c: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* size.c: Likewise.
* srconv.c: Likewise.
* stabs.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise.
* unwind-ia64.c: Likewise.
* unwind-ia64.h: Likewise.
* version.c: Likewise.
* windres.c: Likewise.
* windres.h: Likewise.
* winduni.c: Likewise.
* wrstabs.c: Likewise.
2003-09-10 James E Wilson <wilson@specifixinc.com>
* MAINTAINERS: Update my e-mail address.
2003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
* MAINTAINERS: Update my e-mail address.
2003-09-04 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Make it clear what should be done with patches to
the top level configure files (other than config.guess and
config.sub). Add binutils@sources.redhat.com as an address to
which patches can be sent.
2003-09-04 Nick Clifton <nickc@redhat.com>
* readelf.c (get_machine_flags): Recognise V850E1 machine type.
2003-09-03 Andrew Cagney <cagney@redhat.com>
* objdump.c: Refer to init_disassemble_info in comments.
(disassemble_data): Replace INIT_DISASSEMBLE_INFO with
init_disassemble_info.
2003-09-03 Nick Clifton <nickc@redhat.com>
* objdump.c (struct objdump_disasm_info): Add new fields
'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
(process_section_p): New function: Returns TRUE if a section
can be dumped.
(disassemble_section): New function: Contains the body of
disassemble_data(), but just for one section.
(disassemble_data): Use bfd_map_over_sections to walk section
chain.
(find_stabs_section): New function: Find a stabs containing
section and then dump it.
(dump_stabs_section): New function: Use bfd_map_over_sections
to find the section to dump.
(dump_stabs): Use dump_stabs_section.
(dump_section): New function: Display the contents of a
section.
(dump_data): Use bfd_map_over_sections to display section
contents.
(dump_relocs_in_section): Display the relocs in a given section.
(dump_relocs): Use bfd_map_over_sections to display relocs.
(adjust_addresses): New function: Adjust the vma and lma of
sections.
(dump_bfd): Use bfd_map_over_sections.
* doc/binutils.texi: Document the "objdump -s" (no longer)
dumps empty sections.
2003-08-24 Jonathan R. Grant <jg-binutils@jguk.org>
* objdump.c: Improve comments/documentation.
dump_data: Eliminate duplicate function calls to bfd_section_size.
2003-09-02 Alan Modra <amodra@bigpond.net.au>
* MAINTAINERS: Move Dave Anglin's entry to where it belongs.
2003-08-21 Nick Clifton <nickc@redhat.com>
* po/tr.po: Updated Turkish translation.
2003-08-14 Alan Modra <amodra@bigpond.net.au>
* dep-in.sed: Remove libintl.h.
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
Run "make dep-am".
* Makefile.in: Regenerate.
2003-08-11 Ian Lance Taylor <ian@airs.com>
* readelf.c (process_archive): Fix error handling. Remove memory
leak.
* readelf.c: Add ability to read archives.
(archive_file_offset): New variable.
(archive_file_size): New variable.
(get_data): Include archive_file_offset in file offset
calculation when fseeking.
(process_program_headers): Likewise.
(process_symbol_table): Likewise.
(process_dynamic_segment): Handle computation of end of file
position when the file is in an archive.
(process_object): New function. Contains the body of
process_file().
(process_archive): New function. Call process_object on each
member of an archive.
(process_file): Detect archives and handle appropriately.
* Makefile.am: Add dependency on aout/ar.h for readelf.c
* Makefile.in: Regenerate.
* NEWS: Document readelf's new ability.
* doc/binutils: Alter text to say that readelf supports archives
and 64-bit ELF files.
2003-08-08 Nick Clifton <nickc@redhat.com>
* po/fr.po: Updated French translation.
2003-08-05 Alan Modra <amodra@bigpond.net.au>
* objcopy.c: Remove unnecessary prototypes and casts.
* objdump.c: Remove unnecessary casts.
* readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
(get_osabi_name): Move so we don't need a forward declaration.
2003-08-04 Bradley Harrington <bharring@us.ibm.com>
Alan Modra <amodra@bigpond.net.au>
* objdump.c (include_paths, include_path_count): New vars.
(usage): Describe --include.
(long_options): Add "include".
(add_include_path): New function.
(struct print_file_list): Make filename const. Add modname.
(try_print_file_open, update_source_path): New functions.
(show_line): Use them.
(main): Handle 'I' option. Don't check for NULL xrealloc arg.
2003-07-30 Alan Modra <amodra@bigpond.net.au>
* objdump.c: Remove unnecessary prototypes.
(disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
code, and print relocs when dump_dynamic_reloc_info.
(disassemble_data): Read and handle dynamic relocs. Correct reloc
skip code. Formatting.
(dump_bfd): Don't dump dynamic relocs when disassembling.
2003-07-29 Ben Elliston <bje@wasabisystems.com>
* MAINTAINERS: Remove self as M88k maintainer. Future M88k
maintenance defaults to the blanket write privilege maintainers.
2003-07-29 Michael Meissner <gnu@the-meissners.org>
* MAINTAINERS: Updated my email address.
2003-07-29 Nick Clifton <nickc@redhat.com>
* objdump.c: Update to ISO C.
2003-07-24 Nick Clifton <nickc@redhat.com>
* objdump.c (disassemble_data): Do not ignore sections without the
LOAD flag when disassemble_all is true. Only print a message
about disassembling a section if it contains some data.
* po/fr.po: Updated French translation.
2003-07-23 Nick Clifton <nickc@redhat.com>
* objcopy.c: Switch to ISO C. Remove debugging code accidentally
left in. Some formatting tidy ups.
2003-07-22 Salvador Eduardo Tropea <set@computer.org>
* objdump.c: New command line option --debugging-tags.
* doc/binutils.texi: Document new command line option.
* prdbg.c: Code to print the debug info as tags compatible
with ctags.
* budbg.h: Adjust prototype.
* NEWS: Mention new switch
2003-07-18 Nick Clifton <nickc@redhat.com>
* objdump.c (main) :Accept multiple -M switch.
* doc/binutils.texi: Document that multiple -M switches are
accepted and that a single -M switch can contain comma
separated options.
2003-07-17 Nick Clifton <nickc@redhat.com>
* objdump.c (main): Issue a warning message if multiple -M
switches are used.
* doc/binutils.texi (objdump): Update documentation about -M
option.
2003-07-17 Nick Clifton <nickc@redhat.com>
* po/es.po: New Spanish translation.
2003-07-11 Alan Modra <amodra@bigpond.net.au>
* po/binutils.pot: Regenerate.
2003-07-05 Christopher Faylor <cgf@redhat.com>
* dlltool.c (prefix_encode): Use a fixed length for alpha.
2003-07-04 Christopher Faylor <cgf@redhat.com>
* dlltool.c (prefix_encode): New function. Encode temp file prefix
from pid.
(dlltmp): Pass address of pointer being alloced or suffer neverending
mallocs.
(make_one_lib_file): Allocate enough space for new longer stub names.
(gen_lib_file): Ditto.
(main): Generate the temp file prefix from the pid if prefix was not
specified on the command line.
2003-07-04 Nick Clifton <nickc@redhat.com>
* readelf.c (get_data): Print (unsigned) hex values for size and
offset in error messages.
(process_section_headers): If the string table could not be
allocated, do not continue.
2003-07-01 Jakub Jelinek <jakub@redhat.com>
* readelf.c (dynamic_segment_ia64_val): Print address and newline
for sections by default. Comment fix.
2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
* rcparse.y (res_text_field): New res_id variable.
(res_null_text): New static const struct res_id object,
with empty unicode name field.
(control): Pop parsing of optresidc up one level. Set
res_text_field to $2 except for controls which do not accept
a text field. Set res_text_field to res_null_text for the
special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
(control_params): Adjust to use res_text_field rather
than optresidc.
(COMBOBOX): Add comment about discrepency between documented
vs. observed default style.
* resrc.c (define_control): Make first param const.
* windres.h (define_control): Adjust prototype.
2003-06-27 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_object): Replace call to
bfd_create_gnu_debuglink_section with separate calls to
bfd_add_gnu_debuglink_section and
bfd_fill_in_gnu_debuglink_section, separated by a walk over the
symbol tables.
2003-06-26 Roland McGrath <roland@redhat.com>
* readelf.c (loadaddr): Variable removed.
(dynamic_info, version_info): Fix type long -> bfd_vma.
(program_headers): New variable.
(get_program_headers): New function, broken out of
process_program_headers.
(process_program_headers): Call it. Don't set `loadaddr'.
(slurp_ia64_unwind_table): Use get_program_headers.
(process_corefile_note_segments): Likewise.
(offset_from_vma): New function.
(process_relocs, process_dynamic_segment): Call that instead of
subtracting `loadaddr'.
(process_version_sections, process_symbol_table): Likewise.
(process_mips_specific): Likewise.
2003-06-26 Nick Clifton <nickc@redhat.com>
* objcopy (enum strip_action): Add STRIP_NONDEBUG.
(OPTION_ONLY_KEEP_DEBUG): New.
(strip_options): Add --only-keep-debug.
(copy_options): Likewise.
(is_strip_section): Invert return value if STRIP_NONDEBUG is
active.
(copy_object): Do not copy private data when STRIP_NONDEBUG is
active.
(setup_section): Likewise.
(strip_main): Handle --only-keep-debug.
(copy_main): Likewise.
* NEWS: Mention new switch
* doc/binutils.texi: Document new switch.
2003-06-25 Alan Modra <amodra@bigpond.net.au>
* NEWS: Correct spelling of "relocatable".
* objdump.c: Likewise.
* sysroff.info: Likewise.
2003-06-19 Nick Clifton <nickc@redhat.com>
* readelf.c (print_vma): When printing DEC_5 values, if the
number is bigger than 99999 switch to using hexadecimal
notation.
2003-06-11 Nick Clifton <nickc@redhat.com>
* objcopy.c (gnu_debuglink_filename): New variable.
(OPTION_ADD_GNU_DEBUGLINK): New switch
(copy_options): Describe --add-gnu-debuglink switch.
Mention that --strip-debug removes sections as well.
(is_strip_section): Process the sections removed and kept
lists before checking for debugging sections.
(add_redefine_syms_file): Make function static.
(copy_object): Use is_strip_section.
Check to see if a .gnu_debuglink section should be added. If
so, call bfd_add_gnu_debuglink.
(setup_section): Use is_strip_section.
(copy_section): Use is_strip_section.
(copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
* NEWS: Mention new objcopy switch.
* doc/binutils.texi: Document new switch.
2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
2003-06-11 Alan Modra <amodra@bigpond.net.au>
* Makefile.in: Regenerate.
2003-05-23 Jakub Jelinek <jakub@redhat.com>
* readelf.c (get_segment_type): Handle PT_GNU_STACK.
2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
* NEWS: Document the new BSD/POSIX single-character mapping for
.comment/.note sections.
2003-06-02 Chris Demetriou <cgd@broadcom.com>
Jason Thorpe <thorpej@wasabisystems.com>
* objcopy.c (redefine_list_append): Add an argument that
indicates the context from which this function is being
called. Change all callers.
(copy_options): Add a new option, --redefine-syms.
(copy_usage): Document new option.
(copy_main): Handle the --redefine-syms option.
* doc/binutils.text (objcopy): Document new option.
2003-05-31 Richard Henderson <rth@redhat.com>
* readelf.c (byte_get_signed): New.
(get_encoded_value): New.
(display_debug_frames): Use it. Always pre-process opcodes.
2003-05-20 Michal Ludvig <mludvig@suse.cz>
* readelf.c (display_debug_frames): Print both registers
for DW_CFA_register.
2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
* configure.in: Accept i[3-7]86 variants. Escape '[]' for
i[3-7]86-*-interix.
* configure.in: Regenerate.
2003-05-13 Michael Eager <eager@mvista.com>
* objcopy.c: Treat identical src/dst file names as if only one
entered. One Windows creating an output file of the same name as
the input file will delete the input file before it is read.
2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
* debug.c (debug_get_real_type): Extend test for circular debug
references.
2003-05-12 Nick Clifton <nickc@redhat.com>
* configure.in (ALL_LINGUAS): Add zh_CN.
* configure: Regenerate.
* po/zh_CN.po: New file: Chinese (simplified) translation.
2003-05-11 Jason Eckhardt <jle@rice.edu>
* MAINTAINERS: Update my mail address.
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Enlarge the type field in wide
mode by one character.
2003-05-03 Richard Henderson <rth@redhat.com>
* readelf.c (struct Frame_Chunk): Add cfa_exp.
(frame_display_row): Just print "exp" for cfa or register
defined by a location expression.
(display_debug_frames): Handle DW_CFA_def_cfa_expression,
DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
2003-04-30 H.J. Lu <hjl@gnu.org>
* objdump.c (only): Change it to char **.
(only_size): New.
(only_used): New.
(disassemble_data): Check only as an array.
(dump_data): Likewise.
(dump_relocs): Likewise.
(main): Treat only as an array.
2003-04-24 Dimitrie O. Paun <dpaun@rogers.com>
* doc/binutils.texi: Fix the documentation for the -fo option.
2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
* readelf.c (get_machine_name) <EM_SH>: Amend return value
to refer to SuperH.
* readelf.c (decode_location_expression): Don't add a trailing ';'.
2003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
Nick Clifton <nickc@redhat.com>
* windres.c (long_options): Move close to main, where it is used.
Add 'input' and 'output' long options.
(main): Accept "-fo" as an alias for "-o". This is for rc
comptibility.
* doc/binutils.texi: Mention that -fo is accepted as an alias for
-o, but discourage its use.
2003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
* windres.c (format_from_name): Make the exit on error
behaviour optional.
(main): Rename the -I option to -J. Introduce -I as a synonym
for --include-dir. For backwards compatibility also support the
old -I behaviour, but issue a deprecation warning.
* doc/binutils.texi: Rename -I to -J. Document the new behaviour
of the -I option.
2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* readelf.c: Replace references to Mitsubishi M32R with
references to Renesas M32R.
2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
* readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
2003-04-09 Alexandre Oliva <aoliva@redhat.com>
* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
for debugging information types not supported by objdump.
2003-04-09 Bernd Jendrissek <berndj@prism.co.za>
* configure.in: Recognize canonical form of i[3-6]86-pe*.
* configure: Regenerate.
2003-04-09 Alexandre Oliva <aoliva@redhat.com>
* readelf.c (display_debug_info): Apply RELA relocations on the
entire section.
(byte_put_little_endian, byte_put_big_endian): New functions.
(byte_put): New variable.
(get_file_header): Initialize it.
2003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
* windres.c: Add -l for compatibility with wrc, and rc.
Use the short option as a key for long options that have
a synonymous short option.
* doc/binutils.texi: Added -l to the list of options.
2003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
* windres.c: Add -U for compatibility with wrc, rc, and cpp.
(main): Just pass the -U option down to the preprocessor.
* doc/binutils.texi: Added -U to the list of options.
2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
* windres.c (usage): Report -r option.
(main): Ignore the -r option.
* doc/binutils.texi: Add -r to the list of options.
2003-04-01 Bob Wilson <bob.wilson@acm.org>
* MAINTAINERS: Add myself as Xtensa maintainer.
2003-04-01 Bob Wilson <bob.wilson@acm.org>
* readelf.c: Include "elf/xtensa.h".
(guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
targets that use RELA relocations.
(dump_relocations): Call elf_xtensa_reloc_type for
EM_XTENSA and EM_XTENSA_OLD.
(get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
2003-04-01 Nick Clifton <nickc@redhat.com>
* configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
thumb-pe*, mcore-pe and mcore-*elf.
* configure: Regenerate.
2003-03-31 Alexandre Oliva <aoliva@redhat.com>
* objdump.c (dump_data): Don't truncate the address to long; make
the width large enough, and uniform for all entries in a section.
2003-03-31 H.J. Lu <hjl@gnu.org>
* readelf.c: Include "libiberty.h".
(dynamic_relocations): New.
(process_relocs): Properly handle dynamic relocation.
(process_dynamic_segment): Fill relocation elements in
dynamic_info.
2003-03-31 Kevin Buettner <kevinb@redhat.com>
* readelf.c (read_and_display_attr, read_and_display_attr_value):
Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
all callers.
(display_debug_lines, display_debug_pubnames, display_debug_info)
(display_debug_aranges, display_debug_frames, read_and_display_attr)
(read_and_display_attr_value): Add 64-bit DWARF support.
2003-03-31 Ian Lance Taylor <ian@airs.com>
* rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
(optresid): Handle a resource id that can be a string or a number.
* resrc.c (define_control): Replace 'text' parameter with 'iid' a
struct res_id.
(define_icon_control): Pass a struct res_id to define_control.
* windres.h (define_control): Change prototype.
2003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
* objcopy (OPTION_FORMATS_INFO): Define.
(strip_options): Add "info"/OPTION_FORMATS_INFO option.
(copy_options): Likewise.
(strip_usage): Add "--info" to usage.
(copy_usage): Likewise.
(strip_main): Declare formats_info. Iniatilize it to FALSE.
Handle "info".
(copy_main). Likewise.
* doc/binutils.texi. Document the "--info" option for
objcopy/strip.
* NEWS: Mention the new command line switch.
* objdump.c (endian_string): Move to bucomm.c.
(display_info): Likewise.
(display_target_list): Likewise.
(display_info_table): Likewise.
(display_target_tables): Likewise.
(main): Assign the return value of display_info to exit_status.
* bucomm.c: Include bfdver.h and libbfd.h
(display_target_list): Call bfd_nonfatal instead of nonfatal and
return 0 on a non-fatal error, 1 on success.
(display_info_table): Likewise.
* bucomm.h (display_info): Provide a prototype.
* Makefile.am (bucomm.o): Add dependencies on bfdver.h and
libbfd.h.
* Makefile.in: Regenerate.
2003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
* dlltool.c (gen_def_file): Put demangled name comments on
own line preceding export name.
2003-03-17 Nick Clifton <nickc@redhat.com>
* objdump.c (disassemble_data): Use disasm_info.fprintf_func not
printf for emitting new lines.
2003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
* nm.c (print_symbol_info_bsd): Print the symbol's size instead of
the symbol's value when --size-sort is used, unless -S is used.
doc/binutils.texi (--size-sort): For non-bsd formats both the
value and size of the symbols are displayed.
2003-03-13 Nick Clifton <nickc@redhat.com>
* po/da.po: Update.
2003-03-12 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Remove Peter Targett as ARC maintainer.
2003-03-10 Ben Elliston <bje@wasabisystems.com>
* MAINTAINERS: Update my mail address.
2003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
* stabs.c (BYTES_IN_WORD): Remove definition.
* wrstabs.c (BYTES_IN_WORD): Likewise.
2003-03-04 Nick Clifton <nickc@redhat.com>
* nm.c (main): Print a warning message if --size-sort and
--undefined-only are used together.
2003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
* nm.c (print_symbol): Remove check for undefined_only.
2003-03-03 Nick Clifton <nickc@redhat.com>
* po/da.po: Installed latest translation.
2003-02-24 Nick Clifton <nickc@redhat.com>
* README: Update binutils references to 2.13.
Add paragraph about using --disable-nls.
2003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
* doc/binutils.texi (nm --size-sort): Update.
2003-02-21 James E Wilson <wilson@tuliptree.org>
* MAINTAINERS: Update email address.
2003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
* readelf.c (get_ia64_dynamic_type): New function.
(dynamic_segment_ia64_val): New function.
(get_dynamic_type): If machine type is EM_IA_64 call
get_ia64_dynamic_val.
(get_ia64_section_type_name): Handle sections with types in the
SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
(get_dynamic_flags): If machine type is EM_IA_64 call
dynamic_segment_ia64_val.
2003-02-21 Bob Wilson <bob.wilson@acm.org>
* doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
section title capitalization more consistent. Update descriptions
of various options to be consistent with the code. Fix errors and
incomplete list in the description of c++filt format options. Remove
information about the linker. Change to be more polite about poor
bug reports. Replace FDL appendix with include of fdl.texi.
* doc/fdl.texi: New file.
2003-02-21 Roger Sayle <roger@eyesopen.com>
* objcopy.c (filter_symbols): Fix compilation problems with
HP-UX's C compiler.
2003-02-19 Christopher Faylor <cgf@redhat.com>
* rclex.l (handle_quotes): Fix minor formatting problems introduced in
previous change.
2003-02-19 Mark Blackburn <marklist@fangorn.ca>
* rclex.l (handle_quotes): Handle strings spanning more than one line.
2003-02-12 Bob Wilson <bob.wilson@acm.org>
* nm.c (usage): Add `java' and `gnat' demangle styles and make
quotes consistent.
* objdump.c (usage): Ditto. Also fix some typos.
* readelf.c (parse_args): Include 'H' option in call to getopt_long.
* debug.c (debug_record_variable): Handle global register variables.
* stabs.c (parse_stab): For N_SLINE only include
function_start_offset if the symbol is within a function;
otherwise, the value is absolute.
2003-02-10 Nick Clifton <nickc@redhat.com>
* readelf.c (decode_ARM_machine_flags): Handle the
EF_ARM_MAVERICK_FLOAT flag.
2003-02-04 Andreas Schwab <schwab@suse.de>
* rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
long and use %ld in printf format.
2003-01-28 Richard Sandiford <rsandifo@redhat.com>
* readelf.c (dump_relocations): Reorder the r_info field for
little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
2003-01-21 Daniel Berlin <dan@dberlin.org>
* readelf.c (display_debug_loc): Skip address base changes.
2003-01-17 Fabio Alemagna <falemagn@aros.org>
* readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
and ELFOSABI_NSK.
2003-01-16 Alan Modra <amodra@bigpond.net.au>
* readelf.c: Include elf/ppc64.h.
(dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2003-01-02 Ben Elliston <bje@redhat.com>
* readelf.c (guess_is_rela): Handle EM_IQ2000.
(get_machine_name): Likewise.
(dump_relocations): Likewise.
* NEWS: Mention IQ2000 support.
2003-01-02 Richard Sandiford <rsandifo@redhat.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
changes in MIPS -M options.