OSDN Git Service

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