2001-08-29 Ben Elliston <bje@redhat.com>
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2001-08-29  Ben Elliston  <bje@redhat.com>
2
3         * stabs.c (stab_demangle_template): Initialise s4.
4
5 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
6
7         * readelf.c (dump_relocations): Recognise EM_PPC64.
8
9 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
10
11         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
12
13 2001-08-25  H.J. Lu  <hjl@gnu.org>
14
15         * nm.c (print_width): New.
16         (display_rel_file): Set `print_width' according to
17         bfd_sprintf_vma.
18         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
19
20 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
21
22         * objcopy.c (use_alt_mach_code): New variable.
23         (OPTION_ALT_MACH_CODE): Define.
24         (copy_options): Added --alt-machine-code.
25         (copy_main): Handle it.
26         (copy_object): Switch to alternate machine code if requested.
27         * doc/binutils.texi: Document new option.
28         * NEWS: Likewise.
29
30 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
31
32         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
33
34 2001-08-21  H.J. Lu  <hjl@gnu.org>
35
36         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
37         (display_debug_info): Cast for 64bit hosts.
38         (display_debug_frames): Likewise.
39         (process_mips_specific): Likewise.
40
41 2001-08-21  Andreas Jaeger  <aj@suse.de>
42
43         * coffgrok.h: Add missing parameter for prototype of coff_grok.
44
45         * sysdump.c: Add missing prototypes.
46         * srconv.c: Likewise.
47         * unwind-ia64.c: Likewise.
48         * coffdump.c: Likewise.
49
50         * sysinfo.y: Print prototypes, include <ansidecl.h>.
51
52         * coffgrok.c: Add missing prototypes, include libiberty.h instead
53         of declaring xcalloc.
54
55 2001-08-10  H.J. Lu  <hjl@gnu.org>
56
57         * nm.c (print_value): Add one arg, bfd *.
58         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
59         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
60         (print_symbol_info_sysv): Likewise.
61         (print_symbol_info_posix): Likewise.
62
63         * objdump.c (dump_section_header): Replace printf_vma with
64         bfd_printf_vma.
65         (print_section_stabs): Likewise.
66         (dump_bfd_header): Likewise.
67         (objdump_print_value): Replace sprintf_vma with
68         bfd_sprintf_vma.
69         (disassemble_bytes): Likewise.
70         (dump_reloc_set): Likewise.
71
72 2001-08-10  Andreas Jaeger  <aj@suse.de>
73
74         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
75         to build warnings.
76         * configure: Regenerate.
77
78 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
79
80         * readelf.c: Add missing prototypes.
81         * objdump.c: Likewise.  Format existing prototypes.
82
83 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
84
85         * readelf.c (display_debug_info): Add to abbrev_offset the addend
86         of any RELA relocation for the abbrev_offset memory location that
87         refers to the .debug_abbrev section symbol.
88
89 2001-08-07  H.J. Lu  <hjl@gnu.org>
90
91         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
92         (main): Return process_file ().
93
94 2001-08-05  Philip Blundell  <philb@gnu.org>
95
96         * doc/binutils.texi: Use "Thumb" not "THUMB".
97
98 2001-08-03  John Healy  <jhealy@redhat.com>
99
100         Patch suggested by Frank Eigler <fche@redhat.com>.
101         * objdump.c (disassemble_data): Fill in section member of the
102         disasm_info structure.
103
104 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
105
106         * configure.in: Added --with-windres option.
107         * configure: Regenerated.
108
109 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
110
111         * doc/binutils.texi: Use @command{name} for commands;
112         use @option{-opt} for options; use @table @env for list of options;
113         remove spaces arround [ | ] in synopsis.
114
115         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
116         center title.
117
118 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
119
120         * objcopy.c: Fix formatting.
121         (section_rename): New structure.
122         (OPTION_RENAME_SECTION): New switch.
123         (copy_usage): Document new switch.
124         (add_section_rename): New function: Add a node to the section
125         rename list.
126         (find_section_rename): New function: Find the new name and
127         flags for a section.
128         (setup_section): Call find_section_name to determine the name
129         of the output section.
130         (copy_main): Handle OPTION_RENAME_SECTION.
131         * binutils.texi: Document new switch.
132         * NEWS: Mention new switch.
133
134 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
135
136         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
137         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
138         bug-binutils@gcc.org.
139
140 2001-07-28  Matthias Kramm  <kramm@quiss.org>
141
142         * bucomm.c (list_supported_architectures): New function.
143         * bucomm.h (list_supported_architectures): Declare.
144         * objdump.c (usage): Call the above.
145
146 2001-07-25  Dave Brolley  <brolley@redhat.com>
147
148         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
149         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
150
151 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
152
153         * README: Update for 2.11.  Change bug reporting email address.
154         * MAINTAINERS: Tidy up.  Change bug reporting email address.
155
156 2001-07-16  DJ Delorie  <dj@redhat.com>
157
158         * resres.c (write_res_header): Align header size.
159         (res_align_file): Calculate alignment correctly.
160
161         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
162         correct 10).
163         * resrc.c (write_rc_resource): Likewise.
164         * windres.h (SUBLANG_SHIFT): Define - as 10.
165
166 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
167
168         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
169
170 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
171
172         * MAINTAINERS: Add notes about branch checkins.
173
174 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
175
176         * readelf.c (display_debug_macinfo): New function, display
177         .debug_macinfo section.
178         (do_debug_macinfo): New variable.
179         (parse_args): Handle "-w[mM]" to mean display macro info.
180         (process_section_headers): Handle debug_macinfo.
181         (debug_displays): Replace unsupported function with macinfo
182         function for .debug_macinfo display.
183         * doc/binutils.texi: Document new command line switch.
184         * NEWS: Document new feature of readelf.
185
186 2001-07-05  H.J. Lu  <hjl@gnu.org>
187
188         * objcopy.c (filter_symbols): Don't turn undefined symbols
189         into local.
190
191 2001-07-03  H.J. Lu <hjl@gnu.org>
192
193         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
194         $@.pod.
195         (ar.1): Likewise.
196         (dlltool.1): Likewise.
197         (nlmconv.1): Likewise.
198         (nm.1): Likewise.
199         (objcopy.1): Likewise.
200         (objdump.1): Likewise.
201         (ranlib.1): Likewise.
202         (readelf.1): Likewise.
203         (size.1): Likewise.
204         (strings.1): Likewise.
205         (strip.1): Likewise.
206         (windres.1): Likewise.
207         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
208         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
209         $(DEMANGLER_NAME).
210         (as.1): Removed.
211         * doc/Makefile.in: Regenerated.
212
213 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
214
215         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
216
217 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
218
219         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
220
221 2001-06-29  James Cownie <jcownie@etnus.com>
222
223         * readelf.c: Support DWARF 2.1 attributes.
224
225 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
226
227         * readelf.c (GET_DATA_ALLOC): Remove.
228         (GET_DATA): Remove.
229         (get_data): New function combining above macros, with an extra
230         test for zero size.
231         (slurp_rela_relocs): Use get_data, and catch error return.
232         (slurp_rel_relocs): Likewise.
233         (get_32bit_program_headers): Likewise.
234         (get_64bit_program_headers): Likewise.
235         (get_32bit_section_headers): Likewise.
236         (get_64bit_section_headers): Likewise.
237         (get_32bit_elf_symbols): Likewise.
238         (get_64bit_elf_symbols): Likewise.
239         (process_section_headers): Likewise.
240         (process_relocs): Likewise.
241         (slurp_ia64_unwind_table): Likewise.
242         (process_unwind): Likewise.
243         (get_32bit_dynamic_segment): Likewise.
244         (get_64bit_dynamic_segment): Likewise.
245         (process_dynamic_segment): Likewise.
246         (process_version_sections): Likewise.
247         (process_symbol_table): Likewise.
248         (dump_section): Likewise.
249         (display_debug_info): Likewise.
250         (display_debug_section): Likewise.
251         (process_section_contents): Likewise.
252         (process_corefile_note_segment): Likewise.
253         (process_mips_specific): Likewise.  Also free econf32, econf64.
254
255 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
256
257         * readelf.c (dump_relocations): Print "bad symbol index" if
258         symtab == NULL with non-zero symtab_index.
259         (process_relocs): Don't bomb if reloc section has no symsec.
260
261 2001-06-24  H.J. Lu  <hjl@gnu.org>
262
263         * objcopy.c (strip_main): Revert the change made on 2001-05-30
264         by accident.
265         (copy_main): Apply the the change made to strip_main on
266         2001-05-30 by accident.
267
268 2001-06-23  Andreas Jaeger  <aj@suse.de>
269
270         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
271         parameter 'code'.
272         (unw_decode_x2): Likewise.
273         (unw_decode_x3): Likewise.
274         (unw_decode_x4): Likewise.
275
276 2001-06-23  Ben Elliston  <bje@redhat.com>
277
278         * MAINTAINERS: Add myself as M88k maintainer.
279
280 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
281
282         * objcopy.c (strip_main): Support -o or --output-file command lien
283         switch.
284
285 2001-06-19  H.J. Lu <hjl@gnu.org>
286
287         * doc/Makefile.in: Regenerated.
288
289 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
290
291         * readelf.c: Restore formatting.
292
293 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
294
295         * Makefile.am: Move documentation into doc subdirectory.
296         * Makefile.in: Regenerated.
297         * binutils.texi: Move into doc subdirectory.
298         * addr2line.1: Removed.
299         * ar.1: Likewise.
300         * dlltool.1: Likewise.
301         * nlmconv.1: Likewise.
302         * nm.1: Likewise.
303         * objcopy.1: Likewise.
304         * objdump.1: Likewise.
305         * ranlib.1: Likewise.
306         * readelf.1: Likewise.
307         * size.1: Likewise.
308         * strings.1: Likewise.
309         * strip.1: Likewise.
310         * windres.1: Likewise.
311         * cxxfilt.man: Likewise.
312         * doc: New Directory.
313         * doc/Makefile.am: New file.
314         * doc/Makefile.in: Generate.
315
316 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
317
318         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
319
320 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
321
322         * MAINTAINERS: Update my email address.
323
324 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
325
326         * objcopy.c: Add new switches: --keep-global-symbol,
327         --keep-symbols, --localize-symbols, --keep-global-symbols and
328         --weaken-symbols.
329         * binutils.texi: Document new switches.
330         * objcopy.1: Regenerate.
331         * NEWS: Announce new feature.
332
333 2001-05-28  Andreas Jaeger  <aj@suse.de>
334
335         * readelf.c (display_debug_frames): Fix warnings: Remove unused
336         variables, fix format strings.
337
338 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
339
340         * objdump.c (disassemble_bytes): Remove section VMA adjustment
341         when computing the address of the line to show.
342
343 2001-05-16  Richard Henderson  <rth@redhat.com>
344
345         * readelf.c (do_debug_frames_interp): New.
346         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
347         (byte_get_big_endian): Likewise.
348         (parse_args) ['F']: Set do_debug_frames_interp.
349         (Frame_Chunk): Make data_factor signed, add fde_encoding.
350         (frame_display_row): Don't trunc pc_begin to int.
351         (size_of_encoded_value): New.
352         (display_debug_frames): Handle 64-bit targets.  Print raw data
353         unless do_debug_frames_interp.
354         (debug_displays): Remove duplicate .debug_frame.
355
356 2001-05-15  Ralf Baechle  <ralf@gnu.org>
357
358         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
359         The former constant was never in active use and is used otherwise
360         by the ABI.
361
362 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
363
364         * readelf.c (process_unwind): Print all unwind sections, not just
365         one.
366
367 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
368
369         * readelf.c (process_unwind): Remove const specifier.
370
371 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
372
373         * strings.c (isgraphic): Do not use isascii() unless it is needed
374         for isprint() to work.
375         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
376
377 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
378
379         * NEWS: Announce support for OpenRISC.
380
381 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
382
383         * dlltool.c (do_default_excludes): Initialise to true.
384
385 2001-04-10  Alan Modra  <amodra@one.net.au>
386
387         * MAINTAINERS: Update my email address
388         * nm.c (print_symbol_info_bsd): Use a simple printf string.
389
390 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
391
392         * readelf.c (display_debug_lines): Fix typo for "Prologue".
393
394 2001-03-30  H.J. Lu  <hjl@gnu.org>
395
396         * readelf.c (process_unwind): Just return if do_unwind is 0.
397
398 2001-03-28  Roger Sayle  <roger@metaphorics.com>
399
400         * dlltool.c (make_one_lib_file): Fix section flags for
401         .text, .data and .bss in stub ds*.o files to match those
402         generated by gas.
403
404 2001-03-29  H.J. Lu  <hjl@gnu.org>
405
406         * readelf.c (process_unwind): Only do unwind sections for
407         IA64.
408
409 2001-03-28  H.J. Lu  <hjl@gnu.org>
410
411         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
412         * Makefile.in: Regenerate.
413
414 2001-03-26  Andreas Jaeger  <aj@suse.de>
415
416         * binutils.texi (nm): Fix texi syntax.
417
418 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
419
420         * binutils.texi: Put @c man begin and @c man end indications
421         to generate man pages using texi2pod and pod2man. Put @c man title
422         to identify each man. Add SEEALSO entries.
423         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
424         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
425         sort the list.
426         (*.1): Build the man pages from binutils.texi.
427         * Makefile.in: Regenerate.
428
429 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
430
431         * defparse.y (opt_equal_name): allow "." in name.
432         * dlltool.c (def_exports): Added ability to generate forwarded exports.
433         (gen_exp_file): Likewise.
434
435 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
436
437         * NEWS: Document addition of -B switch to objcopy.
438         * binutils.texi:  Document addition of -B switch to objcopy.
439         * objcopy.c: (copy_options): Add --binary-architecture.
440         (copy_usage): Document -B/--binary-architecture.
441         (copy_main): Support -B/--binary-architecture.  Set
442         bfd_external_binary_architecture.
443
444 2001-03-11  Andreas Jaeger  <aj@suse.de>
445
446         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
447         (dump_relocations): Likewise.
448         (get_machine_name): Likewise.
449
450 2001-02-28  Nick Clifton  <nickc@redhat.com>
451
452         * readelf.c: (struct unw_aux_info): Remove const modifier for
453         'strtab' field.
454         (process_unwind): Remove non-K&R compliant LHS type cast in call
455         to GET_DATA_ALLOC macro.
456
457 2001-02-28  Philip Blundell  <pb@futuretv.com>
458
459         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
460         ABI is in use; remove ambiguity between the "unknown" EABI and
461         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
462         renamed EF_xx constants.
463
464 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
465
466         * configure.in (BFD_VERSION): New.
467         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
468         * configure: Regenerate.
469         * Makefile.am: Run "make dep-am"
470         * Makefile.in: Regenerate.
471
472 2001-02-14  Nick Clifton  <nickc@redhat.com>
473
474         * MAINTAINERS: Add "Obvious Fix" rule.
475
476 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
477
478         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
479         literal concatenation.
480
481 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
482
483         * readelf.c (struct unw_aux_info): Remove const from the info member.
484         (process_unwind): Don't type-cast the third argument to the
485         GET_DATA_ALLOC macro.
486
487 2001-02-11  Nick Clifton  <nickc@redhat.com>
488
489         * readelf.c (dump_relocations): Free corrected allocated
490         array.
491         (process_unwind): Fix compile time warning.
492
493 2001-02-10  Nick Clifton  <nickc@redhat.com>
494
495         * binutils.texi: Document new --unwind option to readelf.
496
497 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
498
499         * readelf.c: Add linux target for S/390.
500
501 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
502
503         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
504         printf is a macro.
505
506 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
507
508         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
509         * aclocal.m4: Regenerate.
510         * configure: Regenerate.
511
512 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
513
514         * bucomm.c (bfd_target_vector): Change extern array to pointer.
515         * objdump.c (bfd_target_vector): Likewise.
516
517 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
518
519         * readelf.c (process_unwind): New function.
520         (slurp_ia64_unwind_table): Ditto.
521         (dump_ia64_unwind): Ditto.
522         (find_symbol_for_address): Ditto.
523         (slurp_rela_relocs): New function (split off from dump_relocations()).
524         (slurp_rel_relocs): Ditto.
525         (parse_args): Handle '-u' option.
526
527         * unwind-ia64.c: New file.
528         * unwind-ia64.h: New file.
529         * Makefile.am: Include unwind-ia64.c in readelf build.
530         * Makefile.in: Regenerate.
531         * po/binutils.pot: Regenerate.
532
533 2001-02-04  Philip Blundell  <philb@gnu.org>
534
535         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
536         * configure: Regenerate.
537
538 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
539
540         * ieee.c (ieee_add_bb11): Don't check for backslashes
541         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
542
543 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
544
545         * ieee.c: Update copyright.
546         (ieee_start_compilation_unit): Don't check for backslashes
547         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
548
549         * stabs.c: Update copyright. Include "filenames.h".
550         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
551
552 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
553
554         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
555         sections are present before using them.  Remove code duplication.
556         (process_symbol_table): Check if VERDEF or VERNEED sections are
557         present before using them.
558
559 2001-01-17  Nick Clifton  <nickc@redhat.com>
560
561         * objcopy.c (copy_object): Fail if attempting to convert the
562         endianness of the input object file.
563
564         * binutils.texi: Explain that objcopy cannot convert endianness.
565
566 2001-01-16  Nick Clifton  <nickc@redhat.com>
567
568         * readelf.c (string_table_length): New variable.
569         (SECTION_NAME): Catch out of range indices and missing section
570         pointers.
571         (process_section_headers): Delete useless local variable
572         string_table_offset.  Set the value of string_table_length
573         after loading the string table.
574         (process_mips_specific): Use SECTION_NAME macro.
575         (process_file): Set string_table_length to 0 when it is freed.
576
577 2001-01-12  Nick Clifton  <nickc@redhat.com>
578
579         * version.c (print_version): Update copyright date.
580
581 2001-01-11  Peter Targett  <peter.targett@arccores.com>
582
583         * readelf.c (dump_relocations): Include selection with EM_ARC.
584         (get_machine_name) Update name to "ARC".
585
586 2001-01-09  Nick Clifton  <nickc@redhat.com>
587
588         * Makefile.am: Add rule to build objdump.o from objdump.c and
589         using OBJDUMP_DEFS.
590         * Makefile.in: Regenerate.
591
592         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
593         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
594         -DDISASSEMBLER_NEEDS_RELOCS.
595         * configure: Regenerate.
596
597         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
598         is defined read in the relocs even if dump_reloc_info is
599         false.
600
601 2001-01-07  Philip Blundell  <philb@gnu.org>
602
603         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
604         `bug-binutils'.
605         * README: Likewise.
606
607 2000-12-19  Nick Clifton  <nickc@redhat.com>
608
609         * dlltool.c: Add missing support for arm-epoc-pe.
610         * configure.in: Add missing support for arm-epoc-pe.
611         * configure: Regenerate.
612
613 2000-12-15  Nick Clifton  <nickc@redhat.com>
614
615         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
616         Mode parts of the x86 port.
617
618 2000-12-04  Andreas Jaeger  <aj@suse.de>
619
620         * readelf.c (guess_is_rela): Add EM_X86_64.
621         (dump_relocations): Add EM_X86_64.
622         (get_machine_name): Add EM_X86_64.
623         Include "elf/x86-64.h".
624
625 2000-12-12  Nick Clifton  <nickc@redhat.com>
626
627         * readelf.c: Fix formatting.
628
629 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
630
631         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
632
633 2000-12-07  Andrew Haley  <aph@redhat.com>
634
635         * readelf.c (display_debug_frames): Only display columns that are
636         referenced by the frame debug info.
637
638 2000-12-05  Nick Clifton  <nickc@redhat.com>
639
640         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
641
642 2000-12-04  Jason Merrill  <jason@redhat.com>
643
644         * readelf.c (process_section_headers): Handle linkonce.wi sections.
645         (display_debug_section): Likewise.
646         (display_debug_info): Display CU header before bailing.
647
648 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
649
650         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
651         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
652         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
653
654         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
655         and E_MIPS_ARCH_64.
656
657         * readelf.c (get_machine_flags): Add case for
658         E_MIPS_MACH_SB1.
659
660 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
661
662         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
663
664 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
665
666         * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
667         Change sourceware.cygnus.com to sources.redhat.com.
668         Fix typo for "amongst".
669
670 2000-11-28  Nick Clifton  <nickc@redhat.com>
671
672         * strip.1 (COPYING): Mention that the GNU Free Documentation
673         License is present in the sources, but not the output, and
674         also available from the GNU website.
675         (GNU Free Documentation License): Comment out this section.
676         * strings.1: Ditto.
677         * size.1: Ditto.
678         * ranlib.1: Ditto.
679         * objdump.1: Ditto.
680         * objcopy.1: Ditto.
681         * nm.1: Ditto.
682         * nlmconv.1: Ditto.
683         * ar.1: Ditto.
684         * addr2line.1: Ditto.
685
686 2000-11-27  DJ Delorie  <dj@redhat.com>
687
688         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
689         (parse_args): Support -wf option.
690         (process_section_headers): Ditto.
691         (debug_displays): Ditto.
692         (display_debug_frames): New, dump *_frame sections.
693         (frame_need_space): Support for above.
694         (frame_display_row): Ditto.
695         * binutils.texi: Document it.
696
697 2000-11-24  Nick Clifton  <nickc@redhat.com>
698
699         * NEWS: Announce support for v5t, v5te and XScale.
700
701 2000-11-22  Nick Clifton  <nickc@redhat.com>
702
703         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
704         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
705         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
706         (get_elf_section_flags: Add SHF_GROUP.
707         (process_section_headers): Adjust output for 32-bit binaries
708         to look nice on an 80 column terminal.
709
710 2000-11-20  H.J. Lu  <hjl@gnu.org>
711
712         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
713         ELFOSABI_AIX.
714
715 2000-11-17  Richard Henderson  <rth@redhat.com>
716
717         * readelf.c (display_debug_lines): Adjust last change to
718         use sizeof (external->li_length).
719
720 2000-11-17  Richard Henderson  <rth@redhat.com>
721
722         * readelf.c (display_debug_lines): Fix section length check
723         and end_of_sequence computation.
724
725 2000-11-06  Nick Clifton  <nickc@redhat.com>
726
727         * binutils.texi: Add GNU Free Documentation License.
728         * objcopy.1: Add GNU Free Documentation License.
729         * objdump.1: Add GNU Free Documentation License.
730         * addr2line.1: Add GNU Free Documentation License.
731         * ar.1: Add GNU Free Documentation License.
732         * nlmconv.1: Add GNU Free Documentation License.
733         * nm.1: Add GNU Free Documentation License.
734         * ranlib.1: Add GNU Free Documentation License.
735         * size.1: Add GNU Free Documentation License.
736         * strings.1: Add GNU Free Documentation License.
737         * strip.1: Add GNU Free Documentation License.
738
739 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
740
741         * objcopy.c (--srec-len=nn): New parameter to set the
742         maximum length of generated Srecords.
743         (--srec-forceS3): New parameter that restricts the generation of
744         Srecords to type S3 only.
745         * binutils.texi: Document new command line switches.
746         * objcopy.1: Docuemnt the new command line switches.
747         * NEWS: Announce the existence of the new command line switches.
748
749 2000-10-31  Nick Clifton  <nickc@redhat.com>
750
751         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
752         code.  Add Eric Chrisopher as maintainer of MN10300 port.
753
754 2000-10-12  Roger Sayle  <roger@metaphorics.com>
755
756         * Make comma after string after icon/control optional.
757
758 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
759
760         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
761
762         * NEWS: Mention support for MIPS32.
763
764 2000-09-08  Nick Clifton  <nickc@redhat.com>
765
766         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
767
768 2000-09-07  H.J. Lu  <hjl@gnu.org>
769
770         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
771         * configure: Rebuild.
772
773 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
774
775         * configure: Rebuilt with new libtool.m4.
776
777 2000-09-05  Nick Clifton  <nickc@redhat.com>
778
779         * aclocal.m4: Regenerate.
780         * config.in: Regenerate.
781         * configure: Regenerate.
782
783 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
784
785         * strip.1: Fix stray '\' in -o formatting.
786
787 2000-09-02  Nick Clifton  <nickc@redhat.com>
788
789         * configure.in: Increase version number to 2.10.91.
790         * configure: Regenerate.
791         * aclocal.m4: Regenerate.
792         * config.in: Regenerate.
793         * po/binutils.pot: Regenerate.
794
795 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
796
797         * acinclude.m4: Include libtool and gettext macros from the
798         top level.
799         * aclocal.m4, configure: Rebuilt.
800
801 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
802
803         * resrc.c (close_input_stream): Delete extraneous logic
804
805 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
806
807         * NEWS: Mention support for CRIS.
808
809 2000-08-21  Nick Clifton  <nickc@redhat.com>
810
811         * addr2line.c: Changed email address for Ulrich Lauther.
812
813 2000-08-17  Christopher C. Chimelis <chris@debian.org>
814
815         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
816
817 2000-08-17  Nick Clifton  <nickc@redhat.com>
818
819         * readelf.c (display_debug_pubnames): Only issue warning
820         message once.  Terminate message with a new line.
821         (display_debug_aranges): Only display version 2 debug info.
822
823 2000-08-14  Todd Vierling <tv@wasabisystems.com>
824
825         * objcopy.c (strip_main): Silently accept -d as an alias for -g
826         for compatability with old BSD systems.
827
828 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
829
830         * NEWS: Mention i860 support.
831
832 2000-08-11  Carlo Wood <carlo@alinoe.com>
833
834         * addr2line.c (main): Add const to char *.
835
836 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
837
838         * ar.c (main): Don't crash if called with no arguments
839         or only '-X32_64' as an argument.
840
841 2000-08-08  DJ Delorie  <dj@redhat.com>
842
843         * resrc.c: use "gcc -xc" instead of -xc-header
844
845 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
846
847         * readelf.c (elf/i860.h): Include.
848         (dump_relocations): Add recognition of i860 architecture.
849         (guess_is_rela): Add recognition of i860 architecture.
850
851 2000-08-03  Nick Clifton  <nickc@cygnus.com>
852
853         * MAINTAINERS: Add information about CGEN maintainers.
854
855 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
856
857         * nm.c (main): Ignore '-X32_64' as an option.
858         * ar.c (main): Likewise.
859         * binutils.texi (nm): Document new option.
860         (ar): Likewise.
861
862 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
863
864         * rdcoff.c (external_coff_symbol_p): K&R-ise.
865
866 2000-07-20  H.J. Lu  <hjl@gnu.org>
867
868         * binutils.texi: Put back "@end table" deleted by
869         accident.
870
871 2000-07-05  Kenneth Block  <krblock@computer.org>
872
873         * nm.c: Add optional style to demangle switch.
874         * objdump.c: Add optional style to demangle switch.
875         * addr2line.c: Add optional style to demangle switch.
876         * binutils.texi: Document optional style to demangle
877         switch.
878
879 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
880
881         * MAINTAINERS: Add self as CRIS port maintainer.
882         * readelf.c: Include elf/cris.h.
883         (guess_is_rela): Handle EM_CRIS.
884         (dump_relocations): Ditto.
885         (get_machine_name): Ditto.
886         * Makefile.am: Rebuild dependencies.
887         * Makefile.in: Regenerate.
888         * po/binutils.pot: Regenerate.
889
890 2000-07-19  H.J. Lu  <hjl@gnu.org>
891
892         * readelf.c (get_dynamic_type): Change "AUXILARY" to
893         "AUXILIARY".
894         (process_dynamic_segment): Print out strings for DT_CONFIG,
895         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
896
897 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
898
899         * nm.c (usage): Change output of `nm --help' to include a
900         description of the purpose of the program and a detailed
901         description of the accepted options.
902
903 2000-07-19  H.J. Lu  <hjl@gnu.org>
904
905         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
906         to DF_1_NODEFLIB.
907
908 2000-07-19  H.J. Lu  <hjl@gnu.org>
909
910         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
911
912 2000-07-19  H.J. Lu  <hjl@gnu.org>
913
914         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
915         DT_FEATURE.
916         (process_dynamic_segment): Likewise.
917
918         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
919         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
920         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
921         DF_1_NODUMP and DF_1_CONLFAT.
922
923 2000-07-18  Nick Clifton  <nickc@cygnus.com>
924
925         * binutils.texi (readelf): Fix spelling typo.
926
927 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
928
929         * objdump.c (usage): Make output of `objdump --help' more
930         consistent with the rest of the GNU world.  Add a line describing
931         the purpose of the program.
932
933 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
934
935         * stabs.c (parse_stab_range_type): Cast to proper type to fix
936         warning.
937
938 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
939
940         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
941         to fix warnings.
942         (process_symbol_table): Ditto.
943         (procesS_extended_line_op): Ditto.
944         (display_debug_lines): Ditto.
945         (display_debug_pubnames): Ditto.
946         (read_and_display_attr): Ditto.
947
948 2000-07-09  Nick Clifton  <nickc@cygnus.com>
949
950         * MAINTAINERS: Add several more port specific maintainers.
951
952 2000-07-05  Nick Clifton  <nickc@cygnus.com>
953
954         * MAINTAINERS: Add blanket write privs for Michael Meissner.
955
956 2000-06-05  DJ Delorie  <dj@redhat.com>
957
958         * MAINTAINERS: New.
959
960 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
961
962         * dllwrap.c: Changed mistaken dyn_string_append() calls
963         to dyn_string_append_cstr().
964
965 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
966
967         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
968         struct debug_type stores size in bytes.
969
970 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
971
972         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
973         (CLEANFILES): Add DEPA.
974         * Makefile.in: Regenerate.
975
976 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
977
978         * ar.c: Revert incorrect 2000-06-25 patch.
979         * bucomm.c: Likewise.
980
981 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
982
983         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
984         (external_coff_symbol_p): New function.
985         (parse_coff): Use it.
986
987 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
988
989         * ar.c (normalize): Advance past both characters in a DOS based
990         <letter>: filepath prefix.
991         (main): Likewise.
992         * bucomm.c (make_tempname): Likewise.
993
994 2000-06-24  Nick Clifton  <nickc@cygnus.com>
995
996         * objdump.c (usage): Fix description of --stabs switch.
997
998 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
999
1000         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1001         find one.
1002         * Makefile.in: Regenerate.
1003
1004 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1005
1006         * ar.c (normalize): Correct pointer comparison when checking for
1007         backslashes.
1008         (main): Likewise.
1009         * bucomm.c (make_tempname): Likewise.
1010
1011         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1012         and search for backslashes in the original pathname.
1013         (ieee_add_bb11): Likewise.
1014
1015 2000-06-18  Nick Clifton  <nickc@redhat.com>
1016
1017         * ar.c (print_contents): Improve verbose message.
1018
1019 2000-06-15  H.J. Lu  <hjl@gnu.org>
1020
1021         * dyn-string.c: Removed. Not needed with dyn-string.c in
1022         libiberty.
1023         * dyn-string.h: Likewise.
1024
1025         * Makefile.am: Remove references to dyn-string.c and
1026         dyn-string.h. Rebuild dependency.
1027         * Makefile.in: Rebuild.
1028
1029 2000-06-15  H.J. Lu  <hjl@gnu.org>
1030
1031         * binutils.texi: Put a warning on copying relocatable object
1032         files between two different formats.
1033
1034 2000-06-13  DJ Delorie  <dj@cygnus.com>
1035
1036         * rcparse.y (control): ICON controls take an id as the first
1037         parameter, not an optional string.  Also, call new convenience
1038         function that takes res_id's.
1039         * resrc.c (define_control): missing text means zero-length string,
1040         not zero ID.
1041         (define_icon_control): New.
1042         * windres.h: declare define_icon_control.
1043
1044 2000-06-13  H.J. Lu  <hjl@gnu.org>
1045
1046         * configure: Regenerate.
1047
1048 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1049
1050         * configure.in (VERSION): Update to show this is the CVS mainline.
1051
1052 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1053
1054         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1055         analogous to <SPACE>.
1056
1057 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1058
1059         * objdump.c (display_target_list): Use bfd_close_all_done, not
1060         bfd_close to fix crash caused by 2000-05-24 change.
1061
1062 2000-05-25  DJ Delorie  <dj@cygnus.com>
1063
1064         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1065
1066 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1067
1068         * Makefile.am: Update dependencies with "make dep-am"
1069         * Makefile.in: Regenerate.
1070
1071 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1072
1073         * ar.c: Include filenames.h.
1074         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1075         and drive letters in file names.
1076         (main): Support backslashes and drive letters in argv[0].  Drop
1077         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1078         FILENAME_CMP instead of strcmp to compare file names.
1079         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1080         DJGPP v2.
1081         (do_quick_append) [__GO32__]: Ditto.
1082         (get_pos_bfd, delete_members, move_members, replace_members):
1083         Compare file names with FILENAME_CMP.
1084
1085         * bucomm.c: Include filenames.h.
1086         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1087         forward/backward slashes and drive letters in file names.
1088
1089         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1090         mixed forward/backward slashes and drive letters in file names.
1091
1092         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1093         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1094         mode.
1095
1096         * objcopy.c: Include filenames.h.
1097         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1098         before comparing to "strip".
1099         Use FILENAME_CMP to compare file names.
1100
1101         * arsup.c: Include filenames.h.
1102         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1103         FILENAME_CMP to compare file names.
1104         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1105         the temporary file name.
1106
1107         * configure.in: Check for setmode.
1108         * configure: Regenerate.
1109
1110 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1111
1112         * objdump.c (display_target_list): Close the bfd.
1113         (display_info_table): Likewise.
1114
1115 2000-05-14  H.J. Lu  (hjl@gnu.org)
1116
1117         * objcopy.c (filter_symbols): Don't strip global symbols in
1118         relocatable object files.
1119
1120 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1121
1122         * size.c (usage): Associate short options with corresponding long
1123         option to give a clue as to their function.
1124
1125 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1126
1127         * size.c (main): Accept and ignore `-f' option.
1128
1129 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1130
1131         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1132         bindtextdomain): Replace defines with those from intl/libgettext.h
1133         to quieten gcc warnings.
1134
1135 2000-05-12  H.J. Lu  <hjl@gnu.org>
1136
1137         * nlmconv.c (temp_filename): Removed.
1138
1139         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1140         choose_temp_base ().
1141         * objdump.c (display_target_list): Likewise.
1142         (display_info_table): Likewise.
1143
1144 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1145
1146         * objcopy.c (setup_section): Add const and gettext calls for err.
1147
1148 2000-05-02  H.J. Lu  <hjl@gnu.org>
1149
1150         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1151         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1152         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1153         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1154         and ELFOSABI_OPENBSD.
1155
1156 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1157
1158         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1159         * srconv.c: Likewise.
1160         * sysdump.c: Likewise.
1161
1162 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
1163
1164         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1165         (get_machine_name): machine name for EM_AVR added.
1166
1167 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
1168                           David Mosberger  <davidm@hpl.hp.com>
1169
1170         * Makefile.am (readelf.o): Add elf/ia64.h.
1171         * Makefile.in: Rebuild.
1172         * readelf.c: Include elf/ia64.h.
1173         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1174
1175 2000-04-17  Timothy Wall  <twall@cygnus.com>
1176
1177         * objdump.c (disassemble_data): Set octets per byte *after*
1178         resolving arch/mach for binary files.
1179
1180 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1181
1182         * arlex.l: Add directives to increase lex buffer size.
1183
1184         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1185         already included by bucomm.h.
1186
1187 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1188
1189         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1190         `strftime' since strftime is not available on all systems.
1191         (process_mips_specific): Ditto.
1192
1193 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1194
1195         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1196         --enable-build-warnings option.
1197         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1198         * Makefile.in, configure: Re-generate.
1199
1200 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1201
1202         * addr2line.c: Update copyright.
1203         * objcopy.1: Likewise, and title.
1204         * strings.1: Likewise.
1205
1206         * version.c (print_version): Add 2000.
1207
1208         * rddbg.c (read_section_stabs_debugging_info): Don't use
1209         bfd_size_type for strx to avoid printf problems if BFD64.
1210
1211         * bucomm.c: (report): Remove `static'.
1212         Move inclusion of stdarg.h/vararg.h from here.
1213         * bucomm.h: To here.
1214         (CONST): Change all occurences to const.
1215         (report): Declare it.
1216         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1217         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1218         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1219
1220         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1221         Correct a typo in an error message.
1222         (do_quick_append): Use non_fatal instead of fprintf.
1223         (move_members): Use fatal instead of fprintf, exit.
1224         * coffdump.c (main): Same here.
1225
1226         * dlltool.c (display): Delete.
1227         (warn): Delete.
1228         (inform): Use `report' instead of `display'.
1229         (rvaafter): Remove trailing \n from fatal error msg.
1230         (rvabefore): Ditto.
1231         (asm_prefix): Ditto.
1232         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1233         (def_name): Likewise.
1234         (run): Likewise.
1235         (scan_all_symbols): Likewise.
1236         (gen_lib_file): Likewise.
1237         (def_library): Likewise.  Remove extra program_name too.
1238         (run): Remove \n from inform strings.
1239         (scan_drectve_symbols): Likewise.
1240         (add_excludes): Likewise.
1241         (scan_open_obj_file): Likewise.
1242         (gen_exp_file): Likewise.
1243         (gen_lib_file): Likewise.
1244         (process_duplicates): Likewise.
1245
1246         * Makefile.am (dllwrap_SOURCES): Add version.c.
1247         * dllwrap.c (program_version): Delete.
1248         (print_version): Delete.
1249         (display): Always print trailing \n.
1250         (warn): New.
1251         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1252         (run): Here too.
1253         (main): And here.
1254         (usage): gettext'ify.
1255         (long_options): Add missing initialisers.
1256
1257         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1258         (select_output_format): Likewise.
1259         (powerpc_mangle_relocs): Likewise.
1260         (link_inputs): Likewise.
1261
1262         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1263         (set_output_format): Likewise.
1264         (main): Use non_fatal instead of fprintf.
1265         (display_rel_file): Likewise.
1266
1267         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1268         (slurp_dynamic_symtab): Same here.
1269         (disassemble_data): And here.
1270         (read_section_stabs): And here.
1271         (read_section_stabs): And here.
1272         (dump_bfd): And here.
1273         (main): And here.
1274         (objdump_sprintf): Use fatal instead of fprintf, exit.
1275         (disassemble_data): Same here.
1276
1277         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1278         (parse_coff_struct_type): Same here.
1279         (parse_coff_enum_type): And here.
1280         (parse_coff): And here.
1281         * rddbg.c (read_debugging_info): And here.
1282         * size.c (main): And here.
1283         * windres.c (format_from_name): And here.
1284         * wrstabs.c (stab_write_symbol): Here too.
1285         (write_stabs_in_sections_debugging_info): And here.
1286         (stab_int_type): And here.
1287         (stab_struct_field): And here.
1288         (stab_typdef): And here.
1289
1290         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1291         * srconv.c (main): Same here.
1292         * strings.c (main): And here.
1293         (integer_arg): And here.
1294         * sysdump.c (main): And here.
1295
1296 2000-04-06  Timothy Wall  <twall@cygnus.com>
1297
1298         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1299
1300 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1301
1302         * readelf.c (decode_location_expression): Loop through multiple
1303         operations.
1304         (read_and_display_attr): Pass in length.
1305
1306         * readelf.c (read_and_display_attr): Add CU offset to references.
1307         (display_debug_info): Pass it in.
1308
1309 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1310
1311         * readelf.c (decode_ARM_machine_flags): New function.
1312         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1313         targets.
1314
1315         (get_machine_name): Catch EM_AVR
1316
1317 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1318
1319         * binutils.texi: Remove optional `=' from long options that have
1320         an `=' in the argument.
1321         * objcopy.1: Here too.  Remove extra space on discard-all.
1322
1323         * binutils.texi (objcopy): Mention --redefine-sym.
1324         * objcopy.1: Here too.
1325         * NEWS: And here.
1326
1327         * objcopy.c (parse_flags): Split off flag names from error message
1328         gettext as they are not translated.
1329         (copy_main): Similarly split off option name for --add-section,
1330         --set-section-flags, --change-section-vma, --change-section-lma
1331         error messages.
1332         Some white space changes.
1333
1334         from Matthew Benjamin <matt@linuxbox.nu>
1335         * objcopy.c (struct redefine_node): New.
1336         (redefine_sym_list): New.
1337         (redefine_list_append): New.
1338         (lookup_sym_redefinition): New.
1339         (OPTION_REDEFINE_SYM): New.
1340         (copy_options): Add --redefine-sym option.
1341         (copy_usage): Mention it.
1342         (filter_symbols): Rename symbols on redefine_sym_list.
1343         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1344         (copy_main): Handle OPTION_REDEFINE_SYM.
1345
1346 2000-04-04  H.J. Lu  <hjl@gnu.org>
1347
1348         * readelf.c (process_symbol_table): Correctly read in symbol
1349         versioning information.
1350
1351 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1352
1353         * po/binutils.pot: Regenerate.
1354
1355         * addr2line.c (usage): Restore translated part of bug string.
1356         * ar.c (usage): Likewise.
1357         * nlmconv.c (show_usage): Likewise.
1358         * nm.c (usage): Likewise.
1359         * objcopy.c (copy_usage): Likewise.
1360         (strip_usage): Likewise.
1361         * objdump.c (usage): Likewise.
1362         * readelf.c (usage): Likewise.
1363         * size.c (usage): Likewise.
1364         * strings.c (usage): Likewise.
1365         * windres.c (usage): Likewise.
1366
1367         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1368         (DEP): Quote when passing vars to sub-make.  Add warning
1369         message to end.
1370         (DEP1): Rewrite for "gcc -MM".
1371         (CLEANFILES): Add DEP2.
1372         Update dependencies.
1373         * Makefile.in: Regenerate.
1374
1375 2000-04-04  H.J. Lu  <hjl@gnu.org>
1376
1377         * Makefile.am (GENERATED_HFILES): Add rcparse.h
1378         (arparse.h): Depend on arparse.c
1379         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1380
1381 2000-04-03  H.J. Lu  (hjl@gnu.org)
1382
1383         * size.c (usage): Use REPORT_BUGS_TO.
1384
1385 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1386
1387         * bucomm.h: #include "bin-bugs.h"
1388         * addr2line.c (usage): Use REPORT_BUGS_TO.
1389         * ar.c (usage): Likewise.
1390         * nlmconv.c (show_usage): Likewise.
1391         * nm.c (usage): Likewise.
1392         (OPTION_TARGET): Define.
1393         (long_options): Use OPTION_TARGET rather than 200.
1394         (main): Likewise.
1395
1396         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1397         (strip_usage): Likewise.
1398         * objdump.c (usage): Likewise.
1399         * readelf.c (usage): Likewise.
1400         * strings.c (usage): Likewise.
1401         * windres.c (usage): Likewise.
1402
1403 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1404
1405         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1406
1407 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1408
1409         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1410         string offsets in corrupt stabs entries.
1411
1412 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1413
1414         * readelf.c: Include elf/avr.h
1415         (dump_relocations): Add EM_AVR case.
1416
1417 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1418
1419         * strings.1: Correct '-bytes' to '--bytes'.
1420
1421 2000-03-08  H.J. Lu  <hjl@gnu.org>
1422
1423         * Makefile.am (install-exec-local): Depend on
1424         install-binPROGRAMS for parallel make.
1425         * Makefile.in: Regenerated.
1426
1427 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1428
1429         From Brad Lucier <lucier@math.purdue.edu>:
1430         * readelf.c (process_dynamic_segment): Add cast to make sure
1431         argument to %* is int.
1432
1433 2000-02-25  H.J. Lu  <hjl@gnu.org>
1434
1435         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1436
1437 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1438
1439         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1440         * configure: Regenerate.
1441
1442         * dlltool.c: Add support for sh-pe and mips-pe targets.
1443         * rescoff.c: Add support for sh-pe and mips-pe targets.
1444
1445 2000-02-23  H.J. Lu  <hjl@gnu.org>
1446
1447         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1448
1449 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1450
1451         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1452
1453 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1454
1455         From Brad Lucier <lucier@math.purdue.edu>:
1456         * readelf.c (process_version_sections): Add casts to make sure
1457         argument to %* is an int.
1458         (process_mips_specific): Add casts to make printf arguments match
1459         format.
1460
1461 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1462
1463         * objdump.c (dump_section_header): Change `opb' to unsigned.
1464         (find_symbol_for_address): Same here.
1465         (disassemble_data): And here.  Change `addr_offset',
1466         `stop_offset', `nextstop_offset' to unsigned long.
1467         (dump_data): Change opb to unsigned.
1468
1469 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1470
1471         * resrc.c: Remove unmatched #if for cygwin.
1472
1473 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1474
1475         * binutils.texi: Document the change of flavor name from atpcs-special
1476         to special-atpcs to prevent name conflict in gdb.
1477
1478 2000-02-08  Timothy Wall  <twall@redhat.com>
1479
1480         * objdump.c (show_line): Fix bug preventing printing of the very
1481         first line (line zero) of a file when interlisting source and
1482         assembly.  Added option to print entire context from start of file
1483         when the first line from that file is encountered.
1484
1485 2000-02-03  Timothy Wall <twall@redhat.com>
1486
1487         * objdump.c (dump_section_header, find_symbol_for_address,
1488         show_line, disassemble_bytes, disassemble_data, dump_data):
1489         distinguish between octets and bytes.
1490
1491 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1492
1493         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1494         check to unresolved symbols.
1495         (print_symbol_info_sysv):  Ditto.
1496         (print_symbol_info_posix):  Ditto.
1497
1498         * binutils.texi: Document new 'V' symclass flag for nm.
1499
1500 2000-01-27  Nick Clifton  <nickc@redhat.com>
1501
1502         * binutils.texi (objdump): Document new ARM specific
1503         disassembler options.
1504
1505         * objdump.c (usage): Call disassembler_usage().
1506
1507 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1508
1509         * readelf.c (get_dynamic_flags): Return buff.
1510         (process_dynamic_segment): Don't pass error strings to printf
1511         as format arg.
1512         (read_and_display_attr): Use lx and ld to print longs.
1513         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1514         before printing.
1515         Update copyright.
1516
1517 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1518
1519         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1520
1521 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1522
1523         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1524         false.
1525         (debug_tag_type): Here too.
1526         * ieee.c (ieee_builtin_type): And here.
1527         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1528
1529 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1530
1531         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1532         System/370".
1533
1534 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1535
1536         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1537
1538 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1539
1540         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1541
1542 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1543
1544         * windres.c (long_options): Add --use-temp-file and
1545         --no-use-temp-file options.
1546         (usage): Document.
1547         (main): Handle.
1548
1549         * windres.h: Update read_rc_file prototype.
1550
1551         * resrc.c (cpp_temp_file): New static variable.
1552         (istream_type): New static variable.
1553         (close_pipe): Delete function.
1554         (run_cmd): New static function.
1555         (open_input_stream): New static function.
1556         (close_input_stream): New static function.
1557         (look_for_default): Handle DOS directory separator. Use
1558         open_input_stream instead of popen.
1559         (read_rc_file): Likewise.
1560
1561         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1562         options.
1563
1564 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1565
1566         * dlltool.c (create_compat_implib): New variable.
1567         (gen_exp_file): Use.
1568         (make_one_lib_file): Use.
1569         (long_options): Add --compat-implib option.
1570         (usage): Handle.
1571         (main): Handle.
1572
1573         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1574         (main): Use. Don't look for "32" in cygwin and mingw target names.
1575
1576 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1577
1578         * binutils.texi: Document new, ARM specific disassembler
1579         command line switch "-M force-thumb".
1580
1581 For older changes see ChangeLog-9899
1582 \f
1583 Local Variables:
1584 mode: change-log
1585 left-margin: 8
1586 fill-column: 74
1587 version-control: never
1588 End: