1 2013-08-23 Nick Clifton <nickc@redhat.com>
4 * doc/binutils.texi (ar cmdline): Update description of 'q'
8 (nm): Add description of 'I' symbol type.
10 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
13 * od-xcoff.c: Fix typos.
15 2013-08-19 Tristan Gingold <gingold@adacore.com>
17 * nm.c (print_size_symbols): Directly get symbol size.
19 2013-08-12 Andreas Schwab <schwab@suse.de>
22 * objdump.c (disassemble_section): Return early if nothing from
23 this section needs to be disassembled.
25 2013-08-09 Nick Clifton <nickc@redhat.com>
27 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
29 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
30 Alexander Ivchenko <alexander.ivchenko@intel.com>
31 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
32 Sergey Lega <sergey.s.lega@intel.com>
33 Anna Tikhonova <anna.tikhonova@intel.com>
34 Ilya Tocar <ilya.tocar@intel.com>
35 Andrey Turetskiy <andrey.turetskiy@intel.com>
36 Ilya Verbin <ilya.verbin@intel.com>
37 Kirill Yukhin <kirill.yukhin@intel.com>
38 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
40 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
41 numeration in comments.
42 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
45 2013-07-19 Nick Clifton <nickc@redhat.com>
48 * readelf.c (get_unwind_section_word): Whilst searching for a
49 reloc section associated with an unwind section, check the type as
50 well as the section number.
52 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
54 * ar.c (usage): Fix C conformance issue.
56 2013-07-18 Nick Clifton <nickc@redhat.com>
58 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
61 * readelf.c (process_unwind): Do not return the result of a void
64 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
66 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
67 numbers with enum values.
69 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
71 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
73 2013-07-10 Tristan Gingold <gingold@adacore.com>
75 * od-xcoff.c (OPT_LDINFO): Define.
76 (options): Add ldinfo.
77 (xcoff_help): Mention ldinfo.
78 (xcoff_dump): Rename to ...
79 (xcoff_dump_obj): ... this. Add a break.
80 (dump_dumpx_core): New function.
81 (xcoff_dump_core): Likewise.
82 (xcoff_dump): Likewise.
83 * doc/binutils.texi (objdump): Mention ldinfo.
85 2013-07-09 Tristan Gingold <gingold@adacore.com>
87 * configure.com: Add new defines to match changes in configure.
89 2013-05-28 Cary Coutant <ccoutant@google.com>
91 * dwarf.c (display_debug_lines_raw): Print section offsets.
93 2013-05-15 Cary Coutant <ccoutant@google.com>
95 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
97 (decode_location_expression): DW_OP_const2u should read 2 bytes.
98 (display_debug_lines_decoded): Adjust formatting.
99 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
101 (byte_get_big_endian): Likewise.
102 (byte_get_signed): Likewise.
104 2013-05-09 Andrew Pinski <apinski@cavium.com>
106 * doc/binutils.texi: Document -Mvirt disassembler option.
108 2013-05-02 Nick Clifton <nickc@redhat.com>
110 * readelf.c: Add support for MSP430X architecture.
112 2013-05-02 Nick Clifton <nickc@redhat.com>
114 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
115 sections as if they were fragmentary .debug_line sections.
116 (display_debug_lines_decoded): Likewise.
118 2013-04-29 Nick Clifton <nickc@redhat.com>
120 * dwarf.c (read_debug_line_header): New function. Reads in a
121 header in a .debug_line section.
122 (display_debug_lines_raw): Use new function. Handle fragmentary
123 .debug_line sections.
124 (display_debug_lines_decoded): Likewise.
125 * readelf.c (process_section_headers): Handle fragmenatry
126 .debug_line sections.
127 (display_debug_section): Likewise.
129 2013-04-26 Ian Lance Taylor <iant@google.com>
131 * MAINTAINERS: Add myself and Cary as gold maintainers.
133 2013-04-08 Tom Tromey <tromey@redhat.com>
135 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
137 2013-04-08 Tom Tromey <tromey@redhat.com>
139 * dwarf-mode.el: Bump version number.
140 (dwarf-mode): Remove autoload.
141 (dwarf-die-reference): Relax regexp.
143 2013-04-05 Alan Modra <amodra@gmail.com>
146 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
147 * dwarf.c (strnlen): Provide fallback decl.
148 * config.in: Regnerate.
149 * configure: Regenerate.
151 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
153 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
156 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
159 * winduni.c (codepages[]): Use UTF-16LE.
160 (wind_MultiByteToWideChar): Likewise.
161 (wind_WideCharToMultiByte): Likewise.
163 2013-03-27 Alan Modra <amodra@gmail.com>
166 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
168 2013-03-26 Nick Clifton <nickc@redhat.com>
171 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
172 space before calling byte_get.
173 (SAFE_BYTE_GET_AND_INC): New macro.
174 (SAFE_SIGNED_BYTE_GET): New macro.
175 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
176 (SAFE_BYTE_GET64): New macro.
177 (process_extened_line_op): Use new macros. Use strnlen when
179 (fetch_indirect_string): Likewise.
180 (get_FORM_name): Likewise.
181 (decode_location_expression): Likewise.
182 (read_and_display_attr_value): Likewise.
183 (process_debug_info): Likewise.
184 (display_debug_lines_raw): Likewise.
185 (display_debug_lines_decoded): Likewise.
186 (display_debug_pubnames): Likewise.
187 (display_debug_macinfo): Likewise.
188 (get_line_filename_and_dirname): Likewise.
189 (display_debug_macro): Likewise.
190 (display_loc_list): Likewise.
191 (display_loc_list_dwo): Likewise.
192 (display_debug_aranges): Likewise.
193 (display_debug_ranges): Likewise.
194 (frame_display_row): Likewise.
195 (display_debug_frames): Likewise.
197 2013-03-25 Nick Clifton <nickc@redhat.com>
200 * dwarf.c (read_leb128): Add END parameter. Do not read at or
202 (read_sleb128): Add END parameter.
203 (read_uleb128): New function.
204 (process_extended_line_op): Pass END to leb128 functions.
205 (process_abbrev_section): Likewise.
206 (decode_location_expression): Likewise.
207 (read_and_display_attr_value): Likewise.
208 (read_and_display_attr): Likewise.
209 (process_debug_info): Likewise.
210 (display_debug_lines_raw): Likewise.
211 (display_debug_lines_decoded): Likewise.
212 (display_debug_macinfo): Likewise.
213 (get_line_filename_and_dirname): Likewise.
214 (display_debug_macro): Likewise.
215 (display_loc_list_dwo): Likewise.
216 (display_debug_ranges): Likewise.
217 * dwarf.h (read_leb128): Update prototype.
218 * readelf.c (read_uleb128): Add END parameter.
219 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
220 (decode_tic6x_unwind_bytecode): Likewise.
221 (display_tag_value): New function.
222 (display_arm_attribute): Add END parameter. Pass END to
223 read_uleb128. Use display_tag_value.
224 (display_gnu_attribute): Likewise.
225 (display_power_gnu_attribute): Likewise.
226 (display_sparc_gnu_attribute): Likewise.
227 (display_mips_gnu_attribute): Likewise.
228 (display_tic6x_attribute): Likewise.
229 (process_attributes): Likewise.
230 (display_raw_attribute): New function.
232 2013-03-22 Nick Clifton <nickc@redhat.com>
235 * dwarf.c (display_debug_ranges): Add checks for reading beyond
236 the end of the section.
239 * readelf.c (apply_relocations): Catch relocations with negative
242 2013-03-15 Nick Clifton <nickc@redhat.com>
244 * addr2line.c (slurp_symtab): If canonicalization reveals that
245 there were no ordinary symbols, try loading the dynamic symbols
248 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
250 * MAINTAINERS: Add myself as Meta maintainer.
252 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
254 * readelf.c (get_note_type): Add NT_S390_TDB.
256 2013-03-07 Alan Modra <amodra@gmail.com>
258 * strings.c (get_char): Dispense with buf[]. Instead shift
259 chars into big-endian value and byte-swap later if
260 little-endian. Don't EOF check value read from object.
262 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
264 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
265 * configure: Regenerate.
267 2013-03-04 Nick Clifton <nickc@redhat.com>
269 * elfcomm.c (error): Flush stdout before emitting the error
273 2013-03-01 Cary Coutant <ccoutant@google.com>
275 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
276 (shndx_pool_used): Move to top of file.
277 (struct cu_tu_set): New type.
278 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
279 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
280 (find_cu_tu_set_v2): New function.
281 (read_and_display_attr_value): Add "this_set" parameter.
282 (read_and_display_attr): Likewise.
283 (process_debug_info): Track base offsets for DWARF package files.
284 (load_debug_info): Call load_cu_tu_indexes.
285 (get_DW_SECT_short_name): New function.
286 (process_cu_tu_index): Add support for version 2 DWARF package files.
288 2013-02-27 Alan Modra <amodra@gmail.com>
291 * readelf.c (offsetof): Define.
292 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
293 (process_corefile_note_segment): Allow notes without name or
294 desc. Combine out-of-range checks. Disallow "negative"
297 2013-02-26 Nick Clifton <nickc@redhat.com>
300 * readelf.c (process_corefile_note_segment): Prevent attempts to
301 read beyond the end of the note buffer.
303 2013-02-15 Kai Tietz <ktietz@redhat.com>
305 * objcopy.c (copy_main): Initialize context variable.
307 2013-02-15 Nick Clifton <nickc@redhat.com>
310 * ar.c (open_inarch): Fail on attempts to convert a normal archive
311 to a thin archive or vice versa.
312 * elfcomm.c (make_qualified_name): Handle corrupted thin
314 * readelf.c (process_archive): Likewise.
315 * doc/binutils.texi: Clarify documentation describing thin
318 2013-02-15 Nick Clifton <nickc@redhat.com>
321 * objcopy.c (enum change_action): Delete.
322 (struct section_list): Delete remove, copy, change_vma, change_lma
323 and set_flags fields. Add context field.
324 (find_section_list): Add a context parameter. Add support for
325 wildcard characters in section names.
326 (is_strip_section): Check for sections being both copied and
328 (copy_object): Pass context to find_section_list.
329 (setup_section): Likewise.
330 (copy_section): Likewise.
331 (copy_main): Likewise.
332 * doc/binutils: Document the new behaviour.
333 * NEWS: Mention the new feature
335 2013-02-14 Nick Clifton <nickc@redhat.com>
338 * objcopy.c (copy_object): Provide a helpful warning message when
339 adding a gnu_debuglink section to an object which already contains
342 2013-02-07 Nick Clifton <nickc@redhat.com>
344 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
345 corrupt archive uses long names but has no long name table.
347 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
348 Andrew Jenner <andrew@codesourcery.com>
350 Based on patches from Altera Corporation.
352 * readelf.c: Include elf/nios2.h.
353 (dump_relocations): Add case for EM_ALTERA_NIOS2.
354 (get_nios2_dynamic_type): New.
355 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
356 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
357 (is_16bit_abs_reloc): Likewise.
358 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
359 * NEWS: Note Altera Nios II support.
360 * MAINTAINERS: Add Nios II maintainers.
362 2013-01-29 Xi Wang <xi.wang@gmail.com>
364 * readelf.c (process_version_sections): Fix overflow checks to
365 avoid undefined behaviour.
367 2013-01-28 Doug Evans <dje@google.com>
369 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
371 2013-01-28 Robert Schiele <rschiele@gmail.com>
373 * objcopy.c (parse_flags): Add merge and strings section flags.
375 2013-01-25 Cary Coutant <ccoutant@google.com>
377 * dwarf.c (display_loc_list): Update offset for each line
379 (print_addr_index): New function.
380 (display_loc_list_dwo): Update offset for each line printed.
381 Fix problems displaying loclists in .dwo files. Add support
383 (display_debug_loc): Remove custom header for .dwo files.
384 (display_debug_addr): Adjust formatting.
386 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
388 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
390 2013-01-24 Doug Evans <dje@google.com>
392 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
394 2013-01-24 Nick Clifton <nickc@redhat.com>
396 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
398 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
400 * readelf.c: Add strings for NT_S390_LAST_BREAK and
403 2013-01-18 Nick Clifton <nickc@redhat.com>
406 * addr2line.c (translate_addresses): When pretty printing, print
407 unknown function names on the same line as unknown symbol names.
409 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
411 * objdump.c (dump_target_specific): Fix NULL pointer test.
413 2013-01-16 Alan Modra <amodra@gmail.com>
416 * stabs.c (parse_stab_members): Always set physname here to avoid
418 (parse_stab_argtypes): ..and don't duplicate the init here.
420 2013-01-10 Will Newton <will.newton@imgtec.com>
422 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
423 (dump_relocations): Add EM_METAG.
424 (get_machine_name): Correct case for Meta.
425 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
426 (is_none_reloc): Add support for Meta NONE reloc.
428 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
430 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
433 2013-01-07 Roland McGrath <mcgrathr@google.com>
435 * objcopy.c (deterministic): Make int rather than bfd_boolean,
437 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
438 (default_deterministic): New function.
439 (strip_main, copy_main): Handle -U. Call default_deterministic.
440 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
441 the default based on DEFAULT_AR_DETERMINISTIC.
442 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
443 configure options on -D.
445 * ar.c (default_deterministic): Comment fix.
447 2013-01-07 Patrice Dumas <pertusus@free.fr>
449 * doc/binutils.texi: Fix ordering of top level nodes.
450 Replace erroneous uses of @itemx with @item.
452 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
454 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
456 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
458 * MAINTAINERS: Add myself as AArch64 co-maintainer.
460 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
462 * version.c (print_version): Update copyright year to 2013.
464 For older changes see ChangeLog-2012
466 Copyright (C) 2013 Free Software Foundation, Inc.
468 Copying and distribution of this file, with or without modification,
469 are permitted in any medium without royalty provided the copyright
470 notice and this notice are preserved.
476 version-control: never