1 2013-04-05 Alan Modra <amodra@gmail.com>
4 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
5 * dwarf.c (strnlen): Provide fallback decl.
6 * config.in: Regnerate.
7 * configure: Regenerate.
9 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
11 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
14 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
17 * winduni.c (codepages[]): Use UTF-16LE.
18 (wind_MultiByteToWideChar): Likewise.
19 (wind_WideCharToMultiByte): Likewise.
21 2013-03-27 Alan Modra <amodra@gmail.com>
24 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
26 2013-03-26 Nick Clifton <nickc@redhat.com>
29 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
30 space before calling byte_get.
31 (SAFE_BYTE_GET_AND_INC): New macro.
32 (SAFE_SIGNED_BYTE_GET): New macro.
33 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
34 (SAFE_BYTE_GET64): New macro.
35 (process_extened_line_op): Use new macros. Use strnlen when
37 (fetch_indirect_string): Likewise.
38 (get_FORM_name): Likewise.
39 (decode_location_expression): Likewise.
40 (read_and_display_attr_value): Likewise.
41 (process_debug_info): Likewise.
42 (display_debug_lines_raw): Likewise.
43 (display_debug_lines_decoded): Likewise.
44 (display_debug_pubnames): Likewise.
45 (display_debug_macinfo): Likewise.
46 (get_line_filename_and_dirname): Likewise.
47 (display_debug_macro): Likewise.
48 (display_loc_list): Likewise.
49 (display_loc_list_dwo): Likewise.
50 (display_debug_aranges): Likewise.
51 (display_debug_ranges): Likewise.
52 (frame_display_row): Likewise.
53 (display_debug_frames): Likewise.
55 2013-03-25 Nick Clifton <nickc@redhat.com>
58 * dwarf.c (read_leb128): Add END parameter. Do not read at or
60 (read_sleb128): Add END parameter.
61 (read_uleb128): New function.
62 (process_extended_line_op): Pass END to leb128 functions.
63 (process_abbrev_section): Likewise.
64 (decode_location_expression): Likewise.
65 (read_and_display_attr_value): Likewise.
66 (read_and_display_attr): Likewise.
67 (process_debug_info): Likewise.
68 (display_debug_lines_raw): Likewise.
69 (display_debug_lines_decoded): Likewise.
70 (display_debug_macinfo): Likewise.
71 (get_line_filename_and_dirname): Likewise.
72 (display_debug_macro): Likewise.
73 (display_loc_list_dwo): Likewise.
74 (display_debug_ranges): Likewise.
75 * dwarf.h (read_leb128): Update prototype.
76 * readelf.c (read_uleb128): Add END parameter.
77 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
78 (decode_tic6x_unwind_bytecode): Likewise.
79 (display_tag_value): New function.
80 (display_arm_attribute): Add END parameter. Pass END to
81 read_uleb128. Use display_tag_value.
82 (display_gnu_attribute): Likewise.
83 (display_power_gnu_attribute): Likewise.
84 (display_sparc_gnu_attribute): Likewise.
85 (display_mips_gnu_attribute): Likewise.
86 (display_tic6x_attribute): Likewise.
87 (process_attributes): Likewise.
88 (display_raw_attribute): New function.
90 2013-03-22 Nick Clifton <nickc@redhat.com>
93 * dwarf.c (display_debug_ranges): Add checks for reading beyond
94 the end of the section.
97 * readelf.c (apply_relocations): Catch relocations with negative
100 2013-03-15 Nick Clifton <nickc@redhat.com>
102 * addr2line.c (slurp_symtab): If canonicalization reveals that
103 there were no ordinary symbols, try loading the dynamic symbols
106 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
108 * MAINTAINERS: Add myself as Meta maintainer.
110 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
112 * readelf.c (get_note_type): Add NT_S390_TDB.
114 2013-03-07 Alan Modra <amodra@gmail.com>
116 * strings.c (get_char): Dispense with buf[]. Instead shift
117 chars into big-endian value and byte-swap later if
118 little-endian. Don't EOF check value read from object.
120 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
122 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
123 * configure: Regenerate.
125 2013-03-04 Nick Clifton <nickc@redhat.com>
127 * elfcomm.c (error): Flush stdout before emitting the error
131 2013-03-01 Cary Coutant <ccoutant@google.com>
133 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
134 (shndx_pool_used): Move to top of file.
135 (struct cu_tu_set): New type.
136 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
137 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
138 (find_cu_tu_set_v2): New function.
139 (read_and_display_attr_value): Add "this_set" parameter.
140 (read_and_display_attr): Likewise.
141 (process_debug_info): Track base offsets for DWARF package files.
142 (load_debug_info): Call load_cu_tu_indexes.
143 (get_DW_SECT_short_name): New function.
144 (process_cu_tu_index): Add support for version 2 DWARF package files.
146 2013-02-27 Alan Modra <amodra@gmail.com>
149 * readelf.c (offsetof): Define.
150 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
151 (process_corefile_note_segment): Allow notes without name or
152 desc. Combine out-of-range checks. Disallow "negative"
155 2013-02-26 Nick Clifton <nickc@redhat.com>
158 * readelf.c (process_corefile_note_segment): Prevent attempts to
159 read beyond the end of the note buffer.
161 2013-02-15 Kai Tietz <ktietz@redhat.com>
163 * objcopy.c (copy_main): Initialize context variable.
165 2013-02-15 Nick Clifton <nickc@redhat.com>
168 * ar.c (open_inarch): Fail on attempts to convert a normal archive
169 to a thin archive or vice versa.
170 * elfcomm.c (make_qualified_name): Handle corrupted thin
172 * readelf.c (process_archive): Likewise.
173 * doc/binutils.texi: Clarify documentation describing thin
176 2013-02-15 Nick Clifton <nickc@redhat.com>
179 * objcopy.c (enum change_action): Delete.
180 (struct section_list): Delete remove, copy, change_vma, change_lma
181 and set_flags fields. Add context field.
182 (find_section_list): Add a context parameter. Add support for
183 wildcard characters in section names.
184 (is_strip_section): Check for sections being both copied and
186 (copy_object): Pass context to find_section_list.
187 (setup_section): Likewise.
188 (copy_section): Likewise.
189 (copy_main): Likewise.
190 * doc/binutils: Document the new behaviour.
191 * NEWS: Mention the new feature
193 2013-02-14 Nick Clifton <nickc@redhat.com>
196 * objcopy.c (copy_object): Provide a helpful warning message when
197 adding a gnu_debuglink section to an object which already contains
200 2013-02-07 Nick Clifton <nickc@redhat.com>
202 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
203 corrupt archive uses long names but has no long name table.
205 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
206 Andrew Jenner <andrew@codesourcery.com>
208 Based on patches from Altera Corporation.
210 * readelf.c: Include elf/nios2.h.
211 (dump_relocations): Add case for EM_ALTERA_NIOS2.
212 (get_nios2_dynamic_type): New.
213 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
214 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
215 (is_16bit_abs_reloc): Likewise.
216 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
217 * NEWS: Note Altera Nios II support.
218 * MAINTAINERS: Add Nios II maintainers.
220 2013-01-29 Xi Wang <xi.wang@gmail.com>
222 * readelf.c (process_version_sections): Fix overflow checks to
223 avoid undefined behaviour.
225 2013-01-28 Doug Evans <dje@google.com>
227 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
229 2013-01-28 Robert Schiele <rschiele@gmail.com>
231 * objcopy.c (parse_flags): Add merge and strings section flags.
233 2013-01-25 Cary Coutant <ccoutant@google.com>
235 * dwarf.c (display_loc_list): Update offset for each line
237 (print_addr_index): New function.
238 (display_loc_list_dwo): Update offset for each line printed.
239 Fix problems displaying loclists in .dwo files. Add support
241 (display_debug_loc): Remove custom header for .dwo files.
242 (display_debug_addr): Adjust formatting.
244 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
246 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
248 2013-01-24 Doug Evans <dje@google.com>
250 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
252 2013-01-24 Nick Clifton <nickc@redhat.com>
254 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
256 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
258 * readelf.c: Add strings for NT_S390_LAST_BREAK and
261 2013-01-18 Nick Clifton <nickc@redhat.com>
264 * addr2line.c (translate_addresses): When pretty printing, print
265 unknown function names on the same line as unknown symbol names.
267 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
269 * objdump.c (dump_target_specific): Fix NULL pointer test.
271 2013-01-16 Alan Modra <amodra@gmail.com>
274 * stabs.c (parse_stab_members): Always set physname here to avoid
276 (parse_stab_argtypes): ..and don't duplicate the init here.
278 2013-01-10 Will Newton <will.newton@imgtec.com>
280 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
281 (dump_relocations): Add EM_METAG.
282 (get_machine_name): Correct case for Meta.
283 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
284 (is_none_reloc): Add support for Meta NONE reloc.
286 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
288 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
291 2013-01-07 Roland McGrath <mcgrathr@google.com>
293 * objcopy.c (deterministic): Make int rather than bfd_boolean,
295 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
296 (default_deterministic): New function.
297 (strip_main, copy_main): Handle -U. Call default_deterministic.
298 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
299 the default based on DEFAULT_AR_DETERMINISTIC.
300 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
301 configure options on -D.
303 * ar.c (default_deterministic): Comment fix.
305 2013-01-07 Patrice Dumas <pertusus@free.fr>
307 * doc/binutils.texi: Fix ordering of top level nodes.
308 Replace erroneous uses of @itemx with @item.
310 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
312 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
314 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
316 * MAINTAINERS: Add myself as AArch64 co-maintainer.
318 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
320 * version.c (print_version): Update copyright year to 2013.
322 For older changes see ChangeLog-2012
324 Copyright (C) 2013 Free Software Foundation, Inc.
326 Copying and distribution of this file, with or without modification,
327 are permitted in any medium without royalty provided the copyright
328 notice and this notice are preserved.
334 version-control: never