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