3 * MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.
7 * readelf.c (debug_line_pointer_size): Replace with an array
8 called 'debug_line_pointer_sizes'.
9 (num_debug_line_pointer_sizes): New variable.
10 (display_debug_lines): Extract pointer size from the
11 debug_line_pointer_sizes array.
12 (display_debug_loc): Likewise.
13 (prescan_debug_info): Fill in the debug_line_pointer_sizes
19 * objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
20 to handle flags for tweaking.
21 (copy_options): New options: impure, pure, readonly-text,
23 (copy_usage, copy_object, command_line_switch): Handle the new
25 * doc/binutils.texi: Document the new options.
29 * objdump.c (disassemble_bytes): Subtract rel_offset from printed
31 (disassemble_section): Set rel_offset to section->vma instead of
36 * readelf.c (guess_is_rela): Changed m32r's default type to RELA.
40 * objcopy.c (strip_usage): Add --only-keep-debug.
41 (copy_usage): Likewise.
45 * objcopy.c (copy_object): Do not copy the object if the
46 output file's format cannot be set to that of the input file.
47 If the input file's format is unknown, fail.
51 * cxxfilt.c (usage): Mention new -p/--no-params options.
55 * Makefile.am (install-exec-local): Remove common term from string
57 * Makefile.in: Regenerate.
58 * doc/Makefile.am: Don't use $<.
59 * doc/Makefile.in: Regenerate.
63 * rename.c (smart_rename): Make sure that we have write
64 permission on the destination file before renaming.
69 * readelf.c: Add a comment describing the difference between
71 * doc/binutils.texi (readelf): Likewise.
75 * doc/binutils.texi (dlltool): Document dlltool --temp-prefix
77 * dlltool.c (usage): Likewise.
81 * cxxfilt.c (long_options): Add --no-params.
82 (main): Handle -p/--no-params.
83 * doc/binutils.texi (c++filt): Document -p/--no-params.
87 * objdump.c: Wrap long lines, init vars separately from decl.
88 (disassemble_section): Reset require_sec after call to
89 find_symbol_for_address.
93 * objdump.c (find_symbol_for_address): Change parameters so
94 that the entire disassemble_info structure is passed, not just
95 a few fields. Use the symbol_is_valid field to check the
96 validity of located symbols and continue searching if they are
98 (objdump_print_addr): Alter parameters passed to
99 find_symbol_for_address.
100 (objdump_symbol_at_address): Likewise.
101 (disassemble_section): Likewise. Also use symbol_is_valid
102 function to check the validity of located symbols.
106 * ar.c (open_inarch): Emit a warning when an archive is created
107 (only shown with -v) in order to confrom to POSIX specification.
111 * objcopy.c (wildcard): New variable. True if wildcard pattern
112 matching is allowed in symbol names.
113 (strip_options): Add -w option to enable wildcard pattern
115 (copy_options): Likewise.
116 (copy_usage): Mention new switch.
117 (strip_usage): Likewise.
118 (is_specified_symbol): If performing wildcard matches use fnmatch
119 to compare symbol names with entries on the symbol list.
120 (strip_main): Accept -w switch.
121 (copy_main): Likewise.
122 * Makefile.am: Add dependency on fnmatch.h for objcopy.c
123 * Makefile.in: Regenerate.
124 * doc/binutils.texi: Document new switch.
125 * NEWS: Mention new switch.
129 * objdump.c: Revert rev 1.81 commit.
133 * ar.c (print_contents): Remove "member" from verbose output in
134 order to conform to POSIX specification.
138 * README: Expand bug reporting information.
142 * bucomm,c (get_file_size): New function. Returns the size of a
144 * bucomm.h: Add prototype for get_file_size.
145 * addr2line.c (process_file): Use new function.
146 * ar.c (main, ranlib_only, ranlib_touch): Likewise.
147 * nm.c (display_file): Likewise.
148 * objcopy.c (add_specific_symbols, copy_file, strip_main,
149 copy_main): Likewise.
150 * objdump.c (display_file): Likewise.
151 * size.c (display_file): Likewise.
152 * strings.c (strings_file): Likewise.
153 * readelf.c (process_file): Use similar code to get_file_size.
157 * ieee.c: Fix "the the" typo.
162 * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS
163 sections - they have no file space assigned to their contents.
167 * readelf.c (dump_section): Don't display DEL characters.
171 * ChangeLog: Fix typos.
172 * ChangeLog-9197: Likewise.
173 * ChangeLog-9899: Likewise.
175 * ar.c: Fix comment typos.
177 * coffgrok.c: Likewise.
180 * dlltool.c: Likewise.
183 * objdump.c: Likewise.
185 * readelf.c: Likewise.
187 * sysinfo.y: Likewise.
188 * windres.c: Likewise.
192 * objcopy.c (copy_section): Do not complain when a target does not
194 (mark_symbols_used_in_relocations): Likewise.
198 * objcopy.c (copy_main): Reads machine flags from arch_info
203 * coffgrok.h (coff_section): Replace 'struct sec" with "struct
208 * objdump.c (read_section_stabs): Just read one section, return
209 pointer to it. Add size parameter.
210 (print_section_stabs): Add string offset parameter. Adjust.
211 (struct stab_section_names): Add string offset member.
212 (find_stabs_sections): Correct check for split section suffix,
213 adjust read_section_stabs and print_section_stabs calls.
214 (dump_stabs_section): Clear string_offset, free string table.
218 * resrc.c (define_icon): Fix storage of color attributes 'planes' and
219 'bit count' in icon groups.
223 * NEWS: Add an indication of the cutoff for 2.14.
227 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
231 * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
232 (get_symbol_index_type): Likewise.
236 * readelf.c (process_version_sections): Indent version names.
240 * dlltool.c (prefix_encode): Fix ISO C90 conversion.
246 * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
247 unneeded (void *) casts.
250 * arparse.y: Likewise.
252 * binemul.c: Likewise.
253 * binemul.h: Likewise.
254 * bucomm.c: Likewise.
255 * bucomm.h: Likewise.
257 * budemang.c: Likewise.
258 * budemang.h: Likewise.
259 * coffdump.c: Likewise.
260 * coffgrok.c: Likewise.
261 * cxxfilt.c: Likewise.
264 * deflex.l: Likewise.
265 * dlltool.c: Likewise.
266 * dlltool.h: Likewise.
267 * dllwrap.c: Likewise.
268 * emul_aix.c: Likewise.
269 * filemode.c: Likewise.
271 * nlmconv.c: Likewise.
272 * nlmconv.h: Likewise.
273 * nlmheader.y: Likewise.
277 * rcparse.y: Likewise.
278 * rdcoff.c: Likewise.
280 * rename.c: Likewise.
281 * resbin.c: Likewise.
282 * rescoff.c: Likewise.
285 * srconv.c: Likewise.
287 * strings.c: Likewise.
288 * sysdump.c: Likewise.
289 * sysinfo.y: Likewise.
290 * syslex.l: Likewise.
291 * unwind-ia64.c: Likewise.
292 * unwind-ia64.h: Likewise.
293 * version.c: Likewise.
294 * windres.c: Likewise.
295 * windres.h: Likewise.
296 * winduni.c: Likewise.
297 * wrstabs.c: Likewise.
301 * MAINTAINERS: Update my e-mail address.
305 * MAINTAINERS: Update my e-mail address.
309 * MAINTAINERS: Make it clear what should be done with patches to
310 the top level configure files (other than config.guess and
312 which patches can be sent.
316 * readelf.c (get_machine_flags): Recognise V850E1 machine type.
320 * objdump.c: Refer to init_disassemble_info in comments.
321 (disassemble_data): Replace INIT_DISASSEMBLE_INFO with
322 init_disassemble_info.
326 * objdump.c (struct objdump_disasm_info): Add new fields
327 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'.
328 (process_section_p): New function: Returns TRUE if a section
330 (disassemble_section): New function: Contains the body of
331 disassemble_data(), but just for one section.
332 (disassemble_data): Use bfd_map_over_sections to walk section
334 (find_stabs_section): New function: Find a stabs containing
335 section and then dump it.
336 (dump_stabs_section): New function: Use bfd_map_over_sections
337 to find the section to dump.
338 (dump_stabs): Use dump_stabs_section.
339 (dump_section): New function: Display the contents of a
341 (dump_data): Use bfd_map_over_sections to display section
343 (dump_relocs_in_section): Display the relocs in a given section.
344 (dump_relocs): Use bfd_map_over_sections to display relocs.
345 (adjust_addresses): New function: Adjust the vma and lma of
347 (dump_bfd): Use bfd_map_over_sections.
348 * doc/binutils.texi: Document the "objdump -s" (no longer)
349 dumps empty sections.
353 * objdump.c: Improve comments/documentation.
354 dump_data: Eliminate duplicate function calls to bfd_section_size.
358 * MAINTAINERS: Move Dave Anglin's entry to where it belongs.
362 * po/tr.po: Updated Turkish translation.
366 * dep-in.sed: Remove libintl.h.
367 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
369 * Makefile.in: Regenerate.
373 * readelf.c (process_archive): Fix error handling. Remove memory
376 * readelf.c: Add ability to read archives.
377 (archive_file_offset): New variable.
378 (archive_file_size): New variable.
379 (get_data): Include archive_file_offset in file offset
380 calculation when fseeking.
381 (process_program_headers): Likewise.
382 (process_symbol_table): Likewise.
383 (process_dynamic_segment): Handle computation of end of file
384 position when the file is in an archive.
385 (process_object): New function. Contains the body of
387 (process_archive): New function. Call process_object on each
388 member of an archive.
389 (process_file): Detect archives and handle appropriately.
390 * Makefile.am: Add dependency on aout/ar.h for readelf.c
391 * Makefile.in: Regenerate.
392 * NEWS: Document readelf's new ability.
393 * doc/binutils: Alter text to say that readelf supports archives
394 and 64-bit ELF files.
398 * po/fr.po: Updated French translation.
402 * objcopy.c: Remove unnecessary prototypes and casts.
403 * objdump.c: Remove unnecessary casts.
404 * readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
405 (get_osabi_name): Move so we don't need a forward declaration.
410 * objdump.c (include_paths, include_path_count): New vars.
411 (usage): Describe --include.
412 (long_options): Add "include".
413 (add_include_path): New function.
414 (struct print_file_list): Make filename const. Add modname.
415 (try_print_file_open, update_source_path): New functions.
416 (show_line): Use them.
417 (main): Handle 'I' option. Don't check for NULL xrealloc arg.
421 * objdump.c: Remove unnecessary prototypes.
422 (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
423 code, and print relocs when dump_dynamic_reloc_info.
424 (disassemble_data): Read and handle dynamic relocs. Correct reloc
425 skip code. Formatting.
426 (dump_bfd): Don't dump dynamic relocs when disassembling.
430 * MAINTAINERS: Remove self as M88k maintainer. Future M88k
431 maintenance defaults to the blanket write privilege maintainers.
435 * MAINTAINERS: Updated my email address.
439 * objdump.c: Update to ISO C.
443 * objdump.c (disassemble_data): Do not ignore sections without the
444 LOAD flag when disassemble_all is true. Only print a message
445 about disassembling a section if it contains some data.
447 * po/fr.po: Updated French translation.
451 * objcopy.c: Switch to ISO C. Remove debugging code accidentally
452 left in. Some formatting tidy ups.
456 * objdump.c: New command line option --debugging-tags.
457 * doc/binutils.texi: Document new command line option.
458 * prdbg.c: Code to print the debug info as tags compatible
460 * budbg.h: Adjust prototype.
461 * NEWS: Mention new switch
465 * objdump.c (main) :Accept multiple -M switch.
466 * doc/binutils.texi: Document that multiple -M switches are
467 accepted and that a single -M switch can contain comma
472 * objdump.c (main): Issue a warning message if multiple -M
475 * doc/binutils.texi (objdump): Update documentation about -M
480 * po/es.po: New Spanish translation.
484 * po/binutils.pot: Regenerate.
488 * dlltool.c (prefix_encode): Use a fixed length for alpha.
492 * dlltool.c (prefix_encode): New function. Encode temp file prefix
494 (dlltmp): Pass address of pointer being alloced or suffer neverending
496 (make_one_lib_file): Allocate enough space for new longer stub names.
497 (gen_lib_file): Ditto.
498 (main): Generate the temp file prefix from the pid if prefix was not
499 specified on the command line.
503 * readelf.c (get_data): Print (unsigned) hex values for size and
504 offset in error messages.
505 (process_section_headers): If the string table could not be
506 allocated, do not continue.
510 * readelf.c (dynamic_segment_ia64_val): Print address and newline
511 for sections by default. Comment fix.
515 * rcparse.y (res_text_field): New res_id variable.
516 (res_null_text): New static const struct res_id object,
517 with empty unicode name field.
518 (control): Pop parsing of optresidc up one level. Set
519 res_text_field to $2 except for controls which do not accept
520 a text field. Set res_text_field to res_null_text for the
521 special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
522 (control_params): Adjust to use res_text_field rather
524 (COMBOBOX): Add comment about discrepency between documented
525 vs. observed default style.
526 * resrc.c (define_control): Make first param const.
527 * windres.h (define_control): Adjust prototype.
531 * objcopy.c (copy_object): Replace call to
532 bfd_create_gnu_debuglink_section with separate calls to
533 bfd_add_gnu_debuglink_section and
534 bfd_fill_in_gnu_debuglink_section, separated by a walk over the
539 * readelf.c (loadaddr): Variable removed.
540 (dynamic_info, version_info): Fix type long -> bfd_vma.
541 (program_headers): New variable.
542 (get_program_headers): New function, broken out of
543 process_program_headers.
544 (process_program_headers): Call it. Don't set `loadaddr'.
545 (slurp_ia64_unwind_table): Use get_program_headers.
546 (process_corefile_note_segments): Likewise.
547 (offset_from_vma): New function.
548 (process_relocs, process_dynamic_segment): Call that instead of
549 subtracting `loadaddr'.
550 (process_version_sections, process_symbol_table): Likewise.
551 (process_mips_specific): Likewise.
555 * objcopy (enum strip_action): Add STRIP_NONDEBUG.
556 (OPTION_ONLY_KEEP_DEBUG): New.
557 (strip_options): Add --only-keep-debug.
558 (copy_options): Likewise.
559 (is_strip_section): Invert return value if STRIP_NONDEBUG is
561 (copy_object): Do not copy private data when STRIP_NONDEBUG is
563 (setup_section): Likewise.
564 (strip_main): Handle --only-keep-debug.
565 (copy_main): Likewise.
566 * NEWS: Mention new switch
567 * doc/binutils.texi: Document new switch.
571 * NEWS: Correct spelling of "relocatable".
572 * objdump.c: Likewise.
573 * sysroff.info: Likewise.
577 * readelf.c (print_vma): When printing DEC_5 values, if the
578 number is bigger than 99999 switch to using hexadecimal
583 * objcopy.c (gnu_debuglink_filename): New variable.
584 (OPTION_ADD_GNU_DEBUGLINK): New switch
585 (copy_options): Describe --add-gnu-debuglink switch.
586 Mention that --strip-debug removes sections as well.
587 (is_strip_section): Process the sections removed and kept
588 lists before checking for debugging sections.
589 (add_redefine_syms_file): Make function static.
590 (copy_object): Use is_strip_section.
591 Check to see if a .gnu_debuglink section should be added. If
592 so, call bfd_add_gnu_debuglink.
593 (setup_section): Use is_strip_section.
594 (copy_section): Use is_strip_section.
595 (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK.
596 * NEWS: Mention new objcopy switch.
597 * doc/binutils.texi: Document new switch.
601 * po/Make-in (DESTDIR): New.
602 (install-data-yes): Support $(DESTDIR).
603 (uninstall): Likewise.
607 * Makefile.in: Regenerate.
611 * readelf.c (get_segment_type): Handle PT_GNU_STACK.
615 * NEWS: Document the new BSD/POSIX single-character mapping for
616 .comment/.note sections.
621 * objcopy.c (redefine_list_append): Add an argument that
622 indicates the context from which this function is being
623 called. Change all callers.
624 (copy_options): Add a new option, --redefine-syms.
625 (copy_usage): Document new option.
626 (copy_main): Handle the --redefine-syms option.
627 * doc/binutils.text (objcopy): Document new option.
631 * readelf.c (byte_get_signed): New.
632 (get_encoded_value): New.
633 (display_debug_frames): Use it. Always pre-process opcodes.
637 * readelf.c (display_debug_frames): Print both registers
642 * configure.in: Accept i[3-7]86 variants. Escape '[]' for
644 * configure.in: Regenerate.
648 * objcopy.c: Treat identical src/dst file names as if only one
649 entered. One Windows creating an output file of the same name as
650 the input file will delete the input file before it is read.
654 * debug.c (debug_get_real_type): Extend test for circular debug
659 * configure.in (ALL_LINGUAS): Add zh_CN.
660 * configure: Regenerate.
661 * po/zh_CN.po: New file: Chinese (simplified) translation.
665 * MAINTAINERS: Update my mail address.
669 * readelf.c (dump_relocations): Enlarge the type field in wide
670 mode by one character.
674 * readelf.c (struct Frame_Chunk): Add cfa_exp.
675 (frame_display_row): Just print "exp" for cfa or register
676 defined by a location expression.
677 (display_debug_frames): Handle DW_CFA_def_cfa_expression,
678 DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
682 * objdump.c (only): Change it to char **.
685 (disassemble_data): Check only as an array.
686 (dump_data): Likewise.
687 (dump_relocs): Likewise.
688 (main): Treat only as an array.
692 * doc/binutils.texi: Fix the documentation for the -fo option.
696 * readelf.c (get_machine_name) <EM_SH>: Amend return value
699 * readelf.c (decode_location_expression): Don't add a trailing ';'.
704 * windres.c (long_options): Move close to main, where it is used.
705 Add 'input' and 'output' long options.
706 (main): Accept "-fo" as an alias for "-o". This is for rc
708 * doc/binutils.texi: Mention that -fo is accepted as an alias for
709 -o, but discourage its use.
713 * windres.c (format_from_name): Make the exit on error
715 (main): Rename the -I option to -J. Introduce -I as a synonym
716 for --include-dir. For backwards compatibility also support the
717 old -I behaviour, but issue a deprecation warning.
718 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
723 * readelf.c: Replace references to Mitsubishi M32R with
724 references to Renesas M32R.
728 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
732 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
733 for debugging information types not supported by objdump.
737 * configure.in: Recognize canonical form of i[3-6]86-pe*.
738 * configure: Regenerate.
742 * readelf.c (display_debug_info): Apply RELA relocations on the
744 (byte_put_little_endian, byte_put_big_endian): New functions.
745 (byte_put): New variable.
746 (get_file_header): Initialize it.
750 * windres.c: Add -l for compatibility with wrc, and rc.
751 Use the short option as a key for long options that have
752 a synonymous short option.
753 * doc/binutils.texi: Added -l to the list of options.
757 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
758 (main): Just pass the -U option down to the preprocessor.
759 * doc/binutils.texi: Added -U to the list of options.
763 * windres.c (usage): Report -r option.
764 (main): Ignore the -r option.
765 * doc/binutils.texi: Add -r to the list of options.
769 * MAINTAINERS: Add myself as Xtensa maintainer.
773 * readelf.c: Include "elf/xtensa.h".
774 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
775 targets that use RELA relocations.
776 (dump_relocations): Call elf_xtensa_reloc_type for
777 EM_XTENSA and EM_XTENSA_OLD.
778 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
782 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
783 thumb-pe*, mcore-pe and mcore-*elf.
784 * configure: Regenerate.
788 * objdump.c (dump_data): Don't truncate the address to long; make
789 the width large enough, and uniform for all entries in a section.
793 * readelf.c: Include "libiberty.h".
794 (dynamic_relocations): New.
795 (process_relocs): Properly handle dynamic relocation.
796 (process_dynamic_segment): Fill relocation elements in
801 * readelf.c (read_and_display_attr, read_and_display_attr_value):
802 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
804 (display_debug_lines, display_debug_pubnames, display_debug_info)
805 (display_debug_aranges, display_debug_frames, read_and_display_attr)
806 (read_and_display_attr_value): Add 64-bit DWARF support.
810 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
811 (optresid): Handle a resource id that can be a string or a number.
812 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
814 (define_icon_control): Pass a struct res_id to define_control.
815 * windres.h (define_control): Change prototype.
819 * objcopy (OPTION_FORMATS_INFO): Define.
820 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
821 (copy_options): Likewise.
822 (strip_usage): Add "--info" to usage.
823 (copy_usage): Likewise.
824 (strip_main): Declare formats_info. Iniatilize it to FALSE.
826 (copy_main). Likewise.
827 * doc/binutils.texi. Document the "--info" option for
829 * NEWS: Mention the new command line switch.
831 * objdump.c (endian_string): Move to bucomm.c.
832 (display_info): Likewise.
833 (display_target_list): Likewise.
834 (display_info_table): Likewise.
835 (display_target_tables): Likewise.
836 (main): Assign the return value of display_info to exit_status.
837 * bucomm.c: Include bfdver.h and libbfd.h
838 (display_target_list): Call bfd_nonfatal instead of nonfatal and
839 return 0 on a non-fatal error, 1 on success.
840 (display_info_table): Likewise.
841 * bucomm.h (display_info): Provide a prototype.
842 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
844 * Makefile.in: Regenerate.
848 * dlltool.c (gen_def_file): Put demangled name comments on
849 own line preceding export name.
853 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
854 printf for emitting new lines.
858 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
859 the symbol's value when --size-sort is used, unless -S is used.
860 doc/binutils.texi (--size-sort): For non-bsd formats both the
861 value and size of the symbols are displayed.
869 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
873 * MAINTAINERS: Update my mail address.
877 * stabs.c (BYTES_IN_WORD): Remove definition.
878 * wrstabs.c (BYTES_IN_WORD): Likewise.
882 * nm.c (main): Print a warning message if --size-sort and
883 --undefined-only are used together.
887 * nm.c (print_symbol): Remove check for undefined_only.
891 * po/da.po: Installed latest translation.
895 * README: Update binutils references to 2.13.
896 Add paragraph about using --disable-nls.
900 * doc/binutils.texi (nm --size-sort): Update.
904 * MAINTAINERS: Update email address.
908 * readelf.c (get_ia64_dynamic_type): New function.
909 (dynamic_segment_ia64_val): New function.
910 (get_dynamic_type): If machine type is EM_IA_64 call
911 get_ia64_dynamic_val.
912 (get_ia64_section_type_name): Handle sections with types in the
913 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
914 (get_dynamic_flags): If machine type is EM_IA_64 call
915 dynamic_segment_ia64_val.
919 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
920 section title capitalization more consistent. Update descriptions
921 of various options to be consistent with the code. Fix errors and
922 incomplete list in the description of c++filt format options. Remove
923 information about the linker. Change to be more polite about poor
924 bug reports. Replace FDL appendix with include of fdl.texi.
925 * doc/fdl.texi: New file.
929 * objcopy.c (filter_symbols): Fix compilation problems with
934 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
939 * rclex.l (handle_quotes): Handle strings spanning more than one line.
943 * nm.c (usage): Add `java' and `gnat' demangle styles and make
945 * objdump.c (usage): Ditto. Also fix some typos.
947 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
949 * debug.c (debug_record_variable): Handle global register variables.
951 * stabs.c (parse_stab): For N_SLINE only include
952 function_start_offset if the symbol is within a function;
953 otherwise, the value is absolute.
957 * readelf.c (decode_ARM_machine_flags): Handle the
958 EF_ARM_MAVERICK_FLOAT flag.
962 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
963 long and use %ld in printf format.
967 * readelf.c (dump_relocations): Reorder the r_info field for
968 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
972 * readelf.c (display_debug_loc): Skip address base changes.
976 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
981 * readelf.c: Include elf/ppc64.h.
982 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
983 * Makefile.am: Run "make dep-am".
984 * Makefile.in: Regenerate.
988 * readelf.c (guess_is_rela): Handle EM_IQ2000.
989 (get_machine_name): Likewise.
990 (dump_relocations): Likewise.
991 * NEWS: Mention IQ2000 support.
995 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
999 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
1000 changes in MIPS -M options.
1004 * Makefile.am: Add msp430 target.
1005 * Makefile.in: Regenerate.
1006 * readelf.c: Add support for msp430 target.
1010 * doc/binutils.texi (objdump): Document MIPS -M options.
1014 * readelf.c (main): Reset dump request after each file.
1018 * nlmconv.c (main): Pass TRUE as third argument to
1019 bfd_arch_get_compatible.
1023 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
1024 macro. Handle 'S' encoding, accepting 8-bit characters.
1025 (main): Parse 'S' encoding.
1026 (get_char): Accept 'S' encoding.
1027 (print_strings): Use STRING_ISGRAPHIC.
1028 (usage): Document support of 'S' encoding.
1029 * doc/binutils.texi: Document support of 'S' encoding/
1030 * NEWS: Mention new feature.
1034 * README <building ar>: Don't use libibery's needed_list or
1035 required_list, instead link libiberty/*.o.
1039 * doc/binutils.texi: Fix typos.
1043 * doc/binutils.texi: Add missing parenthesis.
1047 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
1048 symbols by adding the given prefix to the begining of the symbol
1049 name. This is useful to provide name space separation regardless
1050 of how the object file was created. Added --prefix-sections=
1051 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
1052 sections (or all sections with the alloc flag set) by adding the given
1053 prefix to the begining of the symbol name.
1054 * NEWS: Mention this new feature.
1055 * doc/binutils.texi: Document this new feature.
1059 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
1060 dyn_string_append with dyn_string_append_cstr.
1062 * emul_aix.c (ar_emul_aix_create): Remove unused function.
1066 * readelf.h (get_TAG_name, get_AT_name,
1067 read_and_display_attr_value): Add support for UPC extensions to
1069 * NEWS: Mention this new support.
1073 * NEWS: Mention that bfd no longer declares a "boolean" type.
1077 * readelf.c (process_program_headers): When setting loadaddr, don't
1078 assume segment size is 4k. Use p_align instead.
1079 (loadaddr): Change from int to long.
1080 (dynamic_addr, dynamic_info, version_info): Likewise.
1081 (process_dynamic_segment <syminsz>): Likewise.
1082 (process_dynamic_segment): Adjust print format string.
1083 (rela_addr, rela_size): Delete.
1084 (process_relocs): Formatting.
1088 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
1089 * configure: Regenerate.
1093 * MAINTAINERS: Change e-mail address back to airs.com.
1097 * MAINTAINERS: Add self.
1101 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
1102 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
1103 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
1104 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
1105 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
1106 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
1107 with TRUE/FALSE. Formatting.
1111 * readelf.c Replace occurrences of Elf32_Internal_* and
1112 Elf64_Internal_* with Elf_Internal_*.
1113 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
1114 Zero r_addend fields.
1115 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
1120 * size.c (usage): Fix typo describing switch for hex format.
1124 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
1125 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
1130 * readelf.c (process_program_headers): Add comment about return
1131 value. Ensure that 0 is returned if the headers are not loaded.
1132 (process_file): If process_section_headers failed to load the
1133 headers disable any tests that rely upon them. Similarly for
1134 process_program_headers.
1138 * po/da.po: Updated Danish translation.
1142 * rddbg.c (read_section_stabs_debugging_info): Also recognize
1143 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
1147 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
1152 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
1156 * configure.in (ALL_LINGUAS): Add 'da'.
1157 * configure: Regenerate.
1158 * po/da.po: New Danish translation.
1160 * readelf.c (get_symbol_index_type): Revert part of previous
1161 patch: Display unknown symbol types in decimal, not hex.
1165 * dlltool.c (add_excludes): Don't prefix excluded fastcall
1166 symbols with underscore.
1167 (xlate): Ignore add_underscore for decorated fastcall symbols.
1171 * deflex.l: Accept '@' as first character of an ID.
1172 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
1173 ASM_PREFIX for fastcall symbols.
1174 (scan_drectve_symbols): Handle fastcall symbols when generating
1175 undecorated aliases for symbols in drectve section.
1176 (scan_filtered_symbols): Likewise, with export-all.
1177 (xlate): Likewise, with --kill-at.
1178 (make_imp_label): New function to handle fastcall symbols
1180 (make_one_lib_file): Use make_imp_label instead of make_label
1185 * MAINTAINERS: Add self as TIC4X maintainer.
1189 * readelf.c (get_symbol_index_type): Add hex number to
1190 PROCESSOR-specific, OS-specific, reserved and unknown symbol
1195 * readelf.c (byte_get_little_endian): Comment typo fix.
1196 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
1197 as the format string.
1198 (dump_relocations): Correct section sym names.
1199 (process_section_headers): Clear symtab_shndx_hdr.
1200 (read_and_display_attr_value): Don't pass indirect string to printf
1201 as the format string.
1202 (display_debug_frames): Indicate when zero terminator found. Decode
1203 DW_EH_PE_pcrel addresses.
1207 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
1208 order to ensure proper disassembly of the valid 0-value opcode.
1209 * configure: Regenerate.
1210 * aclocal.m4: Regenerate.
1211 * config.in: Regenerate.
1212 * configure.in: Regenerate.
1213 * doc/Makefile.in: Regenerate.
1214 * po/binutils.pot: Regenerate.
1218 * MAINTAINERS: Add self as SH maintainer.
1222 * doc/binutils.texi (objdump): Document -z and move the entry for
1223 --disassemble-zeroes to the end of the options section (for `z').
1227 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
1231 * objdump.c (dump_data): Correct addr_offset for opb != 1.
1235 * bucomm.c (list_supported_targets): Use bfd_target_list.
1237 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
1238 other object errors in preference to bfd_core errors.
1242 * Makefile.am: Run "make dep-am".
1243 * objdump.c: #include "bfdver.h".
1244 * version.c: Likewise.
1245 * Makefile.in: Regenerate.
1246 * config.in: Regenerate.
1247 * configure: Regenerate.
1248 * po/POTFILES.in: Regenerate.
1252 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
1253 sections. Allow relocations against the absolute symbol. Don't
1254 use the value in compunit.cu_abbrev_offset if we found a RELA
1259 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
1260 ordinary ones are available.
1264 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
1265 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
1269 * Makefile.am (CFILES): Add cxxfilt.c.
1270 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
1271 (cxxfilt_LDADD): Delete.
1272 Remove all references to underscore.c.
1274 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
1275 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
1276 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
1277 adjustments to fit into binutils framework.
1278 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
1282 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
1283 Handle DW_OP_GNU_push_tls_address.
1287 * po/tr.po: Updated Turkish translation.
1291 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
1292 testsuite changes. Add paragraphs about testsuite and config
1297 * readelf.c (get_machine_flags): Remove redundant reference to
1302 * objdump.c (dump_bfd): Restore lines accidentally deleted in
1307 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
1308 (dump_bfd_header): Likewise.
1312 * nm.c: Revert last change.
1316 * nm.c (display_rel_file): Don't report "no symbols" as an error.
1317 * objdump.c (slurp_symtab): Likewise.
1318 (slurp_dynamic_symtab): Likewise.
1319 (dump_symbols): Likewise. Do print "no symbols" to stdout.
1323 * MAINTAINERS: Change my mailing address.
1327 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
1331 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
1336 * readelf.c (parse_args): Change debug_dump_opt to static.
1340 * stabs.c (parse_stab_argtype): Pass length of physname to
1341 stab_demangle_argtypes.
1342 (stab_demangle_argtypes): Add new parameter - length of physname.
1343 Pass length of physname on to stab_demangle_prefix.
1344 (stab_demangle_prefix): Add new parameter - length of physname.
1345 Use length of physname (if supplied) to compute end of function
1350 * readelf.c: Include elf/i370.h.
1351 (dump_relocations): Handle EM_S370.
1352 (dynamic_segment_parisc_val): Print \n.
1353 (process_dynamic_segment <DT_BIND_NOW>): Here too.
1357 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
1358 * objdump.c (usage): Likewise.
1359 * doc/binutils.texi: Likewise.
1363 * rcparse.y (acc_entry): Don't warn about ALT use with
1368 * objcopy.c (copy_object): Don't warn about the unsupported
1369 architecture unless the input target is defaulted or the
1370 output architecture is different from the input.
1374 * po/sv.po: Updated Swedish translation.
1378 * prdbg.c (pr_fix_visibility): Remove assert.
1382 * addr2line.c (process_file): Rename parameter 'filename' to
1383 'file_name' in order to avoid shadowing global symbol of the
1389 * readelf.c (OPTION_DEBUG_DUMP): Define.
1391 (usage): Update help.
1392 (parse_args): Handle --debug-dump separately from -w.
1393 * doc/binutils.texi (readelf): Update documentation.
1397 * po/es.po: Updated Spanish translation.
1398 * po/fr.po: Updated French translation.
1402 * po/es.po: Updated Spanish translation.
1406 * Makefile.am: Run "make dep-am".
1407 * Makefile.in: Regenerate.
1411 * po/fr.po: Updated French translation.
1415 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
1419 * budemang.c: Include config.h and string.h/strings.h.
1424 * readelf.c: Include "elf/ip2k.h".
1425 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
1426 (dump_relocations): Likewise.
1427 (get_machine_name): Likewise.
1428 * NEWS: Mention IP2K support.
1432 * NEWS: Add 'Changes in 2.13'.
1436 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
1437 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
1438 (get_section_type_name): Handle SHT_GNU_LIBLIST.
1439 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
1440 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
1441 (process_gnu_liblist): New.
1442 (process_file): Call it.
1446 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1447 * Makefile.in: Regenerate.
1451 * budemang.c: New file, "demangle" function.
1452 * budemang.h: New file.
1453 * addr2line.c (translate_addresses): Use "demangle".
1454 * nm.c (print_symname): Likewise.
1455 * objdump.c (objdump_print_symname): Likewise.
1456 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
1457 here since that obfuscates.
1458 * rdcoff.c: Don't #include demangle.h.
1459 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
1460 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
1461 (HFILES): Add budemang.h. Sort.
1462 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
1464 * Makefile.in: Regenerate.
1468 * readelf.c: Include "elf/vax.h".
1469 (guess_is_rela): Move EM_VAX from unknown to RELA case.
1470 (dump_relocations): Handle VAX relocations.
1471 (get_machine_flags): Handle VAX machine flags.
1475 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
1479 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
1483 * nm.c (print_symname): When demangling, strip leading dots from
1484 symbol names to avoid confusing the demangler.
1488 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1489 * Makefile.in: Regenerated.
1493 * configure.in: Quote bu_cv_have_fopen64.
1494 * configure: Regenerate.
1498 * configure.in: Check for strcoll.
1499 * configure: Regenerate.
1500 * config.in: Regenerate.
1501 * nm.c (main): Set locale for LC_COLLATE category.
1502 (non_numeric_forward): Use strcoll if available.
1506 * MAINTAINERS: Add self as fr30 and frv maintainer.
1510 * nm.c: Include "elf/common.h".
1511 (extended_symbol_info): Add elfinfo, a pointer to
1513 (SYM_SIZE): Use elfinfo if it is not NULL.
1514 (get_symbol_type): New function.
1515 (display_archive): Set print_width for each archive member.
1516 (display_file): Likewise.
1517 (display_rel_file): Don't set print_width here.
1518 (print_object_filename_sysv): Handle print_width.
1519 (print_archive_member_sysv): Likewise.
1520 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
1521 (print_symbol): Set the elfinfo field in extended_symbol_info
1523 (print_object_filename_sysv): Fix the output format.
1524 (print_symbol_info_sysv): Print type and section for ELF.
1528 * nm.c (print_size_symbols): Remove assignment, which makes
1529 the symbol's size equal to its value when --size-sort is
1534 From Catherine Moore:
1535 * readelf.c (elf/frv.h): #include it.
1536 (guess_is_rela): Support EM_CYGNUS_FRV.
1537 (dump_relocations): Ditto.
1538 (get_machine_name): Ditto.
1539 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
1543 * readelf.c (get_file_header): Only read the first section header if
1544 e_shoff is non-zero.
1548 * nm.c (print_size): New variable. Initialize to 0.
1549 (long_options): Add 'S'/"print-size".
1551 (print_symbol_info_bsd): Print size only if print_size is not
1554 * doc/binutils.texi: Document -S/--print-size.
1558 * nm.c (struct extended_symbol_info): New structure: Add the size
1559 of the symbols to the information provided by the symbol_info
1561 (print_symbols): Pass the symbol size to print_symbol.
1562 (print_size_symbols): Pass the symbol size to print_symbol.
1563 (print_symbol): Extra argument: The size of the symbol. Store
1564 this in the extended_symbol_info structure.
1565 (print_symbol_info): Change type of info parameter to
1566 extended_symbol_info. Display the size, if known.
1567 (print_symbol_info_posix): Likewise.
1568 (print_symbol_info_sysv): Likewise.
1572 * Makefile.am: Run "make dep-am".
1573 * Makefile.in: Regenerate.
1574 * doc/Makefile.in: Regnerate.
1576 * bucomm.c: Replace CONST with const.
1578 * objdump.c: Likewise.
1582 * readelf.c (DW_CFA_GNU_args_size): Don't define.
1583 (DW_CFA_GNU_negative_offset_extended): Likewise.
1584 (DW_CFA_GNU_window_save): Likewise.
1585 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
1586 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
1590 * nm.c: When computing size of symbols for an ELF target use the
1591 internal size field.
1595 * testsuite/binutils-all/objcopy.exp: clear xfail for
1597 * testsuite/binutils-all/hppa/objdump.exp: Return if
1602 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
1606 * objdump.c: Fix formatting.
1610 * MAINTAINERS: Add self as M68k maintainer.
1614 * readelf.c: Modified/Added DLX elf support.
1618 * arsup.c: Fix formatting.
1619 * debug.c (debug_record_label): Add missing colon to error
1621 * ieee.c (parse_ieee_ty): Fix spelling typo.
1622 * readelf.c (process_program_headers): Remove English assumption
1623 about making a plural word.
1624 (process_section_headers): Likewise.
1625 (process_relocs): Allow quotes to be translated.
1626 (process_unwind): Likewise,
1627 (process_mips_specific): Improve error message.
1628 (get_note_type): Fix spelling typo.
1630 * configure.in (ALL_LINGUAS): Add sv
1631 * po/sv.po: New file.
1635 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
1636 (unw_print_grmask): Likewise.
1637 (unw_print_frmask): Likewise.
1641 * arsup.c: Remove ARGSUSED.
1642 * debug.c: Likewise.
1644 * nlmconv.c: Likewise.
1645 * prdbg.c: Likewise.
1646 * stabs.c: Likewise.
1647 * wrstabs.c: Likewise.
1651 * arlex.l: Use #include "" instead of <> for local header files.
1652 * coffdump.c: Likewise.
1653 * coffgrok.c: Likewise.
1654 * nlmconv.c: Likewise.
1655 * nlmheader.y: Likewise.
1656 * srconv.c: Likewise.
1657 * strings.c: Likewise.
1658 * sysdump.c: Likewise.
1659 * unwind-ia64.h: Likewise.
1660 * windres.h: Likewise.
1661 * winduni.h: Likewise.
1665 * MAINTAINERS: Add self as the d10v maintainer.
1669 * configure.in: Builds dlltool for i386-netbsdpe.
1670 * configure: Regenerate.
1674 * size.c: Fix formatting.
1675 * srconv.c: Likewise.
1676 * stabs.c: Likewise.
1677 * sysdump.c: Likewise.
1678 * unwind-ia64.c: Likewise.
1679 * wrstabs.c: Likewise.
1683 * readelf.c (get_segment_type): Add PT_TLS.
1684 (get_elf_section_flags): Add SHF_TLS.
1685 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
1686 (process_dynamic_segment): Use puts instead of printf.
1687 (get_symbol_type): Support STT_TLS.
1688 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
1689 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
1690 Add SEC_THREAD_LOCAL.
1694 * rdcoff.c: Fix formatting.
1695 * rddbg.c: Likewise.
1696 * readelf.c: Likewise.
1697 * rename.c: Likewise.
1698 * resbin.c: Likewise.
1699 * resrc.c: Likewise.
1700 * resres.c: Likewise.
1704 * filemode.c: Fix formatting.
1706 * is-ranlib.c: Likewise.
1707 * is-strip.c: Likewise.
1708 * maybe-ranlib.c: Likewise.
1709 * maybe-strip.c: Likewise.
1710 * nlmconv.c: Likewise.
1712 * not-ranlib.c: Likewise.
1713 * not-strip.c: Likewise.
1714 * objcopy.c: Likewise.
1715 * objdump.c: Likewise.
1719 * objdump.c (dump_headers): Fix output formatting for ELF32
1720 architectures in a BFD64 enabled toolchain.
1724 * debug.c: Fix formatting.
1725 * debug.h: Likewise.
1726 * dlltool.c: Likewise.
1727 * dllwrap.c: Likewise.
1728 * emul_aix.c: Likewise.
1729 * emul_vanilla.c: Likewise.
1733 * addr2line.c: Fix formatting.
1735 * arsup.c: Likewise.
1736 * arsup.h: Likewise.
1737 * binemul.c: Likewise.
1738 * binemul.h: Likewise.
1739 * bucomm.c: Likewise.
1740 * coffdump.c: Likewise.
1741 * coffgrok.c: Likewise.
1742 * coffgrok.h: Likewise.
1746 * MAINTAINERS: Add myself as the second AVR port maintainer.
1750 * MAINTAINERS: Update my email address.
1754 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1758 * configure.in: Replace `*pe' with `pe' throughout.
1759 * configure: Regenerate.
1763 * Makefile.am: Honour DESTDIR.
1764 * Makefile.in: Regenerate.
1768 * dlltool.c (process_def_file): Add missing prototype.
1769 (new_directive, assemble_file, main): Likewise.
1770 (process_def_file, new_directive): Make static.
1771 (inform): Rewrite using VA_FIXEDARG.
1772 * dllwrap.c (mybasename): Add missing prototype.
1773 (strhash, main): Likewise.
1774 (inform): Rewrite using VA_FIXEDARG.
1776 (cleanup_and_exit): Use old style function definition.
1777 (strhash): Likewise.
1778 * windres.c (define_resource): Use one memset to clear all of
1779 struct res_resource.
1781 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
1782 call to rules that need no lookahead. Check for no lookahead.
1786 * rclex.l (get_string): Correct "strings" list handling.
1787 * resrc.c (read_rc_file): Discard strings.
1791 * ar.c (replace_members): Remove unused var. Formatting fix.
1792 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1794 * MAINTAINERS: Sort port maintainers by CPU.
1798 * size.c (display_archive): Add last_arfile and code to close archives.
1802 * nm.c (print_symbol): Check returned filename from
1803 bfd_find_nearest_line is non-NULL.
1807 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
1811 * MAINTAINERS: Changed my email address.
1815 * arparse.y: Fix syntax warning.
1819 * readelf.c (fetch_location_list): Remove unused function.
1821 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1822 and display a warning message, then exit the loop.
1824 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1828 * resrc.c (write_rc_dialog): If charset is non-default value
1829 display all of the DIALOGEX parameters.
1833 * rcparse.y: Allow two to five parameter in FONT statement of
1835 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1837 (res_to_bin_dialog): Likewise.
1838 * windres.h: Added misssing charset variable to dialog_ex
1843 * rcparse.y: Set MEMFLAG_PURE by default.
1847 * rcparse.y: CLASS definitions in DIALOG resources
1849 Fix typo in BEDIT warning.
1850 Don't add default dialog style when explicit style specified.
1851 Add WS_CAPTION dialog style if CAPTION is specified.
1853 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1854 (handle_quotes) "\a" escape (used for right justified key
1855 definitions in menus) is encodes as binary 8.
1857 * resrc.c (write_rc_dialog): Print style even if it is 0.
1858 (write_rc_directory): Fix overlooked sublang shift bug.
1859 (bin_to_res_dialog): Don't print empty dialog caption.
1861 * resbin.c (bin_to_res_dialog): Use signature to identify
1864 * windres.c (main): Set default LANGUAGE to english/us.
1868 * resrc.c: print CLASS names in quotes
1872 * MAINTAINERS: Update my email address.
1876 * dep-in.sed: Cope with absolute paths.
1877 * Makefile.am (dep.sed): Subst TOPDIR.
1879 * Makefile.in: Regenerate.
1883 * MAINTAINERS: Update my email address.
1887 * Makefile.am: Run "make dep-am".
1888 * Makefile.in: Regenerate.
1889 * doc/Makefile.in: Regenerate.
1890 * po/POTFILES.in: Regenerate.
1891 * aclocal.m4: Regenerate.
1892 * config.in: Regenerate.
1893 * configure: Regenerate.
1897 * readelf.c: Add support for displaying dwarf2 location lists.
1898 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1899 (parse_args): Use 'O' as shorthand for displaying location list
1901 (process_section_headers): Handle debug_loc as well.
1902 (load_debug_loc): New.
1903 (free_debug_loc): New.
1904 (fetch_location_list): New.
1905 (display_debug_loc): New.
1906 (display_debug_info): Call load_debug_loc and free_debug_loc.
1907 (debug_displays): We can display .debug_loc now, too.
1908 (usage): Update usage string.
1909 (read_and_display_attr_value): Note location lists, but don't
1910 display them inline.
1914 * Makefile.am: Add binutils emulation support.
1915 * configure.in: Same.
1916 * configure.tgt: New file. Same.
1917 * ar.c (main): Use ar_emul_parse_arg.
1918 (usage): Use ar_emul_usage.
1919 (replace_members): Use ar_emul_replace, ar_emul_append.
1920 * binemul.c: New file. Define the binutils emulation
1921 layer. Define default methods.
1922 * binemul.h: New file. Binutils emulation layer header file.
1923 * emul_aix.c: New file. AIX binutils emulation.
1924 * emul_vanilla.c: New file. Default binutils emulation.
1925 * Makefile.in: Regenerate.
1930 * po/fr.po: Updated version.
1934 * po/fr.po: Updated version.
1938 * README: Update some version numbers.
1942 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1943 (Architecture Selection): Likewise.
1947 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1948 generating .exp file.
1952 * readelf.c (dump_relocations): Fix typo.
1956 * NEWS: Mark 2.12 branch.
1960 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1961 types for 64-bit MIPS. Narrow some fields for 80-char
1963 (dump_relocations): Change spelling from 'unrecognised'
1965 (decode_ARM_machine_flags): Likewise.
1966 (parse_args): Likewise.
1967 (read_and_display_attr_value): Likewise.
1968 (display_debug_section): Likewise.
1972 * NEWS: Mention support for MMIX.
1976 * readelf.c (get_machine_flags): Recognize EF_M68000.
1980 * MAINTAINERS: Added self as MN10300 co-maintainer.
1984 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1989 * MAINTAINERS: List myself as branch maintainer.
1993 * configure: Regenerate.
1994 * objcopy.c: Update copyright date.
1995 * doc/Makefile.in: Regenerate.
1999 * nlmconv.c: Back out localtime PARAMS change.
2003 * objcopy.c (MKDIR): Define.
2004 (copy_archive): Make name_list.name const. Use MKDIR.
2005 Handle duplicate files in archives by making more temp dirs.
2009 * coffdump.c: Include "getopt.h" after "bucomm.h"
2010 so that macros are defined correctly.
2011 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
2012 prototype. Prototype main.
2013 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
2017 * MAINTAINERS: Added self as SH co-maintainer.
2021 * po/tr.po: Updated translation.
2025 * Makefile.am: Run "make dep-am"
2026 * Makefile.in: Regenerate.
2030 * nm.c (print_value): Mark abfd unused.
2034 * unwind-ia64.c (unw_decoder): Change second argument
2035 to unsigned int, to match function prototypes.
2039 * objdump.c: Include "getopt.h" after "bucomm.h" so that
2040 __GNU_LIBRARY__ will be defined.
2045 * configure: Regenerated.
2049 * doc/Makefile.am (install): Depend on install-info.
2050 * doc/Makefile.in: Regenerate.
2054 * objcopy.c (strip_usage): Document -d as an alias
2057 * size.c (usage): Document [-t | --totals] options.
2058 (long_options): Add --totals option.
2059 (main): If the [-t | --totals] option is specified and
2060 the output format is Berkeley-style, print the total
2061 text, data, and bss sizes of all objects listed.
2062 (print_berkeley_format): If the [-t | --totals] option
2063 is specified, track the total text, data, and bss
2065 * doc/binutils.texi (size): Document [-t | --totals] options.
2066 (strip): Document -d as an alias for --strip-debug.
2067 * NEWS: Mention new feature of size.
2071 * po/fr.po: Updated version.
2072 * po/es.po: Updated version.
2076 * addr2line.c (usage): Update text to provide verbose
2077 description of the command line options.
2078 * ar.c (usage): Update text to provide verbose
2079 description of the command line options.
2080 (main): Accept -h and -H when running as ranlib.
2081 * coffdump.c (show_usage): Update text to provide verbose
2082 description of the command line options.
2083 * dlltool.c (main): Accept -H as an alias for --help.
2084 * nlmconv.c (show_usage): Update text to provide verbose
2085 description of the command line options.
2086 * nm.c (usage): Replace OPTIONS with option(s).
2087 (main): Accept -H as an alias for --help.
2088 * objcopy.c (strip_main): Accept -H as an alias for --help.
2089 * objdump.c (main): Accept -v as an alias for --verbose.
2090 * readelf.c (usage): Adjust format to match style used in
2092 * size.c (usage): Update text to provide verbose description
2093 of the command line options.
2094 (main): Accept -v, -h and -H as command line options.
2095 * srconv.c (show_usage): Update text to provide verbose
2096 description of the command line options.
2097 * strings.c (main): Accept -H and -v as command line options.
2098 (usage): Update text to provide verbose description of the
2099 command line options.
2100 * sysdump.c (show_usage): Update text to provide verbose
2101 description of the command line options.
2102 * windres.c (usage): Adjust format to match style used in
2105 * coffdump.c: Fix formatting.
2106 * nlmconv.c: Fix formatting.
2107 * srconv.c: Fix formatting.
2108 * sysdump.c: Fix formatting.
2112 * Makefile.am: Run "make dep-am".
2113 * Makefile.in: Regenerate.
2117 * version.c (print_version): Update year.
2121 * readelf.c (get_machine_name): Handle EM_PPC64.
2122 (guess_is_rela): Here too.
2126 * po/binutils.pot: Regenerate.
2127 * po/fr.po: Regenerate.
2128 * po/tr.po: Regenerate.
2132 * po/tr.po: Import new version.
2136 * readelf.c (get_ppc64_dynamic_type): New.
2137 (get_dynamic_type): Call it.
2141 * objcopy.c (copy_usage): Use "options" instead of "switches".
2142 (strip_usage): Use "options" instead of "switches".
2143 * doc/binutils.texi (dlltool): Refer to "options" instead of
2148 * MAINTAINERS: Add self as co-maintainer for the ARM code.
2152 * po/es.po: Import from translation project.
2153 * configure.in (ALL_LINGUAS): Add es.
2154 * configure: Regenerate.
2158 * readelf.c (get_netbsd_elfcore_note_type): Use
2159 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2163 * readelf.c: Update copyright years.
2164 (get_note_type): Return a const char *.
2165 (get_netbsd_elfcore_note_type): New function.
2166 (process_note): Use get_netbsd_elfcore_note_type to get
2167 the note type string for NetBSD ELF core files.
2171 * readelf.c (get_ia64_segment_type): Add support for macros.
2172 (get_segment_type): Add support for IA64 specific macros.
2174 For older changes see ChangeLog-0001
2180 version-control: never