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