dd169a27337829fa70ec121084b01221faa70bfc
[external/binutils.git] / binutils / ChangeLog
1 2002-06-21  Igor Schein  <igor@txc.com>
2
3         * configure.in: Quote bu_cv_have_fopen64.
4         * configure: Regenerate.
5
6 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
7
8         * configure.in: Check for strcoll.
9         * configure: Regenerate.
10         * config.in: Regenerate.
11         * nm.c (main): Set locale for LC_COLLATE category.
12         (non_numeric_forward): Use strcoll if available.
13
14 2002-06-20  Dave Brolley  <brolley@redhat.com>
15
16         * MAINTAINERS: Add self as fr30 and frv maintainer.
17
18 2002-06-18  H.J. Lu  (hjl@gnu.org)
19
20         * nm.c: Include "elf/common.h".
21         (extended_symbol_info): Add elfinfo, a pointer to
22         elf_symbol_type.
23         (SYM_SIZE): Use elfinfo if it is not NULL.
24         (get_symbol_type): New function.
25         (display_archive): Set print_width for each archive member.
26         (display_file): Likewise.
27         (display_rel_file): Don't set print_width here.
28         (print_object_filename_sysv): Handle print_width.
29         (print_archive_member_sysv): Likewise.
30         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
31         (print_symbol): Set the elfinfo field in extended_symbol_info
32         for ELF.
33         (print_object_filename_sysv): Fix the output format.
34         (print_symbol_info_sysv): Print type and section for ELF.
35
36 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
37
38         * nm.c (print_size_symbols): Remove assignment, which makes
39         the symbol's size equal to its value when --size-sort is 
40         used.
41
42 2002-06-18  Dave Brolley  <brolley@redhat.com>
43
44         From Catherine Moore:
45         * readelf.c (elf/frv.h): #include it.
46         (guess_is_rela): Support EM_CYGNUS_FRV.
47         (dump_relocations): Ditto.
48         (get_machine_name): Ditto.
49         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
50
51 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
52
53         * readelf.c (get_file_header): Only read the first section header if
54         e_shoff is non-zero.
55
56 2002-06-15  H.J. Lu  (hjl@gnu.org)
57
58         * nm.c (print_size): New variable. Initialize to 0.
59         (long_options): Add 'S'/"print-size".
60         (main): Handle 'S'.
61         (print_symbol_info_bsd): Print size only if print_size is not
62         0.
63
64         * doc/binutils.texi: Document -S/--print-size.
65
66 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
67
68         * nm.c (struct extended_symbol_info): New strcuture: Add the size
69         of the symbols to the information provided by the symbol_info
70         structure.
71         (print_symbols): Pass the symbol size to print_symbol.
72         (print_size_symbols): Pass the symbol size to print_symbol.
73         (print_symbol): Extra argument: The size of the symbol.  Store
74         this in the extended_symbol_info structure.
75         (print_symbol_info): Change type of info parameter to
76         extended_symbol_info.  Display the size, if known.
77         (print_symbol_info_posix): Likewise.
78         (print_symbol_info_sysv): Likewise.
79
80 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
81
82         * Makefile.am: Run "make dep-am".
83         * Makefile.in: Regenerate.
84         * doc/Makefile.in: Regnerate.
85
86         * bucomm.c: Replace CONST with const.
87         * nm.c: Likewise.
88         * objdump.c: Likewise.
89
90 2002-06-07  H.J. Lu <hjl@gnu.org>
91
92         * readelf.c (DW_CFA_GNU_args_size): Don't define.
93         (DW_CFA_GNU_negative_offset_extended): Likewise.
94         (DW_CFA_GNU_window_save): Likewise.
95         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
96         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
97
98 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
99         
100         * nm.c: When computing size of symbols for an ELF target use the
101         internal size field.
102
103 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
104
105         * testsuite/binutils-all/objcopy.exp: clear xfail for
106         "hppa*64*-*-hpux*".
107         * testsuite/binutils-all/hppa/objdump.exp: Return if
108         "*64*-*-*".
109
110 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
111
112         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
113
114 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
115
116         * objdump.c: Fix formatting.
117
118 2002-05-29  Ben Elliston  <bje@redhat.com>
119
120         * MAINTAINERS: Add self as M68k maintainer.
121
122 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
123
124         * readelf.c: Modified/Added DLX elf support.
125
126 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
127
128         * arsup.c: Fix formatting.
129         * debug.c (debug_record_label): Add missing colon to error
130         message.
131         * ieee.c (parse_ieee_ty): Fix spelling typo.
132         * readelf.c (process_program_headers): Remove English assumption
133         about making a plural word.
134         (process_section_headers): Likewise.
135         (process_relocs): Allow quotes to be translated.
136         (process_unwind): Likewise,
137         (process_mips_specific): Improve error message.
138         (get_note_type): Fix spelling typo.
139
140         * configure.in (ALL_LINGUAS): Add sv
141         * po/sv.po: New file.
142
143 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
144
145         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
146         (unw_print_grmask): Likewise.
147         (unw_print_frmask): Likewise.
148
149 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
150
151         * arsup.c: Remove ARGSUSED.
152         * debug.c: Likewise.
153         * ieee.c: Likewise.
154         * nlmconv.c: Likewise.
155         * prdbg.c: Likewise.
156         * stabs.c: Likewise.
157         * wrstabs.c: Likewise.
158
159 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
160
161         * arlex.l: Use #include "" instead of <> for local header files.
162         * coffdump.c: Likewise.
163         * coffgrok.c: Likewise.
164         * nlmconv.c: Likewise.
165         * nlmheader.y: Likewise.
166         * srconv.c: Likewise.
167         * strings.c: Likewise.
168         * sysdump.c: Likewise.
169         * unwind-ia64.h: Likewise.
170         * windres.h: Likewise.
171         * winduni.h: Likewise.
172
173 2002-05-24  Tom Rix  <trix@redhat.com>
174
175         * MAINTAINERS: Add self as the d10v maintainer.
176
177 2002-05-24   TAMURA Kent <kent@netbsd.org>
178
179         * configure.in: Builds dlltool for i386-netbsdpe.
180         * configure: Regenerate.
181
182 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
183
184         * size.c: Fix formatting.
185         * srconv.c: Likewise.
186         * stabs.c: Likewise.
187         * sysdump.c: Likewise.
188         * unwind-ia64.c: Likewise.
189         * wrstabs.c: Likewise.
190
191 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
192
193         * readelf.c (get_segment_type): Add PT_TLS.
194         (get_elf_section_flags): Add SHF_TLS.
195         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
196         (process_dynamic_segment): Use puts instead of printf.
197         (get_symbol_type): Support STT_TLS.
198         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
199         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
200         Add SEC_THREAD_LOCAL.
201
202 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
203
204         * rdcoff.c: Fix formatting.
205         * rddbg.c: Likewise.
206         * readelf.c: Likewise.
207         * rename.c: Likewise.
208         * resbin.c: Likewise.
209         * resrc.c: Likewise.
210         * resres.c: Likewise.
211
212 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
213
214         * filemode.c: Fix formatting.
215         * ieee.c: Likewise.
216         * is-ranlib.c: Likewise.
217         * is-strip.c: Likewise.
218         * maybe-ranlib.c: Likewise.
219         * maybe-strip.c: Likewise.
220         * nlmconv.c: Likewise.
221         * nm.c: Likewise.
222         * not-ranlib.c: Likewise.
223         * not-strip.c: Likewise.
224         * objcopy.c: Likewise.
225         * objdump.c: Likewise.
226
227 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
228
229         * objdump.c (dump_headers): Fix output formatting for ELF32
230         architectures in a BFD64 enabled toolchain.
231
232 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
233
234         * debug.c: Fix formatting.
235         * debug.h: Likewise.
236         * dlltool.c: Likewise.
237         * dllwrap.c: Likewise.
238         * emul_aix.c: Likewise.
239         * emul_vanilla.c: Likewise.
240
241 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
242
243         * addr2line.c: Fix formatting.
244         * ar.c: Likewise.
245         * arsup.c: Likewise.
246         * arsup.h: Likewise.
247         * binemul.c: Likewise.
248         * binemul.h: Likewise.
249         * bucomm.c: Likewise.
250         * coffdump.c: Likewise.
251         * coffgrok.c: Likewise.
252         * coffgrok.h: Likewise.
253
254 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
255
256         * MAINTAINERS: Add myself as the second AVR port maintainer.
257
258 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
259
260         * MAINTAINERS: Update my email address.
261
262 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
263
264         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
265
266 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
267
268         * configure.in: Replace `*pe' with `pe' throughout.
269         * configure: Regenerate.
270
271 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
272
273         * Makefile.am: Honour DESTDIR.
274         * Makefile.in: Regenerate.
275
276 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
277
278         * dlltool.c (process_def_file): Add missing prototype.
279         (new_directive, assemble_file, main): Likewise.
280         (process_def_file, new_directive): Make static.
281         (inform): Rewrite using VA_FIXEDARG.
282         * dllwrap.c (mybasename): Add missing prototype.
283         (strhash, main): Likewise.
284         (inform): Rewrite using VA_FIXEDARG.
285         (warn): Likewise.
286         (cleanup_and_exit): Use old style function definition.
287         (strhash): Likewise.
288         * windres.c (define_resource): Use one memset to clear all of
289         struct res_resource.
290
291         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
292         call to rules that need no lookahead.  Check for no lookahead.
293
294 2002-05-06  Borut Razem  <borut.razem@siol.net>
295
296         * rclex.l (get_string): Correct "strings" list handling.
297         * resrc.c (read_rc_file): Discard strings.
298
299 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
300
301         * ar.c (replace_members): Remove unused var.  Formatting fix.
302         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
303
304         * MAINTAINERS: Sort port maintainers by CPU.
305
306 2002-05-04  Bob Byrnes  <byrnes@curl.com>
307
308         * size.c (display_archive): Add last_arfile and code to close archives.
309
310 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
311
312         * nm.c (print_symbol): Check returned filename from
313         bfd_find_nearest_line is non-NULL.
314
315 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
316     
317         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
318
319 2002-04-24  Christian Groessler <chris@groessler.org>
320
321         * MAINTAINERS: Changed my email address.
322
323 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
324
325         * arparse.y: Fix syntax warning.
326
327 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
328
329         * readelf.c (fetch_location_list): Remove unused function.
330
331         * readelf.c (process_corefile_note_segment): Catch corrupt notes
332         and display a warning message, then exit the loop.
333
334         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
335
336 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
337
338         * resrc.c (write_rc_dialog): If charset is non-default value
339         display all of the DIALOGEX parameters.
340
341 2002-04-15  Eric Kohl <ekohl@rz-online.de>
342
343         * rcparse.y: Allow two to five parameter in FONT statement of 
344         DIALOGEX resources.
345         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
346         resource data.
347         (res_to_bin_dialog): Likewise.
348         * windres.h: Added misssing charset variable to dialog_ex
349         structure.
350
351 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
352
353         * rcparse.y: Set MEMFLAG_PURE by default.
354
355 2002-04-09  Bernd Herd <info@herdsoft.com>
356
357         * rcparse.y: CLASS definitions in DIALOG resources 
358         are quoted.
359         Fix typo in BEDIT warning.
360         Don't add default dialog style when explicit style specified.
361         Add WS_CAPTION dialog style if CAPTION is specified.
362
363         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
364         (handle_quotes) "\a" escape (used for right justified key
365         definitions in menus) is encodes as binary 8.
366
367         * resrc.c (write_rc_dialog): Print style even if it is 0.
368         (write_rc_directory): Fix overlooked sublang shift bug.
369         (bin_to_res_dialog): Don't print empty dialog caption.
370
371         * resbin.c (bin_to_res_dialog): Use signature to identify
372         DIALOGEX.
373
374         * windres.c (main): Set default LANGUAGE to english/us.
375
376 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
377
378         * resrc.c: print CLASS names in quotes
379
380 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
381
382         * MAINTAINERS: Update my email address.
383
384 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
385
386         * dep-in.sed: Cope with absolute paths.
387         * Makefile.am (dep.sed): Subst TOPDIR.
388         Run "make dep-am".
389         * Makefile.in: Regenerate.
390
391 2002-03-27  Peter Targett  <peter.targett@arc.com>
392
393         * MAINTAINERS: Update my email address.
394
395 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
396
397         * Makefile.am: Run "make dep-am".
398         * Makefile.in: Regenerate.
399         * doc/Makefile.in: Regenerate.
400         * po/POTFILES.in: Regenerate.
401         * aclocal.m4: Regenerate.
402         * config.in: Regenerate.
403         * configure: Regenerate.
404
405 2002-03-20  Daniel Berlin  <dan@dberlin.org>
406
407         * readelf.c: Add support for displaying dwarf2 location lists.
408         (do_debug_loc, debug_loc_section, debug_loc_size): New.
409         (parse_args): Use 'O' as shorthand for displaying location list
410         section.
411         (process_section_headers): Handle debug_loc as well.
412         (load_debug_loc): New.
413         (free_debug_loc): New.
414         (fetch_location_list): New.
415         (display_debug_loc): New.
416         (display_debug_info): Call load_debug_loc and free_debug_loc.
417         (debug_displays): We can display .debug_loc now, too.
418         (usage): Update usage string.
419         (read_and_display_attr_value): Note location lists, but don't
420         display them inline.
421
422 2002-03-18  Tom Rix  <trix@redhat.com>
423
424         * Makefile.am: Add binutils emulation support.
425         * configure.in: Same.
426         * configure.tgt: New file.  Same.
427         * ar.c (main): Use ar_emul_parse_arg.
428         (usage): Use ar_emul_usage.
429         (replace_members): Use ar_emul_replace, ar_emul_append.
430         * binemul.c: New file.  Define the binutils emulation
431         layer. Define default methods.
432         * binemul.h: New file.  Binutils emulation layer header file.
433         * emul_aix.c: New file.  AIX binutils emulation.
434         * emul_vanilla.c: New file. Default binutils emulation.
435         * Makefile.in: Regenerate.
436         * configure: Same.
437
438 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
439
440         * po/fr.po: Updated version.
441
442 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
443
444         * po/fr.po: Updated version.
445
446 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
447
448         * README: Update some version numbers.
449
450 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
451
452         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
453         (Architecture Selection): Likewise.
454
455 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
456
457         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
458         generating .exp file.
459
460 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
461
462         * readelf.c (dump_relocations): Fix typo.
463
464 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
465
466         * NEWS: Mark 2.12 branch.
467
468 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
469
470         * readelf.c (dump_relocations): Display 2nd and 3rd reloc 
471         types for 64-bit MIPS.  Narrow some fields for 80-char 
472         output.
473         (dump_relocations): Change spelling from 'unrecognised' 
474         to 'unrecognized'.
475         (decode_ARM_machine_flags): Likewise.
476         (parse_args): Likewise.
477         (read_and_display_attr_value): Likewise.
478         (display_debug_section): Likewise.
479
480 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
481
482         * NEWS: Mention support for MMIX.
483
484 2002-02-13  Matt Fredette  <fredette@netbsd.org>
485
486         * readelf.c (get_machine_flags): Recognize EF_M68000.
487
488 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
489
490         * MAINTAINERS: Added self as MN10300 co-maintainer.
491
492 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
493
494         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
495         DT_PPC64_OPDSZ.
496
497 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
498
499         * MAINTAINERS: List myself as branch maintainer.
500
501 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
502
503         * configure: Regenerate.
504         * objcopy.c: Update copyright date.
505         * doc/Makefile.in: Regenerate.
506
507 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
508
509         * nlmconv.c: Back out localtime PARAMS change.
510
511 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
512
513         * objcopy.c (MKDIR): Define.
514         (copy_archive): Make name_list.name const.  Use MKDIR.
515         Handle duplicate files in archives by making more temp dirs.
516
517 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
518
519         * coffdump.c: Include "getopt.h" after "bucomm.h"
520         so that macros are defined correctly.
521         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
522         prototype.  Prototype main.
523         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
524
525 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
526
527         * MAINTAINERS: Added self as SH co-maintainer.
528
529 2002-02-05  Nick Clifton <nickc@redhat.com>
530
531         * po/tr.po: Updated translation.
532
533 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
534
535         * Makefile.am: Run "make dep-am"
536         * Makefile.in: Regenerate.
537
538 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
539
540         * nm.c (print_value): Mark abfd unused.
541
542 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
543
544         * unwind-ia64.c (unw_decoder): Change second argument
545         to unsigned int, to match function prototypes.
546
547 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
548
549         * objdump.c: Include "getopt.h" after "bucomm.h" so that
550         __GNU_LIBRARY__ will be defined.
551         * size.c: Likewise.
552
553 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
554
555         * configure: Regenerated.
556
557 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
558
559         * doc/Makefile.am (install): Depend on install-info.
560         * doc/Makefile.in: Regenerate.
561
562 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
563
564         * objcopy.c (strip_usage): Document -d as an alias
565         --strip-debug.
566
567         * size.c (usage): Document [-t | --totals] options.
568         (long_options): Add --totals option.
569         (main): If the [-t | --totals] option is specified and
570         the output format is Berkeley-style, print the total
571         text, data, and bss sizes of all objects listed.
572         (print_berkeley_format): If the [-t | --totals] option
573         is specified, track the total text, data, and bss
574         sizes.
575         * doc/binutils.texi (size): Document [-t | --totals] options.
576         (strip): Document -d as an alias for --strip-debug.
577         * NEWS: Mention new feature of size.
578
579 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
580
581         * po/fr.po: Updated version.
582         * po/es.po: Updated version.
583
584 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
585
586         * addr2line.c (usage): Update text to provide verbose
587         description of the command line options.
588         * ar.c (usage): Update text to provide verbose
589         description of the command line options.
590         (main): Accept -h and -H when running as ranlib.
591         * coffdump.c (show_usage): Update text to provide verbose
592         description of the command line options.
593         * dlltool.c (main): Accept -H as an alias for --help.
594         * nlmconv.c (show_usage): Update text to provide verbose
595         description of the command line options.
596         * nm.c (usage): Replace OPTIONS with option(s).
597         (main): Accept -H as an alias for --help.
598         * objcopy.c (strip_main): Accept -H as an alias for --help.
599         * objdump.c (main): Accept -v as an alias for --verbose.
600         * readelf.c (usage): Adjust format to match style used in
601         other binutils.
602         * size.c (usage): Update text to provide verbose description
603         of the command line options.
604         (main): Accept -v, -h and -H as command line options.
605         * srconv.c (show_usage): Update text to provide verbose
606         description of the command line options.
607         * strings.c (main): Accept -H and -v as command line options.
608         (usage): Update text to provide verbose description of the
609         command line options.
610         * sysdump.c (show_usage): Update text to provide verbose
611         description of the command line options.
612         * windres.c (usage): Adjust format to match style used in
613         other binutils.
614
615         * coffdump.c: Fix formatting.
616         * nlmconv.c: Fix formatting.
617         * srconv.c: Fix formatting.
618         * sysdump.c: Fix formatting.
619
620 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
621
622         * Makefile.am: Run "make dep-am".
623         * Makefile.in: Regenerate.
624
625 2002-01-18  Andreas Jaeger  <aj@suse.de>
626
627         * version.c (print_version): Update year.
628
629 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
630
631         * readelf.c (get_machine_name): Handle EM_PPC64.
632         (guess_is_rela): Here too.
633
634 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
635
636         * po/binutils.pot: Regenerate.
637         * po/fr.po: Regenerate.
638         * po/tr.po: Regenerate.
639
640 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
641
642         * po/tr.po: Import new version.
643
644 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
645
646         * readelf.c (get_ppc64_dynamic_type): New.
647         (get_dynamic_type): Call it.
648
649 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
650
651         * objcopy.c (copy_usage): Use "options" instead of "switches".
652         (strip_usage): Use "options" instead of "switches".
653         * doc/binutils.texi (dlltool):  Refer to "options" instead of
654         "switches".
655
656 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
657
658         * MAINTAINERS: Add self as co-maintainer for the ARM code.
659
660 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
661
662         * po/es.po: Import from translation project.
663         * configure.in (ALL_LINGUAS): Add es.
664         * configure: Regenerate.
665
666 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
667
668         * readelf.c (get_netbsd_elfcore_note_type): Use
669         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
670
671 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
672
673         * readelf.c: Update copyright years.
674         (get_note_type): Return a const char *.
675         (get_netbsd_elfcore_note_type): New function.
676         (process_note): Use get_netbsd_elfcore_note_type to get
677         the note type string for NetBSD ELF core files.
678
679 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
680
681         * readelf.c (get_ia64_segment_type): Add support for macros.
682         (get_segment_type): Add support for IA64 specific macros.
683
684 2001-12-20  Julian v. Bock  <julian@wongr.net>
685
686         * readelf.c (print_symbol): New function: Print a formatted symbol
687         name.  If --wide is specified do not truncate it.
688         (dump_relocations): Use print_symbol() to print symbol names.
689         (process_symbol_table): Likewise.
690         (process_syminfo): Likewise.
691         (process_mips_specific): Likewise.
692         (usage): Document new feature of --wide switch.
693         * doc/binutils.texi (objdump): Document additional behaviour of
694         --wide.
695
696 2001-12-18  Michael Snyder  <msnyder@redhat.com>
697
698         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
699         (copy_object): Don't set the start address or flags of a core file.
700         (copy_section): Don't relocate a core file.  Don't copy contents
701         if the input section has the contents flag set, but the output
702         section does not (which happens with the fake 'note' pseudo-
703         sections that BFD creates for corefiles).
704
705 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
706
707         * readelf.c (get_machine_flags): Recognize header flags for ABI and
708         ASE extensions. More robust code for ISA checking. Ignore empty fields
709         in header flags for GNU extensions.
710
711 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
712
713         * objcopy.c (copy_archive): Set output bfd format outside the loop.
714
715 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
716
717         * po/ja.po: Import from translation project.
718         * configure.in (ALL_LINGUAS): Add ja.
719         * configure: Regenerate.
720
721 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
722
723         * addr2line.c (main): Protoype.
724         * ar.c (main): Protoype.
725         * nm.c (main): Protoype.
726         * objcopy.c (main): Protoype.
727         * objdump.c (main): Protoype.
728         * size.c (main): Protoype.
729         * strings.c (main): Protoype.
730
731 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
732
733         * readelf.c (symtab_shndx_hdr): New global.
734         (SECTION_HEADER_INDEX): Define.
735         (SECTION_HEADER_NUM): Define.
736         (SECTION_HEADER): Define.
737         (GET_ELF_SYMBOLS): Pass two params rather than three.
738         (get_32bit_elf_symbols): Take file and section args.  Read and
739         use SHT_SYMTAB_SHNDX.
740         (get_64bit_elf_symbols): Likewise.
741         (dump_relocations): Use SECTION_HEADER to index "section_headers".
742         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
743         Remember symtab_shdx_hdr.
744         (process_program_headers): Scan from index 1 for segment map.
745         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
746         "section_headers".
747         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
748         (process_unwind): Likewise.
749         (process_version_sections): Likewise.
750         (process_symbol_table): Likewise.
751         (display_debug_info): Likewise.
752         (process_dynamic_segment): Fake up a symtab section for changed
753         GET_ELF_SYMBOLS.
754         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
755         (process_program_headers): Kill signed/unsigned warning.
756         (load_debug_str): Likewise.
757         (display_debug_info): Likewise.
758
759 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
760
761         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
762
763 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
764
765         * readelf.c (process_file_header): Print extended e_shnum and
766         e_shdtrndx values.  Set elf_header values for same.
767         (get_32bit_section_headers): Add "num" arg to read "num" headers.
768         (get_64bit_section_headers): Likewise.
769         (process_section_headers): Update calls.
770         (get_file_header): Call get_32bit_section_headers or 64bit variant.
771
772 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
773
774         * objcopy.c (setup_section): Copy entsize.
775
776 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
777
778         * readelf.c (guess_is_rela): Add support for stormy16.
779         (dump_relocations): Likewise.
780         (get_machine_name): Likewise.
781
782 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
783
784         * dllwrap.c (main) Replace multiple strings describing a
785         single error with a single, newline escaped sentence to permit
786         better translation into foreign languages.
787
788         * readelf.c (get_elf_class): Remove internalionalisation of ELF
789         class names.
790
791 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
792
793         * strings.c (get_char): Initialize value.
794
795 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
796
797         * arlex.l: Silence compile warnings.
798         * arsup.h: Likewise. Fix formatting.
799
800 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
801
802         * strings.c: Include config.h before bfd.h.
803         (file_off): New type.
804         (file_open): Define.
805         (print_strings): Use file_off instead of file_ptr.  Print addresses
806         which don't fit into long correctly.
807         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
808         available.
809         (strings_file): Use file_off instead of file_ptr.  Use file_open.
810         * configure.in: Check for getc_unlocked.
811         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
812         be defined for it.
813         * configure: Rebuilt.
814         * config.h.in: Rebuilt.
815
816 2001-11-29  H.J. Lu <hjl@gnu.org>
817
818         * bucomm.c (make_tempname): Revert the changes made on
819         2001-11-14 and 2001-11-12. They won't work with directories.
820
821 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
822
823         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
824         CFLAGS_FOR_TARGET to runtest in environment.
825         * Makefile.in: Rebuild.
826         * doc/Makefile.in: Rebuild.
827
828 2001-11-28  Mike Stump  <mrs@wrs.com>
829
830         * objcopy.c (setup_section): Preserve SEC_RELOC when
831         --set-section-flags is used.
832
833 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
834
835         * readelf.c (do_debug_str): New variable.
836         (display_debug_str): New function: Display the contents of a
837         .debug_str section.
838         (load_debug_str): New function: Load in the contents of a
839         .debug_str section.
840         (free_debug_str): New function: Free the memory used by
841         load_debug_str().
842         (fetch_indirect_string): Retrieve a string from the .debug_str
843         section.
844         (usage): Add -ws.
845         (parse_args): Accept -ws.
846         (process_section_headers): Allow the display of the .debug_str
847         section.
848         (read_and_display_attr_value): Use fetch_indirect_string.  Show
849         offset into .debug_str section.
850         (display_debug_info): Use load_debug_str and free_debug_str.
851         (debug_displays): Add .debug_str.
852         * doc/binutils.texi: Document -ws.
853
854 2001-11-19  Andreas Jaeger  <aj@suse.de>
855
856         * testsuite/binutils-all/objdump.exp: Add x86-64.
857
858 2001-11-15  Andreas Schwab  <schwab@suse.de>
859
860         * readelf.c: Fix warnings without terminating newline.
861
862 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
863
864         * doc/binutils.texi (objdump): Document ppc -M options.
865
866 2001-11-14  Andreas Jaeger  <aj@suse.de>
867
868         * doc/binutils.texi (objdump): Fix description to use x86-64.
869
870 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
871
872         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
873         not all systems provide mkstemp.
874
875 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
876
877         * doc/binutils.texi (objdump): Document x86 -M options.
878
879 2001-11-13  Keith Walker <keith.walker@arm.com>
880
881         * readelf.c (read_and_display_attr_value): New function to
882         handle DW_FORM_indirect.
883         (read_and_display_attr): Use it.
884
885 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
886
887         * readelf.c (display_debug_lines): Deal with unknown standard
888         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
889         DW_LNS_set_isa.
890
891 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
892
893         * MAINTAINERS: Add self as tic54x maintainer.  This target
894         includes the IBM C54XDSP clone.
895
896 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
897
898         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
899
900 2001-11-09  Jeffrey A Law  (law@cygnus.com)
901
902         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
903         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
904         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
905         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
906         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
907         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
908         (unw_decode_b2, unw_decode_b3_b4): Likewise.
909
910         * readelf.c (get_elf_class): Fix ISO portability glitch.
911         (get_data_encoding, get_osabi_name, request_dump): Likewise.
912
913 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
914
915         * readelf.c (debug_str, debug_str_size): New.
916         (display_debug_abbrev): If no abbrevs were read, skip the CU.
917         Call free_abbrevs.
918         (read_and_display_addr): Handle DW_FORM_strp.
919         (display_debug_info): Read .debug_str section if present,
920         so that DW_FORM_strp can be handled.
921         Fix test for non-existant .debug_abbrev section.
922
923 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
924
925         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
926
927         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
928
929 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
930
931         * MAINTAINERS: Add self as s390/s390x maintainer.
932
933 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
934
935         * MAINTAINERS: Add self as PPC XCOFF maintainer.
936
937 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
938
939         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
940         * configure: Regernate.
941         * po/fr.po: New file.
942         * po/tr.po: New file.
943
944 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
945
946         * MAINTAINERS: Add self as MMIX port maintainer.
947         * readelf.c: Include elf/mmix.h.
948         (guess_is_rela): MMIX is RELA.
949         (dump_relocations): Handle MMIX relocations.
950         * Makefile.am: Regenerate dependencies.
951         * Makefile.in: Regenerate.
952
953 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
954
955         * readelf.c (parse_args): Handle multiple options to the -w
956         switch.
957
958 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
959
960         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
961         LOPROC, LOOS and LOUSER.
962
963 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
964
965         * MAINTAINERS: Update my email address.
966
967 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
968
969         * doc/Makefile.in: Regenerate.
970         * configure: Regenerate.
971
972 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
973
974         * readelf.c (display_debug_line, display_debug_pubnames,
975         display_debug_info, display_debug_frames): Detect and warn
976         about 64-bit format entries.
977         (display_debug_aranges): Reword 64-bit warning.
978         (debug_displays): Add .debug_pubtypes as a known, but not yet
979         supported, debug section.
980
981 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
982
983         * coffdump.c (PROGRAM_VERSION): Delete.
984         (main <'V'>): Call print_version.
985         * srconv.c: Likewise.
986         * sysdump.c: Likewise.
987         * version.c (program_version): Remove.
988         (print_version): Use BFD_VERSION_STRING.  Just print the current
989         year in copyright message.
990         * addr2line.c (program_version): Remove unused declaration.
991         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
992         place of BFD_VERSION.
993         * Makefile.am (Makefile): Depend on bfd/configure.in.
994         (cplus-dem.o): Depend on Makefile.
995         Run "make dep-am".
996         * Makefile.in: Regenerate.
997
998 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
999
1000         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1001         format .debug_arange sections.
1002         (main): Add missing prototype.
1003
1004 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1005
1006         * Makefile.am: Update dependencies with "make dep-am".
1007         * Makefile.in: Regenerate.
1008
1009 2001-09-28  Richard Henderson  <rth@redhat.com>
1010
1011         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1012
1013 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1014
1015         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1016         VA_CLOSE.
1017         (non_fatal): Likewise.
1018         * objdump.c (objdump_sprintf): Likewise.
1019         * readelf.c (error): Likewise.
1020         (warn): Likewise.
1021
1022 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1023
1024         * readelf.c (do_wide): New.
1025         (options): Add --wide.
1026         (usage, parse_args): Likewise.
1027         (process_program_headers): Put each segment on a single line if
1028         --wide is given.
1029         (process_section_headers): Put each section on a single line if
1030         --wide is given.
1031         * doc/binutils.texi: Document it.
1032         * NEWS: Likewise.
1033
1034 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1035
1036         * readelf.c (print_vma): Print 8 digits of low hex value.
1037
1038 2001-09-24  Andreas Jaeger  <aj@suse.de>
1039
1040         * nlmconv.c: Fix warnings about unused attributes and function
1041         prototypes.
1042
1043         * strings.c: Add prototype for get_char.
1044
1045 2000-09-19  H.J. Lu  <hjl@gnu.org>
1046
1047         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1048         $(srcdir)/cxxfilt.man.
1049         * doc/Makefile.in: Rebuild.
1050
1051 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1052
1053         * objcopy.c (copy_main): Correct rename-section string parsing.
1054         Consolidate new_name parsing, and error messages.
1055
1056 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1057
1058         * addr2line.c: Don't include <ctype.h>.
1059         (main): For gettext, also set the LC_CTYPE locate facet.
1060         * ar.c (main): Likewise.
1061         * coffdump.c (main): Likewise.
1062         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1063         (main): For gettext, also set the LC_CTYPE locate facet.
1064         Use ISALNUM instead of isalpha/isdigit.
1065         * dllwrap.c: Don't include <ctype.h>.
1066         (main): For gettext, also set the LC_CTYPE locate facet.
1067         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1068         (main): For gettext, also set the LC_CTYPE locate facet.
1069         Use TOUPPER instead of islower/toupper.
1070         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1071         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1072         Use TOUPPER instead of islower/toupper.
1073         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1074         * objcopy.c (main): Likewise.
1075         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1076         (disassemble_bytes): Use ISPRINT instead of isprint.
1077         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1078         (dump_data): Use ISPRINT instead of isprint.
1079         (main): For gettext, also set the LC_CTYPE locate facet.
1080         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1081         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1082         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1083         Use TOUPPER instead of islower/toupper.
1084         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1085         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1086         (write_rc_accelerators): Use ISPRINT instead of isprint.
1087         (write_rc_rcdata): Likewise.
1088         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1089         * srconv.c (main): Likewise.
1090         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1091         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1092         isdigit/isupper/islower.
1093         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1094         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1095         stab_demangle_prefix, stab_demangle_qualified,
1096         stab_demangle_template, stab_demangle_type,
1097         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1098         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1099         (isgraphic): Use ISPRINT instead of isascii/isprint.
1100         (main): Remove HAVE_LC_MESSAGES dependency.
1101         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1102         (pbarray): Use ISPRINT instead of isprint.
1103         (main): For gettext, also set the LC_CTYPE locate facet.
1104         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1105         (format_from_filename): Use ISPRINT instead of isprint.
1106         (main): For gettext, also set the LC_CTYPE locate facet.
1107         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1108         (unicode_print): Use ISPRINT instead of isprint.
1109         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1110         (stab_variable): Use ISDIGIT instead of isdigit.
1111
1112 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1113
1114         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1115         Replace bfd_read call with call to bfd_bread.
1116         (extract_file): Likewise.
1117
1118         * objdump.c (dump_section_header): Cast section->filepos to
1119         unsigned long to suit printf format string.
1120         * readelf.c (process_section_headers): Similarly for sh_offset.
1121         (process_unwind): Likewise.
1122
1123 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1124
1125         * strings.c (encoding, encoding_bytes): New variables.
1126         (long_options): Add --encoding.
1127         (main): Accept -e and --encoding.
1128         (get_char): New function.  Read a, possibly wide, character from
1129         the input stream.
1130         (print_strings): Use get_char().
1131         (usage): Document new command line option.
1132         * doc/binutils.texi: Document new command line option.
1133         * NEWS: Announce new command line option.
1134
1135 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1136
1137         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1138         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1139         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1140         Removed EM_CYGNUS_ARC.
1141
1142 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1143
1144         * readelf.c: Include elf/h8 for H8 series definitions.
1145         (guess_is_rela): H8 series if RELA.
1146         (dump_relocations): Handle H8 series relocations.
1147
1148 2001-08-31  Eric Christopher  <echristo@redhat.com>
1149
1150         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1151
1152 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1153
1154         * MAINTAINERS: Include ARC Maintainer.
1155
1156 2001-08-29  Ben Elliston  <bje@redhat.com>
1157
1158         * stabs.c (stab_demangle_template): Initialise s4.
1159
1160 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1161
1162         * readelf.c (dump_relocations): Recognise EM_PPC64.
1163
1164 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1165
1166         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1167
1168 2001-08-25  H.J. Lu  <hjl@gnu.org>
1169
1170         * nm.c (print_width): New.
1171         (display_rel_file): Set `print_width' according to
1172         bfd_sprintf_vma.
1173         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1174
1175 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1176
1177         * objcopy.c (use_alt_mach_code): New variable.
1178         (OPTION_ALT_MACH_CODE): Define.
1179         (copy_options): Added --alt-machine-code.
1180         (copy_main): Handle it.
1181         (copy_object): Switch to alternate machine code if requested.
1182         * doc/binutils.texi: Document new option.
1183         * NEWS: Likewise.
1184
1185 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1186
1187         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1188
1189 2001-08-21  H.J. Lu  <hjl@gnu.org>
1190
1191         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1192         (display_debug_info): Cast for 64bit hosts.
1193         (display_debug_frames): Likewise.
1194         (process_mips_specific): Likewise.
1195
1196 2001-08-21  Andreas Jaeger  <aj@suse.de>
1197
1198         * coffgrok.h: Add missing parameter for prototype of coff_grok.
1199
1200         * sysdump.c: Add missing prototypes.
1201         * srconv.c: Likewise.
1202         * unwind-ia64.c: Likewise.
1203         * coffdump.c: Likewise.
1204
1205         * sysinfo.y: Print prototypes, include <ansidecl.h>.
1206
1207         * coffgrok.c: Add missing prototypes, include libiberty.h instead
1208         of declaring xcalloc.
1209
1210 2001-08-10  H.J. Lu  <hjl@gnu.org>
1211
1212         * nm.c (print_value): Add one arg, bfd *.
1213         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1214         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1215         (print_symbol_info_sysv): Likewise.
1216         (print_symbol_info_posix): Likewise.
1217
1218         * objdump.c (dump_section_header): Replace printf_vma with
1219         bfd_printf_vma.
1220         (print_section_stabs): Likewise.
1221         (dump_bfd_header): Likewise.
1222         (objdump_print_value): Replace sprintf_vma with
1223         bfd_sprintf_vma.
1224         (disassemble_bytes): Likewise.
1225         (dump_reloc_set): Likewise.
1226
1227 2001-08-10  Andreas Jaeger  <aj@suse.de>
1228
1229         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1230         to build warnings.
1231         * configure: Regenerate.
1232
1233 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
1234
1235         * readelf.c: Add missing prototypes.
1236         * objdump.c: Likewise.  Format existing prototypes.
1237
1238 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
1239
1240         * readelf.c (display_debug_info): Add to abbrev_offset the addend
1241         of any RELA relocation for the abbrev_offset memory location that
1242         refers to the .debug_abbrev section symbol.
1243
1244 2001-08-07  H.J. Lu  <hjl@gnu.org>
1245
1246         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1247         (main): Return process_file ().
1248
1249 2001-08-05  Philip Blundell  <philb@gnu.org>
1250
1251         * doc/binutils.texi: Use "Thumb" not "THUMB".
1252
1253 2001-08-03  John Healy  <jhealy@redhat.com>
1254
1255         Patch suggested by Frank Eigler <fche@redhat.com>.
1256         * objdump.c (disassemble_data): Fill in section member of the
1257         disasm_info structure.
1258
1259 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
1260
1261         * configure.in: Added --with-windres option.
1262         * configure: Regenerated.
1263
1264 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1265
1266         * doc/binutils.texi: Use @command{name} for commands;
1267         use @option{-opt} for options; use @table @env for list of options;
1268         remove spaces arround [ | ] in synopsis.
1269
1270         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1271         center title.
1272
1273 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
1274
1275         * objcopy.c: Fix formatting.
1276         (section_rename): New structure.
1277         (OPTION_RENAME_SECTION): New switch.
1278         (copy_usage): Document new switch.
1279         (add_section_rename): New function: Add a node to the section
1280         rename list.
1281         (find_section_rename): New function: Find the new name and
1282         flags for a section.
1283         (setup_section): Call find_section_name to determine the name
1284         of the output section.
1285         (copy_main): Handle OPTION_RENAME_SECTION.
1286         * binutils.texi: Document new switch.
1287         * NEWS: Mention new switch.
1288
1289 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
1290
1291         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1292         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1293         bug-binutils@gcc.org.
1294
1295 2001-07-28  Matthias Kramm  <kramm@quiss.org>
1296
1297         * bucomm.c (list_supported_architectures): New function.
1298         * bucomm.h (list_supported_architectures): Declare.
1299         * objdump.c (usage): Call the above.
1300
1301 2001-07-25  Dave Brolley  <brolley@redhat.com>
1302
1303         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1304         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1305
1306 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
1307
1308         * README: Update for 2.11.  Change bug reporting email address.
1309         * MAINTAINERS: Tidy up.  Change bug reporting email address.
1310
1311 2001-07-16  DJ Delorie  <dj@redhat.com>
1312
1313         * resres.c (write_res_header): Align header size.
1314         (res_align_file): Calculate alignment correctly.
1315
1316         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1317         correct 10).
1318         * resrc.c (write_rc_resource): Likewise.
1319         * windres.h (SUBLANG_SHIFT): Define - as 10.
1320
1321 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
1322
1323         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1324
1325 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
1326
1327         * MAINTAINERS: Add notes about branch checkins.
1328
1329 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
1330
1331         * readelf.c (display_debug_macinfo): New function, display
1332         .debug_macinfo section.
1333         (do_debug_macinfo): New variable.
1334         (parse_args): Handle "-w[mM]" to mean display macro info.
1335         (process_section_headers): Handle debug_macinfo.
1336         (debug_displays): Replace unsupported function with macinfo
1337         function for .debug_macinfo display.
1338         * doc/binutils.texi: Document new command line switch.
1339         * NEWS: Document new feature of readelf.
1340
1341 2001-07-05  H.J. Lu  <hjl@gnu.org>
1342
1343         * objcopy.c (filter_symbols): Don't turn undefined symbols
1344         into local.
1345
1346 2001-07-03  H.J. Lu <hjl@gnu.org>
1347
1348         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1349         $@.pod.
1350         (ar.1): Likewise.
1351         (dlltool.1): Likewise.
1352         (nlmconv.1): Likewise.
1353         (nm.1): Likewise.
1354         (objcopy.1): Likewise.
1355         (objdump.1): Likewise.
1356         (ranlib.1): Likewise.
1357         (readelf.1): Likewise.
1358         (size.1): Likewise.
1359         (strings.1): Likewise.
1360         (strip.1): Likewise.
1361         (windres.1): Likewise.
1362         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1363         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1364         $(DEMANGLER_NAME).
1365         (as.1): Removed.
1366         * doc/Makefile.in: Regenerated.
1367
1368 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1369
1370         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1371
1372 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
1373
1374         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1375
1376 2001-06-29  James Cownie <jcownie@etnus.com>
1377
1378         * readelf.c: Support DWARF 2.1 attributes.
1379
1380 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
1381
1382         * readelf.c (GET_DATA_ALLOC): Remove.
1383         (GET_DATA): Remove.
1384         (get_data): New function combining above macros, with an extra
1385         test for zero size.
1386         (slurp_rela_relocs): Use get_data, and catch error return.
1387         (slurp_rel_relocs): Likewise.
1388         (get_32bit_program_headers): Likewise.
1389         (get_64bit_program_headers): Likewise.
1390         (get_32bit_section_headers): Likewise.
1391         (get_64bit_section_headers): Likewise.
1392         (get_32bit_elf_symbols): Likewise.
1393         (get_64bit_elf_symbols): Likewise.
1394         (process_section_headers): Likewise.
1395         (process_relocs): Likewise.
1396         (slurp_ia64_unwind_table): Likewise.
1397         (process_unwind): Likewise.
1398         (get_32bit_dynamic_segment): Likewise.
1399         (get_64bit_dynamic_segment): Likewise.
1400         (process_dynamic_segment): Likewise.
1401         (process_version_sections): Likewise.
1402         (process_symbol_table): Likewise.
1403         (dump_section): Likewise.
1404         (display_debug_info): Likewise.
1405         (display_debug_section): Likewise.
1406         (process_section_contents): Likewise.
1407         (process_corefile_note_segment): Likewise.
1408         (process_mips_specific): Likewise.  Also free econf32, econf64.
1409
1410 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
1411
1412         * readelf.c (dump_relocations): Print "bad symbol index" if
1413         symtab == NULL with non-zero symtab_index.
1414         (process_relocs): Don't bomb if reloc section has no symsec.
1415
1416 2001-06-24  H.J. Lu  <hjl@gnu.org>
1417
1418         * objcopy.c (strip_main): Revert the change made on 2001-05-30
1419         by accident.
1420         (copy_main): Apply the the change made to strip_main on
1421         2001-05-30 by accident.
1422
1423 2001-06-23  Andreas Jaeger  <aj@suse.de>
1424
1425         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1426         parameter 'code'.
1427         (unw_decode_x2): Likewise.
1428         (unw_decode_x3): Likewise.
1429         (unw_decode_x4): Likewise.
1430
1431 2001-06-23  Ben Elliston  <bje@redhat.com>
1432
1433         * MAINTAINERS: Add myself as M88k maintainer.
1434
1435 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
1436
1437         * objcopy.c (strip_main): Support -o or --output-file command lien
1438         switch.
1439
1440 2001-06-19  H.J. Lu <hjl@gnu.org>
1441
1442         * doc/Makefile.in: Regenerated.
1443
1444 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1445
1446         * readelf.c: Restore formatting.
1447
1448 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1449
1450         * Makefile.am: Move documentation into doc subdirectory.
1451         * Makefile.in: Regenerated.
1452         * binutils.texi: Move into doc subdirectory.
1453         * addr2line.1: Removed.
1454         * ar.1: Likewise.
1455         * dlltool.1: Likewise.
1456         * nlmconv.1: Likewise.
1457         * nm.1: Likewise.
1458         * objcopy.1: Likewise.
1459         * objdump.1: Likewise.
1460         * ranlib.1: Likewise.
1461         * readelf.1: Likewise.
1462         * size.1: Likewise.
1463         * strings.1: Likewise.
1464         * strip.1: Likewise.
1465         * windres.1: Likewise.
1466         * cxxfilt.man: Likewise.
1467         * doc: New Directory.
1468         * doc/Makefile.am: New file.
1469         * doc/Makefile.in: Generate.
1470
1471 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
1472
1473         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1474
1475 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
1476
1477         * MAINTAINERS: Update my email address.
1478
1479 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1480
1481         * objcopy.c: Add new switches: --keep-global-symbol,
1482         --keep-symbols, --localize-symbols, --keep-global-symbols and
1483         --weaken-symbols.
1484         * binutils.texi: Document new switches.
1485         * objcopy.1: Regenerate.
1486         * NEWS: Announce new feature.
1487
1488 2001-05-28  Andreas Jaeger  <aj@suse.de>
1489
1490         * readelf.c (display_debug_frames): Fix warnings: Remove unused
1491         variables, fix format strings.
1492
1493 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1494
1495         * objdump.c (disassemble_bytes): Remove section VMA adjustment
1496         when computing the address of the line to show.
1497
1498 2001-05-16  Richard Henderson  <rth@redhat.com>
1499
1500         * readelf.c (do_debug_frames_interp): New.
1501         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1502         (byte_get_big_endian): Likewise.
1503         (parse_args) ['F']: Set do_debug_frames_interp.
1504         (Frame_Chunk): Make data_factor signed, add fde_encoding.
1505         (frame_display_row): Don't trunc pc_begin to int.
1506         (size_of_encoded_value): New.
1507         (display_debug_frames): Handle 64-bit targets.  Print raw data
1508         unless do_debug_frames_interp.
1509         (debug_displays): Remove duplicate .debug_frame.
1510
1511 2001-05-15  Ralf Baechle  <ralf@gnu.org>
1512
1513         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1514         The former constant was never in active use and is used otherwise
1515         by the ABI.
1516
1517 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1518
1519         * readelf.c (process_unwind): Print all unwind sections, not just
1520         one.
1521
1522 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1523
1524         * readelf.c (process_unwind): Remove const specifier.
1525
1526 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1527
1528         * strings.c (isgraphic): Do not use isascii() unless it is needed
1529         for isprint() to work.
1530         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1531
1532 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1533
1534         * NEWS: Announce support for OpenRISC.
1535
1536 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1537
1538         * dlltool.c (do_default_excludes): Initialise to true.
1539
1540 2001-04-10  Alan Modra  <amodra@one.net.au>
1541
1542         * MAINTAINERS: Update my email address
1543         * nm.c (print_symbol_info_bsd): Use a simple printf string.
1544
1545 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1546
1547         * readelf.c (display_debug_lines): Fix typo for "Prologue".
1548
1549 2001-03-30  H.J. Lu  <hjl@gnu.org>
1550
1551         * readelf.c (process_unwind): Just return if do_unwind is 0.
1552
1553 2001-03-28  Roger Sayle  <roger@metaphorics.com>
1554
1555         * dlltool.c (make_one_lib_file): Fix section flags for
1556         .text, .data and .bss in stub ds*.o files to match those
1557         generated by gas.
1558
1559 2001-03-29  H.J. Lu  <hjl@gnu.org>
1560
1561         * readelf.c (process_unwind): Only do unwind sections for
1562         IA64.
1563
1564 2001-03-28  H.J. Lu  <hjl@gnu.org>
1565
1566         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1567         * Makefile.in: Regenerate.
1568
1569 2001-03-26  Andreas Jaeger  <aj@suse.de>
1570
1571         * binutils.texi (nm): Fix texi syntax.
1572
1573 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1574
1575         * binutils.texi: Put @c man begin and @c man end indications
1576         to generate man pages using texi2pod and pod2man. Put @c man title
1577         to identify each man. Add SEEALSO entries.
1578         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1579         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1580         sort the list.
1581         (*.1): Build the man pages from binutils.texi.
1582         * Makefile.in: Regenerate.
1583
1584 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
1585
1586         * defparse.y (opt_equal_name): allow "." in name.
1587         * dlltool.c (def_exports): Added ability to generate forwarded exports.
1588         (gen_exp_file): Likewise.
1589
1590 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1591
1592         * NEWS: Document addition of -B switch to objcopy.
1593         * binutils.texi:  Document addition of -B switch to objcopy.
1594         * objcopy.c: (copy_options): Add --binary-architecture.
1595         (copy_usage): Document -B/--binary-architecture.
1596         (copy_main): Support -B/--binary-architecture.  Set
1597         bfd_external_binary_architecture.
1598
1599 2001-03-11  Andreas Jaeger  <aj@suse.de>
1600
1601         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1602         (dump_relocations): Likewise.
1603         (get_machine_name): Likewise.
1604
1605 2001-02-28  Nick Clifton  <nickc@redhat.com>
1606
1607         * readelf.c: (struct unw_aux_info): Remove const modifier for
1608         'strtab' field.
1609         (process_unwind): Remove non-K&R compliant LHS type cast in call
1610         to GET_DATA_ALLOC macro.
1611
1612 2001-02-28  Philip Blundell  <pb@futuretv.com>
1613
1614         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1615         ABI is in use; remove ambiguity between the "unknown" EABI and
1616         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1617         renamed EF_xx constants.
1618
1619 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
1620
1621         * configure.in (BFD_VERSION): New.
1622         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1623         * configure: Regenerate.
1624         * Makefile.am: Run "make dep-am"
1625         * Makefile.in: Regenerate.
1626
1627 2001-02-14  Nick Clifton  <nickc@redhat.com>
1628
1629         * MAINTAINERS: Add "Obvious Fix" rule.
1630
1631 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1632
1633         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1634         literal concatenation.
1635
1636 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1637
1638         * readelf.c (struct unw_aux_info): Remove const from the info member.
1639         (process_unwind): Don't type-cast the third argument to the
1640         GET_DATA_ALLOC macro.
1641
1642 2001-02-11  Nick Clifton  <nickc@redhat.com>
1643
1644         * readelf.c (dump_relocations): Free corrected allocated
1645         array.
1646         (process_unwind): Fix compile time warning.
1647
1648 2001-02-10  Nick Clifton  <nickc@redhat.com>
1649
1650         * binutils.texi: Document new --unwind option to readelf.
1651
1652 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1653
1654         * readelf.c: Add linux target for S/390.
1655
1656 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
1657
1658         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1659         printf is a macro.
1660
1661 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1662
1663         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1664         * aclocal.m4: Regenerate.
1665         * configure: Regenerate.
1666
1667 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
1668
1669         * bucomm.c (bfd_target_vector): Change extern array to pointer.
1670         * objdump.c (bfd_target_vector): Likewise.
1671
1672 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
1673
1674         * readelf.c (process_unwind): New function.
1675         (slurp_ia64_unwind_table): Ditto.
1676         (dump_ia64_unwind): Ditto.
1677         (find_symbol_for_address): Ditto.
1678         (slurp_rela_relocs): New function (split off from dump_relocations()).
1679         (slurp_rel_relocs): Ditto.
1680         (parse_args): Handle '-u' option.
1681
1682         * unwind-ia64.c: New file.
1683         * unwind-ia64.h: New file.
1684         * Makefile.am: Include unwind-ia64.c in readelf build.
1685         * Makefile.in: Regenerate.
1686         * po/binutils.pot: Regenerate.
1687
1688 2001-02-04  Philip Blundell  <philb@gnu.org>
1689
1690         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1691         * configure: Regenerate.
1692
1693 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1694
1695         * ieee.c (ieee_add_bb11): Don't check for backslashes
1696         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1697
1698 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1699
1700         * ieee.c: Update copyright.
1701         (ieee_start_compilation_unit): Don't check for backslashes
1702         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1703
1704         * stabs.c: Update copyright. Include "filenames.h".
1705         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1706
1707 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1708
1709         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1710         sections are present before using them.  Remove code duplication.
1711         (process_symbol_table): Check if VERDEF or VERNEED sections are
1712         present before using them.
1713
1714 2001-01-17  Nick Clifton  <nickc@redhat.com>
1715
1716         * objcopy.c (copy_object): Fail if attempting to convert the
1717         endianness of the input object file.
1718
1719         * binutils.texi: Explain that objcopy cannot convert endianness.
1720
1721 2001-01-16  Nick Clifton  <nickc@redhat.com>
1722
1723         * readelf.c (string_table_length): New variable.
1724         (SECTION_NAME): Catch out of range indices and missing section
1725         pointers.
1726         (process_section_headers): Delete useless local variable
1727         string_table_offset.  Set the value of string_table_length
1728         after loading the string table.
1729         (process_mips_specific): Use SECTION_NAME macro.
1730         (process_file): Set string_table_length to 0 when it is freed.
1731
1732 2001-01-12  Nick Clifton  <nickc@redhat.com>
1733
1734         * version.c (print_version): Update copyright date.
1735
1736 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1737
1738         * readelf.c (dump_relocations): Include selection with EM_ARC.
1739         (get_machine_name) Update name to "ARC".
1740
1741 2001-01-09  Nick Clifton  <nickc@redhat.com>
1742
1743         * Makefile.am: Add rule to build objdump.o from objdump.c and
1744         using OBJDUMP_DEFS.
1745         * Makefile.in: Regenerate.
1746
1747         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1748         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1749         -DDISASSEMBLER_NEEDS_RELOCS.
1750         * configure: Regenerate.
1751
1752         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1753         is defined read in the relocs even if dump_reloc_info is
1754         false.
1755
1756 2001-01-07  Philip Blundell  <philb@gnu.org>
1757
1758         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1759         `bug-binutils'.
1760         * README: Likewise.
1761
1762 2000-12-19  Nick Clifton  <nickc@redhat.com>
1763
1764         * dlltool.c: Add missing support for arm-epoc-pe.
1765         * configure.in: Add missing support for arm-epoc-pe.
1766         * configure: Regenerate.
1767
1768 2000-12-15  Nick Clifton  <nickc@redhat.com>
1769
1770         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1771         Mode parts of the x86 port.
1772
1773 2000-12-04  Andreas Jaeger  <aj@suse.de>
1774
1775         * readelf.c (guess_is_rela): Add EM_X86_64.
1776         (dump_relocations): Add EM_X86_64.
1777         (get_machine_name): Add EM_X86_64.
1778         Include "elf/x86-64.h".
1779
1780 2000-12-12  Nick Clifton  <nickc@redhat.com>
1781
1782         * readelf.c: Fix formatting.
1783
1784 2000-12-11  Jan Hubicka  <jh@suse.cz>
1785
1786         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1787
1788 2000-12-07  Andrew Haley  <aph@redhat.com>
1789
1790         * readelf.c (display_debug_frames): Only display columns that are
1791         referenced by the frame debug info.
1792
1793 2000-12-05  Nick Clifton  <nickc@redhat.com>
1794
1795         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1796
1797 2000-12-04  Jason Merrill  <jason@redhat.com>
1798
1799         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1800         (display_debug_section): Likewise.
1801         (display_debug_info): Display CU header before bailing.
1802
1803 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1804
1805         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1806         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1807         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1808
1809         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1810         and E_MIPS_ARCH_64.
1811
1812         * readelf.c (get_machine_flags): Add case for
1813         E_MIPS_MACH_SB1.
1814
1815 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1816
1817         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1818
1819 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1820
1821         * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
1822         Change sourceware.cygnus.com to sources.redhat.com.
1823         Fix typo for "amongst".
1824
1825 2000-11-28  Nick Clifton  <nickc@redhat.com>
1826
1827         * strip.1 (COPYING): Mention that the GNU Free Documentation
1828         License is present in the sources, but not the output, and
1829         also available from the GNU website.
1830         (GNU Free Documentation License): Comment out this section.
1831         * strings.1: Ditto.
1832         * size.1: Ditto.
1833         * ranlib.1: Ditto.
1834         * objdump.1: Ditto.
1835         * objcopy.1: Ditto.
1836         * nm.1: Ditto.
1837         * nlmconv.1: Ditto.
1838         * ar.1: Ditto.
1839         * addr2line.1: Ditto.
1840
1841 2000-11-27  DJ Delorie  <dj@redhat.com>
1842
1843         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1844         (parse_args): Support -wf option.
1845         (process_section_headers): Ditto.
1846         (debug_displays): Ditto.
1847         (display_debug_frames): New, dump *_frame sections.
1848         (frame_need_space): Support for above.
1849         (frame_display_row): Ditto.
1850         * binutils.texi: Document it.
1851
1852 2000-11-24  Nick Clifton  <nickc@redhat.com>
1853
1854         * NEWS: Announce support for v5t, v5te and XScale.
1855
1856 2000-11-22  Nick Clifton  <nickc@redhat.com>
1857
1858         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1859         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1860         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1861         (get_elf_section_flags: Add SHF_GROUP.
1862         (process_section_headers): Adjust output for 32-bit binaries
1863         to look nice on an 80 column terminal.
1864
1865 2000-11-20  H.J. Lu  <hjl@gnu.org>
1866
1867         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1868         ELFOSABI_AIX.
1869
1870 2000-11-17  Richard Henderson  <rth@redhat.com>
1871
1872         * readelf.c (display_debug_lines): Adjust last change to
1873         use sizeof (external->li_length).
1874
1875 2000-11-17  Richard Henderson  <rth@redhat.com>
1876
1877         * readelf.c (display_debug_lines): Fix section length check
1878         and end_of_sequence computation.
1879
1880 2000-11-06  Nick Clifton  <nickc@redhat.com>
1881
1882         * binutils.texi: Add GNU Free Documentation License.
1883         * objcopy.1: Add GNU Free Documentation License.
1884         * objdump.1: Add GNU Free Documentation License.
1885         * addr2line.1: Add GNU Free Documentation License.
1886         * ar.1: Add GNU Free Documentation License.
1887         * nlmconv.1: Add GNU Free Documentation License.
1888         * nm.1: Add GNU Free Documentation License.
1889         * ranlib.1: Add GNU Free Documentation License.
1890         * size.1: Add GNU Free Documentation License.
1891         * strings.1: Add GNU Free Documentation License.
1892         * strip.1: Add GNU Free Documentation License.
1893
1894 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1895
1896         * objcopy.c (--srec-len=nn): New parameter to set the
1897         maximum length of generated Srecords.
1898         (--srec-forceS3): New parameter that restricts the generation of
1899         Srecords to type S3 only.
1900         * binutils.texi: Document new command line switches.
1901         * objcopy.1: Docuemnt the new command line switches.
1902         * NEWS: Announce the existence of the new command line switches.
1903
1904 2000-10-31  Nick Clifton  <nickc@redhat.com>
1905
1906         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1907         code.  Add Eric Chrisopher as maintainer of MN10300 port.
1908
1909 2000-10-12  Roger Sayle  <roger@metaphorics.com>
1910
1911         * Make comma after string after icon/control optional.
1912
1913 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
1914
1915         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1916
1917         * NEWS: Mention support for MIPS32.
1918
1919 2000-09-08  Nick Clifton  <nickc@redhat.com>
1920
1921         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1922
1923 2000-09-07  H.J. Lu  <hjl@gnu.org>
1924
1925         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1926         * configure: Rebuild.
1927
1928 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1929
1930         * configure: Rebuilt with new libtool.m4.
1931
1932 2000-09-05  Nick Clifton  <nickc@redhat.com>
1933
1934         * aclocal.m4: Regenerate.
1935         * config.in: Regenerate.
1936         * configure: Regenerate.
1937
1938 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
1939
1940         * strip.1: Fix stray '\' in -o formatting.
1941
1942 2000-09-02  Nick Clifton  <nickc@redhat.com>
1943
1944         * configure.in: Increase version number to 2.10.91.
1945         * configure: Regenerate.
1946         * aclocal.m4: Regenerate.
1947         * config.in: Regenerate.
1948         * po/binutils.pot: Regenerate.
1949
1950 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1951
1952         * acinclude.m4: Include libtool and gettext macros from the
1953         top level.
1954         * aclocal.m4, configure: Rebuilt.
1955
1956 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1957
1958         * resrc.c (close_input_stream): Delete extraneous logic
1959
1960 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1961
1962         * NEWS: Mention support for CRIS.
1963
1964 2000-08-21  Nick Clifton  <nickc@redhat.com>
1965
1966         * addr2line.c: Changed email address for Ulrich Lauther.
1967
1968 2000-08-17  Christopher C. Chimelis <chris@debian.org>
1969
1970         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1971
1972 2000-08-17  Nick Clifton  <nickc@redhat.com>
1973
1974         * readelf.c (display_debug_pubnames): Only issue warning
1975         message once.  Terminate message with a new line.
1976         (display_debug_aranges): Only display version 2 debug info.
1977
1978 2000-08-14  Todd Vierling <tv@wasabisystems.com>
1979
1980         * objcopy.c (strip_main): Silently accept -d as an alias for -g
1981         for compatability with old BSD systems.
1982
1983 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
1984
1985         * NEWS: Mention i860 support.
1986
1987 2000-08-11  Carlo Wood <carlo@alinoe.com>
1988
1989         * addr2line.c (main): Add const to char *.
1990
1991 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
1992
1993         * ar.c (main): Don't crash if called with no arguments
1994         or only '-X32_64' as an argument.
1995
1996 2000-08-08  DJ Delorie  <dj@redhat.com>
1997
1998         * resrc.c: use "gcc -xc" instead of -xc-header
1999
2000 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2001
2002         * readelf.c (elf/i860.h): Include.
2003         (dump_relocations): Add recognition of i860 architecture.
2004         (guess_is_rela): Add recognition of i860 architecture.
2005
2006 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2007
2008         * MAINTAINERS: Add information about CGEN maintainers.
2009
2010 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2011
2012         * nm.c (main): Ignore '-X32_64' as an option.
2013         * ar.c (main): Likewise.
2014         * binutils.texi (nm): Document new option.
2015         (ar): Likewise.
2016
2017 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2018
2019         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2020
2021 2000-07-20  H.J. Lu  <hjl@gnu.org>
2022
2023         * binutils.texi: Put back "@end table" deleted by
2024         accident.
2025
2026 2000-07-05  Kenneth Block  <krblock@computer.org>
2027
2028         * nm.c: Add optional style to demangle switch.
2029         * objdump.c: Add optional style to demangle switch.
2030         * addr2line.c: Add optional style to demangle switch.
2031         * binutils.texi: Document optional style to demangle
2032         switch.
2033
2034 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2035
2036         * MAINTAINERS: Add self as CRIS port maintainer.
2037         * readelf.c: Include elf/cris.h.
2038         (guess_is_rela): Handle EM_CRIS.
2039         (dump_relocations): Ditto.
2040         (get_machine_name): Ditto.
2041         * Makefile.am: Rebuild dependencies.
2042         * Makefile.in: Regenerate.
2043         * po/binutils.pot: Regenerate.
2044
2045 2000-07-19  H.J. Lu  <hjl@gnu.org>
2046
2047         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2048         "AUXILIARY".
2049         (process_dynamic_segment): Print out strings for DT_CONFIG,
2050         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2051
2052 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2053
2054         * nm.c (usage): Change output of `nm --help' to include a
2055         description of the purpose of the program and a detailed
2056         description of the accepted options.
2057
2058 2000-07-19  H.J. Lu  <hjl@gnu.org>
2059
2060         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2061         to DF_1_NODEFLIB.
2062
2063 2000-07-19  H.J. Lu  <hjl@gnu.org>
2064
2065         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2066
2067 2000-07-19  H.J. Lu  <hjl@gnu.org>
2068
2069         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2070         DT_FEATURE.
2071         (process_dynamic_segment): Likewise.
2072
2073         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2074         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2075         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2076         DF_1_NODUMP and DF_1_CONLFAT.
2077
2078 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2079
2080         * binutils.texi (readelf): Fix spelling typo.
2081
2082 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2083
2084         * objdump.c (usage): Make output of `objdump --help' more
2085         consistent with the rest of the GNU world.  Add a line describing
2086         the purpose of the program.
2087
2088 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2089
2090         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2091         warning.
2092
2093 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2094
2095         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2096         to fix warnings.
2097         (process_symbol_table): Ditto.
2098         (procesS_extended_line_op): Ditto.
2099         (display_debug_lines): Ditto.
2100         (display_debug_pubnames): Ditto.
2101         (read_and_display_attr): Ditto.
2102
2103 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2104
2105         * MAINTAINERS: Add several more port specific maintainers.
2106
2107 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2108
2109         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2110
2111 2000-06-05  DJ Delorie  <dj@redhat.com>
2112
2113         * MAINTAINERS: New.
2114
2115 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2116
2117         * dllwrap.c: Changed mistaken dyn_string_append() calls
2118         to dyn_string_append_cstr().
2119
2120 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2121
2122         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2123         struct debug_type stores size in bytes.
2124
2125 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2126
2127         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2128         (CLEANFILES): Add DEPA.
2129         * Makefile.in: Regenerate.
2130
2131 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2132
2133         * ar.c: Revert incorrect 2000-06-25 patch.
2134         * bucomm.c: Likewise.
2135
2136 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2137
2138         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2139         (external_coff_symbol_p): New function.
2140         (parse_coff): Use it.
2141
2142 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2143
2144         * ar.c (normalize): Advance past both characters in a DOS based
2145         <letter>: filepath prefix.
2146         (main): Likewise.
2147         * bucomm.c (make_tempname): Likewise.
2148
2149 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2150
2151         * objdump.c (usage): Fix description of --stabs switch.
2152
2153 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2154
2155         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2156         find one.
2157         * Makefile.in: Regenerate.
2158
2159 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2160
2161         * ar.c (normalize): Correct pointer comparison when checking for
2162         backslashes.
2163         (main): Likewise.
2164         * bucomm.c (make_tempname): Likewise.
2165
2166         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2167         and search for backslashes in the original pathname.
2168         (ieee_add_bb11): Likewise.
2169
2170 2000-06-18  Nick Clifton  <nickc@redhat.com>
2171
2172         * ar.c (print_contents): Improve verbose message.
2173
2174 2000-06-15  H.J. Lu  <hjl@gnu.org>
2175
2176         * dyn-string.c: Removed. Not needed with dyn-string.c in
2177         libiberty.
2178         * dyn-string.h: Likewise.
2179
2180         * Makefile.am: Remove references to dyn-string.c and
2181         dyn-string.h. Rebuild dependency.
2182         * Makefile.in: Rebuild.
2183
2184 2000-06-15  H.J. Lu  <hjl@gnu.org>
2185
2186         * binutils.texi: Put a warning on copying relocatable object
2187         files between two different formats.
2188
2189 2000-06-13  DJ Delorie  <dj@cygnus.com>
2190
2191         * rcparse.y (control): ICON controls take an id as the first
2192         parameter, not an optional string.  Also, call new convenience
2193         function that takes res_id's.
2194         * resrc.c (define_control): missing text means zero-length string,
2195         not zero ID.
2196         (define_icon_control): New.
2197         * windres.h: declare define_icon_control.
2198
2199 2000-06-13  H.J. Lu  <hjl@gnu.org>
2200
2201         * configure: Regenerate.
2202
2203 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
2204
2205         * configure.in (VERSION): Update to show this is the CVS mainline.
2206
2207 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
2208
2209         * strings.c (isgraphic): Interpret <TAB> as a printable character,
2210         analogous to <SPACE>.
2211
2212 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
2213
2214         * objdump.c (display_target_list): Use bfd_close_all_done, not
2215         bfd_close to fix crash caused by 2000-05-24 change.
2216
2217 2000-05-25  DJ Delorie  <dj@cygnus.com>
2218
2219         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2220
2221 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
2222
2223         * Makefile.am: Update dependencies with "make dep-am"
2224         * Makefile.in: Regenerate.
2225
2226 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
2227
2228         * ar.c: Include filenames.h.
2229         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2230         and drive letters in file names.
2231         (main): Support backslashes and drive letters in argv[0].  Drop
2232         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
2233         FILENAME_CMP instead of strcmp to compare file names.
2234         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2235         DJGPP v2.
2236         (do_quick_append) [__GO32__]: Ditto.
2237         (get_pos_bfd, delete_members, move_members, replace_members):
2238         Compare file names with FILENAME_CMP.
2239
2240         * bucomm.c: Include filenames.h.
2241         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2242         forward/backward slashes and drive letters in file names.
2243
2244         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2245         mixed forward/backward slashes and drive letters in file names.
2246
2247         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2248         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2249         mode.
2250
2251         * objcopy.c: Include filenames.h.
2252         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2253         before comparing to "strip".
2254         Use FILENAME_CMP to compare file names.
2255
2256         * arsup.c: Include filenames.h.
2257         (map_over_list, ar_delete, ar_replace, ar_extract): Use
2258         FILENAME_CMP to compare file names.
2259         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2260         the temporary file name.
2261
2262         * configure.in: Check for setmode.
2263         * configure: Regenerate.
2264
2265 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
2266
2267         * objdump.c (display_target_list): Close the bfd.
2268         (display_info_table): Likewise.
2269
2270 2000-05-14  H.J. Lu  (hjl@gnu.org)
2271
2272         * objcopy.c (filter_symbols): Don't strip global symbols in
2273         relocatable object files.
2274
2275 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
2276
2277         * size.c (usage): Associate short options with corresponding long
2278         option to give a clue as to their function.
2279
2280 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
2281
2282         * size.c (main): Accept and ignore `-f' option.
2283
2284 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
2285
2286         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2287         bindtextdomain): Replace defines with those from intl/libgettext.h
2288         to quieten gcc warnings.
2289
2290 2000-05-12  H.J. Lu  <hjl@gnu.org>
2291
2292         * nlmconv.c (temp_filename): Removed.
2293
2294         * nlmconv.c (link_inputs): Use make_temp_file () instead of
2295         choose_temp_base ().
2296         * objdump.c (display_target_list): Likewise.
2297         (display_info_table): Likewise.
2298
2299 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
2300
2301         * objcopy.c (setup_section): Add const and gettext calls for err.
2302
2303 2000-05-02  H.J. Lu  <hjl@gnu.org>
2304
2305         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2306         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2307         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2308         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2309         and ELFOSABI_OPENBSD.
2310
2311 2000-05-02  Kazu Hirata  <kazu@hxi.com>
2312
2313         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2314         * srconv.c: Likewise.
2315         * sysdump.c: Likewise.
2316
2317 2000-04-23  Denis Chertykov  <denisc@overta.ru>
2318
2319         * readelf.c (guess_is_rela): AVR uses RELA relocations.
2320         (get_machine_name): machine name for EM_AVR added.
2321
2322 2000-04-21  Richard Henderson  <rth@cygnus.com>
2323             David Mosberger  <davidm@hpl.hp.com>
2324
2325         * Makefile.am (readelf.o): Add elf/ia64.h.
2326         * Makefile.in: Rebuild.
2327         * readelf.c: Include elf/ia64.h.
2328         (guess_is_rela, dump_relocations): Handle EM_IA_64.
2329
2330 2000-04-17  Timothy Wall  <twall@cygnus.com>
2331
2332         * objdump.c (disassemble_data): Set octets per byte *after*
2333         resolving arch/mach for binary files.
2334
2335 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2336
2337         * arlex.l: Add directives to increase lex buffer size.
2338
2339         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2340         already included by bucomm.h.
2341
2342 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
2343
2344         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2345         `strftime' since strftime is not available on all systems.
2346         (process_mips_specific): Ditto.
2347
2348 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
2349
2350         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
2351         --enable-build-warnings option.
2352         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2353         * Makefile.in, configure: Re-generate.
2354
2355 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
2356
2357         * addr2line.c: Update copyright.
2358         * objcopy.1: Likewise, and title.
2359         * strings.1: Likewise.
2360
2361         * version.c (print_version): Add 2000.
2362
2363         * rddbg.c (read_section_stabs_debugging_info): Don't use
2364         bfd_size_type for strx to avoid printf problems if BFD64.
2365
2366         * bucomm.c: (report): Remove `static'.
2367         Move inclusion of stdarg.h/vararg.h from here.
2368         * bucomm.h: To here.
2369         (CONST): Change all occurences to const.
2370         (report): Declare it.
2371         (bfd_fatal): Add ATTRIBUTE_NORETURN.
2372         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2373         (non_fatal): Add ATTRIBUTE_PRINTF_1.
2374
2375         * ar.c (main): Use fatal or non_fatal instead of fprintf.
2376         Correct a typo in an error message.
2377         (do_quick_append): Use non_fatal instead of fprintf.
2378         (move_members): Use fatal instead of fprintf, exit.
2379         * coffdump.c (main): Same here.
2380
2381         * dlltool.c (display): Delete.
2382         (warn): Delete.
2383         (inform): Use `report' instead of `display'.
2384         (rvaafter): Remove trailing \n from fatal error msg.
2385         (rvabefore): Ditto.
2386         (asm_prefix): Ditto.
2387         (yyerror): Replace `warn' with `non_fatal', and remove \n.
2388         (def_name): Likewise.
2389         (run): Likewise.
2390         (scan_all_symbols): Likewise.
2391         (gen_lib_file): Likewise.
2392         (def_library): Likewise.  Remove extra program_name too.
2393         (run): Remove \n from inform strings.
2394         (scan_drectve_symbols): Likewise.
2395         (add_excludes): Likewise.
2396         (scan_open_obj_file): Likewise.
2397         (gen_exp_file): Likewise.
2398         (gen_lib_file): Likewise.
2399         (process_duplicates): Likewise.
2400
2401         * Makefile.am (dllwrap_SOURCES): Add version.c.
2402         * dllwrap.c (program_version): Delete.
2403         (print_version): Delete.
2404         (display): Always print trailing \n.
2405         (warn): New.
2406         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
2407         (run): Here too.
2408         (main): And here.
2409         (usage): gettext'ify.
2410         (long_options): Add missing initialisers.
2411
2412         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2413         (select_output_format): Likewise.
2414         (powerpc_mangle_relocs): Likewise.
2415         (link_inputs): Likewise.
2416
2417         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2418         (set_output_format): Likewise.
2419         (main): Use non_fatal instead of fprintf.
2420         (display_rel_file): Likewise.
2421
2422         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2423         (slurp_dynamic_symtab): Same here.
2424         (disassemble_data): And here.
2425         (read_section_stabs): And here.
2426         (read_section_stabs): And here.
2427         (dump_bfd): And here.
2428         (main): And here.
2429         (objdump_sprintf): Use fatal instead of fprintf, exit.
2430         (disassemble_data): Same here.
2431
2432         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2433         (parse_coff_struct_type): Same here.
2434         (parse_coff_enum_type): And here.
2435         (parse_coff): And here.
2436         * rddbg.c (read_debugging_info): And here.
2437         * size.c (main): And here.
2438         * windres.c (format_from_name): And here.
2439         * wrstabs.c (stab_write_symbol): Here too.
2440         (write_stabs_in_sections_debugging_info): And here.
2441         (stab_int_type): And here.
2442         (stab_struct_field): And here.
2443         (stab_typdef): And here.
2444
2445         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2446         * srconv.c (main): Same here.
2447         * strings.c (main): And here.
2448         (integer_arg): And here.
2449         * sysdump.c (main): And here.
2450
2451 2000-04-06  Timothy Wall  <twall@cygnus.com>
2452
2453         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2454
2455 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2456
2457         * readelf.c (decode_location_expression): Loop through multiple
2458         operations.
2459         (read_and_display_attr): Pass in length.
2460
2461         * readelf.c (read_and_display_attr): Add CU offset to references.
2462         (display_debug_info): Pass it in.
2463
2464 2000-04-06  Nick Clifton  <nickc@cygnus.com>
2465
2466         * readelf.c (decode_ARM_machine_flags): New function.
2467         (get_machine_flags): Call decode_ARM_machine_flags for ARM
2468         targets.
2469
2470         (get_machine_name): Catch EM_AVR
2471
2472 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
2473
2474         * binutils.texi: Remove optional `=' from long options that have
2475         an `=' in the argument.
2476         * objcopy.1: Here too.  Remove extra space on discard-all.
2477
2478         * binutils.texi (objcopy): Mention --redefine-sym.
2479         * objcopy.1: Here too.
2480         * NEWS: And here.
2481
2482         * objcopy.c (parse_flags): Split off flag names from error message
2483         gettext as they are not translated.
2484         (copy_main): Similarly split off option name for --add-section,
2485         --set-section-flags, --change-section-vma, --change-section-lma
2486         error messages.
2487         Some white space changes.
2488
2489         from Matthew Benjamin <matt@linuxbox.nu>
2490         * objcopy.c (struct redefine_node): New.
2491         (redefine_sym_list): New.
2492         (redefine_list_append): New.
2493         (lookup_sym_redefinition): New.
2494         (OPTION_REDEFINE_SYM): New.
2495         (copy_options): Add --redefine-sym option.
2496         (copy_usage): Mention it.
2497         (filter_symbols): Rename symbols on redefine_sym_list.
2498         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2499         (copy_main): Handle OPTION_REDEFINE_SYM.
2500
2501 2000-04-04  H.J. Lu  <hjl@gnu.org>
2502
2503         * readelf.c (process_symbol_table): Correctly read in symbol
2504         versioning information.
2505
2506 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
2507
2508         * po/binutils.pot: Regenerate.
2509
2510         * addr2line.c (usage): Restore translated part of bug string.
2511         * ar.c (usage): Likewise.
2512         * nlmconv.c (show_usage): Likewise.
2513         * nm.c (usage): Likewise.
2514         * objcopy.c (copy_usage): Likewise.
2515         (strip_usage): Likewise.
2516         * objdump.c (usage): Likewise.
2517         * readelf.c (usage): Likewise.
2518         * size.c (usage): Likewise.
2519         * strings.c (usage): Likewise.
2520         * windres.c (usage): Likewise.
2521
2522         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2523         (DEP): Quote when passing vars to sub-make.  Add warning
2524         message to end.
2525         (DEP1): Rewrite for "gcc -MM".
2526         (CLEANFILES): Add DEP2.
2527         Update dependencies.
2528         * Makefile.in: Regenerate.
2529
2530 2000-04-04  H.J. Lu  <hjl@gnu.org>
2531
2532         * Makefile.am (GENERATED_HFILES): Add rcparse.h
2533         (arparse.h): Depend on arparse.c
2534         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2535
2536 2000-04-03  H.J. Lu  (hjl@gnu.org)
2537
2538         * size.c (usage): Use REPORT_BUGS_TO.
2539
2540 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
2541
2542         * bucomm.h: #include "bin-bugs.h"
2543         * addr2line.c (usage): Use REPORT_BUGS_TO.
2544         * ar.c (usage): Likewise.
2545         * nlmconv.c (show_usage): Likewise.
2546         * nm.c (usage): Likewise.
2547         (OPTION_TARGET): Define.
2548         (long_options): Use OPTION_TARGET rather than 200.
2549         (main): Likewise.
2550
2551         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2552         (strip_usage): Likewise.
2553         * objdump.c (usage): Likewise.
2554         * readelf.c (usage): Likewise.
2555         * strings.c (usage): Likewise.
2556         * windres.c (usage): Likewise.
2557
2558 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2559
2560         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2561
2562 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2563
2564         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2565         string offsets in corrupt stabs entries.
2566
2567 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2568
2569         * readelf.c: Include elf/avr.h
2570         (dump_relocations): Add EM_AVR case.
2571
2572 2000-03-09  Tim Waugh  <twaugh@redhat.com>
2573
2574         * strings.1: Correct '-bytes' to '--bytes'.
2575
2576 2000-03-08  H.J. Lu  <hjl@gnu.org>
2577
2578         * Makefile.am (install-exec-local): Depend on
2579         install-binPROGRAMS for parallel make.
2580         * Makefile.in: Regenerated.
2581
2582 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
2583
2584         From Brad Lucier <lucier@math.purdue.edu>:
2585         * readelf.c (process_dynamic_segment): Add cast to make sure
2586         argument to %* is int.
2587
2588 2000-02-25  H.J. Lu  <hjl@gnu.org>
2589
2590         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2591
2592 2000-02-24  Nick Clifton  <nickc@cygnus.com>
2593
2594         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2595         * configure: Regenerate.
2596
2597         * dlltool.c: Add support for sh-pe and mips-pe targets.
2598         * rescoff.c: Add support for sh-pe and mips-pe targets.
2599
2600 2000-02-23  H.J. Lu  <hjl@gnu.org>
2601
2602         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2603
2604 2000-02-22  Nick Clifton  <nickc@cygnus.com>
2605
2606         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2607
2608 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
2609
2610         From Brad Lucier <lucier@math.purdue.edu>:
2611         * readelf.c (process_version_sections): Add casts to make sure
2612         argument to %* is an int.
2613         (process_mips_specific): Add casts to make printf arguments match
2614         format.
2615
2616 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2617
2618         * objdump.c (dump_section_header): Change `opb' to unsigned.
2619         (find_symbol_for_address): Same here.
2620         (disassemble_data): And here.  Change `addr_offset',
2621         `stop_offset', `nextstop_offset' to unsigned long.
2622         (dump_data): Change opb to unsigned.
2623
2624 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2625
2626         * resrc.c: Remove unmatched #if for cygwin.
2627
2628 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2629
2630         * binutils.texi: Document the change of flavor name from atpcs-special
2631         to special-atpcs to prevent name conflict in gdb.
2632
2633 2000-02-08  Timothy Wall  <twall@redhat.com>
2634
2635         * objdump.c (show_line): Fix bug preventing printing of the very
2636         first line (line zero) of a file when interlisting source and
2637         assembly.  Added option to print entire context from start of file
2638         when the first line from that file is encountered.
2639
2640 2000-02-03  Timothy Wall <twall@redhat.com>
2641
2642         * objdump.c (dump_section_header, find_symbol_for_address,
2643         show_line, disassemble_bytes, disassemble_data, dump_data):
2644         distinguish between octets and bytes.
2645
2646 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
2647
2648         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2649         check to unresolved symbols.
2650         (print_symbol_info_sysv):  Ditto.
2651         (print_symbol_info_posix):  Ditto.
2652
2653         * binutils.texi: Document new 'V' symclass flag for nm.
2654
2655 2000-01-27  Nick Clifton  <nickc@redhat.com>
2656
2657         * binutils.texi (objdump): Document new ARM specific
2658         disassembler options.
2659
2660         * objdump.c (usage): Call disassembler_usage().
2661
2662 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2663
2664         * readelf.c (get_dynamic_flags): Return buff.
2665         (process_dynamic_segment): Don't pass error strings to printf
2666         as format arg.
2667         (read_and_display_attr): Use lx and ld to print longs.
2668         (process_corefile_note_segment): Cast bfd_vma to unsigned long
2669         before printing.
2670         Update copyright.
2671
2672 2000-01-17  Nick Clifton  <nickc@cygnus.com>
2673
2674         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2675
2676 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2677
2678         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2679         false.
2680         (debug_tag_type): Here too.
2681         * ieee.c (ieee_builtin_type): And here.
2682         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2683
2684 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2685
2686         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2687         System/370".
2688
2689 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2690
2691         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2692
2693 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2694
2695         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2696
2697 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2698
2699         * windres.c (long_options): Add --use-temp-file and
2700         --no-use-temp-file options.
2701         (usage): Document.
2702         (main): Handle.
2703
2704         * windres.h: Update read_rc_file prototype.
2705
2706         * resrc.c (cpp_temp_file): New static variable.
2707         (istream_type): New static variable.
2708         (close_pipe): Delete function.
2709         (run_cmd): New static function.
2710         (open_input_stream): New static function.
2711         (close_input_stream): New static function.
2712         (look_for_default): Handle DOS directory separator. Use
2713         open_input_stream instead of popen.
2714         (read_rc_file): Likewise.
2715
2716         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2717         options.
2718
2719 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2720
2721         * dlltool.c (create_compat_implib): New variable.
2722         (gen_exp_file): Use.
2723         (make_one_lib_file): Use.
2724         (long_options): Add --compat-implib option.
2725         (usage): Handle.
2726         (main): Handle.
2727
2728         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2729         (main): Use. Don't look for "32" in cygwin and mingw target names.
2730
2731 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2732
2733         * binutils.texi: Document new, ARM specific disassembler
2734         command line switch "-M force-thumb".
2735
2736 For older changes see ChangeLog-9899
2737 \f
2738 Local Variables:
2739 mode: change-log
2740 left-margin: 8
2741 fill-column: 74
2742 version-control: never
2743 End: