OSDN Git Service

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