1 2013-09-20 Alan Modra <amodra@gmail.com>
3 * configure: Regenerate.
5 2013-09-18 Tristan Gingold <gingold@adacore.com>
7 * NEWS: Add marker for 2.24.
9 2013-09-18 Tristan Gingold <gingold@adacore.com>
11 * Makefile.am (LEXLIB): Define. Replase references to @LEXLIB@
13 * Makefile.in: Regenerate.
15 2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
17 * readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
19 2013-09-12 Nick Clifton <nickc@redhat.com>
21 * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a
23 (dwarf_vmatoa): New wrapper for dwarf_vmatoa_1.
24 (print_dwarf_vma): Use dwarf_vmatoa_1.
25 (SAFE_BYTE_GET): Add check that VAL is big enough to contain
27 (process_debug_info): Use an unsigned int for the offset size.
28 (process_debug_pubnames): Likewise.
29 (display_debug_aranges): Likewise.
30 (struct Frame_Chunk): Use dwarf_vma type for pc_begin and pc_range
32 (frame_display_row): Use print_dwarf_vma to display dwarf_vma
34 (display_debug_frames): Likewise.
36 2013-09-10 Nick Clifton <nickc@redhat.com>
38 * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
39 parsing 64-bit frames.
41 2013-08-27 Nick Clifton <nickc@redhat.com>
44 * ar.c (map_over_members): Correctly handle multiple same-name
45 entries on the command line and in the archive.
47 2013-08-23 H.J. Lu <hongjiu.lu@intel.com>
49 * doc/binutils.texi: Remove the extra space.
51 2013-08-23 Mikael Pettersson <mikpe@it.uu.se>
54 * doc/binutils.texi (ranlib -D): Correct description.
56 (nm --special-syms): Fix typo.
58 2013-08-23 Nick Clifton <nickc@redhat.com>
61 * doc/binutils.texi (ar cmdline): Update description of 'q'
65 (nm): Add description of 'I' symbol type.
67 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
70 * od-xcoff.c: Fix typos.
72 2013-08-19 Tristan Gingold <gingold@adacore.com>
74 * nm.c (print_size_symbols): Directly get symbol size.
76 2013-08-12 Andreas Schwab <schwab@suse.de>
79 * objdump.c (disassemble_section): Return early if nothing from
80 this section needs to be disassembled.
82 2013-08-09 Nick Clifton <nickc@redhat.com>
84 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
86 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
87 Alexander Ivchenko <alexander.ivchenko@intel.com>
88 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
89 Sergey Lega <sergey.s.lega@intel.com>
90 Anna Tikhonova <anna.tikhonova@intel.com>
91 Ilya Tocar <ilya.tocar@intel.com>
92 Andrey Turetskiy <andrey.turetskiy@intel.com>
93 Ilya Verbin <ilya.verbin@intel.com>
94 Kirill Yukhin <kirill.yukhin@intel.com>
95 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
97 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
98 numeration in comments.
99 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
102 2013-07-19 Nick Clifton <nickc@redhat.com>
105 * readelf.c (get_unwind_section_word): Whilst searching for a
106 reloc section associated with an unwind section, check the type as
107 well as the section number.
109 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
111 * ar.c (usage): Fix C conformance issue.
113 2013-07-18 Nick Clifton <nickc@redhat.com>
115 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
118 * readelf.c (process_unwind): Do not return the result of a void
121 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
123 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
124 numbers with enum values.
126 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
128 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
130 2013-07-10 Tristan Gingold <gingold@adacore.com>
132 * od-xcoff.c (OPT_LDINFO): Define.
133 (options): Add ldinfo.
134 (xcoff_help): Mention ldinfo.
135 (xcoff_dump): Rename to ...
136 (xcoff_dump_obj): ... this. Add a break.
137 (dump_dumpx_core): New function.
138 (xcoff_dump_core): Likewise.
139 (xcoff_dump): Likewise.
140 * doc/binutils.texi (objdump): Mention ldinfo.
142 2013-07-09 Tristan Gingold <gingold@adacore.com>
144 * configure.com: Add new defines to match changes in configure.
146 2013-05-28 Cary Coutant <ccoutant@google.com>
148 * dwarf.c (display_debug_lines_raw): Print section offsets.
150 2013-05-15 Cary Coutant <ccoutant@google.com>
152 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
154 (decode_location_expression): DW_OP_const2u should read 2 bytes.
155 (display_debug_lines_decoded): Adjust formatting.
156 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
158 (byte_get_big_endian): Likewise.
159 (byte_get_signed): Likewise.
161 2013-05-09 Andrew Pinski <apinski@cavium.com>
163 * doc/binutils.texi: Document -Mvirt disassembler option.
165 2013-05-02 Nick Clifton <nickc@redhat.com>
167 * readelf.c: Add support for MSP430X architecture.
169 2013-05-02 Nick Clifton <nickc@redhat.com>
171 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
172 sections as if they were fragmentary .debug_line sections.
173 (display_debug_lines_decoded): Likewise.
175 2013-04-29 Nick Clifton <nickc@redhat.com>
177 * dwarf.c (read_debug_line_header): New function. Reads in a
178 header in a .debug_line section.
179 (display_debug_lines_raw): Use new function. Handle fragmentary
180 .debug_line sections.
181 (display_debug_lines_decoded): Likewise.
182 * readelf.c (process_section_headers): Handle fragmenatry
183 .debug_line sections.
184 (display_debug_section): Likewise.
186 2013-04-26 Ian Lance Taylor <iant@google.com>
188 * MAINTAINERS: Add myself and Cary as gold maintainers.
190 2013-04-08 Tom Tromey <tromey@redhat.com>
192 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
194 2013-04-08 Tom Tromey <tromey@redhat.com>
196 * dwarf-mode.el: Bump version number.
197 (dwarf-mode): Remove autoload.
198 (dwarf-die-reference): Relax regexp.
200 2013-04-05 Alan Modra <amodra@gmail.com>
203 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
204 * dwarf.c (strnlen): Provide fallback decl.
205 * config.in: Regnerate.
206 * configure: Regenerate.
208 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
210 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
213 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
216 * winduni.c (codepages[]): Use UTF-16LE.
217 (wind_MultiByteToWideChar): Likewise.
218 (wind_WideCharToMultiByte): Likewise.
220 2013-03-27 Alan Modra <amodra@gmail.com>
223 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
225 2013-03-26 Nick Clifton <nickc@redhat.com>
228 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
229 space before calling byte_get.
230 (SAFE_BYTE_GET_AND_INC): New macro.
231 (SAFE_SIGNED_BYTE_GET): New macro.
232 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
233 (SAFE_BYTE_GET64): New macro.
234 (process_extened_line_op): Use new macros. Use strnlen when
236 (fetch_indirect_string): Likewise.
237 (get_FORM_name): Likewise.
238 (decode_location_expression): Likewise.
239 (read_and_display_attr_value): Likewise.
240 (process_debug_info): Likewise.
241 (display_debug_lines_raw): Likewise.
242 (display_debug_lines_decoded): Likewise.
243 (display_debug_pubnames): Likewise.
244 (display_debug_macinfo): Likewise.
245 (get_line_filename_and_dirname): Likewise.
246 (display_debug_macro): Likewise.
247 (display_loc_list): Likewise.
248 (display_loc_list_dwo): Likewise.
249 (display_debug_aranges): Likewise.
250 (display_debug_ranges): Likewise.
251 (frame_display_row): Likewise.
252 (display_debug_frames): Likewise.
254 2013-03-25 Nick Clifton <nickc@redhat.com>
257 * dwarf.c (read_leb128): Add END parameter. Do not read at or
259 (read_sleb128): Add END parameter.
260 (read_uleb128): New function.
261 (process_extended_line_op): Pass END to leb128 functions.
262 (process_abbrev_section): Likewise.
263 (decode_location_expression): Likewise.
264 (read_and_display_attr_value): Likewise.
265 (read_and_display_attr): Likewise.
266 (process_debug_info): Likewise.
267 (display_debug_lines_raw): Likewise.
268 (display_debug_lines_decoded): Likewise.
269 (display_debug_macinfo): Likewise.
270 (get_line_filename_and_dirname): Likewise.
271 (display_debug_macro): Likewise.
272 (display_loc_list_dwo): Likewise.
273 (display_debug_ranges): Likewise.
274 * dwarf.h (read_leb128): Update prototype.
275 * readelf.c (read_uleb128): Add END parameter.
276 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
277 (decode_tic6x_unwind_bytecode): Likewise.
278 (display_tag_value): New function.
279 (display_arm_attribute): Add END parameter. Pass END to
280 read_uleb128. Use display_tag_value.
281 (display_gnu_attribute): Likewise.
282 (display_power_gnu_attribute): Likewise.
283 (display_sparc_gnu_attribute): Likewise.
284 (display_mips_gnu_attribute): Likewise.
285 (display_tic6x_attribute): Likewise.
286 (process_attributes): Likewise.
287 (display_raw_attribute): New function.
289 2013-03-22 Nick Clifton <nickc@redhat.com>
292 * dwarf.c (display_debug_ranges): Add checks for reading beyond
293 the end of the section.
296 * readelf.c (apply_relocations): Catch relocations with negative
299 2013-03-15 Nick Clifton <nickc@redhat.com>
301 * addr2line.c (slurp_symtab): If canonicalization reveals that
302 there were no ordinary symbols, try loading the dynamic symbols
305 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
307 * MAINTAINERS: Add myself as Meta maintainer.
309 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
311 * readelf.c (get_note_type): Add NT_S390_TDB.
313 2013-03-07 Alan Modra <amodra@gmail.com>
315 * strings.c (get_char): Dispense with buf[]. Instead shift
316 chars into big-endian value and byte-swap later if
317 little-endian. Don't EOF check value read from object.
319 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
321 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
322 * configure: Regenerate.
324 2013-03-04 Nick Clifton <nickc@redhat.com>
326 * elfcomm.c (error): Flush stdout before emitting the error
330 2013-03-01 Cary Coutant <ccoutant@google.com>
332 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
333 (shndx_pool_used): Move to top of file.
334 (struct cu_tu_set): New type.
335 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
336 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
337 (find_cu_tu_set_v2): New function.
338 (read_and_display_attr_value): Add "this_set" parameter.
339 (read_and_display_attr): Likewise.
340 (process_debug_info): Track base offsets for DWARF package files.
341 (load_debug_info): Call load_cu_tu_indexes.
342 (get_DW_SECT_short_name): New function.
343 (process_cu_tu_index): Add support for version 2 DWARF package files.
345 2013-02-27 Alan Modra <amodra@gmail.com>
348 * readelf.c (offsetof): Define.
349 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
350 (process_corefile_note_segment): Allow notes without name or
351 desc. Combine out-of-range checks. Disallow "negative"
354 2013-02-26 Nick Clifton <nickc@redhat.com>
357 * readelf.c (process_corefile_note_segment): Prevent attempts to
358 read beyond the end of the note buffer.
360 2013-02-15 Kai Tietz <ktietz@redhat.com>
362 * objcopy.c (copy_main): Initialize context variable.
364 2013-02-15 Nick Clifton <nickc@redhat.com>
367 * ar.c (open_inarch): Fail on attempts to convert a normal archive
368 to a thin archive or vice versa.
369 * elfcomm.c (make_qualified_name): Handle corrupted thin
371 * readelf.c (process_archive): Likewise.
372 * doc/binutils.texi: Clarify documentation describing thin
375 2013-02-15 Nick Clifton <nickc@redhat.com>
378 * objcopy.c (enum change_action): Delete.
379 (struct section_list): Delete remove, copy, change_vma, change_lma
380 and set_flags fields. Add context field.
381 (find_section_list): Add a context parameter. Add support for
382 wildcard characters in section names.
383 (is_strip_section): Check for sections being both copied and
385 (copy_object): Pass context to find_section_list.
386 (setup_section): Likewise.
387 (copy_section): Likewise.
388 (copy_main): Likewise.
389 * doc/binutils: Document the new behaviour.
390 * NEWS: Mention the new feature
392 2013-02-14 Nick Clifton <nickc@redhat.com>
395 * objcopy.c (copy_object): Provide a helpful warning message when
396 adding a gnu_debuglink section to an object which already contains
399 2013-02-07 Nick Clifton <nickc@redhat.com>
401 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
402 corrupt archive uses long names but has no long name table.
404 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
405 Andrew Jenner <andrew@codesourcery.com>
407 Based on patches from Altera Corporation.
409 * readelf.c: Include elf/nios2.h.
410 (dump_relocations): Add case for EM_ALTERA_NIOS2.
411 (get_nios2_dynamic_type): New.
412 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
413 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
414 (is_16bit_abs_reloc): Likewise.
415 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
416 * NEWS: Note Altera Nios II support.
417 * MAINTAINERS: Add Nios II maintainers.
419 2013-01-29 Xi Wang <xi.wang@gmail.com>
421 * readelf.c (process_version_sections): Fix overflow checks to
422 avoid undefined behaviour.
424 2013-01-28 Doug Evans <dje@google.com>
426 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
428 2013-01-28 Robert Schiele <rschiele@gmail.com>
430 * objcopy.c (parse_flags): Add merge and strings section flags.
432 2013-01-25 Cary Coutant <ccoutant@google.com>
434 * dwarf.c (display_loc_list): Update offset for each line
436 (print_addr_index): New function.
437 (display_loc_list_dwo): Update offset for each line printed.
438 Fix problems displaying loclists in .dwo files. Add support
440 (display_debug_loc): Remove custom header for .dwo files.
441 (display_debug_addr): Adjust formatting.
443 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
445 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
447 2013-01-24 Doug Evans <dje@google.com>
449 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
451 2013-01-24 Nick Clifton <nickc@redhat.com>
453 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
455 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
457 * readelf.c: Add strings for NT_S390_LAST_BREAK and
460 2013-01-18 Nick Clifton <nickc@redhat.com>
463 * addr2line.c (translate_addresses): When pretty printing, print
464 unknown function names on the same line as unknown symbol names.
466 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
468 * objdump.c (dump_target_specific): Fix NULL pointer test.
470 2013-01-16 Alan Modra <amodra@gmail.com>
473 * stabs.c (parse_stab_members): Always set physname here to avoid
475 (parse_stab_argtypes): ..and don't duplicate the init here.
477 2013-01-10 Will Newton <will.newton@imgtec.com>
479 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
480 (dump_relocations): Add EM_METAG.
481 (get_machine_name): Correct case for Meta.
482 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
483 (is_none_reloc): Add support for Meta NONE reloc.
485 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
487 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
490 2013-01-07 Roland McGrath <mcgrathr@google.com>
492 * objcopy.c (deterministic): Make int rather than bfd_boolean,
494 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
495 (default_deterministic): New function.
496 (strip_main, copy_main): Handle -U. Call default_deterministic.
497 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
498 the default based on DEFAULT_AR_DETERMINISTIC.
499 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
500 configure options on -D.
502 * ar.c (default_deterministic): Comment fix.
504 2013-01-07 Patrice Dumas <pertusus@free.fr>
506 * doc/binutils.texi: Fix ordering of top level nodes.
507 Replace erroneous uses of @itemx with @item.
509 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
511 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
513 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
515 * MAINTAINERS: Add myself as AArch64 co-maintainer.
517 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
519 * version.c (print_version): Update copyright year to 2013.
521 For older changes see ChangeLog-2012
523 Copyright (C) 2013 Free Software Foundation, Inc.
525 Copying and distribution of this file, with or without modification,
526 are permitted in any medium without royalty provided the copyright
527 notice and this notice are preserved.
533 version-control: never