1 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
2 Alexander Ivchenko <alexander.ivchenko@intel.com>
3 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
4 Sergey Lega <sergey.s.lega@intel.com>
5 Anna Tikhonova <anna.tikhonova@intel.com>
6 Ilya Tocar <ilya.tocar@intel.com>
7 Andrey Turetskiy <andrey.turetskiy@intel.com>
8 Ilya Verbin <ilya.verbin@intel.com>
9 Kirill Yukhin <kirill.yukhin@intel.com>
10 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
12 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
13 numeration in comments.
14 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
17 2013-07-19 Nick Clifton <nickc@redhat.com>
20 * readelf.c (get_unwind_section_word): Whilst searching for a
21 reloc section associated with an unwind section, check the type as
22 well as the section number.
24 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
26 * ar.c (usage): Fix C conformance issue.
28 2013-07-18 Nick Clifton <nickc@redhat.com>
30 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
33 * readelf.c (process_unwind): Do not return the result of a void
36 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
38 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
39 numbers with enum values.
41 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
43 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
45 2013-07-10 Tristan Gingold <gingold@adacore.com>
47 * od-xcoff.c (OPT_LDINFO): Define.
48 (options): Add ldinfo.
49 (xcoff_help): Mention ldinfo.
50 (xcoff_dump): Rename to ...
51 (xcoff_dump_obj): ... this. Add a break.
52 (dump_dumpx_core): New function.
53 (xcoff_dump_core): Likewise.
54 (xcoff_dump): Likewise.
55 * doc/binutils.texi (objdump): Mention ldinfo.
57 2013-07-09 Tristan Gingold <gingold@adacore.com>
59 * configure.com: Add new defines to match changes in configure.
61 2013-05-28 Cary Coutant <ccoutant@google.com>
63 * dwarf.c (display_debug_lines_raw): Print section offsets.
65 2013-05-15 Cary Coutant <ccoutant@google.com>
67 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
69 (decode_location_expression): DW_OP_const2u should read 2 bytes.
70 (display_debug_lines_decoded): Adjust formatting.
71 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
73 (byte_get_big_endian): Likewise.
74 (byte_get_signed): Likewise.
76 2013-05-09 Andrew Pinski <apinski@cavium.com>
78 * doc/binutils.texi: Document -Mvirt disassembler option.
80 2013-05-02 Nick Clifton <nickc@redhat.com>
82 * readelf.c: Add support for MSP430X architecture.
84 2013-05-02 Nick Clifton <nickc@redhat.com>
86 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
87 sections as if they were fragmentary .debug_line sections.
88 (display_debug_lines_decoded): Likewise.
90 2013-04-29 Nick Clifton <nickc@redhat.com>
92 * dwarf.c (read_debug_line_header): New function. Reads in a
93 header in a .debug_line section.
94 (display_debug_lines_raw): Use new function. Handle fragmentary
96 (display_debug_lines_decoded): Likewise.
97 * readelf.c (process_section_headers): Handle fragmenatry
99 (display_debug_section): Likewise.
101 2013-04-26 Ian Lance Taylor <iant@google.com>
103 * MAINTAINERS: Add myself and Cary as gold maintainers.
105 2013-04-08 Tom Tromey <tromey@redhat.com>
107 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
109 2013-04-08 Tom Tromey <tromey@redhat.com>
111 * dwarf-mode.el: Bump version number.
112 (dwarf-mode): Remove autoload.
113 (dwarf-die-reference): Relax regexp.
115 2013-04-05 Alan Modra <amodra@gmail.com>
118 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
119 * dwarf.c (strnlen): Provide fallback decl.
120 * config.in: Regnerate.
121 * configure: Regenerate.
123 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
125 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
128 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
131 * winduni.c (codepages[]): Use UTF-16LE.
132 (wind_MultiByteToWideChar): Likewise.
133 (wind_WideCharToMultiByte): Likewise.
135 2013-03-27 Alan Modra <amodra@gmail.com>
138 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
140 2013-03-26 Nick Clifton <nickc@redhat.com>
143 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
144 space before calling byte_get.
145 (SAFE_BYTE_GET_AND_INC): New macro.
146 (SAFE_SIGNED_BYTE_GET): New macro.
147 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
148 (SAFE_BYTE_GET64): New macro.
149 (process_extened_line_op): Use new macros. Use strnlen when
151 (fetch_indirect_string): Likewise.
152 (get_FORM_name): Likewise.
153 (decode_location_expression): Likewise.
154 (read_and_display_attr_value): Likewise.
155 (process_debug_info): Likewise.
156 (display_debug_lines_raw): Likewise.
157 (display_debug_lines_decoded): Likewise.
158 (display_debug_pubnames): Likewise.
159 (display_debug_macinfo): Likewise.
160 (get_line_filename_and_dirname): Likewise.
161 (display_debug_macro): Likewise.
162 (display_loc_list): Likewise.
163 (display_loc_list_dwo): Likewise.
164 (display_debug_aranges): Likewise.
165 (display_debug_ranges): Likewise.
166 (frame_display_row): Likewise.
167 (display_debug_frames): Likewise.
169 2013-03-25 Nick Clifton <nickc@redhat.com>
172 * dwarf.c (read_leb128): Add END parameter. Do not read at or
174 (read_sleb128): Add END parameter.
175 (read_uleb128): New function.
176 (process_extended_line_op): Pass END to leb128 functions.
177 (process_abbrev_section): Likewise.
178 (decode_location_expression): Likewise.
179 (read_and_display_attr_value): Likewise.
180 (read_and_display_attr): Likewise.
181 (process_debug_info): Likewise.
182 (display_debug_lines_raw): Likewise.
183 (display_debug_lines_decoded): Likewise.
184 (display_debug_macinfo): Likewise.
185 (get_line_filename_and_dirname): Likewise.
186 (display_debug_macro): Likewise.
187 (display_loc_list_dwo): Likewise.
188 (display_debug_ranges): Likewise.
189 * dwarf.h (read_leb128): Update prototype.
190 * readelf.c (read_uleb128): Add END parameter.
191 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
192 (decode_tic6x_unwind_bytecode): Likewise.
193 (display_tag_value): New function.
194 (display_arm_attribute): Add END parameter. Pass END to
195 read_uleb128. Use display_tag_value.
196 (display_gnu_attribute): Likewise.
197 (display_power_gnu_attribute): Likewise.
198 (display_sparc_gnu_attribute): Likewise.
199 (display_mips_gnu_attribute): Likewise.
200 (display_tic6x_attribute): Likewise.
201 (process_attributes): Likewise.
202 (display_raw_attribute): New function.
204 2013-03-22 Nick Clifton <nickc@redhat.com>
207 * dwarf.c (display_debug_ranges): Add checks for reading beyond
208 the end of the section.
211 * readelf.c (apply_relocations): Catch relocations with negative
214 2013-03-15 Nick Clifton <nickc@redhat.com>
216 * addr2line.c (slurp_symtab): If canonicalization reveals that
217 there were no ordinary symbols, try loading the dynamic symbols
220 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
222 * MAINTAINERS: Add myself as Meta maintainer.
224 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
226 * readelf.c (get_note_type): Add NT_S390_TDB.
228 2013-03-07 Alan Modra <amodra@gmail.com>
230 * strings.c (get_char): Dispense with buf[]. Instead shift
231 chars into big-endian value and byte-swap later if
232 little-endian. Don't EOF check value read from object.
234 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
236 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
237 * configure: Regenerate.
239 2013-03-04 Nick Clifton <nickc@redhat.com>
241 * elfcomm.c (error): Flush stdout before emitting the error
245 2013-03-01 Cary Coutant <ccoutant@google.com>
247 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
248 (shndx_pool_used): Move to top of file.
249 (struct cu_tu_set): New type.
250 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
251 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
252 (find_cu_tu_set_v2): New function.
253 (read_and_display_attr_value): Add "this_set" parameter.
254 (read_and_display_attr): Likewise.
255 (process_debug_info): Track base offsets for DWARF package files.
256 (load_debug_info): Call load_cu_tu_indexes.
257 (get_DW_SECT_short_name): New function.
258 (process_cu_tu_index): Add support for version 2 DWARF package files.
260 2013-02-27 Alan Modra <amodra@gmail.com>
263 * readelf.c (offsetof): Define.
264 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
265 (process_corefile_note_segment): Allow notes without name or
266 desc. Combine out-of-range checks. Disallow "negative"
269 2013-02-26 Nick Clifton <nickc@redhat.com>
272 * readelf.c (process_corefile_note_segment): Prevent attempts to
273 read beyond the end of the note buffer.
275 2013-02-15 Kai Tietz <ktietz@redhat.com>
277 * objcopy.c (copy_main): Initialize context variable.
279 2013-02-15 Nick Clifton <nickc@redhat.com>
282 * ar.c (open_inarch): Fail on attempts to convert a normal archive
283 to a thin archive or vice versa.
284 * elfcomm.c (make_qualified_name): Handle corrupted thin
286 * readelf.c (process_archive): Likewise.
287 * doc/binutils.texi: Clarify documentation describing thin
290 2013-02-15 Nick Clifton <nickc@redhat.com>
293 * objcopy.c (enum change_action): Delete.
294 (struct section_list): Delete remove, copy, change_vma, change_lma
295 and set_flags fields. Add context field.
296 (find_section_list): Add a context parameter. Add support for
297 wildcard characters in section names.
298 (is_strip_section): Check for sections being both copied and
300 (copy_object): Pass context to find_section_list.
301 (setup_section): Likewise.
302 (copy_section): Likewise.
303 (copy_main): Likewise.
304 * doc/binutils: Document the new behaviour.
305 * NEWS: Mention the new feature
307 2013-02-14 Nick Clifton <nickc@redhat.com>
310 * objcopy.c (copy_object): Provide a helpful warning message when
311 adding a gnu_debuglink section to an object which already contains
314 2013-02-07 Nick Clifton <nickc@redhat.com>
316 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
317 corrupt archive uses long names but has no long name table.
319 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
320 Andrew Jenner <andrew@codesourcery.com>
322 Based on patches from Altera Corporation.
324 * readelf.c: Include elf/nios2.h.
325 (dump_relocations): Add case for EM_ALTERA_NIOS2.
326 (get_nios2_dynamic_type): New.
327 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
328 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
329 (is_16bit_abs_reloc): Likewise.
330 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
331 * NEWS: Note Altera Nios II support.
332 * MAINTAINERS: Add Nios II maintainers.
334 2013-01-29 Xi Wang <xi.wang@gmail.com>
336 * readelf.c (process_version_sections): Fix overflow checks to
337 avoid undefined behaviour.
339 2013-01-28 Doug Evans <dje@google.com>
341 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
343 2013-01-28 Robert Schiele <rschiele@gmail.com>
345 * objcopy.c (parse_flags): Add merge and strings section flags.
347 2013-01-25 Cary Coutant <ccoutant@google.com>
349 * dwarf.c (display_loc_list): Update offset for each line
351 (print_addr_index): New function.
352 (display_loc_list_dwo): Update offset for each line printed.
353 Fix problems displaying loclists in .dwo files. Add support
355 (display_debug_loc): Remove custom header for .dwo files.
356 (display_debug_addr): Adjust formatting.
358 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
360 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
362 2013-01-24 Doug Evans <dje@google.com>
364 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
366 2013-01-24 Nick Clifton <nickc@redhat.com>
368 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
370 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
372 * readelf.c: Add strings for NT_S390_LAST_BREAK and
375 2013-01-18 Nick Clifton <nickc@redhat.com>
378 * addr2line.c (translate_addresses): When pretty printing, print
379 unknown function names on the same line as unknown symbol names.
381 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
383 * objdump.c (dump_target_specific): Fix NULL pointer test.
385 2013-01-16 Alan Modra <amodra@gmail.com>
388 * stabs.c (parse_stab_members): Always set physname here to avoid
390 (parse_stab_argtypes): ..and don't duplicate the init here.
392 2013-01-10 Will Newton <will.newton@imgtec.com>
394 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
395 (dump_relocations): Add EM_METAG.
396 (get_machine_name): Correct case for Meta.
397 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
398 (is_none_reloc): Add support for Meta NONE reloc.
400 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
402 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
405 2013-01-07 Roland McGrath <mcgrathr@google.com>
407 * objcopy.c (deterministic): Make int rather than bfd_boolean,
409 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
410 (default_deterministic): New function.
411 (strip_main, copy_main): Handle -U. Call default_deterministic.
412 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
413 the default based on DEFAULT_AR_DETERMINISTIC.
414 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
415 configure options on -D.
417 * ar.c (default_deterministic): Comment fix.
419 2013-01-07 Patrice Dumas <pertusus@free.fr>
421 * doc/binutils.texi: Fix ordering of top level nodes.
422 Replace erroneous uses of @itemx with @item.
424 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
426 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
428 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
430 * MAINTAINERS: Add myself as AArch64 co-maintainer.
432 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
434 * version.c (print_version): Update copyright year to 2013.
436 For older changes see ChangeLog-2012
438 Copyright (C) 2013 Free Software Foundation, Inc.
440 Copying and distribution of this file, with or without modification,
441 are permitted in any medium without royalty provided the copyright
442 notice and this notice are preserved.
448 version-control: never