1 2013-10-09 Nick Clifton <nickc@redhat.com>
3 * dwarf.c (add64): New function.
4 (read_and_display_attr_value): Add CU offset in to the value
5 displayed for a DW_AT_ref8 attribute.
7 2013-10-01 Cory Fields <cory@coryfields.com>
9 * arsup.c (ar_save): Respect the deterministic setting when
10 reading from an mri script.
11 * ar.c (main): Set the default deterministic mode when reading
14 2013-10-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
16 * dwarf.c (SAFE_BYTE_GET): Fix argument check.
18 2013-09-27 H.J. Lu <hongjiu.lu@intel.com>
20 * dwarf.c (display_debug_frames): Pass offset_size to
21 print_dwarf_vma for cie_id.
23 2013-09-20 Alan Modra <amodra@gmail.com>
25 * configure: Regenerate.
27 2013-09-18 Tristan Gingold <gingold@adacore.com>
29 * NEWS: Add marker for 2.24.
31 2013-09-18 Tristan Gingold <gingold@adacore.com>
33 * Makefile.am (LEXLIB): Define. Replase references to @LEXLIB@
35 * Makefile.in: Regenerate.
37 2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
39 * readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
41 2013-09-12 Nick Clifton <nickc@redhat.com>
43 * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a
45 (dwarf_vmatoa): New wrapper for dwarf_vmatoa_1.
46 (print_dwarf_vma): Use dwarf_vmatoa_1.
47 (SAFE_BYTE_GET): Add check that VAL is big enough to contain
49 (process_debug_info): Use an unsigned int for the offset size.
50 (process_debug_pubnames): Likewise.
51 (display_debug_aranges): Likewise.
52 (struct Frame_Chunk): Use dwarf_vma type for pc_begin and pc_range
54 (frame_display_row): Use print_dwarf_vma to display dwarf_vma
56 (display_debug_frames): Likewise.
58 2013-09-10 Nick Clifton <nickc@redhat.com>
60 * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
61 parsing 64-bit frames.
63 2013-08-27 Nick Clifton <nickc@redhat.com>
66 * ar.c (map_over_members): Correctly handle multiple same-name
67 entries on the command line and in the archive.
69 2013-08-23 H.J. Lu <hongjiu.lu@intel.com>
71 * doc/binutils.texi: Remove the extra space.
73 2013-08-23 Mikael Pettersson <mikpe@it.uu.se>
76 * doc/binutils.texi (ranlib -D): Correct description.
78 (nm --special-syms): Fix typo.
80 2013-08-23 Nick Clifton <nickc@redhat.com>
83 * doc/binutils.texi (ar cmdline): Update description of 'q'
87 (nm): Add description of 'I' symbol type.
89 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
92 * od-xcoff.c: Fix typos.
94 2013-08-19 Tristan Gingold <gingold@adacore.com>
96 * nm.c (print_size_symbols): Directly get symbol size.
98 2013-08-12 Andreas Schwab <schwab@suse.de>
101 * objdump.c (disassemble_section): Return early if nothing from
102 this section needs to be disassembled.
104 2013-08-09 Nick Clifton <nickc@redhat.com>
106 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
108 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
109 Alexander Ivchenko <alexander.ivchenko@intel.com>
110 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
111 Sergey Lega <sergey.s.lega@intel.com>
112 Anna Tikhonova <anna.tikhonova@intel.com>
113 Ilya Tocar <ilya.tocar@intel.com>
114 Andrey Turetskiy <andrey.turetskiy@intel.com>
115 Ilya Verbin <ilya.verbin@intel.com>
116 Kirill Yukhin <kirill.yukhin@intel.com>
117 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
119 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
120 numeration in comments.
121 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
124 2013-07-19 Nick Clifton <nickc@redhat.com>
127 * readelf.c (get_unwind_section_word): Whilst searching for a
128 reloc section associated with an unwind section, check the type as
129 well as the section number.
131 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
133 * ar.c (usage): Fix C conformance issue.
135 2013-07-18 Nick Clifton <nickc@redhat.com>
137 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
140 * readelf.c (process_unwind): Do not return the result of a void
143 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
145 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
146 numbers with enum values.
148 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
150 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
152 2013-07-10 Tristan Gingold <gingold@adacore.com>
154 * od-xcoff.c (OPT_LDINFO): Define.
155 (options): Add ldinfo.
156 (xcoff_help): Mention ldinfo.
157 (xcoff_dump): Rename to ...
158 (xcoff_dump_obj): ... this. Add a break.
159 (dump_dumpx_core): New function.
160 (xcoff_dump_core): Likewise.
161 (xcoff_dump): Likewise.
162 * doc/binutils.texi (objdump): Mention ldinfo.
164 2013-07-09 Tristan Gingold <gingold@adacore.com>
166 * configure.com: Add new defines to match changes in configure.
168 2013-05-28 Cary Coutant <ccoutant@google.com>
170 * dwarf.c (display_debug_lines_raw): Print section offsets.
172 2013-05-15 Cary Coutant <ccoutant@google.com>
174 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
176 (decode_location_expression): DW_OP_const2u should read 2 bytes.
177 (display_debug_lines_decoded): Adjust formatting.
178 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
180 (byte_get_big_endian): Likewise.
181 (byte_get_signed): Likewise.
183 2013-05-09 Andrew Pinski <apinski@cavium.com>
185 * doc/binutils.texi: Document -Mvirt disassembler option.
187 2013-05-02 Nick Clifton <nickc@redhat.com>
189 * readelf.c: Add support for MSP430X architecture.
191 2013-05-02 Nick Clifton <nickc@redhat.com>
193 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
194 sections as if they were fragmentary .debug_line sections.
195 (display_debug_lines_decoded): Likewise.
197 2013-04-29 Nick Clifton <nickc@redhat.com>
199 * dwarf.c (read_debug_line_header): New function. Reads in a
200 header in a .debug_line section.
201 (display_debug_lines_raw): Use new function. Handle fragmentary
202 .debug_line sections.
203 (display_debug_lines_decoded): Likewise.
204 * readelf.c (process_section_headers): Handle fragmenatry
205 .debug_line sections.
206 (display_debug_section): Likewise.
208 2013-04-26 Ian Lance Taylor <iant@google.com>
210 * MAINTAINERS: Add myself and Cary as gold maintainers.
212 2013-04-08 Tom Tromey <tromey@redhat.com>
214 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
216 2013-04-08 Tom Tromey <tromey@redhat.com>
218 * dwarf-mode.el: Bump version number.
219 (dwarf-mode): Remove autoload.
220 (dwarf-die-reference): Relax regexp.
222 2013-04-05 Alan Modra <amodra@gmail.com>
225 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
226 * dwarf.c (strnlen): Provide fallback decl.
227 * config.in: Regnerate.
228 * configure: Regenerate.
230 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
232 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
235 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
238 * winduni.c (codepages[]): Use UTF-16LE.
239 (wind_MultiByteToWideChar): Likewise.
240 (wind_WideCharToMultiByte): Likewise.
242 2013-03-27 Alan Modra <amodra@gmail.com>
245 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
247 2013-03-26 Nick Clifton <nickc@redhat.com>
250 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
251 space before calling byte_get.
252 (SAFE_BYTE_GET_AND_INC): New macro.
253 (SAFE_SIGNED_BYTE_GET): New macro.
254 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
255 (SAFE_BYTE_GET64): New macro.
256 (process_extened_line_op): Use new macros. Use strnlen when
258 (fetch_indirect_string): Likewise.
259 (get_FORM_name): Likewise.
260 (decode_location_expression): Likewise.
261 (read_and_display_attr_value): Likewise.
262 (process_debug_info): Likewise.
263 (display_debug_lines_raw): Likewise.
264 (display_debug_lines_decoded): Likewise.
265 (display_debug_pubnames): Likewise.
266 (display_debug_macinfo): Likewise.
267 (get_line_filename_and_dirname): Likewise.
268 (display_debug_macro): Likewise.
269 (display_loc_list): Likewise.
270 (display_loc_list_dwo): Likewise.
271 (display_debug_aranges): Likewise.
272 (display_debug_ranges): Likewise.
273 (frame_display_row): Likewise.
274 (display_debug_frames): Likewise.
276 2013-03-25 Nick Clifton <nickc@redhat.com>
279 * dwarf.c (read_leb128): Add END parameter. Do not read at or
281 (read_sleb128): Add END parameter.
282 (read_uleb128): New function.
283 (process_extended_line_op): Pass END to leb128 functions.
284 (process_abbrev_section): Likewise.
285 (decode_location_expression): Likewise.
286 (read_and_display_attr_value): Likewise.
287 (read_and_display_attr): Likewise.
288 (process_debug_info): Likewise.
289 (display_debug_lines_raw): Likewise.
290 (display_debug_lines_decoded): Likewise.
291 (display_debug_macinfo): Likewise.
292 (get_line_filename_and_dirname): Likewise.
293 (display_debug_macro): Likewise.
294 (display_loc_list_dwo): Likewise.
295 (display_debug_ranges): Likewise.
296 * dwarf.h (read_leb128): Update prototype.
297 * readelf.c (read_uleb128): Add END parameter.
298 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
299 (decode_tic6x_unwind_bytecode): Likewise.
300 (display_tag_value): New function.
301 (display_arm_attribute): Add END parameter. Pass END to
302 read_uleb128. Use display_tag_value.
303 (display_gnu_attribute): Likewise.
304 (display_power_gnu_attribute): Likewise.
305 (display_sparc_gnu_attribute): Likewise.
306 (display_mips_gnu_attribute): Likewise.
307 (display_tic6x_attribute): Likewise.
308 (process_attributes): Likewise.
309 (display_raw_attribute): New function.
311 2013-03-22 Nick Clifton <nickc@redhat.com>
314 * dwarf.c (display_debug_ranges): Add checks for reading beyond
315 the end of the section.
318 * readelf.c (apply_relocations): Catch relocations with negative
321 2013-03-15 Nick Clifton <nickc@redhat.com>
323 * addr2line.c (slurp_symtab): If canonicalization reveals that
324 there were no ordinary symbols, try loading the dynamic symbols
327 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
329 * MAINTAINERS: Add myself as Meta maintainer.
331 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
333 * readelf.c (get_note_type): Add NT_S390_TDB.
335 2013-03-07 Alan Modra <amodra@gmail.com>
337 * strings.c (get_char): Dispense with buf[]. Instead shift
338 chars into big-endian value and byte-swap later if
339 little-endian. Don't EOF check value read from object.
341 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
343 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
344 * configure: Regenerate.
346 2013-03-04 Nick Clifton <nickc@redhat.com>
348 * elfcomm.c (error): Flush stdout before emitting the error
352 2013-03-01 Cary Coutant <ccoutant@google.com>
354 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
355 (shndx_pool_used): Move to top of file.
356 (struct cu_tu_set): New type.
357 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
358 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
359 (find_cu_tu_set_v2): New function.
360 (read_and_display_attr_value): Add "this_set" parameter.
361 (read_and_display_attr): Likewise.
362 (process_debug_info): Track base offsets for DWARF package files.
363 (load_debug_info): Call load_cu_tu_indexes.
364 (get_DW_SECT_short_name): New function.
365 (process_cu_tu_index): Add support for version 2 DWARF package files.
367 2013-02-27 Alan Modra <amodra@gmail.com>
370 * readelf.c (offsetof): Define.
371 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
372 (process_corefile_note_segment): Allow notes without name or
373 desc. Combine out-of-range checks. Disallow "negative"
376 2013-02-26 Nick Clifton <nickc@redhat.com>
379 * readelf.c (process_corefile_note_segment): Prevent attempts to
380 read beyond the end of the note buffer.
382 2013-02-15 Kai Tietz <ktietz@redhat.com>
384 * objcopy.c (copy_main): Initialize context variable.
386 2013-02-15 Nick Clifton <nickc@redhat.com>
389 * ar.c (open_inarch): Fail on attempts to convert a normal archive
390 to a thin archive or vice versa.
391 * elfcomm.c (make_qualified_name): Handle corrupted thin
393 * readelf.c (process_archive): Likewise.
394 * doc/binutils.texi: Clarify documentation describing thin
397 2013-02-15 Nick Clifton <nickc@redhat.com>
400 * objcopy.c (enum change_action): Delete.
401 (struct section_list): Delete remove, copy, change_vma, change_lma
402 and set_flags fields. Add context field.
403 (find_section_list): Add a context parameter. Add support for
404 wildcard characters in section names.
405 (is_strip_section): Check for sections being both copied and
407 (copy_object): Pass context to find_section_list.
408 (setup_section): Likewise.
409 (copy_section): Likewise.
410 (copy_main): Likewise.
411 * doc/binutils: Document the new behaviour.
412 * NEWS: Mention the new feature
414 2013-02-14 Nick Clifton <nickc@redhat.com>
417 * objcopy.c (copy_object): Provide a helpful warning message when
418 adding a gnu_debuglink section to an object which already contains
421 2013-02-07 Nick Clifton <nickc@redhat.com>
423 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
424 corrupt archive uses long names but has no long name table.
426 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
427 Andrew Jenner <andrew@codesourcery.com>
429 Based on patches from Altera Corporation.
431 * readelf.c: Include elf/nios2.h.
432 (dump_relocations): Add case for EM_ALTERA_NIOS2.
433 (get_nios2_dynamic_type): New.
434 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
435 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
436 (is_16bit_abs_reloc): Likewise.
437 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
438 * NEWS: Note Altera Nios II support.
439 * MAINTAINERS: Add Nios II maintainers.
441 2013-01-29 Xi Wang <xi.wang@gmail.com>
443 * readelf.c (process_version_sections): Fix overflow checks to
444 avoid undefined behaviour.
446 2013-01-28 Doug Evans <dje@google.com>
448 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
450 2013-01-28 Robert Schiele <rschiele@gmail.com>
452 * objcopy.c (parse_flags): Add merge and strings section flags.
454 2013-01-25 Cary Coutant <ccoutant@google.com>
456 * dwarf.c (display_loc_list): Update offset for each line
458 (print_addr_index): New function.
459 (display_loc_list_dwo): Update offset for each line printed.
460 Fix problems displaying loclists in .dwo files. Add support
462 (display_debug_loc): Remove custom header for .dwo files.
463 (display_debug_addr): Adjust formatting.
465 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
467 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
469 2013-01-24 Doug Evans <dje@google.com>
471 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
473 2013-01-24 Nick Clifton <nickc@redhat.com>
475 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
477 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
479 * readelf.c: Add strings for NT_S390_LAST_BREAK and
482 2013-01-18 Nick Clifton <nickc@redhat.com>
485 * addr2line.c (translate_addresses): When pretty printing, print
486 unknown function names on the same line as unknown symbol names.
488 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
490 * objdump.c (dump_target_specific): Fix NULL pointer test.
492 2013-01-16 Alan Modra <amodra@gmail.com>
495 * stabs.c (parse_stab_members): Always set physname here to avoid
497 (parse_stab_argtypes): ..and don't duplicate the init here.
499 2013-01-10 Will Newton <will.newton@imgtec.com>
501 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
502 (dump_relocations): Add EM_METAG.
503 (get_machine_name): Correct case for Meta.
504 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
505 (is_none_reloc): Add support for Meta NONE reloc.
507 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
509 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
512 2013-01-07 Roland McGrath <mcgrathr@google.com>
514 * objcopy.c (deterministic): Make int rather than bfd_boolean,
516 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
517 (default_deterministic): New function.
518 (strip_main, copy_main): Handle -U. Call default_deterministic.
519 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
520 the default based on DEFAULT_AR_DETERMINISTIC.
521 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
522 configure options on -D.
524 * ar.c (default_deterministic): Comment fix.
526 2013-01-07 Patrice Dumas <pertusus@free.fr>
528 * doc/binutils.texi: Fix ordering of top level nodes.
529 Replace erroneous uses of @itemx with @item.
531 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
533 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
535 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
537 * MAINTAINERS: Add myself as AArch64 co-maintainer.
539 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
541 * version.c (print_version): Update copyright year to 2013.
543 For older changes see ChangeLog-2012
545 Copyright (C) 2013 Free Software Foundation, Inc.
547 Copying and distribution of this file, with or without modification,
548 are permitted in any medium without royalty provided the copyright
549 notice and this notice are preserved.
555 version-control: never