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