3 * po/ru.po: Updated Russian translation.
7 * doc/binutils.texi: Document the new intel-mnemonic and
8 intel-mnemonic options for i386 disassembler.
12 * readelf.c (is_32bit_pcrel_reloc): Add Xtensa.
16 * readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.
20 * readelf.c (get_machine_flags): Handle Loongson-2E and -2F
25 * cxxfilt.c (demangle_it): Don't call printf without format string.
29 * dwarf.c (display_debug_loc): Cast section_end - start to long
34 * dwarf.c (display_debug_loc): Issue a warning if there are bytes
35 at the end of the .debug_loc section which are not referenced by
36 any attribute in the .debug_info section.
40 * readelf.c (is_32bit_abs_reloc): Add support for NIOS relocs.
41 (is_64bit_abs_reloc): Add support for HPPA relocs.
42 (is_16bit_abs_reloc): Add support for NIOS relocs.
46 * readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64
51 * dwarf.c (process_extended_line_op): Add cases for HP extensions
52 to the line ops. Mention if an unknown op code is in the user
54 (decode_location_expression): Add cases for HP extensions, the
55 DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and
56 DW_OP_bit_piece DWARF3 operators.
57 (read_and_display_attr): Correct list of attributes which can
58 reference a location list.
59 (read_and_display_attr_value): Add cases for DWARF3 values and HP
61 Correct list of attributes which can reference a location list.
62 (get_AT_name): Add cases for DWARF3 values and HP and PGI
67 * doc/binutils.texi: Update to FDL 1.2.
68 (Top): consistent punctuation in menu entries.
69 (Index): Rename from Binutils Index.
70 * doc/fdl.texi: Update from http://www.gnu.org/licenses/fdl.texi.
74 * dwarf.c (is_relocatable): Remove definition.
75 (display_debug_frames): Remove check in is_relocatable.
76 * dwarf.h (is_relocatable): Remove declaration.
77 * objdump.c (is_relocatable): New static definition.
78 * readelf.c (dump_relocations): Make the function void.
79 (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx,
81 (is_32bit_pcrel_reloc): Add support for x86 and Arm.
82 (is_16bit_abs_reloc): Add support for D10V.
83 (debug_apply_rela_addends): Rename to debug_apply_relocations.
84 Add code to support rel relocations.
85 (load_debug_section): Fix call to debug_apply_relocations.
86 (get_file_header): Remove setting of is_relocatable.
90 * readelf.c (debug_apply_rela_addends): Clarify FIXME.
94 * readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by
96 (is_64bit_abs_reloc): Likewise.
100 * dwarf.c (process_debug_info): Check for corrupt lengths.
101 * readelf.c (get_reloc_type): New function. Returns the reloc
102 number extracted from the info field of a reloc.
103 (get_reloc_symindex): New function. Returns the symbol index
104 extracted from the info field of a reloc.
105 (dump_relocations): Use the new functions.
106 (slurp_ia64_unwind_table): Use the new functions.
107 (slurp_hppa_unwind_table): Use the new functions.
108 (dump_section_as_bytes): Use the new functions.
109 (get_reloc_size): Delete function.
110 (is_32bit_abs_reloc): New function. Determines if a given reloc
111 type is a 32-bit absolute relocation.
112 (is_32bit_pcrel_reloc): New function. Like is_32bit_abs_reloc but
113 for pc-relative relocations.
114 (is_64bit_abs_reloc): New function. Like is_32bit_abs_reloc but
115 for 64-bit absolute relocations.
116 (is_16bit_abs_reloc): New function. Like is_32bit_abs_reloc but
117 for 32-bit absolute relocations.
118 (debug_apply_rela_addends): Use the new functions. Skip and warn
119 about any unrecognised relocations.
123 * doc/binutils.texi: Move top stuff to the top.
124 Use @direntry/@dircategory, format entries to play nicely with
126 Avoid duplicate copying strings.
127 Don't misspell "Texinfo".
131 * readelf.c (display_power_gnu_attribute): Add support for
132 Tag_GNU_Power_ABI_Vector.
136 * readelf.c (get_note_type): Handle NT_PPC_VMX.
140 * Makefile.am: Run "make dep-am".
141 * Makefile.in: Regenerate.
142 * po/POTFILES.in: Regenerate.
146 * strings.c (print_strings): Don't use %L, use %ll in printf
152 * readelf.c (process_program_headers): Use dynamic segment unless
153 dynamic section is found.
157 * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
158 (objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e."
159 and change to spell out "for example" in two places.
163 * configure.in: Build windows tools for --enable-targets=all.
164 * configure: Regenerate.
168 * objdump.c (print_line): Check fwrite return value.
169 * srconv.c (checksum, wr_tr, wr_cs): Likewise.
170 * sysdump.c (fillup): Return zero on getc or fread EOF. Return count
175 * dwarf.c (process_debug_info): Line up section offsets of
176 attribute values with those of dies.
177 (read_and_display_attr): Reduce spacing here.
179 * dwarf.c (display_debug_lines): Print the offset of each line
180 number program header.
185 * readelf.c (print_dynamic_symbol): New.
186 (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols.
190 * resrc.c (read_rc_file): Rename e to edit, and c to dir.
191 Pass dir to windres_add_include_dir. Add comments.
192 (close_input_stream): Check pclose error, and call fatal if
193 the preprocessor failed.
194 * windres.c (windres_add_include_dir): Assert that p is non-NULL,
195 and not an empty string.
200 * dlltool.c: Fix spelling typos.
204 * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.
208 * MAINTAINERS: Fix typo.
212 * readelf.c (do_archive_index): New.
213 (options): Add -c and --archive-index option.
214 (usage): Add -c option.
215 (parse_args): Add c option parsing.
216 (process_archive): Dump archive index.
217 * NEWS: Mention the new feature.
218 * doc/binutils.texi: Document the new feature.
222 * po/es.po: Updated Spanish translation.
226 * doc/binutils.texi (objdump): Describe the output of the --syms
227 option in more detail.
232 * resrc.c: (read_rc_file): Move 'filename' default initialization
233 to start of function.
238 * NEWS: Add note about SSE5 being added on i386.
243 * nm.c (value_format_64bit, set_print_radix, print_value): Handle
244 BFD_HOST_64BIT_LONG_LONG.
245 * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG.
246 (print_vma): Handle BFD_HOST_64BIT_LONG_LONG.
247 (dump_relocations): Likewise. Expand _bfd_int64_low in a
252 * rcparse.y: (string_data): Removed ill token removal.
257 * readelf.c (process_version_sections): Don't read past end of
258 various section buffers.
262 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
263 * Makefile.in: Regenerated.
265 * sysdep.h: Include "config.h" first.
269 * po/sk.po: New Slovakian translation.
270 * configure.in (LINGUAS): Add sk.
271 * configure: Regenerate.
275 * readelf.c (dump_type): New type used to classify the kinds of
276 dump requested by the user.
277 (dump_sects, cmdline_dump_sects): Use the new type.
278 (options): Add --string-dump option.
279 (request_dump): Rename to request_dump_bynumber. Use dump_type.
280 (request_dump_byname): Use dump_type.
281 (parse_args): Parse --string-dump option.
282 (process_section_headers): Fix calls to request_dump.
283 (initialise_dumps_byname): Likewise.
284 (dump_section): Rename to dump_section_as_bytes.
285 (dump_section_as_strings): New function. Display the contents of
286 a section as printable strings.
287 (process_section_contents): String dump the section if requested.
288 (process_object): Use dump_type.
290 * Makefile.am: Add dependency for readelf.c on safe-ctype.h.
291 * Makefile.in: Regenerate.
292 * NEWS: Mention the new feature.
293 * doc/binutils.texi: Document the new feature.
297 * bucomm.c (bfd_nonfatal_message): New.
298 * bucomm.h (bfd_nonfatal_message): Declare.
299 * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use
300 bfd_nonfatal_message.
301 (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL
302 calls, or replace with bfd_nonfatal_message calls as appropriate.
303 (copy_object, copy_archive, copy_file, setup_section,
304 copy_section, write_debugging_info): Likewise.
308 * NEWS: Mention Coverity's contribution.
312 * readelf.c (process_note): Recognize SPU core file notes.
316 * configure.in: Install embedspu on powerpc*-*-eabi* also.
317 * configure: Regenerated.
321 * po/uk.po: Updated Ukrainian translation.
325 * doc/binutils.texi (objdump): Document -Mppcps.
329 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
333 * readelf.c: Revert last change.
337 * readelf.c (get_segment_type): Change PT_GNU_STACK to
342 * NEWS: Add a marker for the 2.18 features.
346 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
347 $(top_srcdir)/../../bfd/doc.
348 * doc/Makefile.in: Regenerate.
352 * MAINTAINERS: Add myself as CR16 support maintainer and
353 update myself as CRX support maintainer.
357 * po/fi.po: Updated Finnish translation.
358 * po/vi.po: Updated Vietnamese translation.
362 * doc/binutils.texi: (windmc): Correct incorrect desciption.
367 * objcopy.c (setup_section): Do modify section flags for ELF
368 STRIP_NONDEBUG (reverting part of 2007-05-30 change). Prevent
369 header rewrite by twiddling input section flags instead.
370 Simplify code setting SHT_NOBITS.
374 * MAINTAINERS: Update my email address.
378 * readelf.c (process_archive): Also skip Irix6-style archive symbol
383 * readelf.c (NUM_ELEM): Remove redundant macro; replace references
384 to it with references to ARRAY_SIZE.
385 Add support for CR16.
391 * srconv.c (strip_suffix): Add const qualifier to argument.
395 * po/uk.po: New Ukrainian translation.
396 * configure.in (ALL_LINGUAS): Add 'uk'.
397 * configure: Regenerate.
401 * objdump.c (dump_dwarf): Correct setting of is_relocatable.
405 * readelf.c (get_gnu_elf_note_type): New function.
406 (process_note): Use it for "GNU" name.
410 * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
411 (CFILES): Add unwind-ia64.c.
412 Regenerate dependencies.
413 * Makefile.in: Regenerate.
417 * addr2line.c: Update copyright notice to refer to GPLv3.
418 * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c,
419 binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c,
420 coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y,
421 dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh,
422 emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c,
423 mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
424 objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c,
425 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
426 size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c,
427 sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c,
428 windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c,
429 winduni.h, wrstabs.c: Likewise.
430 * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c,
431 not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright
433 * NEWS: Mention that the sources are now released under GPLv3.
434 Add a marker for the changes that went into v2.17.
435 * version.c (print_version): Specify that the program is released
436 under version 3 of the GPL.
440 * resrc.c: (read_rc_file): Add include path of user passed rc
442 * windres.c: (windres_add_include_dir): New.
443 (main): Use of windres_add_include_dir.
444 * windres.h: (windres_add_include_dir): Add prototype.
448 * doc/binutils.texi (size): Document --common.
449 * size.c: Make a number of vars static. Delete unnecessary
450 function declarations.
451 (show_common, common_size): New vars.
452 (usage): Describe --common.
453 (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use.
454 (long_options): Add common.
455 (calculate_common_size): New function.
456 (print_berkeley_format): Add common_size to bsssize.
457 (sysv_one_line): New function split out from..
458 (sysv_internal_printer): ..here.
459 (print_sysv_format): Handle display of *COM*.
460 (print_sizes): Call calculate_common_size.
464 * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next".
469 * objcopy.c (filter_symbols): Correct relocatable file test.
473 * Makefile.am: Run "make dep-am".
474 * Makefile.in: Regenerate.
475 * aclocal.m4: Regenerate.
476 * config.in: Regenerate.
477 * doc/Makefile.in: Regenerate.
478 * po/POTFILES.in: Regenerate.
479 * po/binutils.pot: Regenerate.
483 * aclocal.m4: Regenerated.
484 * doc/Makefile.in: Likewise.
485 * Makefile.in: Likewise.
489 * readelf.c (display_power_gnu_attribute, process_power_specific):
491 (process_arch_specific): Call process_power_specific.
495 * readelf.c (display_mips_gnu_attribute): New.
496 (process_mips_specific): Call process_attributes.
500 * readelf.c (display_gnu_attribute): New.
501 (process_arm_specific): Rearrange as process_attributes.
502 (process_arm_specific): Replace by wrapper of process_attributes.
506 * objcopy.c (setup_section): Don't reset ELF section type to
507 SHT_NOBITS when it is SHT_NOTE.
508 * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug.
512 * ar.c: Rename uses of bfd.next to bfd.archive_next throughout.
514 * binemul.c: Likewise.
515 * objcopy.c: Likewise.
516 * dlltool.c: Likewise.
521 * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
522 dependency on $(LIBICONV) to ...
523 (windres_LDADD, windmc_LDADD) ... here.
524 * Makefile.in: Regenerate.
528 * embedspu.sh (relas): Correct sh_info parsing.
532 * objdump.c: Include sys/stat.h.
536 * Makefile.am: Add windmc tool.
537 * Makefile.in: Regenerate.
538 * configure.in: Add windmc tool.
539 * configure: Regenerate.
544 * doc/Makefile.am: Add windmc tool.
545 * doc/Makefile.in: Regenerate.
546 * doc/binutils.texi: Add windmc documentation.
547 * NEWS: Mention new tool.
551 * objdump.c: Include sys/mman.h
552 (print_file_list): Remove f, add map, mapsize, linemap, maxline,
553 last_line, first fields.
556 (print_file_open): Call slurp_file and index_file. Initialize new
558 (skip_to_line): Rename to print_line and write only single line.
560 (show_line): Change to new algorithm.
564 * resres.c (probe_binary): Fix test for badly formatted headers.
568 * rclex.c: (cpp_line): Add code_page pragma support.
569 * windres.c: (usage, long_options, main): Add new option
571 * winduni.c: (wind_default_codepage, wind_current_codepage): New.
572 (unicode_from_ascii, ascii_from_unicode): Use
573 wind_current_codepage as codepage parameter.
574 (unicode_print): Print 4 characters for hexadecimal values in
576 * winduni.h: (wind_default_codepage, wind_current_codepage):
578 * doc/binutils.texi: Document new option.
579 * NEWS: Mention new features of windres.
583 * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
587 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
589 * acinclude.m4: Removed.
591 * Makefile.in: Regenerated.
592 * aclocal.m4: Likewise.
593 * configure: Likewise.
597 * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
601 PR binutils/4356 binutils/591
602 * resrc.c (filename_need_quotes): New function.
603 (look_for_default): If filename_need_quotes is true then quote the
604 filename in the command line being created.
605 (read_rc_file): Likewise.
609 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
613 * Makefile.am: Add LIBICONV to windres.
614 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
615 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
616 * config.in: Add ICONV defines.
617 * aclocal.m4: Regenerate.
618 * confugure: Regenerate.
619 * winduni.c: (local_iconv_map codepages, wind_language_t,
620 languages, unicode_is_valid_codepage, wind_find_language_by_id,
621 wind_find_language_by_codepage, wind_find_codepage_info,
622 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
623 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
625 (ascii_from_unicode): Use codepage_from_unicode.
626 (ascii_from_unicode): Use unicode_from_codepage.
627 Use for cygwin windows API for unicode transformation.
628 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
630 (wind_language_t, local_iconv_map): New types.
631 (wind_find_language_by_id, wind_find_language_by_codepage,
632 unicode_is_valid_codepage, wind_find_codepage_info,
633 unicode_from_codepage, codepage_from_unicode): New
638 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
642 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
643 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
644 (setup_section): Don't modify flags, and don't avoid calling
645 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
646 * readelf.c (process_program_headers): Ignore .dynamic of type
651 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
652 pic or pie and image needs relocs.
656 * Makefile.in: Regenerate.
657 * configure: Regenerate.
658 * aclocal.m4: Regenerate.
659 * doc/Makefile.in: Regenerate.
663 * rcparse.y: Join strings for elements having no side-effects in
668 * rclex.c: New file replacing rclex.l.
670 * windint.h: New file holding common structure and type
672 * Makefile.am: Added new header windint.h and exchanged rclex.l by
674 * Makefile.in: Regenerate.
675 * rcparse.y: Renamed some structures.
676 Use in internal representation always bfd_vma instead of long or
678 Removed from %union unused stringtable.
679 Added to %union suni structure for unicode strings.
680 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
681 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
682 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
683 Added support for these new rc file tokens.
684 * resbin.c: Rewrote using bfd and binary structures, and support
686 * rescoff.c: Likewise.
687 * resres.c: Likewise.
688 * resrc.c: Likewise. Dumps as RC are now recompilable.
689 * windres.c: As above. Using bfd for res and provide target
690 specific endianess support.
691 * windres.h: Use windint.h as include. Additionally removed K&R
693 * winduni.c: New printing and unichar support routines.
694 * winduni.h: Prototypes for new unichar helpers.
695 * windint.h: New file.
699 * objdump.c (find_symbol_for_address): Merge section and target
700 specific filtering code.
704 * doc/binutils.texi: Use @copying around the copyright notice.
708 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
709 for executables and shared libraries.
713 * objcopy.c (strip_main): Detect identical input and output file
715 (copy_main): Refactor tempname detection and use.
719 * objdump.c (load_debug_section): Select bias for DWARF debug
720 addresses based on the flavour of the bfd.
725 * objcopy.c (copy_object): Don't copy ELF program headers for
730 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
731 over one found on the users path.
732 (main): Generate .reloc for each R_SPU_PPU* reloc.
736 * prdbg.c (tg_variable): Adjust for changed demangler.
737 (tg_start_function): Likewise.
741 * bucumm.h: Split off host dependencies to..
743 Many files: Include sysdep.h. Remove duplicate headers and reorder.
744 * Makefile.am: Run "make dep-am".
745 * Makefile.in: Regenerate.
749 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
754 * objcopy.c (filter_symbols): Explicitly stripping a symbol
755 used in relocations is an error.
756 Retype 'keep' to bfd_boolean.
760 * Makefile.in: Regenerate.
761 * doc/Makefile.in: Regenerate.
767 * objcopy.c (reverse_bytes): New variable.
768 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
769 (copy_options, copy_usage): Add "reverse-bytes" entry.
770 (copy_section): Reverse bytes within output sections.
771 * doc/binutils.texi: Document new objcopy option.
775 * rclex.l: Allow underscores at the start of identifiers.
779 * budemang.c: Delete.
780 * budemang.h: Delete.
781 * addr2line.c (translate_addresses): Call bfd_demangle rather than
783 * nm.c (print_symname): Likewise.
784 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
785 (dump_bfd): Likewise.
786 * prdbg.c (struct pr_handle <demangler>): Add int param.
787 (tg_variable, tg_start_function): Adjust demangler calls.
788 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
789 * Makefile.in: Regenerate.
790 * po/POTFILES.in: Regenerate.
794 * Makefile.am: Add ACLOCAL_AMFLAGS.
795 * configure.in: Change macro call order.
796 * Makefile.in: Regenerate.
797 * configure: Regenerate.
801 * Makefile.am (TOOL_PROGS): Add objcopy.
802 * Makefile.in: Rebuilt.
807 * objcopy.c (copy_object): Don't stop when there are no
808 sections to be copied.
812 * NEWS: Mention disjoint histograms support in
817 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
818 DW_TAG_inlined_subroutine.
822 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
827 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
833 * nm.c (value_format): Replace with value_format_32bit and
835 (set_radix): Update setting of value_format.
836 (set_print_width): New function. Compute the address size of a
837 given bfd and set the print_width global appropriately.
838 (display_archive): Use set_print_width.
839 (display_file): Likewise,
840 (print_object_filename_sysv): Update use of print_width.
841 (print_archive_member_sysv): Likewise.
842 (print_symbol_filename_posix): Likewise.
843 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
848 * doc/binutils.texi: Put the contents after the title page rather
849 than at the end of the document.
853 * readelf.c (slurp_rela_relocs): Add newline to end of error
855 (slurp_rel_relocs, request_dump, request_dump_byname,
856 process_program_headers, process_dynamic_section,
857 process_symbol_table, process_mips_specific, main): Likewise.
861 * MAINTAINERS: Update mailing list addresses. Add myself
866 * embedspu.sh: Correct toe_addr quoting.
870 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
871 .toe section and .toe address checks. Use .reloc for _EAR*
872 symbols defined in non-BSS sections. Build table for _SPUEAR_
878 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
882 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
887 * dlltool.c (make_one_lib_file): Use pc-relative relocation
888 instead of an absolute relocation for x86_64-pc-mingw32 target.
892 * Makefile.am (REPORT_BUGS_TO): Removed.
893 (INCLUDES): Remove -DREPORT_BUGS_TO.
894 * Makefile.in: Regenerated.
896 * bucomm.c: Don't include bfdver.h.
897 * objdump.c: Likewise.
898 * version.c: Likewise.
900 * bucomm.h: Include bfdver.h.
902 * configure.in (--with-bugurl): Removed.
903 * configure: Regenerated.
905 * doc/Makefile.am (binutils_TEXINFOS): Removed.
906 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
907 (TEXI2DVI): Likewise.
908 (config.texi): Removed.
909 (MOSTLYCLEANFILES): Remove config.texi.
910 * doc/Makefile.in: Regenerated.
912 * doc/binutils.texi: Include bfdver.texi instead of
917 * readelf.c (dump_section): Also test for SHT_REL sections when
918 producing the warning about unapplied relocs.
922 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
924 * doc/Makefile.am (config.texi): Define BUGURL.
925 * doc/binutils.texi: Use BUGURL. Remove text about large files
927 * Makefile.in, configure, doc/Makefile.in: Regenerate.
932 * NEWS: Mention addition of --extract-symbol.
933 * doc/binutils.texi: Document it.
934 * objcopy.c (extract_symbol): New variable.
935 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
936 (copy_options): Add an entry for --extract-symbol.
937 (copy_usage): Mention --extract-symbol.
938 (copy_object): Set the start address to zero for --extract-symbol.
939 Do not copy private BFD data in that case.
940 (setup_section): Set the size, LMA and VMA to zero for
941 --extract-symbol. Do not copy private BFD data in that case.
942 (copy_section): Do not copy section contents if --extract-symbol
944 (copy_main): Set extract_symbol to TRUE if --extract-symbol
949 * MAINTAINERS: Update my entry.
953 * version.c: Update copyright date.
957 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
958 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
959 * Makefile.in, doc/Makefile.in: Regenerate.
963 * embedspu.sh: Set type and size of global program handle symbol.
967 * Makefile.am (PROGS): Delete.
968 (RENAMED_PROGS): Define. Extracted from..
969 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
970 (install-exec-local): Adjust.
971 * Makefile.in: Regenerate.
975 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
976 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
977 (EXTRA_PROGRAMS): Remove bin2c.
978 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
979 (bin2c_SOURCES): Delete.
980 (DISTCLEANFILES): Remove sysinfo.
981 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
982 bin2c$(EXEEXT_FOR_BUILD).
983 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
985 (BUILD_INSTALL_MISC): ..here.
986 * Makefile.in: Regenerate.
987 * configure: Regenerate.
992 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
993 (CFILES): Add bin2c.c.
994 (bin2c_SOURCES): Define.
995 (bin2c.o): Dependencies from "make dep-am".
996 * configure.in (BUILD_MISC): Add bin2c.
997 * version.c: Update year.
998 * po/POTFILES.in: Regenerate.
999 * Makefile.in: Regenerate.
1000 * configure: Regenerate.
1007 * configure.in (--with-bugurl): New option.
1008 * configure: Regenerate.
1009 * Makefile.am (REPORT_BUGS_TO): Define.
1010 (INCLUDES): Define REPORT_BUGS_TO.
1011 Regenerate dependencies.
1012 * Makefile.in: Regenerate.
1013 * doc/Makefile.in: Regenerate.
1014 * bucomm.h: Remove include of bin-bugs.h.
1015 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
1016 * ar.c (usage): Pass s to list_supported_targets. Don't print
1017 empty REPORT_BUGS_TO.
1018 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
1019 * cxxfilt.c (usage): Print bug url when giving help.
1020 * dlltool.c (usage): Likewise.
1021 * dllwrap.c (usage): Likewise.
1022 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
1023 * nm.c (usage): Likewise.
1024 * objcopy.c (copy_usage, strip_usage): Likewise.
1025 * objdump.c (usage): Likewise.
1026 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
1028 * size.c (usage): Don't print empty REPORT_BUGS_TO.
1029 * srconv.c (show_usage): Likewise.
1030 * strings.c (usage): Likewise.
1031 * sysdymp.c (show_usage): Likewise.
1032 * windres.c (usage): Likewise.
1036 * embedspu.sh: Add -W to readelf invocation.
1040 * MAINTAINERS: Add myself as the maintainer of the MeP port.
1045 * readelf.c: Include elf/h8.h twice. The first time in order to
1046 get the reloc numbers, the second time in order to get the reloc
1048 (dump_section): Tell the user if the section being displayed has
1049 unprocessed relocs associated with it.
1050 (get_reloc_size): New function - returns the size of a reloc.
1051 (debug_apply_rela_addends): Use get_reloc_size().
1052 * dwarf.c (read_and_display_attr_value): Extend number of
1053 languages known for the DW_AT_language attribute.
1054 (process_debug_info): Display the attribute offset before decoding
1055 the attribute, in case there are problems.
1059 * readelf.c (dump_relocations): Don't check for
1060 (rtype == NULL && type == R_RELC).
1064 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
1065 * Makefile.in: Regenerated.
1066 * Contribute the following changes:
1069 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
1070 * configure: Regenerated.
1074 * readelf.c: Include "elf/mep.h".
1075 (guess_is_rela): Handle EM_CYGNUS_MEP.
1076 (get_machine_name): Ditto.
1077 (dump_relocations): Ditto.
1081 * MAINTAINERS: Add a space between H.J. and Lu.
1085 * doc/binutils.texi (objdump): Document the new addr64 option
1086 for i386 disassembler.
1091 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
1093 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
1094 * configure: Regenerated.
1096 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
1100 * doc/binutils.texi (objdump): Document support for disassembling
1101 the 440 PowerPC architecture.
1105 * dwarf.c (process_debug_info): Protect against bogus length and
1110 * ar.c (print_contents, extract_file): Cast the return value
1111 of fwrite to size_t.
1115 * ar.c (open_inarch): Check fwrite return. Use size_t.
1116 (extract_file): Likewise. Remove test for "negative" file size.
1117 * readelf.c (process_program_headers): Check fscanf return.
1121 * bucomm.c (template_in_dir): Fix typo.
1125 * embedspu.sh: New file.
1126 * Makefile.am (embedspu): Add rule.
1127 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
1128 * Makefile.in: Regenerate.
1129 * configure: Regenerate.
1133 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
1134 * bucomm.c (template_in_dir): New function, split out from..
1135 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
1136 (make_tempdir): Use template_in_dir. Handle directory creation
1138 * objcopy.c (MKDIR): Don't define.
1139 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
1144 * readelf.c (get_machine_flags): Treat Fido as an architecture
1149 * configure.in: Renamed target x86_64-*-mingw64 to
1151 * configure: Regenerated.
1155 * readelf.c (dump_section): Don't print 32-bit values, which
1156 were done incorrectly for little-endian. Instead print bytes.
1158 For older changes see ChangeLog-2006
1164 version-control: never