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