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