3 * dwarf.c (process_extended_line_op): Add cases for HP extensions
4 to the line ops. Mention if an unknown op code is in the user
6 (decode_location_expression): Add cases for HP extensions, the
7 DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and
8 DW_OP_bit_piece DWARF3 operators.
9 (read_and_display_attr): Correct list of attributes which can
10 reference a location list.
11 (read_and_display_attr_value): Add cases for DWARF3 values and HP
13 Correct list of attributes which can reference a location list.
14 (get_AT_name): Add cases for DWARF3 values and HP and PGI
19 * doc/binutils.texi: Update to FDL 1.2.
20 (Top): consistent punctuation in menu entries.
21 (Index): Rename from Binutils Index.
22 * doc/fdl.texi: Update from http://www.gnu.org/licenses/fdl.texi.
26 * dwarf.c (is_relocatable): Remove definition.
27 (display_debug_frames): Remove check in is_relocatable.
28 * dwarf.h (is_relocatable): Remove declaration.
29 * objdump.c (is_relocatable): New static definition.
30 * readelf.c (dump_relocations): Make the function void.
31 (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx,
33 (is_32bit_pcrel_reloc): Add support for x86 and Arm.
34 (is_16bit_abs_reloc): Add support for D10V.
35 (debug_apply_rela_addends): Rename to debug_apply_relocations.
36 Add code to support rel relocations.
37 (load_debug_section): Fix call to debug_apply_relocations.
38 (get_file_header): Remove setting of is_relocatable.
42 * readelf.c (debug_apply_rela_addends): Clarify FIXME.
46 * readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by
48 (is_64bit_abs_reloc): Likewise.
52 * dwarf.c (process_debug_info): Check for corrupt lengths.
53 * readelf.c (get_reloc_type): New function. Returns the reloc
54 number extracted from the info field of a reloc.
55 (get_reloc_symindex): New function. Returns the symbol index
56 extracted from the info field of a reloc.
57 (dump_relocations): Use the new functions.
58 (slurp_ia64_unwind_table): Use the new functions.
59 (slurp_hppa_unwind_table): Use the new functions.
60 (dump_section_as_bytes): Use the new functions.
61 (get_reloc_size): Delete function.
62 (is_32bit_abs_reloc): New function. Determines if a given reloc
63 type is a 32-bit absolute relocation.
64 (is_32bit_pcrel_reloc): New function. Like is_32bit_abs_reloc but
65 for pc-relative relocations.
66 (is_64bit_abs_reloc): New function. Like is_32bit_abs_reloc but
67 for 64-bit absolute relocations.
68 (is_16bit_abs_reloc): New function. Like is_32bit_abs_reloc but
69 for 32-bit absolute relocations.
70 (debug_apply_rela_addends): Use the new functions. Skip and warn
71 about any unrecognised relocations.
75 * doc/binutils.texi: Move top stuff to the top.
76 Use @direntry/@dircategory, format entries to play nicely with
78 Avoid duplicate copying strings.
79 Don't misspell "Texinfo".
83 * readelf.c (display_power_gnu_attribute): Add support for
84 Tag_GNU_Power_ABI_Vector.
88 * readelf.c (get_note_type): Handle NT_PPC_VMX.
92 * Makefile.am: Run "make dep-am".
93 * Makefile.in: Regenerate.
94 * po/POTFILES.in: Regenerate.
98 * strings.c (print_strings): Don't use %L, use %ll in printf
104 * readelf.c (process_program_headers): Use dynamic segment unless
105 dynamic section is found.
109 * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
110 (objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e."
111 and change to spell out "for example" in two places.
115 * configure.in: Build windows tools for --enable-targets=all.
116 * configure: Regenerate.
120 * objdump.c (print_line): Check fwrite return value.
121 * srconv.c (checksum, wr_tr, wr_cs): Likewise.
122 * sysdump.c (fillup): Return zero on getc or fread EOF. Return count
127 * dwarf.c (process_debug_info): Line up section offsets of
128 attribute values with those of dies.
129 (read_and_display_attr): Reduce spacing here.
131 * dwarf.c (display_debug_lines): Print the offset of each line
132 number program header.
137 * readelf.c (print_dynamic_symbol): New.
138 (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols.
142 * resrc.c (read_rc_file): Rename e to edit, and c to dir.
143 Pass dir to windres_add_include_dir. Add comments.
144 (close_input_stream): Check pclose error, and call fatal if
145 the preprocessor failed.
146 * windres.c (windres_add_include_dir): Assert that p is non-NULL,
147 and not an empty string.
152 * dlltool.c: Fix spelling typos.
156 * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.
160 * MAINTAINERS: Fix typo.
164 * readelf.c (do_archive_index): New.
165 (options): Add -c and --archive-index option.
166 (usage): Add -c option.
167 (parse_args): Add c option parsing.
168 (process_archive): Dump archive index.
169 * NEWS: Mention the new feature.
170 * doc/binutils.texi: Document the new feature.
174 * po/es.po: Updated Spanish translation.
178 * doc/binutils.texi (objdump): Describe the output of the --syms
179 option in more detail.
184 * resrc.c: (read_rc_file): Move 'filename' default initialization
185 to start of function.
190 * NEWS: Add note about SSE5 being added on i386.
195 * nm.c (value_format_64bit, set_print_radix, print_value): Handle
196 BFD_HOST_64BIT_LONG_LONG.
197 * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG.
198 (print_vma): Handle BFD_HOST_64BIT_LONG_LONG.
199 (dump_relocations): Likewise. Expand _bfd_int64_low in a
204 * rcparse.y: (string_data): Removed ill token removal.
209 * readelf.c (process_version_sections): Don't read past end of
210 various section buffers.
214 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
215 * Makefile.in: Regenerated.
217 * sysdep.h: Include "config.h" first.
221 * po/sk.po: New Slovakian translation.
222 * configure.in (LINGUAS): Add sk.
223 * configure: Regenerate.
227 * readelf.c (dump_type): New type used to classify the kinds of
228 dump requested by the user.
229 (dump_sects, cmdline_dump_sects): Use the new type.
230 (options): Add --string-dump option.
231 (request_dump): Rename to request_dump_bynumber. Use dump_type.
232 (request_dump_byname): Use dump_type.
233 (parse_args): Parse --string-dump option.
234 (process_section_headers): Fix calls to request_dump.
235 (initialise_dumps_byname): Likewise.
236 (dump_section): Rename to dump_section_as_bytes.
237 (dump_section_as_strings): New function. Display the contents of
238 a section as printable strings.
239 (process_section_contents): String dump the section if requested.
240 (process_object): Use dump_type.
242 * Makefile.am: Add dependency for readelf.c on safe-ctype.h.
243 * Makefile.in: Regenerate.
244 * NEWS: Mention the new feature.
245 * doc/binutils.texi: Document the new feature.
249 * bucomm.c (bfd_nonfatal_message): New.
250 * bucomm.h (bfd_nonfatal_message): Declare.
251 * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use
252 bfd_nonfatal_message.
253 (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL
254 calls, or replace with bfd_nonfatal_message calls as appropriate.
255 (copy_object, copy_archive, copy_file, setup_section,
256 copy_section, write_debugging_info): Likewise.
260 * NEWS: Mention Coverity's contribution.
264 * readelf.c (process_note): Recognize SPU core file notes.
268 * configure.in: Install embedspu on powerpc*-*-eabi* also.
269 * configure: Regenerated.
273 * po/uk.po: Updated Ukrainian translation.
277 * doc/binutils.texi (objdump): Document -Mppcps.
281 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
285 * readelf.c: Revert last change.
289 * readelf.c (get_segment_type): Change PT_GNU_STACK to
294 * NEWS: Add a marker for the 2.18 features.
298 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
299 $(top_srcdir)/../../bfd/doc.
300 * doc/Makefile.in: Regenerate.
304 * MAINTAINERS: Add myself as CR16 support maintainer and
305 update myself as CRX support maintainer.
309 * po/fi.po: Updated Finnish translation.
310 * po/vi.po: Updated Vietnamese translation.
314 * doc/binutils.texi: (windmc): Correct incorrect desciption.
319 * objcopy.c (setup_section): Do modify section flags for ELF
320 STRIP_NONDEBUG (reverting part of 2007-05-30 change). Prevent
321 header rewrite by twiddling input section flags instead.
322 Simplify code setting SHT_NOBITS.
326 * MAINTAINERS: Update my email address.
330 * readelf.c (process_archive): Also skip Irix6-style archive symbol
335 * readelf.c (NUM_ELEM): Remove redundant macro; replace references
336 to it with references to ARRAY_SIZE.
337 Add support for CR16.
343 * srconv.c (strip_suffix): Add const qualifier to argument.
347 * po/uk.po: New Ukrainian translation.
348 * configure.in (ALL_LINGUAS): Add 'uk'.
349 * configure: Regenerate.
353 * objdump.c (dump_dwarf): Correct setting of is_relocatable.
357 * readelf.c (get_gnu_elf_note_type): New function.
358 (process_note): Use it for "GNU" name.
362 * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
363 (CFILES): Add unwind-ia64.c.
364 Regenerate dependencies.
365 * Makefile.in: Regenerate.
369 * addr2line.c: Update copyright notice to refer to GPLv3.
370 * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c,
371 binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c,
372 coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y,
373 dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh,
374 emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c,
375 mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
376 objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c,
377 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
378 size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c,
379 sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c,
380 windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c,
381 winduni.h, wrstabs.c: Likewise.
382 * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c,
383 not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright
385 * NEWS: Mention that the sources are now released under GPLv3.
386 Add a marker for the changes that went into v2.17.
387 * version.c (print_version): Specify that the program is released
388 under version 3 of the GPL.
392 * resrc.c: (read_rc_file): Add include path of user passed rc
394 * windres.c: (windres_add_include_dir): New.
395 (main): Use of windres_add_include_dir.
396 * windres.h: (windres_add_include_dir): Add prototype.
400 * doc/binutils.texi (size): Document --common.
401 * size.c: Make a number of vars static. Delete unnecessary
402 function declarations.
403 (show_common, common_size): New vars.
404 (usage): Describe --common.
405 (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use.
406 (long_options): Add common.
407 (calculate_common_size): New function.
408 (print_berkeley_format): Add common_size to bsssize.
409 (sysv_one_line): New function split out from..
410 (sysv_internal_printer): ..here.
411 (print_sysv_format): Handle display of *COM*.
412 (print_sizes): Call calculate_common_size.
416 * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next".
421 * objcopy.c (filter_symbols): Correct relocatable file test.
425 * Makefile.am: Run "make dep-am".
426 * Makefile.in: Regenerate.
427 * aclocal.m4: Regenerate.
428 * config.in: Regenerate.
429 * doc/Makefile.in: Regenerate.
430 * po/POTFILES.in: Regenerate.
431 * po/binutils.pot: Regenerate.
435 * aclocal.m4: Regenerated.
436 * doc/Makefile.in: Likewise.
437 * Makefile.in: Likewise.
441 * readelf.c (display_power_gnu_attribute, process_power_specific):
443 (process_arch_specific): Call process_power_specific.
447 * readelf.c (display_mips_gnu_attribute): New.
448 (process_mips_specific): Call process_attributes.
452 * readelf.c (display_gnu_attribute): New.
453 (process_arm_specific): Rearrange as process_attributes.
454 (process_arm_specific): Replace by wrapper of process_attributes.
458 * objcopy.c (setup_section): Don't reset ELF section type to
459 SHT_NOBITS when it is SHT_NOTE.
460 * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug.
464 * ar.c: Rename uses of bfd.next to bfd.archive_next throughout.
466 * binemul.c: Likewise.
467 * objcopy.c: Likewise.
468 * dlltool.c: Likewise.
473 * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
474 dependency on $(LIBICONV) to ...
475 (windres_LDADD, windmc_LDADD) ... here.
476 * Makefile.in: Regenerate.
480 * embedspu.sh (relas): Correct sh_info parsing.
484 * objdump.c: Include sys/stat.h.
488 * Makefile.am: Add windmc tool.
489 * Makefile.in: Regenerate.
490 * configure.in: Add windmc tool.
491 * configure: Regenerate.
496 * doc/Makefile.am: Add windmc tool.
497 * doc/Makefile.in: Regenerate.
498 * doc/binutils.texi: Add windmc documentation.
499 * NEWS: Mention new tool.
503 * objdump.c: Include sys/mman.h
504 (print_file_list): Remove f, add map, mapsize, linemap, maxline,
505 last_line, first fields.
508 (print_file_open): Call slurp_file and index_file. Initialize new
510 (skip_to_line): Rename to print_line and write only single line.
512 (show_line): Change to new algorithm.
516 * resres.c (probe_binary): Fix test for badly formatted headers.
520 * rclex.c: (cpp_line): Add code_page pragma support.
521 * windres.c: (usage, long_options, main): Add new option
523 * winduni.c: (wind_default_codepage, wind_current_codepage): New.
524 (unicode_from_ascii, ascii_from_unicode): Use
525 wind_current_codepage as codepage parameter.
526 (unicode_print): Print 4 characters for hexadecimal values in
528 * winduni.h: (wind_default_codepage, wind_current_codepage):
530 * doc/binutils.texi: Document new option.
531 * NEWS: Mention new features of windres.
535 * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
539 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
541 * acinclude.m4: Removed.
543 * Makefile.in: Regenerated.
544 * aclocal.m4: Likewise.
545 * configure: Likewise.
549 * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
553 PR binutils/4356 binutils/591
554 * resrc.c (filename_need_quotes): New function.
555 (look_for_default): If filename_need_quotes is true then quote the
556 filename in the command line being created.
557 (read_rc_file): Likewise.
561 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
565 * Makefile.am: Add LIBICONV to windres.
566 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
567 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
568 * config.in: Add ICONV defines.
569 * aclocal.m4: Regenerate.
570 * confugure: Regenerate.
571 * winduni.c: (local_iconv_map codepages, wind_language_t,
572 languages, unicode_is_valid_codepage, wind_find_language_by_id,
573 wind_find_language_by_codepage, wind_find_codepage_info,
574 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
575 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
577 (ascii_from_unicode): Use codepage_from_unicode.
578 (ascii_from_unicode): Use unicode_from_codepage.
579 Use for cygwin windows API for unicode transformation.
580 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
582 (wind_language_t, local_iconv_map): New types.
583 (wind_find_language_by_id, wind_find_language_by_codepage,
584 unicode_is_valid_codepage, wind_find_codepage_info,
585 unicode_from_codepage, codepage_from_unicode): New
590 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
594 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
595 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
596 (setup_section): Don't modify flags, and don't avoid calling
597 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
598 * readelf.c (process_program_headers): Ignore .dynamic of type
603 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
604 pic or pie and image needs relocs.
608 * Makefile.in: Regenerate.
609 * configure: Regenerate.
610 * aclocal.m4: Regenerate.
611 * doc/Makefile.in: Regenerate.
615 * rcparse.y: Join strings for elements having no side-effects in
620 * rclex.c: New file replacing rclex.l.
622 * windint.h: New file holding common structure and type
624 * Makefile.am: Added new header windint.h and exchanged rclex.l by
626 * Makefile.in: Regenerate.
627 * rcparse.y: Renamed some structures.
628 Use in internal representation always bfd_vma instead of long or
630 Removed from %union unused stringtable.
631 Added to %union suni structure for unicode strings.
632 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
633 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
634 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
635 Added support for these new rc file tokens.
636 * resbin.c: Rewrote using bfd and binary structures, and support
638 * rescoff.c: Likewise.
639 * resres.c: Likewise.
640 * resrc.c: Likewise. Dumps as RC are now recompilable.
641 * windres.c: As above. Using bfd for res and provide target
642 specific endianess support.
643 * windres.h: Use windint.h as include. Additionally removed K&R
645 * winduni.c: New printing and unichar support routines.
646 * winduni.h: Prototypes for new unichar helpers.
647 * windint.h: New file.
651 * objdump.c (find_symbol_for_address): Merge section and target
652 specific filtering code.
656 * doc/binutils.texi: Use @copying around the copyright notice.
660 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
661 for executables and shared libraries.
665 * objcopy.c (strip_main): Detect identical input and output file
667 (copy_main): Refactor tempname detection and use.
671 * objdump.c (load_debug_section): Select bias for DWARF debug
672 addresses based on the flavour of the bfd.
677 * objcopy.c (copy_object): Don't copy ELF program headers for
682 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
683 over one found on the users path.
684 (main): Generate .reloc for each R_SPU_PPU* reloc.
688 * prdbg.c (tg_variable): Adjust for changed demangler.
689 (tg_start_function): Likewise.
693 * bucumm.h: Split off host dependencies to..
695 Many files: Include sysdep.h. Remove duplicate headers and reorder.
696 * Makefile.am: Run "make dep-am".
697 * Makefile.in: Regenerate.
701 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
706 * objcopy.c (filter_symbols): Explicitly stripping a symbol
707 used in relocations is an error.
708 Retype 'keep' to bfd_boolean.
712 * Makefile.in: Regenerate.
713 * doc/Makefile.in: Regenerate.
719 * objcopy.c (reverse_bytes): New variable.
720 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
721 (copy_options, copy_usage): Add "reverse-bytes" entry.
722 (copy_section): Reverse bytes within output sections.
723 * doc/binutils.texi: Document new objcopy option.
727 * rclex.l: Allow underscores at the start of identifiers.
731 * budemang.c: Delete.
732 * budemang.h: Delete.
733 * addr2line.c (translate_addresses): Call bfd_demangle rather than
735 * nm.c (print_symname): Likewise.
736 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
737 (dump_bfd): Likewise.
738 * prdbg.c (struct pr_handle <demangler>): Add int param.
739 (tg_variable, tg_start_function): Adjust demangler calls.
740 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
741 * Makefile.in: Regenerate.
742 * po/POTFILES.in: Regenerate.
746 * Makefile.am: Add ACLOCAL_AMFLAGS.
747 * configure.in: Change macro call order.
748 * Makefile.in: Regenerate.
749 * configure: Regenerate.
753 * Makefile.am (TOOL_PROGS): Add objcopy.
754 * Makefile.in: Rebuilt.
759 * objcopy.c (copy_object): Don't stop when there are no
760 sections to be copied.
764 * NEWS: Mention disjoint histograms support in
769 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
770 DW_TAG_inlined_subroutine.
774 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
779 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
785 * nm.c (value_format): Replace with value_format_32bit and
787 (set_radix): Update setting of value_format.
788 (set_print_width): New function. Compute the address size of a
789 given bfd and set the print_width global appropriately.
790 (display_archive): Use set_print_width.
791 (display_file): Likewise,
792 (print_object_filename_sysv): Update use of print_width.
793 (print_archive_member_sysv): Likewise.
794 (print_symbol_filename_posix): Likewise.
795 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
800 * doc/binutils.texi: Put the contents after the title page rather
801 than at the end of the document.
805 * readelf.c (slurp_rela_relocs): Add newline to end of error
807 (slurp_rel_relocs, request_dump, request_dump_byname,
808 process_program_headers, process_dynamic_section,
809 process_symbol_table, process_mips_specific, main): Likewise.
813 * MAINTAINERS: Update mailing list addresses. Add myself
818 * embedspu.sh: Correct toe_addr quoting.
822 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
823 .toe section and .toe address checks. Use .reloc for _EAR*
824 symbols defined in non-BSS sections. Build table for _SPUEAR_
830 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
834 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
839 * dlltool.c (make_one_lib_file): Use pc-relative relocation
840 instead of an absolute relocation for x86_64-pc-mingw32 target.
844 * Makefile.am (REPORT_BUGS_TO): Removed.
845 (INCLUDES): Remove -DREPORT_BUGS_TO.
846 * Makefile.in: Regenerated.
848 * bucomm.c: Don't include bfdver.h.
849 * objdump.c: Likewise.
850 * version.c: Likewise.
852 * bucomm.h: Include bfdver.h.
854 * configure.in (--with-bugurl): Removed.
855 * configure: Regenerated.
857 * doc/Makefile.am (binutils_TEXINFOS): Removed.
858 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
859 (TEXI2DVI): Likewise.
860 (config.texi): Removed.
861 (MOSTLYCLEANFILES): Remove config.texi.
862 * doc/Makefile.in: Regenerated.
864 * doc/binutils.texi: Include bfdver.texi instead of
869 * readelf.c (dump_section): Also test for SHT_REL sections when
870 producing the warning about unapplied relocs.
874 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
876 * doc/Makefile.am (config.texi): Define BUGURL.
877 * doc/binutils.texi: Use BUGURL. Remove text about large files
879 * Makefile.in, configure, doc/Makefile.in: Regenerate.
884 * NEWS: Mention addition of --extract-symbol.
885 * doc/binutils.texi: Document it.
886 * objcopy.c (extract_symbol): New variable.
887 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
888 (copy_options): Add an entry for --extract-symbol.
889 (copy_usage): Mention --extract-symbol.
890 (copy_object): Set the start address to zero for --extract-symbol.
891 Do not copy private BFD data in that case.
892 (setup_section): Set the size, LMA and VMA to zero for
893 --extract-symbol. Do not copy private BFD data in that case.
894 (copy_section): Do not copy section contents if --extract-symbol
896 (copy_main): Set extract_symbol to TRUE if --extract-symbol
901 * MAINTAINERS: Update my entry.
905 * version.c: Update copyright date.
909 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
910 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
911 * Makefile.in, doc/Makefile.in: Regenerate.
915 * embedspu.sh: Set type and size of global program handle symbol.
919 * Makefile.am (PROGS): Delete.
920 (RENAMED_PROGS): Define. Extracted from..
921 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
922 (install-exec-local): Adjust.
923 * Makefile.in: Regenerate.
927 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
928 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
929 (EXTRA_PROGRAMS): Remove bin2c.
930 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
931 (bin2c_SOURCES): Delete.
932 (DISTCLEANFILES): Remove sysinfo.
933 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
934 bin2c$(EXEEXT_FOR_BUILD).
935 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
937 (BUILD_INSTALL_MISC): ..here.
938 * Makefile.in: Regenerate.
939 * configure: Regenerate.
944 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
945 (CFILES): Add bin2c.c.
946 (bin2c_SOURCES): Define.
947 (bin2c.o): Dependencies from "make dep-am".
948 * configure.in (BUILD_MISC): Add bin2c.
949 * version.c: Update year.
950 * po/POTFILES.in: Regenerate.
951 * Makefile.in: Regenerate.
952 * configure: Regenerate.
959 * configure.in (--with-bugurl): New option.
960 * configure: Regenerate.
961 * Makefile.am (REPORT_BUGS_TO): Define.
962 (INCLUDES): Define REPORT_BUGS_TO.
963 Regenerate dependencies.
964 * Makefile.in: Regenerate.
965 * doc/Makefile.in: Regenerate.
966 * bucomm.h: Remove include of bin-bugs.h.
967 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
968 * ar.c (usage): Pass s to list_supported_targets. Don't print
969 empty REPORT_BUGS_TO.
970 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
971 * cxxfilt.c (usage): Print bug url when giving help.
972 * dlltool.c (usage): Likewise.
973 * dllwrap.c (usage): Likewise.
974 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
975 * nm.c (usage): Likewise.
976 * objcopy.c (copy_usage, strip_usage): Likewise.
977 * objdump.c (usage): Likewise.
978 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
980 * size.c (usage): Don't print empty REPORT_BUGS_TO.
981 * srconv.c (show_usage): Likewise.
982 * strings.c (usage): Likewise.
983 * sysdymp.c (show_usage): Likewise.
984 * windres.c (usage): Likewise.
988 * embedspu.sh: Add -W to readelf invocation.
992 * MAINTAINERS: Add myself as the maintainer of the MeP port.
997 * readelf.c: Include elf/h8.h twice. The first time in order to
998 get the reloc numbers, the second time in order to get the reloc
1000 (dump_section): Tell the user if the section being displayed has
1001 unprocessed relocs associated with it.
1002 (get_reloc_size): New function - returns the size of a reloc.
1003 (debug_apply_rela_addends): Use get_reloc_size().
1004 * dwarf.c (read_and_display_attr_value): Extend number of
1005 languages known for the DW_AT_language attribute.
1006 (process_debug_info): Display the attribute offset before decoding
1007 the attribute, in case there are problems.
1011 * readelf.c (dump_relocations): Don't check for
1012 (rtype == NULL && type == R_RELC).
1016 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
1017 * Makefile.in: Regenerated.
1018 * Contribute the following changes:
1021 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
1022 * configure: Regenerated.
1026 * readelf.c: Include "elf/mep.h".
1027 (guess_is_rela): Handle EM_CYGNUS_MEP.
1028 (get_machine_name): Ditto.
1029 (dump_relocations): Ditto.
1033 * MAINTAINERS: Add a space between H.J. and Lu.
1037 * doc/binutils.texi (objdump): Document the new addr64 option
1038 for i386 disassembler.
1043 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
1045 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
1046 * configure: Regenerated.
1048 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
1052 * doc/binutils.texi (objdump): Document support for disassembling
1053 the 440 PowerPC architecture.
1057 * dwarf.c (process_debug_info): Protect against bogus length and
1062 * ar.c (print_contents, extract_file): Cast the return value
1063 of fwrite to size_t.
1067 * ar.c (open_inarch): Check fwrite return. Use size_t.
1068 (extract_file): Likewise. Remove test for "negative" file size.
1069 * readelf.c (process_program_headers): Check fscanf return.
1073 * bucomm.c (template_in_dir): Fix typo.
1077 * embedspu.sh: New file.
1078 * Makefile.am (embedspu): Add rule.
1079 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
1080 * Makefile.in: Regenerate.
1081 * configure: Regenerate.
1085 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
1086 * bucomm.c (template_in_dir): New function, split out from..
1087 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
1088 (make_tempdir): Use template_in_dir. Handle directory creation
1090 * objcopy.c (MKDIR): Don't define.
1091 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
1096 * readelf.c (get_machine_flags): Treat Fido as an architecture
1101 * configure.in: Renamed target x86_64-*-mingw64 to
1103 * configure: Regenerated.
1107 * readelf.c (dump_section): Don't print 32-bit values, which
1108 were done incorrectly for little-endian. Instead print bytes.
1110 For older changes see ChangeLog-2006
1116 version-control: never