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