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