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