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