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