OSDN Git Service

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