3 * objcopy.c (copy_object): Don't warn about the unsupported
4 architecture unless the input target is defaulted or the
5 output architecture is different from the input.
9 * po/sv.po: Updated Swedish translation.
13 * prdbg.c (pr_fix_visibility): Remove assert.
17 * addr2line.c (process_file): Rename parameter 'filename' to
18 'file_name' in order to avoid shadowing global symbol of the
24 * readelf.c (OPTION_DEBUG_DUMP): Define.
27 (parse_args): Handle --debug-dump separately from -w.
28 * doc/binutils.texi (readelf): Update documentation.
32 * po/es.po: Updated Spanish translation.
33 * po/fr.po: Updated French translation.
37 * po/es.po: Updated Spanish translation.
41 * Makefile.am: Run "make dep-am".
42 * Makefile.in: Regenerate.
46 * po/fr.po: Updated French translation.
50 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
54 * budemang.c: Include config.h and string.h/strings.h.
59 * readelf.c: Include "elf/ip2k.h".
60 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
61 (dump_relocations): Likewise.
62 (get_machine_name): Likewise.
63 * NEWS: Mention IP2K support.
67 * NEWS: Add 'Changes in 2.13'.
71 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
72 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
73 (get_section_type_name): Handle SHT_GNU_LIBLIST.
74 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
75 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
76 (process_gnu_liblist): New.
77 (process_file): Call it.
81 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
82 * Makefile.in: Regenerate.
86 * budemang.c: New file, "demangle" function.
87 * budemang.h: New file.
88 * addr2line.c (translate_addresses): Use "demangle".
89 * nm.c (print_symname): Likewise.
90 * objdump.c (objdump_print_symname): Likewise.
91 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
92 here since that obfuscates.
93 * rdcoff.c: Don't #include demangle.h.
94 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
95 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
96 (HFILES): Add budemang.h. Sort.
97 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
99 * Makefile.in: Regenerate.
103 * readelf.c: Include "elf/vax.h".
104 (guess_is_rela): Move EM_VAX from unknown to RELA case.
105 (dump_relocations): Handle VAX relocations.
106 (get_machine_flags): Handle VAX machine flags.
110 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
114 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
118 * nm.c (print_symname): When demangling, strip leading dots from
119 symbol names to avoid confusing the demangler.
123 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
124 * Makefile.in: Regenerated.
128 * configure.in: Quote bu_cv_have_fopen64.
129 * configure: Regenerate.
133 * configure.in: Check for strcoll.
134 * configure: Regenerate.
135 * config.in: Regenerate.
136 * nm.c (main): Set locale for LC_COLLATE category.
137 (non_numeric_forward): Use strcoll if available.
141 * MAINTAINERS: Add self as fr30 and frv maintainer.
145 * nm.c: Include "elf/common.h".
146 (extended_symbol_info): Add elfinfo, a pointer to
148 (SYM_SIZE): Use elfinfo if it is not NULL.
149 (get_symbol_type): New function.
150 (display_archive): Set print_width for each archive member.
151 (display_file): Likewise.
152 (display_rel_file): Don't set print_width here.
153 (print_object_filename_sysv): Handle print_width.
154 (print_archive_member_sysv): Likewise.
155 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
156 (print_symbol): Set the elfinfo field in extended_symbol_info
158 (print_object_filename_sysv): Fix the output format.
159 (print_symbol_info_sysv): Print type and section for ELF.
163 * nm.c (print_size_symbols): Remove assignment, which makes
164 the symbol's size equal to its value when --size-sort is
169 From Catherine Moore:
170 * readelf.c (elf/frv.h): #include it.
171 (guess_is_rela): Support EM_CYGNUS_FRV.
172 (dump_relocations): Ditto.
173 (get_machine_name): Ditto.
174 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
178 * readelf.c (get_file_header): Only read the first section header if
183 * nm.c (print_size): New variable. Initialize to 0.
184 (long_options): Add 'S'/"print-size".
186 (print_symbol_info_bsd): Print size only if print_size is not
189 * doc/binutils.texi: Document -S/--print-size.
193 * nm.c (struct extended_symbol_info): New strcuture: Add the size
194 of the symbols to the information provided by the symbol_info
196 (print_symbols): Pass the symbol size to print_symbol.
197 (print_size_symbols): Pass the symbol size to print_symbol.
198 (print_symbol): Extra argument: The size of the symbol. Store
199 this in the extended_symbol_info structure.
200 (print_symbol_info): Change type of info parameter to
201 extended_symbol_info. Display the size, if known.
202 (print_symbol_info_posix): Likewise.
203 (print_symbol_info_sysv): Likewise.
207 * Makefile.am: Run "make dep-am".
208 * Makefile.in: Regenerate.
209 * doc/Makefile.in: Regnerate.
211 * bucomm.c: Replace CONST with const.
213 * objdump.c: Likewise.
217 * readelf.c (DW_CFA_GNU_args_size): Don't define.
218 (DW_CFA_GNU_negative_offset_extended): Likewise.
219 (DW_CFA_GNU_window_save): Likewise.
220 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
221 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
225 * nm.c: When computing size of symbols for an ELF target use the
230 * testsuite/binutils-all/objcopy.exp: clear xfail for
232 * testsuite/binutils-all/hppa/objdump.exp: Return if
237 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
241 * objdump.c: Fix formatting.
245 * MAINTAINERS: Add self as M68k maintainer.
249 * readelf.c: Modified/Added DLX elf support.
253 * arsup.c: Fix formatting.
254 * debug.c (debug_record_label): Add missing colon to error
256 * ieee.c (parse_ieee_ty): Fix spelling typo.
257 * readelf.c (process_program_headers): Remove English assumption
258 about making a plural word.
259 (process_section_headers): Likewise.
260 (process_relocs): Allow quotes to be translated.
261 (process_unwind): Likewise,
262 (process_mips_specific): Improve error message.
263 (get_note_type): Fix spelling typo.
265 * configure.in (ALL_LINGUAS): Add sv
266 * po/sv.po: New file.
270 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
271 (unw_print_grmask): Likewise.
272 (unw_print_frmask): Likewise.
276 * arsup.c: Remove ARGSUSED.
279 * nlmconv.c: Likewise.
282 * wrstabs.c: Likewise.
286 * arlex.l: Use #include "" instead of <> for local header files.
287 * coffdump.c: Likewise.
288 * coffgrok.c: Likewise.
289 * nlmconv.c: Likewise.
290 * nlmheader.y: Likewise.
291 * srconv.c: Likewise.
292 * strings.c: Likewise.
293 * sysdump.c: Likewise.
294 * unwind-ia64.h: Likewise.
295 * windres.h: Likewise.
296 * winduni.h: Likewise.
300 * MAINTAINERS: Add self as the d10v maintainer.
304 * configure.in: Builds dlltool for i386-netbsdpe.
305 * configure: Regenerate.
309 * size.c: Fix formatting.
310 * srconv.c: Likewise.
312 * sysdump.c: Likewise.
313 * unwind-ia64.c: Likewise.
314 * wrstabs.c: Likewise.
318 * readelf.c (get_segment_type): Add PT_TLS.
319 (get_elf_section_flags): Add SHF_TLS.
320 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
321 (process_dynamic_segment): Use puts instead of printf.
322 (get_symbol_type): Support STT_TLS.
323 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
324 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
325 Add SEC_THREAD_LOCAL.
329 * rdcoff.c: Fix formatting.
331 * readelf.c: Likewise.
332 * rename.c: Likewise.
333 * resbin.c: Likewise.
335 * resres.c: Likewise.
339 * filemode.c: Fix formatting.
341 * is-ranlib.c: Likewise.
342 * is-strip.c: Likewise.
343 * maybe-ranlib.c: Likewise.
344 * maybe-strip.c: Likewise.
345 * nlmconv.c: Likewise.
347 * not-ranlib.c: Likewise.
348 * not-strip.c: Likewise.
349 * objcopy.c: Likewise.
350 * objdump.c: Likewise.
354 * objdump.c (dump_headers): Fix output formatting for ELF32
355 architectures in a BFD64 enabled toolchain.
359 * debug.c: Fix formatting.
361 * dlltool.c: Likewise.
362 * dllwrap.c: Likewise.
363 * emul_aix.c: Likewise.
364 * emul_vanilla.c: Likewise.
368 * addr2line.c: Fix formatting.
372 * binemul.c: Likewise.
373 * binemul.h: Likewise.
374 * bucomm.c: Likewise.
375 * coffdump.c: Likewise.
376 * coffgrok.c: Likewise.
377 * coffgrok.h: Likewise.
381 * MAINTAINERS: Add myself as the second AVR port maintainer.
385 * MAINTAINERS: Update my email address.
389 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
393 * configure.in: Replace `*pe' with `pe' throughout.
394 * configure: Regenerate.
398 * Makefile.am: Honour DESTDIR.
399 * Makefile.in: Regenerate.
403 * dlltool.c (process_def_file): Add missing prototype.
404 (new_directive, assemble_file, main): Likewise.
405 (process_def_file, new_directive): Make static.
406 (inform): Rewrite using VA_FIXEDARG.
407 * dllwrap.c (mybasename): Add missing prototype.
408 (strhash, main): Likewise.
409 (inform): Rewrite using VA_FIXEDARG.
411 (cleanup_and_exit): Use old style function definition.
413 * windres.c (define_resource): Use one memset to clear all of
416 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
417 call to rules that need no lookahead. Check for no lookahead.
421 * rclex.l (get_string): Correct "strings" list handling.
422 * resrc.c (read_rc_file): Discard strings.
426 * ar.c (replace_members): Remove unused var. Formatting fix.
427 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
429 * MAINTAINERS: Sort port maintainers by CPU.
433 * size.c (display_archive): Add last_arfile and code to close archives.
437 * nm.c (print_symbol): Check returned filename from
438 bfd_find_nearest_line is non-NULL.
442 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
446 * MAINTAINERS: Changed my email address.
450 * arparse.y: Fix syntax warning.
454 * readelf.c (fetch_location_list): Remove unused function.
456 * readelf.c (process_corefile_note_segment): Catch corrupt notes
457 and display a warning message, then exit the loop.
459 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
463 * resrc.c (write_rc_dialog): If charset is non-default value
464 display all of the DIALOGEX parameters.
468 * rcparse.y: Allow two to five parameter in FONT statement of
470 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
472 (res_to_bin_dialog): Likewise.
473 * windres.h: Added misssing charset variable to dialog_ex
478 * rcparse.y: Set MEMFLAG_PURE by default.
482 * rcparse.y: CLASS definitions in DIALOG resources
484 Fix typo in BEDIT warning.
485 Don't add default dialog style when explicit style specified.
486 Add WS_CAPTION dialog style if CAPTION is specified.
488 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
489 (handle_quotes) "\a" escape (used for right justified key
490 definitions in menus) is encodes as binary 8.
492 * resrc.c (write_rc_dialog): Print style even if it is 0.
493 (write_rc_directory): Fix overlooked sublang shift bug.
494 (bin_to_res_dialog): Don't print empty dialog caption.
496 * resbin.c (bin_to_res_dialog): Use signature to identify
499 * windres.c (main): Set default LANGUAGE to english/us.
503 * resrc.c: print CLASS names in quotes
507 * MAINTAINERS: Update my email address.
511 * dep-in.sed: Cope with absolute paths.
512 * Makefile.am (dep.sed): Subst TOPDIR.
514 * Makefile.in: Regenerate.
518 * MAINTAINERS: Update my email address.
522 * Makefile.am: Run "make dep-am".
523 * Makefile.in: Regenerate.
524 * doc/Makefile.in: Regenerate.
525 * po/POTFILES.in: Regenerate.
526 * aclocal.m4: Regenerate.
527 * config.in: Regenerate.
528 * configure: Regenerate.
532 * readelf.c: Add support for displaying dwarf2 location lists.
533 (do_debug_loc, debug_loc_section, debug_loc_size): New.
534 (parse_args): Use 'O' as shorthand for displaying location list
536 (process_section_headers): Handle debug_loc as well.
537 (load_debug_loc): New.
538 (free_debug_loc): New.
539 (fetch_location_list): New.
540 (display_debug_loc): New.
541 (display_debug_info): Call load_debug_loc and free_debug_loc.
542 (debug_displays): We can display .debug_loc now, too.
543 (usage): Update usage string.
544 (read_and_display_attr_value): Note location lists, but don't
549 * Makefile.am: Add binutils emulation support.
550 * configure.in: Same.
551 * configure.tgt: New file. Same.
552 * ar.c (main): Use ar_emul_parse_arg.
553 (usage): Use ar_emul_usage.
554 (replace_members): Use ar_emul_replace, ar_emul_append.
555 * binemul.c: New file. Define the binutils emulation
556 layer. Define default methods.
557 * binemul.h: New file. Binutils emulation layer header file.
558 * emul_aix.c: New file. AIX binutils emulation.
559 * emul_vanilla.c: New file. Default binutils emulation.
560 * Makefile.in: Regenerate.
565 * po/fr.po: Updated version.
569 * po/fr.po: Updated version.
573 * README: Update some version numbers.
577 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
578 (Architecture Selection): Likewise.
582 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
583 generating .exp file.
587 * readelf.c (dump_relocations): Fix typo.
591 * NEWS: Mark 2.12 branch.
595 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
596 types for 64-bit MIPS. Narrow some fields for 80-char
598 (dump_relocations): Change spelling from 'unrecognised'
600 (decode_ARM_machine_flags): Likewise.
601 (parse_args): Likewise.
602 (read_and_display_attr_value): Likewise.
603 (display_debug_section): Likewise.
607 * NEWS: Mention support for MMIX.
611 * readelf.c (get_machine_flags): Recognize EF_M68000.
615 * MAINTAINERS: Added self as MN10300 co-maintainer.
619 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
624 * MAINTAINERS: List myself as branch maintainer.
628 * configure: Regenerate.
629 * objcopy.c: Update copyright date.
630 * doc/Makefile.in: Regenerate.
634 * nlmconv.c: Back out localtime PARAMS change.
638 * objcopy.c (MKDIR): Define.
639 (copy_archive): Make name_list.name const. Use MKDIR.
640 Handle duplicate files in archives by making more temp dirs.
644 * coffdump.c: Include "getopt.h" after "bucomm.h"
645 so that macros are defined correctly.
646 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
647 prototype. Prototype main.
648 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
652 * MAINTAINERS: Added self as SH co-maintainer.
656 * po/tr.po: Updated translation.
660 * Makefile.am: Run "make dep-am"
661 * Makefile.in: Regenerate.
665 * nm.c (print_value): Mark abfd unused.
669 * unwind-ia64.c (unw_decoder): Change second argument
670 to unsigned int, to match function prototypes.
674 * objdump.c: Include "getopt.h" after "bucomm.h" so that
675 __GNU_LIBRARY__ will be defined.
680 * configure: Regenerated.
684 * doc/Makefile.am (install): Depend on install-info.
685 * doc/Makefile.in: Regenerate.
689 * objcopy.c (strip_usage): Document -d as an alias
692 * size.c (usage): Document [-t | --totals] options.
693 (long_options): Add --totals option.
694 (main): If the [-t | --totals] option is specified and
695 the output format is Berkeley-style, print the total
696 text, data, and bss sizes of all objects listed.
697 (print_berkeley_format): If the [-t | --totals] option
698 is specified, track the total text, data, and bss
700 * doc/binutils.texi (size): Document [-t | --totals] options.
701 (strip): Document -d as an alias for --strip-debug.
702 * NEWS: Mention new feature of size.
706 * po/fr.po: Updated version.
707 * po/es.po: Updated version.
711 * addr2line.c (usage): Update text to provide verbose
712 description of the command line options.
713 * ar.c (usage): Update text to provide verbose
714 description of the command line options.
715 (main): Accept -h and -H when running as ranlib.
716 * coffdump.c (show_usage): Update text to provide verbose
717 description of the command line options.
718 * dlltool.c (main): Accept -H as an alias for --help.
719 * nlmconv.c (show_usage): Update text to provide verbose
720 description of the command line options.
721 * nm.c (usage): Replace OPTIONS with option(s).
722 (main): Accept -H as an alias for --help.
723 * objcopy.c (strip_main): Accept -H as an alias for --help.
724 * objdump.c (main): Accept -v as an alias for --verbose.
725 * readelf.c (usage): Adjust format to match style used in
727 * size.c (usage): Update text to provide verbose description
728 of the command line options.
729 (main): Accept -v, -h and -H as command line options.
730 * srconv.c (show_usage): Update text to provide verbose
731 description of the command line options.
732 * strings.c (main): Accept -H and -v as command line options.
733 (usage): Update text to provide verbose description of the
734 command line options.
735 * sysdump.c (show_usage): Update text to provide verbose
736 description of the command line options.
737 * windres.c (usage): Adjust format to match style used in
740 * coffdump.c: Fix formatting.
741 * nlmconv.c: Fix formatting.
742 * srconv.c: Fix formatting.
743 * sysdump.c: Fix formatting.
747 * Makefile.am: Run "make dep-am".
748 * Makefile.in: Regenerate.
752 * version.c (print_version): Update year.
756 * readelf.c (get_machine_name): Handle EM_PPC64.
757 (guess_is_rela): Here too.
761 * po/binutils.pot: Regenerate.
762 * po/fr.po: Regenerate.
763 * po/tr.po: Regenerate.
767 * po/tr.po: Import new version.
771 * readelf.c (get_ppc64_dynamic_type): New.
772 (get_dynamic_type): Call it.
776 * objcopy.c (copy_usage): Use "options" instead of "switches".
777 (strip_usage): Use "options" instead of "switches".
778 * doc/binutils.texi (dlltool): Refer to "options" instead of
783 * MAINTAINERS: Add self as co-maintainer for the ARM code.
787 * po/es.po: Import from translation project.
788 * configure.in (ALL_LINGUAS): Add es.
789 * configure: Regenerate.
793 * readelf.c (get_netbsd_elfcore_note_type): Use
794 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
798 * readelf.c: Update copyright years.
799 (get_note_type): Return a const char *.
800 (get_netbsd_elfcore_note_type): New function.
801 (process_note): Use get_netbsd_elfcore_note_type to get
802 the note type string for NetBSD ELF core files.
806 * readelf.c (get_ia64_segment_type): Add support for macros.
807 (get_segment_type): Add support for IA64 specific macros.
811 * readelf.c (print_symbol): New function: Print a formatted symbol
812 name. If --wide is specified do not truncate it.
813 (dump_relocations): Use print_symbol() to print symbol names.
814 (process_symbol_table): Likewise.
815 (process_syminfo): Likewise.
816 (process_mips_specific): Likewise.
817 (usage): Document new feature of --wide switch.
818 * doc/binutils.texi (objdump): Document additional behaviour of
823 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
824 (copy_object): Don't set the start address or flags of a core file.
825 (copy_section): Don't relocate a core file. Don't copy contents
826 if the input section has the contents flag set, but the output
827 section does not (which happens with the fake 'note' pseudo-
828 sections that BFD creates for corefiles).
832 * readelf.c (get_machine_flags): Recognize header flags for ABI and
833 ASE extensions. More robust code for ISA checking. Ignore empty fields
834 in header flags for GNU extensions.
838 * objcopy.c (copy_archive): Set output bfd format outside the loop.
842 * po/ja.po: Import from translation project.
843 * configure.in (ALL_LINGUAS): Add ja.
844 * configure: Regenerate.
848 * addr2line.c (main): Protoype.
849 * ar.c (main): Protoype.
850 * nm.c (main): Protoype.
851 * objcopy.c (main): Protoype.
852 * objdump.c (main): Protoype.
853 * size.c (main): Protoype.
854 * strings.c (main): Protoype.
858 * readelf.c (symtab_shndx_hdr): New global.
859 (SECTION_HEADER_INDEX): Define.
860 (SECTION_HEADER_NUM): Define.
861 (SECTION_HEADER): Define.
862 (GET_ELF_SYMBOLS): Pass two params rather than three.
863 (get_32bit_elf_symbols): Take file and section args. Read and
864 use SHT_SYMTAB_SHNDX.
865 (get_64bit_elf_symbols): Likewise.
866 (dump_relocations): Use SECTION_HEADER to index "section_headers".
867 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
868 Remember symtab_shdx_hdr.
869 (process_program_headers): Scan from index 1 for segment map.
870 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
872 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
873 (process_unwind): Likewise.
874 (process_version_sections): Likewise.
875 (process_symbol_table): Likewise.
876 (display_debug_info): Likewise.
877 (process_dynamic_segment): Fake up a symtab section for changed
879 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
880 (process_program_headers): Kill signed/unsigned warning.
881 (load_debug_str): Likewise.
882 (display_debug_info): Likewise.
886 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
890 * readelf.c (process_file_header): Print extended e_shnum and
891 e_shdtrndx values. Set elf_header values for same.
892 (get_32bit_section_headers): Add "num" arg to read "num" headers.
893 (get_64bit_section_headers): Likewise.
894 (process_section_headers): Update calls.
895 (get_file_header): Call get_32bit_section_headers or 64bit variant.
899 * objcopy.c (setup_section): Copy entsize.
903 * readelf.c (guess_is_rela): Add support for stormy16.
904 (dump_relocations): Likewise.
905 (get_machine_name): Likewise.
909 * dllwrap.c (main) Replace multiple strings describing a
910 single error with a single, newline escaped sentence to permit
911 better translation into foreign languages.
913 * readelf.c (get_elf_class): Remove internalionalisation of ELF
918 * strings.c (get_char): Initialize value.
922 * arlex.l: Silence compile warnings.
923 * arsup.h: Likewise. Fix formatting.
927 * strings.c: Include config.h before bfd.h.
928 (file_off): New type.
930 (print_strings): Use file_off instead of file_ptr. Print addresses
931 which don't fit into long correctly.
932 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
934 (strings_file): Use file_off instead of file_ptr. Use file_open.
935 * configure.in: Check for getc_unlocked.
936 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
938 * configure: Rebuilt.
939 * config.h.in: Rebuilt.
943 * bucomm.c (make_tempname): Revert the changes made on
944 2001-11-14 and 2001-11-12. They won't work with directories.
948 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
949 CFLAGS_FOR_TARGET to runtest in environment.
950 * Makefile.in: Rebuild.
951 * doc/Makefile.in: Rebuild.
955 * objcopy.c (setup_section): Preserve SEC_RELOC when
956 --set-section-flags is used.
960 * readelf.c (do_debug_str): New variable.
961 (display_debug_str): New function: Display the contents of a
963 (load_debug_str): New function: Load in the contents of a
965 (free_debug_str): New function: Free the memory used by
967 (fetch_indirect_string): Retrieve a string from the .debug_str
970 (parse_args): Accept -ws.
971 (process_section_headers): Allow the display of the .debug_str
973 (read_and_display_attr_value): Use fetch_indirect_string. Show
974 offset into .debug_str section.
975 (display_debug_info): Use load_debug_str and free_debug_str.
976 (debug_displays): Add .debug_str.
977 * doc/binutils.texi: Document -ws.
981 * testsuite/binutils-all/objdump.exp: Add x86-64.
985 * readelf.c: Fix warnings without terminating newline.
989 * doc/binutils.texi (objdump): Document ppc -M options.
993 * doc/binutils.texi (objdump): Fix description to use x86-64.
997 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
998 not all systems provide mkstemp.
1002 * doc/binutils.texi (objdump): Document x86 -M options.
1006 * readelf.c (read_and_display_attr_value): New function to
1007 handle DW_FORM_indirect.
1008 (read_and_display_attr): Use it.
1012 * readelf.c (display_debug_lines): Deal with unknown standard
1013 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1018 * MAINTAINERS: Add self as tic54x maintainer. This target
1019 includes the IBM C54XDSP clone.
1023 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1027 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1028 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1029 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1030 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1031 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1032 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1033 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1035 * readelf.c (get_elf_class): Fix ISO portability glitch.
1036 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1040 * readelf.c (debug_str, debug_str_size): New.
1041 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1043 (read_and_display_addr): Handle DW_FORM_strp.
1044 (display_debug_info): Read .debug_str section if present,
1045 so that DW_FORM_strp can be handled.
1046 Fix test for non-existant .debug_abbrev section.
1052 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1056 * MAINTAINERS: Add self as s390/s390x maintainer.
1060 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1064 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1065 * configure: Regernate.
1066 * po/fr.po: New file.
1067 * po/tr.po: New file.
1071 * MAINTAINERS: Add self as MMIX port maintainer.
1072 * readelf.c: Include elf/mmix.h.
1073 (guess_is_rela): MMIX is RELA.
1074 (dump_relocations): Handle MMIX relocations.
1075 * Makefile.am: Regenerate dependencies.
1076 * Makefile.in: Regenerate.
1080 * readelf.c (parse_args): Handle multiple options to the -w
1085 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1086 LOPROC, LOOS and LOUSER.
1090 * MAINTAINERS: Update my email address.
1094 * doc/Makefile.in: Regenerate.
1095 * configure: Regenerate.
1099 * readelf.c (display_debug_line, display_debug_pubnames,
1100 display_debug_info, display_debug_frames): Detect and warn
1101 about 64-bit format entries.
1102 (display_debug_aranges): Reword 64-bit warning.
1103 (debug_displays): Add .debug_pubtypes as a known, but not yet
1104 supported, debug section.
1108 * coffdump.c (PROGRAM_VERSION): Delete.
1109 (main <'V'>): Call print_version.
1110 * srconv.c: Likewise.
1111 * sysdump.c: Likewise.
1112 * version.c (program_version): Remove.
1113 (print_version): Use BFD_VERSION_STRING. Just print the current
1114 year in copyright message.
1115 * addr2line.c (program_version): Remove unused declaration.
1116 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1117 place of BFD_VERSION.
1118 * Makefile.am (Makefile): Depend on bfd/configure.in.
1119 (cplus-dem.o): Depend on Makefile.
1121 * Makefile.in: Regenerate.
1125 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1126 format .debug_arange sections.
1127 (main): Add missing prototype.
1131 * Makefile.am: Update dependencies with "make dep-am".
1132 * Makefile.in: Regenerate.
1136 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1140 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1142 (non_fatal): Likewise.
1143 * objdump.c (objdump_sprintf): Likewise.
1144 * readelf.c (error): Likewise.
1149 * readelf.c (do_wide): New.
1150 (options): Add --wide.
1151 (usage, parse_args): Likewise.
1152 (process_program_headers): Put each segment on a single line if
1154 (process_section_headers): Put each section on a single line if
1156 * doc/binutils.texi: Document it.
1161 * readelf.c (print_vma): Print 8 digits of low hex value.
1165 * nlmconv.c: Fix warnings about unused attributes and function
1168 * strings.c: Add prototype for get_char.
1172 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1173 $(srcdir)/cxxfilt.man.
1174 * doc/Makefile.in: Rebuild.
1178 * objcopy.c (copy_main): Correct rename-section string parsing.
1179 Consolidate new_name parsing, and error messages.
1183 * addr2line.c: Don't include <ctype.h>.
1184 (main): For gettext, also set the LC_CTYPE locate facet.
1185 * ar.c (main): Likewise.
1186 * coffdump.c (main): Likewise.
1187 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1188 (main): For gettext, also set the LC_CTYPE locate facet.
1189 Use ISALNUM instead of isalpha/isdigit.
1190 * dllwrap.c: Don't include <ctype.h>.
1191 (main): For gettext, also set the LC_CTYPE locate facet.
1192 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1193 (main): For gettext, also set the LC_CTYPE locate facet.
1194 Use TOUPPER instead of islower/toupper.
1195 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1196 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1197 Use TOUPPER instead of islower/toupper.
1198 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1199 * objcopy.c (main): Likewise.
1200 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1201 (disassemble_bytes): Use ISPRINT instead of isprint.
1202 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1203 (dump_data): Use ISPRINT instead of isprint.
1204 (main): For gettext, also set the LC_CTYPE locate facet.
1205 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1206 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1207 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1208 Use TOUPPER instead of islower/toupper.
1209 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1210 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1211 (write_rc_accelerators): Use ISPRINT instead of isprint.
1212 (write_rc_rcdata): Likewise.
1213 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1214 * srconv.c (main): Likewise.
1215 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1216 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1217 isdigit/isupper/islower.
1218 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1219 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1220 stab_demangle_prefix, stab_demangle_qualified,
1221 stab_demangle_template, stab_demangle_type,
1222 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1223 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1224 (isgraphic): Use ISPRINT instead of isascii/isprint.
1225 (main): Remove HAVE_LC_MESSAGES dependency.
1226 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1227 (pbarray): Use ISPRINT instead of isprint.
1228 (main): For gettext, also set the LC_CTYPE locate facet.
1229 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1230 (format_from_filename): Use ISPRINT instead of isprint.
1231 (main): For gettext, also set the LC_CTYPE locate facet.
1232 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1233 (unicode_print): Use ISPRINT instead of isprint.
1234 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1235 (stab_variable): Use ISDIGIT instead of isdigit.
1239 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1240 Replace bfd_read call with call to bfd_bread.
1241 (extract_file): Likewise.
1243 * objdump.c (dump_section_header): Cast section->filepos to
1244 unsigned long to suit printf format string.
1245 * readelf.c (process_section_headers): Similarly for sh_offset.
1246 (process_unwind): Likewise.
1250 * strings.c (encoding, encoding_bytes): New variables.
1251 (long_options): Add --encoding.
1252 (main): Accept -e and --encoding.
1253 (get_char): New function. Read a, possibly wide, character from
1255 (print_strings): Use get_char().
1256 (usage): Document new command line option.
1257 * doc/binutils.texi: Document new command line option.
1258 * NEWS: Announce new command line option.
1262 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1263 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1264 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1265 Removed EM_CYGNUS_ARC.
1269 * readelf.c: Include elf/h8 for H8 series definitions.
1270 (guess_is_rela): H8 series if RELA.
1271 (dump_relocations): Handle H8 series relocations.
1275 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1279 * MAINTAINERS: Include ARC Maintainer.
1283 * stabs.c (stab_demangle_template): Initialise s4.
1287 * readelf.c (dump_relocations): Recognise EM_PPC64.
1291 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1295 * nm.c (print_width): New.
1296 (display_rel_file): Set `print_width' according to
1298 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1302 * objcopy.c (use_alt_mach_code): New variable.
1303 (OPTION_ALT_MACH_CODE): Define.
1304 (copy_options): Added --alt-machine-code.
1305 (copy_main): Handle it.
1306 (copy_object): Switch to alternate machine code if requested.
1307 * doc/binutils.texi: Document new option.
1312 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1316 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1317 (display_debug_info): Cast for 64bit hosts.
1318 (display_debug_frames): Likewise.
1319 (process_mips_specific): Likewise.
1323 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1325 * sysdump.c: Add missing prototypes.
1326 * srconv.c: Likewise.
1327 * unwind-ia64.c: Likewise.
1328 * coffdump.c: Likewise.
1330 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1332 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1333 of declaring xcalloc.
1337 * nm.c (print_value): Add one arg, bfd *.
1338 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1339 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1340 (print_symbol_info_sysv): Likewise.
1341 (print_symbol_info_posix): Likewise.
1343 * objdump.c (dump_section_header): Replace printf_vma with
1345 (print_section_stabs): Likewise.
1346 (dump_bfd_header): Likewise.
1347 (objdump_print_value): Replace sprintf_vma with
1349 (disassemble_bytes): Likewise.
1350 (dump_reloc_set): Likewise.
1354 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1356 * configure: Regenerate.
1360 * readelf.c: Add missing prototypes.
1361 * objdump.c: Likewise. Format existing prototypes.
1365 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1366 of any RELA relocation for the abbrev_offset memory location that
1367 refers to the .debug_abbrev section symbol.
1371 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1372 (main): Return process_file ().
1376 * doc/binutils.texi: Use "Thumb" not "THUMB".
1381 * objdump.c (disassemble_data): Fill in section member of the
1382 disasm_info structure.
1386 * configure.in: Added --with-windres option.
1387 * configure: Regenerated.
1391 * doc/binutils.texi: Use @command{name} for commands;
1392 use @option{-opt} for options; use @table @env for list of options;
1393 remove spaces arround [ | ] in synopsis.
1395 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1400 * objcopy.c: Fix formatting.
1401 (section_rename): New structure.
1402 (OPTION_RENAME_SECTION): New switch.
1403 (copy_usage): Document new switch.
1404 (add_section_rename): New function: Add a node to the section
1406 (find_section_rename): New function: Find the new name and
1407 flags for a section.
1408 (setup_section): Call find_section_name to determine the name
1409 of the output section.
1410 (copy_main): Handle OPTION_RENAME_SECTION.
1411 * binutils.texi: Document new switch.
1412 * NEWS: Mention new switch.
1422 * bucomm.c (list_supported_architectures): New function.
1423 * bucomm.h (list_supported_architectures): Declare.
1424 * objdump.c (usage): Call the above.
1428 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1429 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1433 * README: Update for 2.11. Change bug reporting email address.
1434 * MAINTAINERS: Tidy up. Change bug reporting email address.
1438 * resres.c (write_res_header): Align header size.
1439 (res_align_file): Calculate alignment correctly.
1441 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1443 * resrc.c (write_rc_resource): Likewise.
1444 * windres.h (SUBLANG_SHIFT): Define - as 10.
1448 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1452 * MAINTAINERS: Add notes about branch checkins.
1456 * readelf.c (display_debug_macinfo): New function, display
1457 .debug_macinfo section.
1458 (do_debug_macinfo): New variable.
1459 (parse_args): Handle "-w[mM]" to mean display macro info.
1460 (process_section_headers): Handle debug_macinfo.
1461 (debug_displays): Replace unsupported function with macinfo
1462 function for .debug_macinfo display.
1463 * doc/binutils.texi: Document new command line switch.
1464 * NEWS: Document new feature of readelf.
1468 * objcopy.c (filter_symbols): Don't turn undefined symbols
1473 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1476 (dlltool.1): Likewise.
1477 (nlmconv.1): Likewise.
1479 (objcopy.1): Likewise.
1480 (objdump.1): Likewise.
1481 (ranlib.1): Likewise.
1482 (readelf.1): Likewise.
1484 (strings.1): Likewise.
1485 (strip.1): Likewise.
1486 (windres.1): Likewise.
1488 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1491 * doc/Makefile.in: Regenerated.
1495 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1499 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1503 * readelf.c: Support DWARF 2.1 attributes.
1507 * readelf.c (GET_DATA_ALLOC): Remove.
1509 (get_data): New function combining above macros, with an extra
1511 (slurp_rela_relocs): Use get_data, and catch error return.
1512 (slurp_rel_relocs): Likewise.
1513 (get_32bit_program_headers): Likewise.
1514 (get_64bit_program_headers): Likewise.
1515 (get_32bit_section_headers): Likewise.
1516 (get_64bit_section_headers): Likewise.
1517 (get_32bit_elf_symbols): Likewise.
1518 (get_64bit_elf_symbols): Likewise.
1519 (process_section_headers): Likewise.
1520 (process_relocs): Likewise.
1521 (slurp_ia64_unwind_table): Likewise.
1522 (process_unwind): Likewise.
1523 (get_32bit_dynamic_segment): Likewise.
1524 (get_64bit_dynamic_segment): Likewise.
1525 (process_dynamic_segment): Likewise.
1526 (process_version_sections): Likewise.
1527 (process_symbol_table): Likewise.
1528 (dump_section): Likewise.
1529 (display_debug_info): Likewise.
1530 (display_debug_section): Likewise.
1531 (process_section_contents): Likewise.
1532 (process_corefile_note_segment): Likewise.
1533 (process_mips_specific): Likewise. Also free econf32, econf64.
1537 * readelf.c (dump_relocations): Print "bad symbol index" if
1538 symtab == NULL with non-zero symtab_index.
1539 (process_relocs): Don't bomb if reloc section has no symsec.
1543 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1545 (copy_main): Apply the the change made to strip_main on
1546 2001-05-30 by accident.
1550 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1552 (unw_decode_x2): Likewise.
1553 (unw_decode_x3): Likewise.
1554 (unw_decode_x4): Likewise.
1558 * MAINTAINERS: Add myself as M88k maintainer.
1562 * objcopy.c (strip_main): Support -o or --output-file command lien
1567 * doc/Makefile.in: Regenerated.
1571 * readelf.c: Restore formatting.
1575 * Makefile.am: Move documentation into doc subdirectory.
1576 * Makefile.in: Regenerated.
1577 * binutils.texi: Move into doc subdirectory.
1578 * addr2line.1: Removed.
1580 * dlltool.1: Likewise.
1581 * nlmconv.1: Likewise.
1583 * objcopy.1: Likewise.
1584 * objdump.1: Likewise.
1585 * ranlib.1: Likewise.
1586 * readelf.1: Likewise.
1588 * strings.1: Likewise.
1589 * strip.1: Likewise.
1590 * windres.1: Likewise.
1591 * cxxfilt.man: Likewise.
1592 * doc: New Directory.
1593 * doc/Makefile.am: New file.
1594 * doc/Makefile.in: Generate.
1598 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1602 * MAINTAINERS: Update my email address.
1606 * objcopy.c: Add new switches: --keep-global-symbol,
1607 --keep-symbols, --localize-symbols, --keep-global-symbols and
1609 * binutils.texi: Document new switches.
1610 * objcopy.1: Regenerate.
1611 * NEWS: Announce new feature.
1615 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1616 variables, fix format strings.
1620 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1621 when computing the address of the line to show.
1625 * readelf.c (do_debug_frames_interp): New.
1626 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1627 (byte_get_big_endian): Likewise.
1628 (parse_args) ['F']: Set do_debug_frames_interp.
1629 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1630 (frame_display_row): Don't trunc pc_begin to int.
1631 (size_of_encoded_value): New.
1632 (display_debug_frames): Handle 64-bit targets. Print raw data
1633 unless do_debug_frames_interp.
1634 (debug_displays): Remove duplicate .debug_frame.
1638 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1639 The former constant was never in active use and is used otherwise
1644 * readelf.c (process_unwind): Print all unwind sections, not just
1649 * readelf.c (process_unwind): Remove const specifier.
1653 * strings.c (isgraphic): Do not use isascii() unless it is needed
1654 for isprint() to work.
1655 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1659 * NEWS: Announce support for OpenRISC.
1663 * dlltool.c (do_default_excludes): Initialise to true.
1667 * MAINTAINERS: Update my email address
1668 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1672 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1676 * readelf.c (process_unwind): Just return if do_unwind is 0.
1680 * dlltool.c (make_one_lib_file): Fix section flags for
1681 .text, .data and .bss in stub ds*.o files to match those
1686 * readelf.c (process_unwind): Only do unwind sections for
1691 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1692 * Makefile.in: Regenerate.
1696 * binutils.texi (nm): Fix texi syntax.
1700 * binutils.texi: Put @c man begin and @c man end indications
1701 to generate man pages using texi2pod and pod2man. Put @c man title
1702 to identify each man. Add SEEALSO entries.
1703 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1704 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1706 (*.1): Build the man pages from binutils.texi.
1707 * Makefile.in: Regenerate.
1711 * defparse.y (opt_equal_name): allow "." in name.
1712 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1713 (gen_exp_file): Likewise.
1717 * NEWS: Document addition of -B switch to objcopy.
1718 * binutils.texi: Document addition of -B switch to objcopy.
1719 * objcopy.c: (copy_options): Add --binary-architecture.
1720 (copy_usage): Document -B/--binary-architecture.
1721 (copy_main): Support -B/--binary-architecture. Set
1722 bfd_external_binary_architecture.
1726 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1727 (dump_relocations): Likewise.
1728 (get_machine_name): Likewise.
1732 * readelf.c: (struct unw_aux_info): Remove const modifier for
1734 (process_unwind): Remove non-K&R compliant LHS type cast in call
1735 to GET_DATA_ALLOC macro.
1739 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1740 ABI is in use; remove ambiguity between the "unknown" EABI and
1741 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1742 renamed EF_xx constants.
1746 * configure.in (BFD_VERSION): New.
1747 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1748 * configure: Regenerate.
1749 * Makefile.am: Run "make dep-am"
1750 * Makefile.in: Regenerate.
1754 * MAINTAINERS: Add "Obvious Fix" rule.
1758 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1759 literal concatenation.
1763 * readelf.c (struct unw_aux_info): Remove const from the info member.
1764 (process_unwind): Don't type-cast the third argument to the
1765 GET_DATA_ALLOC macro.
1769 * readelf.c (dump_relocations): Free corrected allocated
1771 (process_unwind): Fix compile time warning.
1775 * binutils.texi: Document new --unwind option to readelf.
1779 * readelf.c: Add linux target for S/390.
1783 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1788 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1789 * aclocal.m4: Regenerate.
1790 * configure: Regenerate.
1794 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1795 * objdump.c (bfd_target_vector): Likewise.
1799 * readelf.c (process_unwind): New function.
1800 (slurp_ia64_unwind_table): Ditto.
1801 (dump_ia64_unwind): Ditto.
1802 (find_symbol_for_address): Ditto.
1803 (slurp_rela_relocs): New function (split off from dump_relocations()).
1804 (slurp_rel_relocs): Ditto.
1805 (parse_args): Handle '-u' option.
1807 * unwind-ia64.c: New file.
1808 * unwind-ia64.h: New file.
1809 * Makefile.am: Include unwind-ia64.c in readelf build.
1810 * Makefile.in: Regenerate.
1811 * po/binutils.pot: Regenerate.
1815 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1816 * configure: Regenerate.
1820 * ieee.c (ieee_add_bb11): Don't check for backslashes
1821 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1825 * ieee.c: Update copyright.
1826 (ieee_start_compilation_unit): Don't check for backslashes
1827 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1829 * stabs.c: Update copyright. Include "filenames.h".
1830 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1834 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1835 sections are present before using them. Remove code duplication.
1836 (process_symbol_table): Check if VERDEF or VERNEED sections are
1837 present before using them.
1841 * objcopy.c (copy_object): Fail if attempting to convert the
1842 endianness of the input object file.
1844 * binutils.texi: Explain that objcopy cannot convert endianness.
1848 * readelf.c (string_table_length): New variable.
1849 (SECTION_NAME): Catch out of range indices and missing section
1851 (process_section_headers): Delete useless local variable
1852 string_table_offset. Set the value of string_table_length
1853 after loading the string table.
1854 (process_mips_specific): Use SECTION_NAME macro.
1855 (process_file): Set string_table_length to 0 when it is freed.
1859 * version.c (print_version): Update copyright date.
1863 * readelf.c (dump_relocations): Include selection with EM_ARC.
1864 (get_machine_name) Update name to "ARC".
1868 * Makefile.am: Add rule to build objdump.o from objdump.c and
1870 * Makefile.in: Regenerate.
1872 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1873 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1874 -DDISASSEMBLER_NEEDS_RELOCS.
1875 * configure: Regenerate.
1877 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1878 is defined read in the relocs even if dump_reloc_info is
1883 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1889 * dlltool.c: Add missing support for arm-epoc-pe.
1890 * configure.in: Add missing support for arm-epoc-pe.
1891 * configure: Regenerate.
1895 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1896 Mode parts of the x86 port.
1900 * readelf.c (guess_is_rela): Add EM_X86_64.
1901 (dump_relocations): Add EM_X86_64.
1902 (get_machine_name): Add EM_X86_64.
1903 Include "elf/x86-64.h".
1907 * readelf.c: Fix formatting.
1911 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1915 * readelf.c (display_debug_frames): Only display columns that are
1916 referenced by the frame debug info.
1920 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1924 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1925 (display_debug_section): Likewise.
1926 (display_debug_info): Display CU header before bailing.
1930 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1931 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1932 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1934 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1937 * readelf.c (get_machine_flags): Add case for
1942 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1946 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1947 Change sourceware.cygnus.com to sources.redhat.com.
1948 Fix typo for "amongst".
1952 * strip.1 (COPYING): Mention that the GNU Free Documentation
1953 License is present in the sources, but not the output, and
1954 also available from the GNU website.
1955 (GNU Free Documentation License): Comment out this section.
1964 * addr2line.1: Ditto.
1968 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1969 (parse_args): Support -wf option.
1970 (process_section_headers): Ditto.
1971 (debug_displays): Ditto.
1972 (display_debug_frames): New, dump *_frame sections.
1973 (frame_need_space): Support for above.
1974 (frame_display_row): Ditto.
1975 * binutils.texi: Document it.
1979 * NEWS: Announce support for v5t, v5te and XScale.
1983 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1984 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1985 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1986 (get_elf_section_flags: Add SHF_GROUP.
1987 (process_section_headers): Adjust output for 32-bit binaries
1988 to look nice on an 80 column terminal.
1992 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1997 * readelf.c (display_debug_lines): Adjust last change to
1998 use sizeof (external->li_length).
2002 * readelf.c (display_debug_lines): Fix section length check
2003 and end_of_sequence computation.
2007 * binutils.texi: Add GNU Free Documentation License.
2008 * objcopy.1: Add GNU Free Documentation License.
2009 * objdump.1: Add GNU Free Documentation License.
2010 * addr2line.1: Add GNU Free Documentation License.
2011 * ar.1: Add GNU Free Documentation License.
2012 * nlmconv.1: Add GNU Free Documentation License.
2013 * nm.1: Add GNU Free Documentation License.
2014 * ranlib.1: Add GNU Free Documentation License.
2015 * size.1: Add GNU Free Documentation License.
2016 * strings.1: Add GNU Free Documentation License.
2017 * strip.1: Add GNU Free Documentation License.
2021 * objcopy.c (--srec-len=nn): New parameter to set the
2022 maximum length of generated Srecords.
2023 (--srec-forceS3): New parameter that restricts the generation of
2024 Srecords to type S3 only.
2025 * binutils.texi: Document new command line switches.
2026 * objcopy.1: Docuemnt the new command line switches.
2027 * NEWS: Announce the existence of the new command line switches.
2031 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2032 code. Add Eric Chrisopher as maintainer of MN10300 port.
2036 * Make comma after string after icon/control optional.
2040 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2042 * NEWS: Mention support for MIPS32.
2046 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2050 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2051 * configure: Rebuild.
2055 * configure: Rebuilt with new libtool.m4.
2059 * aclocal.m4: Regenerate.
2060 * config.in: Regenerate.
2061 * configure: Regenerate.
2065 * strip.1: Fix stray '\' in -o formatting.
2069 * configure.in: Increase version number to 2.10.91.
2070 * configure: Regenerate.
2071 * aclocal.m4: Regenerate.
2072 * config.in: Regenerate.
2073 * po/binutils.pot: Regenerate.
2077 * acinclude.m4: Include libtool and gettext macros from the
2079 * aclocal.m4, configure: Rebuilt.
2083 * resrc.c (close_input_stream): Delete extraneous logic
2087 * NEWS: Mention support for CRIS.
2091 * addr2line.c: Changed email address for Ulrich Lauther.
2095 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2099 * readelf.c (display_debug_pubnames): Only issue warning
2100 message once. Terminate message with a new line.
2101 (display_debug_aranges): Only display version 2 debug info.
2105 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2106 for compatability with old BSD systems.
2110 * NEWS: Mention i860 support.
2114 * addr2line.c (main): Add const to char *.
2118 * ar.c (main): Don't crash if called with no arguments
2119 or only '-X32_64' as an argument.
2123 * resrc.c: use "gcc -xc" instead of -xc-header
2127 * readelf.c (elf/i860.h): Include.
2128 (dump_relocations): Add recognition of i860 architecture.
2129 (guess_is_rela): Add recognition of i860 architecture.
2133 * MAINTAINERS: Add information about CGEN maintainers.
2137 * nm.c (main): Ignore '-X32_64' as an option.
2138 * ar.c (main): Likewise.
2139 * binutils.texi (nm): Document new option.
2144 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2148 * binutils.texi: Put back "@end table" deleted by
2153 * nm.c: Add optional style to demangle switch.
2154 * objdump.c: Add optional style to demangle switch.
2155 * addr2line.c: Add optional style to demangle switch.
2156 * binutils.texi: Document optional style to demangle
2161 * MAINTAINERS: Add self as CRIS port maintainer.
2162 * readelf.c: Include elf/cris.h.
2163 (guess_is_rela): Handle EM_CRIS.
2164 (dump_relocations): Ditto.
2165 (get_machine_name): Ditto.
2166 * Makefile.am: Rebuild dependencies.
2167 * Makefile.in: Regenerate.
2168 * po/binutils.pot: Regenerate.
2172 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2174 (process_dynamic_segment): Print out strings for DT_CONFIG,
2175 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2179 * nm.c (usage): Change output of `nm --help' to include a
2180 description of the purpose of the program and a detailed
2181 description of the accepted options.
2185 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2190 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2194 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2196 (process_dynamic_segment): Likewise.
2198 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2199 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2200 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2201 DF_1_NODUMP and DF_1_CONLFAT.
2205 * binutils.texi (readelf): Fix spelling typo.
2209 * objdump.c (usage): Make output of `objdump --help' more
2210 consistent with the rest of the GNU world. Add a line describing
2211 the purpose of the program.
2215 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2220 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2222 (process_symbol_table): Ditto.
2223 (procesS_extended_line_op): Ditto.
2224 (display_debug_lines): Ditto.
2225 (display_debug_pubnames): Ditto.
2226 (read_and_display_attr): Ditto.
2230 * MAINTAINERS: Add several more port specific maintainers.
2234 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2242 * dllwrap.c: Changed mistaken dyn_string_append() calls
2243 to dyn_string_append_cstr().
2247 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2248 struct debug_type stores size in bytes.
2252 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2253 (CLEANFILES): Add DEPA.
2254 * Makefile.in: Regenerate.
2258 * ar.c: Revert incorrect 2000-06-25 patch.
2259 * bucomm.c: Likewise.
2263 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2264 (external_coff_symbol_p): New function.
2265 (parse_coff): Use it.
2269 * ar.c (normalize): Advance past both characters in a DOS based
2270 <letter>: filepath prefix.
2272 * bucomm.c (make_tempname): Likewise.
2276 * objdump.c (usage): Fix description of --stabs switch.
2280 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2282 * Makefile.in: Regenerate.
2286 * ar.c (normalize): Correct pointer comparison when checking for
2289 * bucomm.c (make_tempname): Likewise.
2291 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2292 and search for backslashes in the original pathname.
2293 (ieee_add_bb11): Likewise.
2297 * ar.c (print_contents): Improve verbose message.
2301 * dyn-string.c: Removed. Not needed with dyn-string.c in
2303 * dyn-string.h: Likewise.
2305 * Makefile.am: Remove references to dyn-string.c and
2306 dyn-string.h. Rebuild dependency.
2307 * Makefile.in: Rebuild.
2311 * binutils.texi: Put a warning on copying relocatable object
2312 files between two different formats.
2316 * rcparse.y (control): ICON controls take an id as the first
2317 parameter, not an optional string. Also, call new convenience
2318 function that takes res_id's.
2319 * resrc.c (define_control): missing text means zero-length string,
2321 (define_icon_control): New.
2322 * windres.h: declare define_icon_control.
2326 * configure: Regenerate.
2330 * configure.in (VERSION): Update to show this is the CVS mainline.
2334 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2335 analogous to <SPACE>.
2339 * objdump.c (display_target_list): Use bfd_close_all_done, not
2340 bfd_close to fix crash caused by 2000-05-24 change.
2344 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2348 * Makefile.am: Update dependencies with "make dep-am"
2349 * Makefile.in: Regenerate.
2353 * ar.c: Include filenames.h.
2354 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2355 and drive letters in file names.
2356 (main): Support backslashes and drive letters in argv[0]. Drop
2357 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2358 FILENAME_CMP instead of strcmp to compare file names.
2359 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2361 (do_quick_append) [__GO32__]: Ditto.
2362 (get_pos_bfd, delete_members, move_members, replace_members):
2363 Compare file names with FILENAME_CMP.
2365 * bucomm.c: Include filenames.h.
2366 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2367 forward/backward slashes and drive letters in file names.
2369 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2370 mixed forward/backward slashes and drive letters in file names.
2372 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2373 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2376 * objcopy.c: Include filenames.h.
2377 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2378 before comparing to "strip".
2379 Use FILENAME_CMP to compare file names.
2381 * arsup.c: Include filenames.h.
2382 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2383 FILENAME_CMP to compare file names.
2384 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2385 the temporary file name.
2387 * configure.in: Check for setmode.
2388 * configure: Regenerate.
2392 * objdump.c (display_target_list): Close the bfd.
2393 (display_info_table): Likewise.
2397 * objcopy.c (filter_symbols): Don't strip global symbols in
2398 relocatable object files.
2402 * size.c (usage): Associate short options with corresponding long
2403 option to give a clue as to their function.
2407 * size.c (main): Accept and ignore `-f' option.
2411 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2412 bindtextdomain): Replace defines with those from intl/libgettext.h
2413 to quieten gcc warnings.
2417 * nlmconv.c (temp_filename): Removed.
2419 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2420 choose_temp_base ().
2421 * objdump.c (display_target_list): Likewise.
2422 (display_info_table): Likewise.
2426 * objcopy.c (setup_section): Add const and gettext calls for err.
2430 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2431 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2432 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2433 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2434 and ELFOSABI_OPENBSD.
2438 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2439 * srconv.c: Likewise.
2440 * sysdump.c: Likewise.
2444 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2445 (get_machine_name): machine name for EM_AVR added.
2450 * Makefile.am (readelf.o): Add elf/ia64.h.
2451 * Makefile.in: Rebuild.
2452 * readelf.c: Include elf/ia64.h.
2453 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2457 * objdump.c (disassemble_data): Set octets per byte *after*
2458 resolving arch/mach for binary files.
2462 * arlex.l: Add directives to increase lex buffer size.
2464 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2465 already included by bucomm.h.
2469 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2470 `strftime' since strftime is not available on all systems.
2471 (process_mips_specific): Ditto.
2475 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2476 --enable-build-warnings option.
2477 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2478 * Makefile.in, configure: Re-generate.
2482 * addr2line.c: Update copyright.
2483 * objcopy.1: Likewise, and title.
2484 * strings.1: Likewise.
2486 * version.c (print_version): Add 2000.
2488 * rddbg.c (read_section_stabs_debugging_info): Don't use
2489 bfd_size_type for strx to avoid printf problems if BFD64.
2491 * bucomm.c: (report): Remove `static'.
2492 Move inclusion of stdarg.h/vararg.h from here.
2493 * bucomm.h: To here.
2494 (CONST): Change all occurences to const.
2495 (report): Declare it.
2496 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2497 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2498 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2500 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2501 Correct a typo in an error message.
2502 (do_quick_append): Use non_fatal instead of fprintf.
2503 (move_members): Use fatal instead of fprintf, exit.
2504 * coffdump.c (main): Same here.
2506 * dlltool.c (display): Delete.
2508 (inform): Use `report' instead of `display'.
2509 (rvaafter): Remove trailing \n from fatal error msg.
2511 (asm_prefix): Ditto.
2512 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2513 (def_name): Likewise.
2515 (scan_all_symbols): Likewise.
2516 (gen_lib_file): Likewise.
2517 (def_library): Likewise. Remove extra program_name too.
2518 (run): Remove \n from inform strings.
2519 (scan_drectve_symbols): Likewise.
2520 (add_excludes): Likewise.
2521 (scan_open_obj_file): Likewise.
2522 (gen_exp_file): Likewise.
2523 (gen_lib_file): Likewise.
2524 (process_duplicates): Likewise.
2526 * Makefile.am (dllwrap_SOURCES): Add version.c.
2527 * dllwrap.c (program_version): Delete.
2528 (print_version): Delete.
2529 (display): Always print trailing \n.
2531 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2534 (usage): gettext'ify.
2535 (long_options): Add missing initialisers.
2537 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2538 (select_output_format): Likewise.
2539 (powerpc_mangle_relocs): Likewise.
2540 (link_inputs): Likewise.
2542 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2543 (set_output_format): Likewise.
2544 (main): Use non_fatal instead of fprintf.
2545 (display_rel_file): Likewise.
2547 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2548 (slurp_dynamic_symtab): Same here.
2549 (disassemble_data): And here.
2550 (read_section_stabs): And here.
2551 (read_section_stabs): And here.
2552 (dump_bfd): And here.
2554 (objdump_sprintf): Use fatal instead of fprintf, exit.
2555 (disassemble_data): Same here.
2557 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2558 (parse_coff_struct_type): Same here.
2559 (parse_coff_enum_type): And here.
2560 (parse_coff): And here.
2561 * rddbg.c (read_debugging_info): And here.
2562 * size.c (main): And here.
2563 * windres.c (format_from_name): And here.
2564 * wrstabs.c (stab_write_symbol): Here too.
2565 (write_stabs_in_sections_debugging_info): And here.
2566 (stab_int_type): And here.
2567 (stab_struct_field): And here.
2568 (stab_typdef): And here.
2570 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2571 * srconv.c (main): Same here.
2572 * strings.c (main): And here.
2573 (integer_arg): And here.
2574 * sysdump.c (main): And here.
2578 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2582 * readelf.c (decode_location_expression): Loop through multiple
2584 (read_and_display_attr): Pass in length.
2586 * readelf.c (read_and_display_attr): Add CU offset to references.
2587 (display_debug_info): Pass it in.
2591 * readelf.c (decode_ARM_machine_flags): New function.
2592 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2595 (get_machine_name): Catch EM_AVR
2599 * binutils.texi: Remove optional `=' from long options that have
2600 an `=' in the argument.
2601 * objcopy.1: Here too. Remove extra space on discard-all.
2603 * binutils.texi (objcopy): Mention --redefine-sym.
2604 * objcopy.1: Here too.
2607 * objcopy.c (parse_flags): Split off flag names from error message
2608 gettext as they are not translated.
2609 (copy_main): Similarly split off option name for --add-section,
2610 --set-section-flags, --change-section-vma, --change-section-lma
2612 Some white space changes.
2615 * objcopy.c (struct redefine_node): New.
2616 (redefine_sym_list): New.
2617 (redefine_list_append): New.
2618 (lookup_sym_redefinition): New.
2619 (OPTION_REDEFINE_SYM): New.
2620 (copy_options): Add --redefine-sym option.
2621 (copy_usage): Mention it.
2622 (filter_symbols): Rename symbols on redefine_sym_list.
2623 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2624 (copy_main): Handle OPTION_REDEFINE_SYM.
2628 * readelf.c (process_symbol_table): Correctly read in symbol
2629 versioning information.
2633 * po/binutils.pot: Regenerate.
2635 * addr2line.c (usage): Restore translated part of bug string.
2636 * ar.c (usage): Likewise.
2637 * nlmconv.c (show_usage): Likewise.
2638 * nm.c (usage): Likewise.
2639 * objcopy.c (copy_usage): Likewise.
2640 (strip_usage): Likewise.
2641 * objdump.c (usage): Likewise.
2642 * readelf.c (usage): Likewise.
2643 * size.c (usage): Likewise.
2644 * strings.c (usage): Likewise.
2645 * windres.c (usage): Likewise.
2647 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2648 (DEP): Quote when passing vars to sub-make. Add warning
2650 (DEP1): Rewrite for "gcc -MM".
2651 (CLEANFILES): Add DEP2.
2652 Update dependencies.
2653 * Makefile.in: Regenerate.
2657 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2658 (arparse.h): Depend on arparse.c
2659 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2663 * size.c (usage): Use REPORT_BUGS_TO.
2667 * bucomm.h: #include "bin-bugs.h"
2668 * addr2line.c (usage): Use REPORT_BUGS_TO.
2669 * ar.c (usage): Likewise.
2670 * nlmconv.c (show_usage): Likewise.
2671 * nm.c (usage): Likewise.
2672 (OPTION_TARGET): Define.
2673 (long_options): Use OPTION_TARGET rather than 200.
2676 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2677 (strip_usage): Likewise.
2678 * objdump.c (usage): Likewise.
2679 * readelf.c (usage): Likewise.
2680 * strings.c (usage): Likewise.
2681 * windres.c (usage): Likewise.
2685 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2689 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2690 string offsets in corrupt stabs entries.
2694 * readelf.c: Include elf/avr.h
2695 (dump_relocations): Add EM_AVR case.
2699 * strings.1: Correct '-bytes' to '--bytes'.
2703 * Makefile.am (install-exec-local): Depend on
2704 install-binPROGRAMS for parallel make.
2705 * Makefile.in: Regenerated.
2710 * readelf.c (process_dynamic_segment): Add cast to make sure
2711 argument to %* is int.
2715 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2719 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2720 * configure: Regenerate.
2722 * dlltool.c: Add support for sh-pe and mips-pe targets.
2723 * rescoff.c: Add support for sh-pe and mips-pe targets.
2727 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2731 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2736 * readelf.c (process_version_sections): Add casts to make sure
2737 argument to %* is an int.
2738 (process_mips_specific): Add casts to make printf arguments match
2743 * objdump.c (dump_section_header): Change `opb' to unsigned.
2744 (find_symbol_for_address): Same here.
2745 (disassemble_data): And here. Change `addr_offset',
2746 `stop_offset', `nextstop_offset' to unsigned long.
2747 (dump_data): Change opb to unsigned.
2751 * resrc.c: Remove unmatched #if for cygwin.
2755 * binutils.texi: Document the change of flavor name from atpcs-special
2756 to special-atpcs to prevent name conflict in gdb.
2760 * objdump.c (show_line): Fix bug preventing printing of the very
2761 first line (line zero) of a file when interlisting source and
2762 assembly. Added option to print entire context from start of file
2763 when the first line from that file is encountered.
2767 * objdump.c (dump_section_header, find_symbol_for_address,
2768 show_line, disassemble_bytes, disassemble_data, dump_data):
2769 distinguish between octets and bytes.
2773 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2774 check to unresolved symbols.
2775 (print_symbol_info_sysv): Ditto.
2776 (print_symbol_info_posix): Ditto.
2778 * binutils.texi: Document new 'V' symclass flag for nm.
2782 * binutils.texi (objdump): Document new ARM specific
2783 disassembler options.
2785 * objdump.c (usage): Call disassembler_usage().
2789 * readelf.c (get_dynamic_flags): Return buff.
2790 (process_dynamic_segment): Don't pass error strings to printf
2792 (read_and_display_attr): Use lx and ld to print longs.
2793 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2799 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2803 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2805 (debug_tag_type): Here too.
2806 * ieee.c (ieee_builtin_type): And here.
2807 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2811 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2816 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2820 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2824 * windres.c (long_options): Add --use-temp-file and
2825 --no-use-temp-file options.
2829 * windres.h: Update read_rc_file prototype.
2831 * resrc.c (cpp_temp_file): New static variable.
2832 (istream_type): New static variable.
2833 (close_pipe): Delete function.
2834 (run_cmd): New static function.
2835 (open_input_stream): New static function.
2836 (close_input_stream): New static function.
2837 (look_for_default): Handle DOS directory separator. Use
2838 open_input_stream instead of popen.
2839 (read_rc_file): Likewise.
2841 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2846 * dlltool.c (create_compat_implib): New variable.
2847 (gen_exp_file): Use.
2848 (make_one_lib_file): Use.
2849 (long_options): Add --compat-implib option.
2853 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2854 (main): Use. Don't look for "32" in cygwin and mingw target names.
2858 * binutils.texi: Document new, ARM specific disassembler
2859 command line switch "-M force-thumb".
2861 For older changes see ChangeLog-9899
2867 version-control: never