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