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