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