OSDN Git Service

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