OSDN Git Service

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