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