1 2013-11-07 Roland McGrath <mcgrathr@google.com>
3 * objdump.c (dump_dwarf): Grok bfd_mach_x86_64_nacl and
4 bfd_mach_x64_32_nacl as equivalent to bfd_mach_x86_64.
6 2013-10-30 Alan Modra <amodra@gmail.com>
8 * readelf.c (get_ppc_dynamic_type): Replace PPC_TLSOPT with PPC_OPT.
9 (get_ppc64_dynamic_type): Replace PPC64_TLSOPT with PPC64_OPT.
11 2013-10-30 Ulrich Weigand <uweigand@de.ibm.com>
13 * readelf.c (get_ppc64_symbol_other): New function.
14 (get_symbol_other): Use it for EM_PPC64.
16 2013-10-30 Alan Modra <amodra@gmail.com>
18 * readelf.c (get_machine_flags): Display ABI version for EM_PPC64.
20 2013-10-24 Nick Clifton <nickc@redhat.com>
22 * nm.c (display_rel_file): Treat bfd_error_no_symbols as
25 2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
27 * readelf.c (display_mips_gnu_attribute): Support Tag_GNU_MIPS_ABI_MSA.
28 * doc/binutils.texi: Document -Mmsa disassembler option.
30 2013-10-14 Jan-Benedict Glaw <jbglaw@lug-owl.de>
32 * readelf.c (decode_arm_unwind): Don't initialize `addr'.
34 2013-10-14 Nick Clifton <nickc@redhat.com>
36 * readelf.c (decode_arm_unwind): Initialise addr structure.
37 (process_symbol_table): Free lengths.
38 * srcconv.c (wr_sc): Free info.
40 2013-10-11 Roland McGrath <mcgrathr@google.com>
42 * winduni.c (languages): Use \345 (octal syntax) rather than
43 literal non-ASCII/non-UTF8 character in string literal.
45 * readelf.c (print_dynamic_symbol): Use array subscript syntax
46 rather than addition syntax with string literal.
48 2013-10-09 Nick Clifton <nickc@redhat.com>
51 * debug.c (debug_type_samep): Add missing break statement.
54 * objdump.c (usage): Mark as a no-return function.
55 (main): Add comment explaining why a break statement is not
58 * dwarf.c (add64): New function.
59 (read_and_display_attr_value): Add CU offset in to the value
60 displayed for a DW_AT_ref8 attribute.
62 2013-10-01 Cory Fields <cory@coryfields.com>
64 * arsup.c (ar_save): Respect the deterministic setting when
65 reading from an mri script.
66 * ar.c (main): Set the default deterministic mode when reading
69 2013-10-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
71 * dwarf.c (SAFE_BYTE_GET): Fix argument check.
73 2013-09-27 H.J. Lu <hongjiu.lu@intel.com>
75 * dwarf.c (display_debug_frames): Pass offset_size to
76 print_dwarf_vma for cie_id.
78 2013-09-20 Alan Modra <amodra@gmail.com>
80 * configure: Regenerate.
82 2013-09-18 Tristan Gingold <gingold@adacore.com>
84 * NEWS: Add marker for 2.24.
86 2013-09-18 Tristan Gingold <gingold@adacore.com>
88 * Makefile.am (LEXLIB): Define. Replase references to @LEXLIB@
90 * Makefile.in: Regenerate.
92 2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
94 * readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
96 2013-09-12 Nick Clifton <nickc@redhat.com>
98 * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a
100 (dwarf_vmatoa): New wrapper for dwarf_vmatoa_1.
101 (print_dwarf_vma): Use dwarf_vmatoa_1.
102 (SAFE_BYTE_GET): Add check that VAL is big enough to contain
104 (process_debug_info): Use an unsigned int for the offset size.
105 (process_debug_pubnames): Likewise.
106 (display_debug_aranges): Likewise.
107 (struct Frame_Chunk): Use dwarf_vma type for pc_begin and pc_range
109 (frame_display_row): Use print_dwarf_vma to display dwarf_vma
111 (display_debug_frames): Likewise.
113 2013-09-10 Nick Clifton <nickc@redhat.com>
115 * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
116 parsing 64-bit frames.
118 2013-08-27 Nick Clifton <nickc@redhat.com>
121 * ar.c (map_over_members): Correctly handle multiple same-name
122 entries on the command line and in the archive.
124 2013-08-23 H.J. Lu <hongjiu.lu@intel.com>
126 * doc/binutils.texi: Remove the extra space.
128 2013-08-23 Mikael Pettersson <mikpe@it.uu.se>
131 * doc/binutils.texi (ranlib -D): Correct description.
133 (nm --special-syms): Fix typo.
135 2013-08-23 Nick Clifton <nickc@redhat.com>
138 * doc/binutils.texi (ar cmdline): Update description of 'q'
142 (nm): Add description of 'I' symbol type.
144 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
147 * od-xcoff.c: Fix typos.
149 2013-08-19 Tristan Gingold <gingold@adacore.com>
151 * nm.c (print_size_symbols): Directly get symbol size.
153 2013-08-12 Andreas Schwab <schwab@suse.de>
156 * objdump.c (disassemble_section): Return early if nothing from
157 this section needs to be disassembled.
159 2013-08-09 Nick Clifton <nickc@redhat.com>
161 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
163 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
164 Alexander Ivchenko <alexander.ivchenko@intel.com>
165 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
166 Sergey Lega <sergey.s.lega@intel.com>
167 Anna Tikhonova <anna.tikhonova@intel.com>
168 Ilya Tocar <ilya.tocar@intel.com>
169 Andrey Turetskiy <andrey.turetskiy@intel.com>
170 Ilya Verbin <ilya.verbin@intel.com>
171 Kirill Yukhin <kirill.yukhin@intel.com>
172 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
174 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
175 numeration in comments.
176 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
179 2013-07-19 Nick Clifton <nickc@redhat.com>
182 * readelf.c (get_unwind_section_word): Whilst searching for a
183 reloc section associated with an unwind section, check the type as
184 well as the section number.
186 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
188 * ar.c (usage): Fix C conformance issue.
190 2013-07-18 Nick Clifton <nickc@redhat.com>
192 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
195 * readelf.c (process_unwind): Do not return the result of a void
198 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
200 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
201 numbers with enum values.
203 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
205 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
207 2013-07-10 Tristan Gingold <gingold@adacore.com>
209 * od-xcoff.c (OPT_LDINFO): Define.
210 (options): Add ldinfo.
211 (xcoff_help): Mention ldinfo.
212 (xcoff_dump): Rename to ...
213 (xcoff_dump_obj): ... this. Add a break.
214 (dump_dumpx_core): New function.
215 (xcoff_dump_core): Likewise.
216 (xcoff_dump): Likewise.
217 * doc/binutils.texi (objdump): Mention ldinfo.
219 2013-07-09 Tristan Gingold <gingold@adacore.com>
221 * configure.com: Add new defines to match changes in configure.
223 2013-05-28 Cary Coutant <ccoutant@google.com>
225 * dwarf.c (display_debug_lines_raw): Print section offsets.
227 2013-05-15 Cary Coutant <ccoutant@google.com>
229 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
231 (decode_location_expression): DW_OP_const2u should read 2 bytes.
232 (display_debug_lines_decoded): Adjust formatting.
233 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
235 (byte_get_big_endian): Likewise.
236 (byte_get_signed): Likewise.
238 2013-05-09 Andrew Pinski <apinski@cavium.com>
240 * doc/binutils.texi: Document -Mvirt disassembler option.
242 2013-05-02 Nick Clifton <nickc@redhat.com>
244 * readelf.c: Add support for MSP430X architecture.
246 2013-05-02 Nick Clifton <nickc@redhat.com>
248 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
249 sections as if they were fragmentary .debug_line sections.
250 (display_debug_lines_decoded): Likewise.
252 2013-04-29 Nick Clifton <nickc@redhat.com>
254 * dwarf.c (read_debug_line_header): New function. Reads in a
255 header in a .debug_line section.
256 (display_debug_lines_raw): Use new function. Handle fragmentary
257 .debug_line sections.
258 (display_debug_lines_decoded): Likewise.
259 * readelf.c (process_section_headers): Handle fragmenatry
260 .debug_line sections.
261 (display_debug_section): Likewise.
263 2013-04-26 Ian Lance Taylor <iant@google.com>
265 * MAINTAINERS: Add myself and Cary as gold maintainers.
267 2013-04-08 Tom Tromey <tromey@redhat.com>
269 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
271 2013-04-08 Tom Tromey <tromey@redhat.com>
273 * dwarf-mode.el: Bump version number.
274 (dwarf-mode): Remove autoload.
275 (dwarf-die-reference): Relax regexp.
277 2013-04-05 Alan Modra <amodra@gmail.com>
280 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
281 * dwarf.c (strnlen): Provide fallback decl.
282 * config.in: Regnerate.
283 * configure: Regenerate.
285 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
287 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
290 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
293 * winduni.c (codepages[]): Use UTF-16LE.
294 (wind_MultiByteToWideChar): Likewise.
295 (wind_WideCharToMultiByte): Likewise.
297 2013-03-27 Alan Modra <amodra@gmail.com>
300 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
302 2013-03-26 Nick Clifton <nickc@redhat.com>
305 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
306 space before calling byte_get.
307 (SAFE_BYTE_GET_AND_INC): New macro.
308 (SAFE_SIGNED_BYTE_GET): New macro.
309 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
310 (SAFE_BYTE_GET64): New macro.
311 (process_extened_line_op): Use new macros. Use strnlen when
313 (fetch_indirect_string): Likewise.
314 (get_FORM_name): Likewise.
315 (decode_location_expression): Likewise.
316 (read_and_display_attr_value): Likewise.
317 (process_debug_info): Likewise.
318 (display_debug_lines_raw): Likewise.
319 (display_debug_lines_decoded): Likewise.
320 (display_debug_pubnames): Likewise.
321 (display_debug_macinfo): Likewise.
322 (get_line_filename_and_dirname): Likewise.
323 (display_debug_macro): Likewise.
324 (display_loc_list): Likewise.
325 (display_loc_list_dwo): Likewise.
326 (display_debug_aranges): Likewise.
327 (display_debug_ranges): Likewise.
328 (frame_display_row): Likewise.
329 (display_debug_frames): Likewise.
331 2013-03-25 Nick Clifton <nickc@redhat.com>
334 * dwarf.c (read_leb128): Add END parameter. Do not read at or
336 (read_sleb128): Add END parameter.
337 (read_uleb128): New function.
338 (process_extended_line_op): Pass END to leb128 functions.
339 (process_abbrev_section): Likewise.
340 (decode_location_expression): Likewise.
341 (read_and_display_attr_value): Likewise.
342 (read_and_display_attr): Likewise.
343 (process_debug_info): Likewise.
344 (display_debug_lines_raw): Likewise.
345 (display_debug_lines_decoded): Likewise.
346 (display_debug_macinfo): Likewise.
347 (get_line_filename_and_dirname): Likewise.
348 (display_debug_macro): Likewise.
349 (display_loc_list_dwo): Likewise.
350 (display_debug_ranges): Likewise.
351 * dwarf.h (read_leb128): Update prototype.
352 * readelf.c (read_uleb128): Add END parameter.
353 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
354 (decode_tic6x_unwind_bytecode): Likewise.
355 (display_tag_value): New function.
356 (display_arm_attribute): Add END parameter. Pass END to
357 read_uleb128. Use display_tag_value.
358 (display_gnu_attribute): Likewise.
359 (display_power_gnu_attribute): Likewise.
360 (display_sparc_gnu_attribute): Likewise.
361 (display_mips_gnu_attribute): Likewise.
362 (display_tic6x_attribute): Likewise.
363 (process_attributes): Likewise.
364 (display_raw_attribute): New function.
366 2013-03-22 Nick Clifton <nickc@redhat.com>
369 * dwarf.c (display_debug_ranges): Add checks for reading beyond
370 the end of the section.
373 * readelf.c (apply_relocations): Catch relocations with negative
376 2013-03-15 Nick Clifton <nickc@redhat.com>
378 * addr2line.c (slurp_symtab): If canonicalization reveals that
379 there were no ordinary symbols, try loading the dynamic symbols
382 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
384 * MAINTAINERS: Add myself as Meta maintainer.
386 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
388 * readelf.c (get_note_type): Add NT_S390_TDB.
390 2013-03-07 Alan Modra <amodra@gmail.com>
392 * strings.c (get_char): Dispense with buf[]. Instead shift
393 chars into big-endian value and byte-swap later if
394 little-endian. Don't EOF check value read from object.
396 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
398 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
399 * configure: Regenerate.
401 2013-03-04 Nick Clifton <nickc@redhat.com>
403 * elfcomm.c (error): Flush stdout before emitting the error
407 2013-03-01 Cary Coutant <ccoutant@google.com>
409 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
410 (shndx_pool_used): Move to top of file.
411 (struct cu_tu_set): New type.
412 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
413 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
414 (find_cu_tu_set_v2): New function.
415 (read_and_display_attr_value): Add "this_set" parameter.
416 (read_and_display_attr): Likewise.
417 (process_debug_info): Track base offsets for DWARF package files.
418 (load_debug_info): Call load_cu_tu_indexes.
419 (get_DW_SECT_short_name): New function.
420 (process_cu_tu_index): Add support for version 2 DWARF package files.
422 2013-02-27 Alan Modra <amodra@gmail.com>
425 * readelf.c (offsetof): Define.
426 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
427 (process_corefile_note_segment): Allow notes without name or
428 desc. Combine out-of-range checks. Disallow "negative"
431 2013-02-26 Nick Clifton <nickc@redhat.com>
434 * readelf.c (process_corefile_note_segment): Prevent attempts to
435 read beyond the end of the note buffer.
437 2013-02-15 Kai Tietz <ktietz@redhat.com>
439 * objcopy.c (copy_main): Initialize context variable.
441 2013-02-15 Nick Clifton <nickc@redhat.com>
444 * ar.c (open_inarch): Fail on attempts to convert a normal archive
445 to a thin archive or vice versa.
446 * elfcomm.c (make_qualified_name): Handle corrupted thin
448 * readelf.c (process_archive): Likewise.
449 * doc/binutils.texi: Clarify documentation describing thin
452 2013-02-15 Nick Clifton <nickc@redhat.com>
455 * objcopy.c (enum change_action): Delete.
456 (struct section_list): Delete remove, copy, change_vma, change_lma
457 and set_flags fields. Add context field.
458 (find_section_list): Add a context parameter. Add support for
459 wildcard characters in section names.
460 (is_strip_section): Check for sections being both copied and
462 (copy_object): Pass context to find_section_list.
463 (setup_section): Likewise.
464 (copy_section): Likewise.
465 (copy_main): Likewise.
466 * doc/binutils: Document the new behaviour.
467 * NEWS: Mention the new feature
469 2013-02-14 Nick Clifton <nickc@redhat.com>
472 * objcopy.c (copy_object): Provide a helpful warning message when
473 adding a gnu_debuglink section to an object which already contains
476 2013-02-07 Nick Clifton <nickc@redhat.com>
478 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
479 corrupt archive uses long names but has no long name table.
481 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
482 Andrew Jenner <andrew@codesourcery.com>
484 Based on patches from Altera Corporation.
486 * readelf.c: Include elf/nios2.h.
487 (dump_relocations): Add case for EM_ALTERA_NIOS2.
488 (get_nios2_dynamic_type): New.
489 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
490 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
491 (is_16bit_abs_reloc): Likewise.
492 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
493 * NEWS: Note Altera Nios II support.
494 * MAINTAINERS: Add Nios II maintainers.
496 2013-01-29 Xi Wang <xi.wang@gmail.com>
498 * readelf.c (process_version_sections): Fix overflow checks to
499 avoid undefined behaviour.
501 2013-01-28 Doug Evans <dje@google.com>
503 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
505 2013-01-28 Robert Schiele <rschiele@gmail.com>
507 * objcopy.c (parse_flags): Add merge and strings section flags.
509 2013-01-25 Cary Coutant <ccoutant@google.com>
511 * dwarf.c (display_loc_list): Update offset for each line
513 (print_addr_index): New function.
514 (display_loc_list_dwo): Update offset for each line printed.
515 Fix problems displaying loclists in .dwo files. Add support
517 (display_debug_loc): Remove custom header for .dwo files.
518 (display_debug_addr): Adjust formatting.
520 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
522 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
524 2013-01-24 Doug Evans <dje@google.com>
526 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
528 2013-01-24 Nick Clifton <nickc@redhat.com>
530 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
532 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
534 * readelf.c: Add strings for NT_S390_LAST_BREAK and
537 2013-01-18 Nick Clifton <nickc@redhat.com>
540 * addr2line.c (translate_addresses): When pretty printing, print
541 unknown function names on the same line as unknown symbol names.
543 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
545 * objdump.c (dump_target_specific): Fix NULL pointer test.
547 2013-01-16 Alan Modra <amodra@gmail.com>
550 * stabs.c (parse_stab_members): Always set physname here to avoid
552 (parse_stab_argtypes): ..and don't duplicate the init here.
554 2013-01-10 Will Newton <will.newton@imgtec.com>
556 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
557 (dump_relocations): Add EM_METAG.
558 (get_machine_name): Correct case for Meta.
559 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
560 (is_none_reloc): Add support for Meta NONE reloc.
562 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
564 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
567 2013-01-07 Roland McGrath <mcgrathr@google.com>
569 * objcopy.c (deterministic): Make int rather than bfd_boolean,
571 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
572 (default_deterministic): New function.
573 (strip_main, copy_main): Handle -U. Call default_deterministic.
574 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
575 the default based on DEFAULT_AR_DETERMINISTIC.
576 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
577 configure options on -D.
579 * ar.c (default_deterministic): Comment fix.
581 2013-01-07 Patrice Dumas <pertusus@free.fr>
583 * doc/binutils.texi: Fix ordering of top level nodes.
584 Replace erroneous uses of @itemx with @item.
586 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
588 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
590 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
592 * MAINTAINERS: Add myself as AArch64 co-maintainer.
594 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
596 * version.c (print_version): Update copyright year to 2013.
598 For older changes see ChangeLog-2012
600 Copyright (C) 2013 Free Software Foundation, Inc.
602 Copying and distribution of this file, with or without modification,
603 are permitted in any medium without royalty provided the copyright
604 notice and this notice are preserved.
610 version-control: never