1 2013-10-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
3 * dwarf.c (SAFE_BYTE_GET): Fix argument check.
5 2013-09-27 H.J. Lu <hongjiu.lu@intel.com>
7 * dwarf.c (display_debug_frames): Pass offset_size to
8 print_dwarf_vma for cie_id.
10 2013-09-20 Alan Modra <amodra@gmail.com>
12 * configure: Regenerate.
14 2013-09-18 Tristan Gingold <gingold@adacore.com>
16 * NEWS: Add marker for 2.24.
18 2013-09-18 Tristan Gingold <gingold@adacore.com>
20 * Makefile.am (LEXLIB): Define. Replase references to @LEXLIB@
22 * Makefile.in: Regenerate.
24 2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
26 * readelf.c (get_machine_flags): Handle EF_MIPS_FP64.
28 2013-09-12 Nick Clifton <nickc@redhat.com>
30 * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a
32 (dwarf_vmatoa): New wrapper for dwarf_vmatoa_1.
33 (print_dwarf_vma): Use dwarf_vmatoa_1.
34 (SAFE_BYTE_GET): Add check that VAL is big enough to contain
36 (process_debug_info): Use an unsigned int for the offset size.
37 (process_debug_pubnames): Likewise.
38 (display_debug_aranges): Likewise.
39 (struct Frame_Chunk): Use dwarf_vma type for pc_begin and pc_range
41 (frame_display_row): Use print_dwarf_vma to display dwarf_vma
43 (display_debug_frames): Likewise.
45 2013-09-10 Nick Clifton <nickc@redhat.com>
47 * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
48 parsing 64-bit frames.
50 2013-08-27 Nick Clifton <nickc@redhat.com>
53 * ar.c (map_over_members): Correctly handle multiple same-name
54 entries on the command line and in the archive.
56 2013-08-23 H.J. Lu <hongjiu.lu@intel.com>
58 * doc/binutils.texi: Remove the extra space.
60 2013-08-23 Mikael Pettersson <mikpe@it.uu.se>
63 * doc/binutils.texi (ranlib -D): Correct description.
65 (nm --special-syms): Fix typo.
67 2013-08-23 Nick Clifton <nickc@redhat.com>
70 * doc/binutils.texi (ar cmdline): Update description of 'q'
74 (nm): Add description of 'I' symbol type.
76 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
79 * od-xcoff.c: Fix typos.
81 2013-08-19 Tristan Gingold <gingold@adacore.com>
83 * nm.c (print_size_symbols): Directly get symbol size.
85 2013-08-12 Andreas Schwab <schwab@suse.de>
88 * objdump.c (disassemble_section): Return early if nothing from
89 this section needs to be disassembled.
91 2013-08-09 Nick Clifton <nickc@redhat.com>
93 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
95 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
96 Alexander Ivchenko <alexander.ivchenko@intel.com>
97 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
98 Sergey Lega <sergey.s.lega@intel.com>
99 Anna Tikhonova <anna.tikhonova@intel.com>
100 Ilya Tocar <ilya.tocar@intel.com>
101 Andrey Turetskiy <andrey.turetskiy@intel.com>
102 Ilya Verbin <ilya.verbin@intel.com>
103 Kirill Yukhin <kirill.yukhin@intel.com>
104 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
106 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
107 numeration in comments.
108 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
111 2013-07-19 Nick Clifton <nickc@redhat.com>
114 * readelf.c (get_unwind_section_word): Whilst searching for a
115 reloc section associated with an unwind section, check the type as
116 well as the section number.
118 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
120 * ar.c (usage): Fix C conformance issue.
122 2013-07-18 Nick Clifton <nickc@redhat.com>
124 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
127 * readelf.c (process_unwind): Do not return the result of a void
130 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
132 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
133 numbers with enum values.
135 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
137 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
139 2013-07-10 Tristan Gingold <gingold@adacore.com>
141 * od-xcoff.c (OPT_LDINFO): Define.
142 (options): Add ldinfo.
143 (xcoff_help): Mention ldinfo.
144 (xcoff_dump): Rename to ...
145 (xcoff_dump_obj): ... this. Add a break.
146 (dump_dumpx_core): New function.
147 (xcoff_dump_core): Likewise.
148 (xcoff_dump): Likewise.
149 * doc/binutils.texi (objdump): Mention ldinfo.
151 2013-07-09 Tristan Gingold <gingold@adacore.com>
153 * configure.com: Add new defines to match changes in configure.
155 2013-05-28 Cary Coutant <ccoutant@google.com>
157 * dwarf.c (display_debug_lines_raw): Print section offsets.
159 2013-05-15 Cary Coutant <ccoutant@google.com>
161 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
163 (decode_location_expression): DW_OP_const2u should read 2 bytes.
164 (display_debug_lines_decoded): Adjust formatting.
165 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
167 (byte_get_big_endian): Likewise.
168 (byte_get_signed): Likewise.
170 2013-05-09 Andrew Pinski <apinski@cavium.com>
172 * doc/binutils.texi: Document -Mvirt disassembler option.
174 2013-05-02 Nick Clifton <nickc@redhat.com>
176 * readelf.c: Add support for MSP430X architecture.
178 2013-05-02 Nick Clifton <nickc@redhat.com>
180 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
181 sections as if they were fragmentary .debug_line sections.
182 (display_debug_lines_decoded): Likewise.
184 2013-04-29 Nick Clifton <nickc@redhat.com>
186 * dwarf.c (read_debug_line_header): New function. Reads in a
187 header in a .debug_line section.
188 (display_debug_lines_raw): Use new function. Handle fragmentary
189 .debug_line sections.
190 (display_debug_lines_decoded): Likewise.
191 * readelf.c (process_section_headers): Handle fragmenatry
192 .debug_line sections.
193 (display_debug_section): Likewise.
195 2013-04-26 Ian Lance Taylor <iant@google.com>
197 * MAINTAINERS: Add myself and Cary as gold maintainers.
199 2013-04-08 Tom Tromey <tromey@redhat.com>
201 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
203 2013-04-08 Tom Tromey <tromey@redhat.com>
205 * dwarf-mode.el: Bump version number.
206 (dwarf-mode): Remove autoload.
207 (dwarf-die-reference): Relax regexp.
209 2013-04-05 Alan Modra <amodra@gmail.com>
212 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
213 * dwarf.c (strnlen): Provide fallback decl.
214 * config.in: Regnerate.
215 * configure: Regenerate.
217 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
219 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
222 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
225 * winduni.c (codepages[]): Use UTF-16LE.
226 (wind_MultiByteToWideChar): Likewise.
227 (wind_WideCharToMultiByte): Likewise.
229 2013-03-27 Alan Modra <amodra@gmail.com>
232 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
234 2013-03-26 Nick Clifton <nickc@redhat.com>
237 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
238 space before calling byte_get.
239 (SAFE_BYTE_GET_AND_INC): New macro.
240 (SAFE_SIGNED_BYTE_GET): New macro.
241 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
242 (SAFE_BYTE_GET64): New macro.
243 (process_extened_line_op): Use new macros. Use strnlen when
245 (fetch_indirect_string): Likewise.
246 (get_FORM_name): Likewise.
247 (decode_location_expression): Likewise.
248 (read_and_display_attr_value): Likewise.
249 (process_debug_info): Likewise.
250 (display_debug_lines_raw): Likewise.
251 (display_debug_lines_decoded): Likewise.
252 (display_debug_pubnames): Likewise.
253 (display_debug_macinfo): Likewise.
254 (get_line_filename_and_dirname): Likewise.
255 (display_debug_macro): Likewise.
256 (display_loc_list): Likewise.
257 (display_loc_list_dwo): Likewise.
258 (display_debug_aranges): Likewise.
259 (display_debug_ranges): Likewise.
260 (frame_display_row): Likewise.
261 (display_debug_frames): Likewise.
263 2013-03-25 Nick Clifton <nickc@redhat.com>
266 * dwarf.c (read_leb128): Add END parameter. Do not read at or
268 (read_sleb128): Add END parameter.
269 (read_uleb128): New function.
270 (process_extended_line_op): Pass END to leb128 functions.
271 (process_abbrev_section): Likewise.
272 (decode_location_expression): Likewise.
273 (read_and_display_attr_value): Likewise.
274 (read_and_display_attr): Likewise.
275 (process_debug_info): Likewise.
276 (display_debug_lines_raw): Likewise.
277 (display_debug_lines_decoded): Likewise.
278 (display_debug_macinfo): Likewise.
279 (get_line_filename_and_dirname): Likewise.
280 (display_debug_macro): Likewise.
281 (display_loc_list_dwo): Likewise.
282 (display_debug_ranges): Likewise.
283 * dwarf.h (read_leb128): Update prototype.
284 * readelf.c (read_uleb128): Add END parameter.
285 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
286 (decode_tic6x_unwind_bytecode): Likewise.
287 (display_tag_value): New function.
288 (display_arm_attribute): Add END parameter. Pass END to
289 read_uleb128. Use display_tag_value.
290 (display_gnu_attribute): Likewise.
291 (display_power_gnu_attribute): Likewise.
292 (display_sparc_gnu_attribute): Likewise.
293 (display_mips_gnu_attribute): Likewise.
294 (display_tic6x_attribute): Likewise.
295 (process_attributes): Likewise.
296 (display_raw_attribute): New function.
298 2013-03-22 Nick Clifton <nickc@redhat.com>
301 * dwarf.c (display_debug_ranges): Add checks for reading beyond
302 the end of the section.
305 * readelf.c (apply_relocations): Catch relocations with negative
308 2013-03-15 Nick Clifton <nickc@redhat.com>
310 * addr2line.c (slurp_symtab): If canonicalization reveals that
311 there were no ordinary symbols, try loading the dynamic symbols
314 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
316 * MAINTAINERS: Add myself as Meta maintainer.
318 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
320 * readelf.c (get_note_type): Add NT_S390_TDB.
322 2013-03-07 Alan Modra <amodra@gmail.com>
324 * strings.c (get_char): Dispense with buf[]. Instead shift
325 chars into big-endian value and byte-swap later if
326 little-endian. Don't EOF check value read from object.
328 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
330 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
331 * configure: Regenerate.
333 2013-03-04 Nick Clifton <nickc@redhat.com>
335 * elfcomm.c (error): Flush stdout before emitting the error
339 2013-03-01 Cary Coutant <ccoutant@google.com>
341 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
342 (shndx_pool_used): Move to top of file.
343 (struct cu_tu_set): New type.
344 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
345 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
346 (find_cu_tu_set_v2): New function.
347 (read_and_display_attr_value): Add "this_set" parameter.
348 (read_and_display_attr): Likewise.
349 (process_debug_info): Track base offsets for DWARF package files.
350 (load_debug_info): Call load_cu_tu_indexes.
351 (get_DW_SECT_short_name): New function.
352 (process_cu_tu_index): Add support for version 2 DWARF package files.
354 2013-02-27 Alan Modra <amodra@gmail.com>
357 * readelf.c (offsetof): Define.
358 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
359 (process_corefile_note_segment): Allow notes without name or
360 desc. Combine out-of-range checks. Disallow "negative"
363 2013-02-26 Nick Clifton <nickc@redhat.com>
366 * readelf.c (process_corefile_note_segment): Prevent attempts to
367 read beyond the end of the note buffer.
369 2013-02-15 Kai Tietz <ktietz@redhat.com>
371 * objcopy.c (copy_main): Initialize context variable.
373 2013-02-15 Nick Clifton <nickc@redhat.com>
376 * ar.c (open_inarch): Fail on attempts to convert a normal archive
377 to a thin archive or vice versa.
378 * elfcomm.c (make_qualified_name): Handle corrupted thin
380 * readelf.c (process_archive): Likewise.
381 * doc/binutils.texi: Clarify documentation describing thin
384 2013-02-15 Nick Clifton <nickc@redhat.com>
387 * objcopy.c (enum change_action): Delete.
388 (struct section_list): Delete remove, copy, change_vma, change_lma
389 and set_flags fields. Add context field.
390 (find_section_list): Add a context parameter. Add support for
391 wildcard characters in section names.
392 (is_strip_section): Check for sections being both copied and
394 (copy_object): Pass context to find_section_list.
395 (setup_section): Likewise.
396 (copy_section): Likewise.
397 (copy_main): Likewise.
398 * doc/binutils: Document the new behaviour.
399 * NEWS: Mention the new feature
401 2013-02-14 Nick Clifton <nickc@redhat.com>
404 * objcopy.c (copy_object): Provide a helpful warning message when
405 adding a gnu_debuglink section to an object which already contains
408 2013-02-07 Nick Clifton <nickc@redhat.com>
410 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
411 corrupt archive uses long names but has no long name table.
413 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
414 Andrew Jenner <andrew@codesourcery.com>
416 Based on patches from Altera Corporation.
418 * readelf.c: Include elf/nios2.h.
419 (dump_relocations): Add case for EM_ALTERA_NIOS2.
420 (get_nios2_dynamic_type): New.
421 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
422 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
423 (is_16bit_abs_reloc): Likewise.
424 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
425 * NEWS: Note Altera Nios II support.
426 * MAINTAINERS: Add Nios II maintainers.
428 2013-01-29 Xi Wang <xi.wang@gmail.com>
430 * readelf.c (process_version_sections): Fix overflow checks to
431 avoid undefined behaviour.
433 2013-01-28 Doug Evans <dje@google.com>
435 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
437 2013-01-28 Robert Schiele <rschiele@gmail.com>
439 * objcopy.c (parse_flags): Add merge and strings section flags.
441 2013-01-25 Cary Coutant <ccoutant@google.com>
443 * dwarf.c (display_loc_list): Update offset for each line
445 (print_addr_index): New function.
446 (display_loc_list_dwo): Update offset for each line printed.
447 Fix problems displaying loclists in .dwo files. Add support
449 (display_debug_loc): Remove custom header for .dwo files.
450 (display_debug_addr): Adjust formatting.
452 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
454 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
456 2013-01-24 Doug Evans <dje@google.com>
458 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
460 2013-01-24 Nick Clifton <nickc@redhat.com>
462 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
464 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
466 * readelf.c: Add strings for NT_S390_LAST_BREAK and
469 2013-01-18 Nick Clifton <nickc@redhat.com>
472 * addr2line.c (translate_addresses): When pretty printing, print
473 unknown function names on the same line as unknown symbol names.
475 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
477 * objdump.c (dump_target_specific): Fix NULL pointer test.
479 2013-01-16 Alan Modra <amodra@gmail.com>
482 * stabs.c (parse_stab_members): Always set physname here to avoid
484 (parse_stab_argtypes): ..and don't duplicate the init here.
486 2013-01-10 Will Newton <will.newton@imgtec.com>
488 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
489 (dump_relocations): Add EM_METAG.
490 (get_machine_name): Correct case for Meta.
491 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
492 (is_none_reloc): Add support for Meta NONE reloc.
494 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
496 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
499 2013-01-07 Roland McGrath <mcgrathr@google.com>
501 * objcopy.c (deterministic): Make int rather than bfd_boolean,
503 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
504 (default_deterministic): New function.
505 (strip_main, copy_main): Handle -U. Call default_deterministic.
506 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
507 the default based on DEFAULT_AR_DETERMINISTIC.
508 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
509 configure options on -D.
511 * ar.c (default_deterministic): Comment fix.
513 2013-01-07 Patrice Dumas <pertusus@free.fr>
515 * doc/binutils.texi: Fix ordering of top level nodes.
516 Replace erroneous uses of @itemx with @item.
518 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
520 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
522 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
524 * MAINTAINERS: Add myself as AArch64 co-maintainer.
526 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
528 * version.c (print_version): Update copyright year to 2013.
530 For older changes see ChangeLog-2012
532 Copyright (C) 2013 Free Software Foundation, Inc.
534 Copying and distribution of this file, with or without modification,
535 are permitted in any medium without royalty provided the copyright
536 notice and this notice are preserved.
542 version-control: never