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