1 2013-08-23 Mikael Pettersson <mikpe@it.uu.se>
4 * doc/binutils.texi (ranlib -D): Correct description.
6 2013-08-23 Nick Clifton <nickc@redhat.com>
9 * doc/binutils.texi (ar cmdline): Update description of 'q'
13 (nm): Add description of 'I' symbol type.
15 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
18 * od-xcoff.c: Fix typos.
20 2013-08-19 Tristan Gingold <gingold@adacore.com>
22 * nm.c (print_size_symbols): Directly get symbol size.
24 2013-08-12 Andreas Schwab <schwab@suse.de>
27 * objdump.c (disassemble_section): Return early if nothing from
28 this section needs to be disassembled.
30 2013-08-09 Nick Clifton <nickc@redhat.com>
32 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
34 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
35 Alexander Ivchenko <alexander.ivchenko@intel.com>
36 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
37 Sergey Lega <sergey.s.lega@intel.com>
38 Anna Tikhonova <anna.tikhonova@intel.com>
39 Ilya Tocar <ilya.tocar@intel.com>
40 Andrey Turetskiy <andrey.turetskiy@intel.com>
41 Ilya Verbin <ilya.verbin@intel.com>
42 Kirill Yukhin <kirill.yukhin@intel.com>
43 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
45 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
46 numeration in comments.
47 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
50 2013-07-19 Nick Clifton <nickc@redhat.com>
53 * readelf.c (get_unwind_section_word): Whilst searching for a
54 reloc section associated with an unwind section, check the type as
55 well as the section number.
57 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
59 * ar.c (usage): Fix C conformance issue.
61 2013-07-18 Nick Clifton <nickc@redhat.com>
63 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
66 * readelf.c (process_unwind): Do not return the result of a void
69 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
71 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
72 numbers with enum values.
74 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
76 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
78 2013-07-10 Tristan Gingold <gingold@adacore.com>
80 * od-xcoff.c (OPT_LDINFO): Define.
81 (options): Add ldinfo.
82 (xcoff_help): Mention ldinfo.
83 (xcoff_dump): Rename to ...
84 (xcoff_dump_obj): ... this. Add a break.
85 (dump_dumpx_core): New function.
86 (xcoff_dump_core): Likewise.
87 (xcoff_dump): Likewise.
88 * doc/binutils.texi (objdump): Mention ldinfo.
90 2013-07-09 Tristan Gingold <gingold@adacore.com>
92 * configure.com: Add new defines to match changes in configure.
94 2013-05-28 Cary Coutant <ccoutant@google.com>
96 * dwarf.c (display_debug_lines_raw): Print section offsets.
98 2013-05-15 Cary Coutant <ccoutant@google.com>
100 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
102 (decode_location_expression): DW_OP_const2u should read 2 bytes.
103 (display_debug_lines_decoded): Adjust formatting.
104 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
106 (byte_get_big_endian): Likewise.
107 (byte_get_signed): Likewise.
109 2013-05-09 Andrew Pinski <apinski@cavium.com>
111 * doc/binutils.texi: Document -Mvirt disassembler option.
113 2013-05-02 Nick Clifton <nickc@redhat.com>
115 * readelf.c: Add support for MSP430X architecture.
117 2013-05-02 Nick Clifton <nickc@redhat.com>
119 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
120 sections as if they were fragmentary .debug_line sections.
121 (display_debug_lines_decoded): Likewise.
123 2013-04-29 Nick Clifton <nickc@redhat.com>
125 * dwarf.c (read_debug_line_header): New function. Reads in a
126 header in a .debug_line section.
127 (display_debug_lines_raw): Use new function. Handle fragmentary
128 .debug_line sections.
129 (display_debug_lines_decoded): Likewise.
130 * readelf.c (process_section_headers): Handle fragmenatry
131 .debug_line sections.
132 (display_debug_section): Likewise.
134 2013-04-26 Ian Lance Taylor <iant@google.com>
136 * MAINTAINERS: Add myself and Cary as gold maintainers.
138 2013-04-08 Tom Tromey <tromey@redhat.com>
140 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
142 2013-04-08 Tom Tromey <tromey@redhat.com>
144 * dwarf-mode.el: Bump version number.
145 (dwarf-mode): Remove autoload.
146 (dwarf-die-reference): Relax regexp.
148 2013-04-05 Alan Modra <amodra@gmail.com>
151 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
152 * dwarf.c (strnlen): Provide fallback decl.
153 * config.in: Regnerate.
154 * configure: Regenerate.
156 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
158 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
161 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
164 * winduni.c (codepages[]): Use UTF-16LE.
165 (wind_MultiByteToWideChar): Likewise.
166 (wind_WideCharToMultiByte): Likewise.
168 2013-03-27 Alan Modra <amodra@gmail.com>
171 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
173 2013-03-26 Nick Clifton <nickc@redhat.com>
176 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
177 space before calling byte_get.
178 (SAFE_BYTE_GET_AND_INC): New macro.
179 (SAFE_SIGNED_BYTE_GET): New macro.
180 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
181 (SAFE_BYTE_GET64): New macro.
182 (process_extened_line_op): Use new macros. Use strnlen when
184 (fetch_indirect_string): Likewise.
185 (get_FORM_name): Likewise.
186 (decode_location_expression): Likewise.
187 (read_and_display_attr_value): Likewise.
188 (process_debug_info): Likewise.
189 (display_debug_lines_raw): Likewise.
190 (display_debug_lines_decoded): Likewise.
191 (display_debug_pubnames): Likewise.
192 (display_debug_macinfo): Likewise.
193 (get_line_filename_and_dirname): Likewise.
194 (display_debug_macro): Likewise.
195 (display_loc_list): Likewise.
196 (display_loc_list_dwo): Likewise.
197 (display_debug_aranges): Likewise.
198 (display_debug_ranges): Likewise.
199 (frame_display_row): Likewise.
200 (display_debug_frames): Likewise.
202 2013-03-25 Nick Clifton <nickc@redhat.com>
205 * dwarf.c (read_leb128): Add END parameter. Do not read at or
207 (read_sleb128): Add END parameter.
208 (read_uleb128): New function.
209 (process_extended_line_op): Pass END to leb128 functions.
210 (process_abbrev_section): Likewise.
211 (decode_location_expression): Likewise.
212 (read_and_display_attr_value): Likewise.
213 (read_and_display_attr): Likewise.
214 (process_debug_info): Likewise.
215 (display_debug_lines_raw): Likewise.
216 (display_debug_lines_decoded): Likewise.
217 (display_debug_macinfo): Likewise.
218 (get_line_filename_and_dirname): Likewise.
219 (display_debug_macro): Likewise.
220 (display_loc_list_dwo): Likewise.
221 (display_debug_ranges): Likewise.
222 * dwarf.h (read_leb128): Update prototype.
223 * readelf.c (read_uleb128): Add END parameter.
224 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
225 (decode_tic6x_unwind_bytecode): Likewise.
226 (display_tag_value): New function.
227 (display_arm_attribute): Add END parameter. Pass END to
228 read_uleb128. Use display_tag_value.
229 (display_gnu_attribute): Likewise.
230 (display_power_gnu_attribute): Likewise.
231 (display_sparc_gnu_attribute): Likewise.
232 (display_mips_gnu_attribute): Likewise.
233 (display_tic6x_attribute): Likewise.
234 (process_attributes): Likewise.
235 (display_raw_attribute): New function.
237 2013-03-22 Nick Clifton <nickc@redhat.com>
240 * dwarf.c (display_debug_ranges): Add checks for reading beyond
241 the end of the section.
244 * readelf.c (apply_relocations): Catch relocations with negative
247 2013-03-15 Nick Clifton <nickc@redhat.com>
249 * addr2line.c (slurp_symtab): If canonicalization reveals that
250 there were no ordinary symbols, try loading the dynamic symbols
253 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
255 * MAINTAINERS: Add myself as Meta maintainer.
257 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
259 * readelf.c (get_note_type): Add NT_S390_TDB.
261 2013-03-07 Alan Modra <amodra@gmail.com>
263 * strings.c (get_char): Dispense with buf[]. Instead shift
264 chars into big-endian value and byte-swap later if
265 little-endian. Don't EOF check value read from object.
267 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
269 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
270 * configure: Regenerate.
272 2013-03-04 Nick Clifton <nickc@redhat.com>
274 * elfcomm.c (error): Flush stdout before emitting the error
278 2013-03-01 Cary Coutant <ccoutant@google.com>
280 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
281 (shndx_pool_used): Move to top of file.
282 (struct cu_tu_set): New type.
283 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
284 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
285 (find_cu_tu_set_v2): New function.
286 (read_and_display_attr_value): Add "this_set" parameter.
287 (read_and_display_attr): Likewise.
288 (process_debug_info): Track base offsets for DWARF package files.
289 (load_debug_info): Call load_cu_tu_indexes.
290 (get_DW_SECT_short_name): New function.
291 (process_cu_tu_index): Add support for version 2 DWARF package files.
293 2013-02-27 Alan Modra <amodra@gmail.com>
296 * readelf.c (offsetof): Define.
297 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
298 (process_corefile_note_segment): Allow notes without name or
299 desc. Combine out-of-range checks. Disallow "negative"
302 2013-02-26 Nick Clifton <nickc@redhat.com>
305 * readelf.c (process_corefile_note_segment): Prevent attempts to
306 read beyond the end of the note buffer.
308 2013-02-15 Kai Tietz <ktietz@redhat.com>
310 * objcopy.c (copy_main): Initialize context variable.
312 2013-02-15 Nick Clifton <nickc@redhat.com>
315 * ar.c (open_inarch): Fail on attempts to convert a normal archive
316 to a thin archive or vice versa.
317 * elfcomm.c (make_qualified_name): Handle corrupted thin
319 * readelf.c (process_archive): Likewise.
320 * doc/binutils.texi: Clarify documentation describing thin
323 2013-02-15 Nick Clifton <nickc@redhat.com>
326 * objcopy.c (enum change_action): Delete.
327 (struct section_list): Delete remove, copy, change_vma, change_lma
328 and set_flags fields. Add context field.
329 (find_section_list): Add a context parameter. Add support for
330 wildcard characters in section names.
331 (is_strip_section): Check for sections being both copied and
333 (copy_object): Pass context to find_section_list.
334 (setup_section): Likewise.
335 (copy_section): Likewise.
336 (copy_main): Likewise.
337 * doc/binutils: Document the new behaviour.
338 * NEWS: Mention the new feature
340 2013-02-14 Nick Clifton <nickc@redhat.com>
343 * objcopy.c (copy_object): Provide a helpful warning message when
344 adding a gnu_debuglink section to an object which already contains
347 2013-02-07 Nick Clifton <nickc@redhat.com>
349 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
350 corrupt archive uses long names but has no long name table.
352 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
353 Andrew Jenner <andrew@codesourcery.com>
355 Based on patches from Altera Corporation.
357 * readelf.c: Include elf/nios2.h.
358 (dump_relocations): Add case for EM_ALTERA_NIOS2.
359 (get_nios2_dynamic_type): New.
360 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
361 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
362 (is_16bit_abs_reloc): Likewise.
363 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
364 * NEWS: Note Altera Nios II support.
365 * MAINTAINERS: Add Nios II maintainers.
367 2013-01-29 Xi Wang <xi.wang@gmail.com>
369 * readelf.c (process_version_sections): Fix overflow checks to
370 avoid undefined behaviour.
372 2013-01-28 Doug Evans <dje@google.com>
374 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
376 2013-01-28 Robert Schiele <rschiele@gmail.com>
378 * objcopy.c (parse_flags): Add merge and strings section flags.
380 2013-01-25 Cary Coutant <ccoutant@google.com>
382 * dwarf.c (display_loc_list): Update offset for each line
384 (print_addr_index): New function.
385 (display_loc_list_dwo): Update offset for each line printed.
386 Fix problems displaying loclists in .dwo files. Add support
388 (display_debug_loc): Remove custom header for .dwo files.
389 (display_debug_addr): Adjust formatting.
391 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
393 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
395 2013-01-24 Doug Evans <dje@google.com>
397 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
399 2013-01-24 Nick Clifton <nickc@redhat.com>
401 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
403 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
405 * readelf.c: Add strings for NT_S390_LAST_BREAK and
408 2013-01-18 Nick Clifton <nickc@redhat.com>
411 * addr2line.c (translate_addresses): When pretty printing, print
412 unknown function names on the same line as unknown symbol names.
414 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
416 * objdump.c (dump_target_specific): Fix NULL pointer test.
418 2013-01-16 Alan Modra <amodra@gmail.com>
421 * stabs.c (parse_stab_members): Always set physname here to avoid
423 (parse_stab_argtypes): ..and don't duplicate the init here.
425 2013-01-10 Will Newton <will.newton@imgtec.com>
427 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
428 (dump_relocations): Add EM_METAG.
429 (get_machine_name): Correct case for Meta.
430 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
431 (is_none_reloc): Add support for Meta NONE reloc.
433 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
435 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
438 2013-01-07 Roland McGrath <mcgrathr@google.com>
440 * objcopy.c (deterministic): Make int rather than bfd_boolean,
442 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
443 (default_deterministic): New function.
444 (strip_main, copy_main): Handle -U. Call default_deterministic.
445 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
446 the default based on DEFAULT_AR_DETERMINISTIC.
447 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
448 configure options on -D.
450 * ar.c (default_deterministic): Comment fix.
452 2013-01-07 Patrice Dumas <pertusus@free.fr>
454 * doc/binutils.texi: Fix ordering of top level nodes.
455 Replace erroneous uses of @itemx with @item.
457 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
459 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
461 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
463 * MAINTAINERS: Add myself as AArch64 co-maintainer.
465 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
467 * version.c (print_version): Update copyright year to 2013.
469 For older changes see ChangeLog-2012
471 Copyright (C) 2013 Free Software Foundation, Inc.
473 Copying and distribution of this file, with or without modification,
474 are permitted in any medium without royalty provided the copyright
475 notice and this notice are preserved.
481 version-control: never