1 2013-10-14 Nick Clifton <nickc@redhat.com>
3 * readelf.c (decode_arm_unwind): Initialise addr structure.
4 (process_symbol_table): Free lengths.
5 * srcconv.c (wr_sc): Free info.
7 2013-10-11 Roland McGrath <mcgrathr@google.com>
9 * winduni.c (languages): Use \345 (octal syntax) rather than
10 literal non-ASCII/non-UTF8 character in string literal.
12 * readelf.c (print_dynamic_symbol): Use array subscript syntax
13 rather than addition syntax with string literal.
15 2013-10-09 Nick Clifton <nickc@redhat.com>
18 * debug.c (debug_type_samep): Add missing break statement.
21 * objdump.c (usage): Mark as a no-return function.
22 (main): Add comment explaining why a break statement is not
25 * dwarf.c (add64): New function.
26 (read_and_display_attr_value): Add CU offset in to the value
27 displayed for a DW_AT_ref8 attribute.
29 2013-10-01 Cory Fields <cory@coryfields.com>
31 * arsup.c (ar_save): Respect the deterministic setting when
32 reading from an mri script.
33 * ar.c (main): Set the default deterministic mode when reading
36 2013-10-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
38 * dwarf.c (SAFE_BYTE_GET): Fix argument check.
40 2013-09-27 H.J. Lu <hongjiu.lu@intel.com>
42 * dwarf.c (display_debug_frames): Pass offset_size to
43 print_dwarf_vma for cie_id.
45 2013-09-20 Alan Modra <amodra@gmail.com>
47 * configure: Regenerate.
49 2013-09-18 Tristan Gingold <gingold@adacore.com>
51 * NEWS: Add marker for 2.24.
53 2013-09-18 Tristan Gingold <gingold@adacore.com>
55 * Makefile.am (LEXLIB): Define. Replase references to @LEXLIB@
57 * Makefile.in: Regenerate.
59 2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
61 * readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
63 2013-09-12 Nick Clifton <nickc@redhat.com>
65 * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a
67 (dwarf_vmatoa): New wrapper for dwarf_vmatoa_1.
68 (print_dwarf_vma): Use dwarf_vmatoa_1.
69 (SAFE_BYTE_GET): Add check that VAL is big enough to contain
71 (process_debug_info): Use an unsigned int for the offset size.
72 (process_debug_pubnames): Likewise.
73 (display_debug_aranges): Likewise.
74 (struct Frame_Chunk): Use dwarf_vma type for pc_begin and pc_range
76 (frame_display_row): Use print_dwarf_vma to display dwarf_vma
78 (display_debug_frames): Likewise.
80 2013-09-10 Nick Clifton <nickc@redhat.com>
82 * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
83 parsing 64-bit frames.
85 2013-08-27 Nick Clifton <nickc@redhat.com>
88 * ar.c (map_over_members): Correctly handle multiple same-name
89 entries on the command line and in the archive.
91 2013-08-23 H.J. Lu <hongjiu.lu@intel.com>
93 * doc/binutils.texi: Remove the extra space.
95 2013-08-23 Mikael Pettersson <mikpe@it.uu.se>
98 * doc/binutils.texi (ranlib -D): Correct description.
100 (nm --special-syms): Fix typo.
102 2013-08-23 Nick Clifton <nickc@redhat.com>
105 * doc/binutils.texi (ar cmdline): Update description of 'q'
109 (nm): Add description of 'I' symbol type.
111 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
114 * od-xcoff.c: Fix typos.
116 2013-08-19 Tristan Gingold <gingold@adacore.com>
118 * nm.c (print_size_symbols): Directly get symbol size.
120 2013-08-12 Andreas Schwab <schwab@suse.de>
123 * objdump.c (disassemble_section): Return early if nothing from
124 this section needs to be disassembled.
126 2013-08-09 Nick Clifton <nickc@redhat.com>
128 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
130 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
131 Alexander Ivchenko <alexander.ivchenko@intel.com>
132 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
133 Sergey Lega <sergey.s.lega@intel.com>
134 Anna Tikhonova <anna.tikhonova@intel.com>
135 Ilya Tocar <ilya.tocar@intel.com>
136 Andrey Turetskiy <andrey.turetskiy@intel.com>
137 Ilya Verbin <ilya.verbin@intel.com>
138 Kirill Yukhin <kirill.yukhin@intel.com>
139 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
141 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
142 numeration in comments.
143 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
146 2013-07-19 Nick Clifton <nickc@redhat.com>
149 * readelf.c (get_unwind_section_word): Whilst searching for a
150 reloc section associated with an unwind section, check the type as
151 well as the section number.
153 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
155 * ar.c (usage): Fix C conformance issue.
157 2013-07-18 Nick Clifton <nickc@redhat.com>
159 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
162 * readelf.c (process_unwind): Do not return the result of a void
165 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
167 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
168 numbers with enum values.
170 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
172 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
174 2013-07-10 Tristan Gingold <gingold@adacore.com>
176 * od-xcoff.c (OPT_LDINFO): Define.
177 (options): Add ldinfo.
178 (xcoff_help): Mention ldinfo.
179 (xcoff_dump): Rename to ...
180 (xcoff_dump_obj): ... this. Add a break.
181 (dump_dumpx_core): New function.
182 (xcoff_dump_core): Likewise.
183 (xcoff_dump): Likewise.
184 * doc/binutils.texi (objdump): Mention ldinfo.
186 2013-07-09 Tristan Gingold <gingold@adacore.com>
188 * configure.com: Add new defines to match changes in configure.
190 2013-05-28 Cary Coutant <ccoutant@google.com>
192 * dwarf.c (display_debug_lines_raw): Print section offsets.
194 2013-05-15 Cary Coutant <ccoutant@google.com>
196 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
198 (decode_location_expression): DW_OP_const2u should read 2 bytes.
199 (display_debug_lines_decoded): Adjust formatting.
200 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
202 (byte_get_big_endian): Likewise.
203 (byte_get_signed): Likewise.
205 2013-05-09 Andrew Pinski <apinski@cavium.com>
207 * doc/binutils.texi: Document -Mvirt disassembler option.
209 2013-05-02 Nick Clifton <nickc@redhat.com>
211 * readelf.c: Add support for MSP430X architecture.
213 2013-05-02 Nick Clifton <nickc@redhat.com>
215 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
216 sections as if they were fragmentary .debug_line sections.
217 (display_debug_lines_decoded): Likewise.
219 2013-04-29 Nick Clifton <nickc@redhat.com>
221 * dwarf.c (read_debug_line_header): New function. Reads in a
222 header in a .debug_line section.
223 (display_debug_lines_raw): Use new function. Handle fragmentary
224 .debug_line sections.
225 (display_debug_lines_decoded): Likewise.
226 * readelf.c (process_section_headers): Handle fragmenatry
227 .debug_line sections.
228 (display_debug_section): Likewise.
230 2013-04-26 Ian Lance Taylor <iant@google.com>
232 * MAINTAINERS: Add myself and Cary as gold maintainers.
234 2013-04-08 Tom Tromey <tromey@redhat.com>
236 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
238 2013-04-08 Tom Tromey <tromey@redhat.com>
240 * dwarf-mode.el: Bump version number.
241 (dwarf-mode): Remove autoload.
242 (dwarf-die-reference): Relax regexp.
244 2013-04-05 Alan Modra <amodra@gmail.com>
247 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
248 * dwarf.c (strnlen): Provide fallback decl.
249 * config.in: Regnerate.
250 * configure: Regenerate.
252 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
254 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
257 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
260 * winduni.c (codepages[]): Use UTF-16LE.
261 (wind_MultiByteToWideChar): Likewise.
262 (wind_WideCharToMultiByte): Likewise.
264 2013-03-27 Alan Modra <amodra@gmail.com>
267 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
269 2013-03-26 Nick Clifton <nickc@redhat.com>
272 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
273 space before calling byte_get.
274 (SAFE_BYTE_GET_AND_INC): New macro.
275 (SAFE_SIGNED_BYTE_GET): New macro.
276 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
277 (SAFE_BYTE_GET64): New macro.
278 (process_extened_line_op): Use new macros. Use strnlen when
280 (fetch_indirect_string): Likewise.
281 (get_FORM_name): Likewise.
282 (decode_location_expression): Likewise.
283 (read_and_display_attr_value): Likewise.
284 (process_debug_info): Likewise.
285 (display_debug_lines_raw): Likewise.
286 (display_debug_lines_decoded): Likewise.
287 (display_debug_pubnames): Likewise.
288 (display_debug_macinfo): Likewise.
289 (get_line_filename_and_dirname): Likewise.
290 (display_debug_macro): Likewise.
291 (display_loc_list): Likewise.
292 (display_loc_list_dwo): Likewise.
293 (display_debug_aranges): Likewise.
294 (display_debug_ranges): Likewise.
295 (frame_display_row): Likewise.
296 (display_debug_frames): Likewise.
298 2013-03-25 Nick Clifton <nickc@redhat.com>
301 * dwarf.c (read_leb128): Add END parameter. Do not read at or
303 (read_sleb128): Add END parameter.
304 (read_uleb128): New function.
305 (process_extended_line_op): Pass END to leb128 functions.
306 (process_abbrev_section): Likewise.
307 (decode_location_expression): Likewise.
308 (read_and_display_attr_value): Likewise.
309 (read_and_display_attr): Likewise.
310 (process_debug_info): Likewise.
311 (display_debug_lines_raw): Likewise.
312 (display_debug_lines_decoded): Likewise.
313 (display_debug_macinfo): Likewise.
314 (get_line_filename_and_dirname): Likewise.
315 (display_debug_macro): Likewise.
316 (display_loc_list_dwo): Likewise.
317 (display_debug_ranges): Likewise.
318 * dwarf.h (read_leb128): Update prototype.
319 * readelf.c (read_uleb128): Add END parameter.
320 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
321 (decode_tic6x_unwind_bytecode): Likewise.
322 (display_tag_value): New function.
323 (display_arm_attribute): Add END parameter. Pass END to
324 read_uleb128. Use display_tag_value.
325 (display_gnu_attribute): Likewise.
326 (display_power_gnu_attribute): Likewise.
327 (display_sparc_gnu_attribute): Likewise.
328 (display_mips_gnu_attribute): Likewise.
329 (display_tic6x_attribute): Likewise.
330 (process_attributes): Likewise.
331 (display_raw_attribute): New function.
333 2013-03-22 Nick Clifton <nickc@redhat.com>
336 * dwarf.c (display_debug_ranges): Add checks for reading beyond
337 the end of the section.
340 * readelf.c (apply_relocations): Catch relocations with negative
343 2013-03-15 Nick Clifton <nickc@redhat.com>
345 * addr2line.c (slurp_symtab): If canonicalization reveals that
346 there were no ordinary symbols, try loading the dynamic symbols
349 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
351 * MAINTAINERS: Add myself as Meta maintainer.
353 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
355 * readelf.c (get_note_type): Add NT_S390_TDB.
357 2013-03-07 Alan Modra <amodra@gmail.com>
359 * strings.c (get_char): Dispense with buf[]. Instead shift
360 chars into big-endian value and byte-swap later if
361 little-endian. Don't EOF check value read from object.
363 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
365 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
366 * configure: Regenerate.
368 2013-03-04 Nick Clifton <nickc@redhat.com>
370 * elfcomm.c (error): Flush stdout before emitting the error
374 2013-03-01 Cary Coutant <ccoutant@google.com>
376 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
377 (shndx_pool_used): Move to top of file.
378 (struct cu_tu_set): New type.
379 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
380 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
381 (find_cu_tu_set_v2): New function.
382 (read_and_display_attr_value): Add "this_set" parameter.
383 (read_and_display_attr): Likewise.
384 (process_debug_info): Track base offsets for DWARF package files.
385 (load_debug_info): Call load_cu_tu_indexes.
386 (get_DW_SECT_short_name): New function.
387 (process_cu_tu_index): Add support for version 2 DWARF package files.
389 2013-02-27 Alan Modra <amodra@gmail.com>
392 * readelf.c (offsetof): Define.
393 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
394 (process_corefile_note_segment): Allow notes without name or
395 desc. Combine out-of-range checks. Disallow "negative"
398 2013-02-26 Nick Clifton <nickc@redhat.com>
401 * readelf.c (process_corefile_note_segment): Prevent attempts to
402 read beyond the end of the note buffer.
404 2013-02-15 Kai Tietz <ktietz@redhat.com>
406 * objcopy.c (copy_main): Initialize context variable.
408 2013-02-15 Nick Clifton <nickc@redhat.com>
411 * ar.c (open_inarch): Fail on attempts to convert a normal archive
412 to a thin archive or vice versa.
413 * elfcomm.c (make_qualified_name): Handle corrupted thin
415 * readelf.c (process_archive): Likewise.
416 * doc/binutils.texi: Clarify documentation describing thin
419 2013-02-15 Nick Clifton <nickc@redhat.com>
422 * objcopy.c (enum change_action): Delete.
423 (struct section_list): Delete remove, copy, change_vma, change_lma
424 and set_flags fields. Add context field.
425 (find_section_list): Add a context parameter. Add support for
426 wildcard characters in section names.
427 (is_strip_section): Check for sections being both copied and
429 (copy_object): Pass context to find_section_list.
430 (setup_section): Likewise.
431 (copy_section): Likewise.
432 (copy_main): Likewise.
433 * doc/binutils: Document the new behaviour.
434 * NEWS: Mention the new feature
436 2013-02-14 Nick Clifton <nickc@redhat.com>
439 * objcopy.c (copy_object): Provide a helpful warning message when
440 adding a gnu_debuglink section to an object which already contains
443 2013-02-07 Nick Clifton <nickc@redhat.com>
445 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
446 corrupt archive uses long names but has no long name table.
448 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
449 Andrew Jenner <andrew@codesourcery.com>
451 Based on patches from Altera Corporation.
453 * readelf.c: Include elf/nios2.h.
454 (dump_relocations): Add case for EM_ALTERA_NIOS2.
455 (get_nios2_dynamic_type): New.
456 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
457 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
458 (is_16bit_abs_reloc): Likewise.
459 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
460 * NEWS: Note Altera Nios II support.
461 * MAINTAINERS: Add Nios II maintainers.
463 2013-01-29 Xi Wang <xi.wang@gmail.com>
465 * readelf.c (process_version_sections): Fix overflow checks to
466 avoid undefined behaviour.
468 2013-01-28 Doug Evans <dje@google.com>
470 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
472 2013-01-28 Robert Schiele <rschiele@gmail.com>
474 * objcopy.c (parse_flags): Add merge and strings section flags.
476 2013-01-25 Cary Coutant <ccoutant@google.com>
478 * dwarf.c (display_loc_list): Update offset for each line
480 (print_addr_index): New function.
481 (display_loc_list_dwo): Update offset for each line printed.
482 Fix problems displaying loclists in .dwo files. Add support
484 (display_debug_loc): Remove custom header for .dwo files.
485 (display_debug_addr): Adjust formatting.
487 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
489 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
491 2013-01-24 Doug Evans <dje@google.com>
493 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
495 2013-01-24 Nick Clifton <nickc@redhat.com>
497 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
499 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
501 * readelf.c: Add strings for NT_S390_LAST_BREAK and
504 2013-01-18 Nick Clifton <nickc@redhat.com>
507 * addr2line.c (translate_addresses): When pretty printing, print
508 unknown function names on the same line as unknown symbol names.
510 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
512 * objdump.c (dump_target_specific): Fix NULL pointer test.
514 2013-01-16 Alan Modra <amodra@gmail.com>
517 * stabs.c (parse_stab_members): Always set physname here to avoid
519 (parse_stab_argtypes): ..and don't duplicate the init here.
521 2013-01-10 Will Newton <will.newton@imgtec.com>
523 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
524 (dump_relocations): Add EM_METAG.
525 (get_machine_name): Correct case for Meta.
526 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
527 (is_none_reloc): Add support for Meta NONE reloc.
529 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
531 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
534 2013-01-07 Roland McGrath <mcgrathr@google.com>
536 * objcopy.c (deterministic): Make int rather than bfd_boolean,
538 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
539 (default_deterministic): New function.
540 (strip_main, copy_main): Handle -U. Call default_deterministic.
541 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
542 the default based on DEFAULT_AR_DETERMINISTIC.
543 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
544 configure options on -D.
546 * ar.c (default_deterministic): Comment fix.
548 2013-01-07 Patrice Dumas <pertusus@free.fr>
550 * doc/binutils.texi: Fix ordering of top level nodes.
551 Replace erroneous uses of @itemx with @item.
553 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
555 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
557 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
559 * MAINTAINERS: Add myself as AArch64 co-maintainer.
561 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
563 * version.c (print_version): Update copyright year to 2013.
565 For older changes see ChangeLog-2012
567 Copyright (C) 2013 Free Software Foundation, Inc.
569 Copying and distribution of this file, with or without modification,
570 are permitted in any medium without royalty provided the copyright
571 notice and this notice are preserved.
577 version-control: never