OSDN Git Service

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