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