3 * MAINTAINERS: Add myself as Meta maintainer.
7 * readelf.c (get_note_type): Add NT_S390_TDB.
11 * strings.c (get_char): Dispense with buf[]. Instead shift
12 chars into big-endian value and byte-swap later if
13 little-endian. Don't EOF check value read from object.
17 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
18 * configure: Regenerate.
22 * elfcomm.c (error): Flush stdout before emitting the error
28 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
29 (shndx_pool_used): Move to top of file.
30 (struct cu_tu_set): New type.
31 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
32 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
33 (find_cu_tu_set_v2): New function.
34 (read_and_display_attr_value): Add "this_set" parameter.
35 (read_and_display_attr): Likewise.
36 (process_debug_info): Track base offsets for DWARF package files.
37 (load_debug_info): Call load_cu_tu_indexes.
38 (get_DW_SECT_short_name): New function.
39 (process_cu_tu_index): Add support for version 2 DWARF package files.
44 * readelf.c (offsetof): Define.
45 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
46 (process_corefile_note_segment): Allow notes without name or
47 desc. Combine out-of-range checks. Disallow "negative"
53 * readelf.c (process_corefile_note_segment): Prevent attempts to
54 read beyond the end of the note buffer.
58 * objcopy.c (copy_main): Initialize context variable.
63 * ar.c (open_inarch): Fail on attempts to convert a normal archive
64 to a thin archive or vice versa.
65 * elfcomm.c (make_qualified_name): Handle corrupted thin
67 * readelf.c (process_archive): Likewise.
68 * doc/binutils.texi: Clarify documentation describing thin
74 * objcopy.c (enum change_action): Delete.
75 (struct section_list): Delete remove, copy, change_vma, change_lma
76 and set_flags fields. Add context field.
77 (find_section_list): Add a context parameter. Add support for
78 wildcard characters in section names.
79 (is_strip_section): Check for sections being both copied and
81 (copy_object): Pass context to find_section_list.
82 (setup_section): Likewise.
83 (copy_section): Likewise.
84 (copy_main): Likewise.
85 * doc/binutils: Document the new behaviour.
86 * NEWS: Mention the new feature
91 * objcopy.c (copy_object): Provide a helpful warning message when
92 adding a gnu_debuglink section to an object which already contains
97 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
98 corrupt archive uses long names but has no long name table.
103 Based on patches from Altera Corporation.
105 * readelf.c: Include elf/nios2.h.
106 (dump_relocations): Add case for EM_ALTERA_NIOS2.
107 (get_nios2_dynamic_type): New.
108 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
109 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
110 (is_16bit_abs_reloc): Likewise.
111 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
112 * NEWS: Note Altera Nios II support.
113 * MAINTAINERS: Add Nios II maintainers.
117 * readelf.c (process_version_sections): Fix overflow checks to
118 avoid undefined behaviour.
122 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
126 * objcopy.c (parse_flags): Add merge and strings section flags.
130 * dwarf.c (display_loc_list): Update offset for each line
132 (print_addr_index): New function.
133 (display_loc_list_dwo): Update offset for each line printed.
134 Fix problems displaying loclists in .dwo files. Add support
136 (display_debug_loc): Remove custom header for .dwo files.
137 (display_debug_addr): Adjust formatting.
141 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
145 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
149 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
153 * readelf.c: Add strings for NT_S390_LAST_BREAK and
159 * addr2line.c (translate_addresses): When pretty printing, print
160 unknown function names on the same line as unknown symbol names.
164 * objdump.c (dump_target_specific): Fix NULL pointer test.
169 * stabs.c (parse_stab_members): Always set physname here to avoid
171 (parse_stab_argtypes): ..and don't duplicate the init here.
175 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
176 (dump_relocations): Add EM_METAG.
177 (get_machine_name): Correct case for Meta.
178 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
179 (is_none_reloc): Add support for Meta NONE reloc.
183 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
188 * objcopy.c (deterministic): Make int rather than bfd_boolean,
190 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
191 (default_deterministic): New function.
192 (strip_main, copy_main): Handle -U. Call default_deterministic.
193 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
194 the default based on DEFAULT_AR_DETERMINISTIC.
195 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
196 configure options on -D.
198 * ar.c (default_deterministic): Comment fix.
202 * doc/binutils.texi: Fix ordering of top level nodes.
203 Replace erroneous uses of @itemx with @item.
207 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
211 * MAINTAINERS: Add myself as AArch64 co-maintainer.
215 * version.c (print_version): Update copyright year to 2013.
217 For older changes see ChangeLog-2012
219 Copyright (C) 2013 Free Software Foundation, Inc.
221 Copying and distribution of this file, with or without modification,
222 are permitted in any medium without royalty provided the copyright
223 notice and this notice are preserved.
229 version-control: never