1 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
4 * od-xcoff.c: Fix typos.
6 2013-08-19 Tristan Gingold <gingold@adacore.com>
8 * nm.c (print_size_symbols): Directly get symbol size.
10 2013-08-12 Andreas Schwab <schwab@suse.de>
13 * objdump.c (disassemble_section): Return early if nothing from
14 this section needs to be disassembled.
16 2013-08-09 Nick Clifton <nickc@redhat.com>
18 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
20 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
21 Alexander Ivchenko <alexander.ivchenko@intel.com>
22 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
23 Sergey Lega <sergey.s.lega@intel.com>
24 Anna Tikhonova <anna.tikhonova@intel.com>
25 Ilya Tocar <ilya.tocar@intel.com>
26 Andrey Turetskiy <andrey.turetskiy@intel.com>
27 Ilya Verbin <ilya.verbin@intel.com>
28 Kirill Yukhin <kirill.yukhin@intel.com>
29 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
31 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
32 numeration in comments.
33 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
36 2013-07-19 Nick Clifton <nickc@redhat.com>
39 * readelf.c (get_unwind_section_word): Whilst searching for a
40 reloc section associated with an unwind section, check the type as
41 well as the section number.
43 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
45 * ar.c (usage): Fix C conformance issue.
47 2013-07-18 Nick Clifton <nickc@redhat.com>
49 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
52 * readelf.c (process_unwind): Do not return the result of a void
55 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
57 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
58 numbers with enum values.
60 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
62 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
64 2013-07-10 Tristan Gingold <gingold@adacore.com>
66 * od-xcoff.c (OPT_LDINFO): Define.
67 (options): Add ldinfo.
68 (xcoff_help): Mention ldinfo.
69 (xcoff_dump): Rename to ...
70 (xcoff_dump_obj): ... this. Add a break.
71 (dump_dumpx_core): New function.
72 (xcoff_dump_core): Likewise.
73 (xcoff_dump): Likewise.
74 * doc/binutils.texi (objdump): Mention ldinfo.
76 2013-07-09 Tristan Gingold <gingold@adacore.com>
78 * configure.com: Add new defines to match changes in configure.
80 2013-05-28 Cary Coutant <ccoutant@google.com>
82 * dwarf.c (display_debug_lines_raw): Print section offsets.
84 2013-05-15 Cary Coutant <ccoutant@google.com>
86 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
88 (decode_location_expression): DW_OP_const2u should read 2 bytes.
89 (display_debug_lines_decoded): Adjust formatting.
90 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
92 (byte_get_big_endian): Likewise.
93 (byte_get_signed): Likewise.
95 2013-05-09 Andrew Pinski <apinski@cavium.com>
97 * doc/binutils.texi: Document -Mvirt disassembler option.
99 2013-05-02 Nick Clifton <nickc@redhat.com>
101 * readelf.c: Add support for MSP430X architecture.
103 2013-05-02 Nick Clifton <nickc@redhat.com>
105 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
106 sections as if they were fragmentary .debug_line sections.
107 (display_debug_lines_decoded): Likewise.
109 2013-04-29 Nick Clifton <nickc@redhat.com>
111 * dwarf.c (read_debug_line_header): New function. Reads in a
112 header in a .debug_line section.
113 (display_debug_lines_raw): Use new function. Handle fragmentary
114 .debug_line sections.
115 (display_debug_lines_decoded): Likewise.
116 * readelf.c (process_section_headers): Handle fragmenatry
117 .debug_line sections.
118 (display_debug_section): Likewise.
120 2013-04-26 Ian Lance Taylor <iant@google.com>
122 * MAINTAINERS: Add myself and Cary as gold maintainers.
124 2013-04-08 Tom Tromey <tromey@redhat.com>
126 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
128 2013-04-08 Tom Tromey <tromey@redhat.com>
130 * dwarf-mode.el: Bump version number.
131 (dwarf-mode): Remove autoload.
132 (dwarf-die-reference): Relax regexp.
134 2013-04-05 Alan Modra <amodra@gmail.com>
137 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
138 * dwarf.c (strnlen): Provide fallback decl.
139 * config.in: Regnerate.
140 * configure: Regenerate.
142 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
144 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
147 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
150 * winduni.c (codepages[]): Use UTF-16LE.
151 (wind_MultiByteToWideChar): Likewise.
152 (wind_WideCharToMultiByte): Likewise.
154 2013-03-27 Alan Modra <amodra@gmail.com>
157 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
159 2013-03-26 Nick Clifton <nickc@redhat.com>
162 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
163 space before calling byte_get.
164 (SAFE_BYTE_GET_AND_INC): New macro.
165 (SAFE_SIGNED_BYTE_GET): New macro.
166 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
167 (SAFE_BYTE_GET64): New macro.
168 (process_extened_line_op): Use new macros. Use strnlen when
170 (fetch_indirect_string): Likewise.
171 (get_FORM_name): Likewise.
172 (decode_location_expression): Likewise.
173 (read_and_display_attr_value): Likewise.
174 (process_debug_info): Likewise.
175 (display_debug_lines_raw): Likewise.
176 (display_debug_lines_decoded): Likewise.
177 (display_debug_pubnames): Likewise.
178 (display_debug_macinfo): Likewise.
179 (get_line_filename_and_dirname): Likewise.
180 (display_debug_macro): Likewise.
181 (display_loc_list): Likewise.
182 (display_loc_list_dwo): Likewise.
183 (display_debug_aranges): Likewise.
184 (display_debug_ranges): Likewise.
185 (frame_display_row): Likewise.
186 (display_debug_frames): Likewise.
188 2013-03-25 Nick Clifton <nickc@redhat.com>
191 * dwarf.c (read_leb128): Add END parameter. Do not read at or
193 (read_sleb128): Add END parameter.
194 (read_uleb128): New function.
195 (process_extended_line_op): Pass END to leb128 functions.
196 (process_abbrev_section): Likewise.
197 (decode_location_expression): Likewise.
198 (read_and_display_attr_value): Likewise.
199 (read_and_display_attr): Likewise.
200 (process_debug_info): Likewise.
201 (display_debug_lines_raw): Likewise.
202 (display_debug_lines_decoded): Likewise.
203 (display_debug_macinfo): Likewise.
204 (get_line_filename_and_dirname): Likewise.
205 (display_debug_macro): Likewise.
206 (display_loc_list_dwo): Likewise.
207 (display_debug_ranges): Likewise.
208 * dwarf.h (read_leb128): Update prototype.
209 * readelf.c (read_uleb128): Add END parameter.
210 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
211 (decode_tic6x_unwind_bytecode): Likewise.
212 (display_tag_value): New function.
213 (display_arm_attribute): Add END parameter. Pass END to
214 read_uleb128. Use display_tag_value.
215 (display_gnu_attribute): Likewise.
216 (display_power_gnu_attribute): Likewise.
217 (display_sparc_gnu_attribute): Likewise.
218 (display_mips_gnu_attribute): Likewise.
219 (display_tic6x_attribute): Likewise.
220 (process_attributes): Likewise.
221 (display_raw_attribute): New function.
223 2013-03-22 Nick Clifton <nickc@redhat.com>
226 * dwarf.c (display_debug_ranges): Add checks for reading beyond
227 the end of the section.
230 * readelf.c (apply_relocations): Catch relocations with negative
233 2013-03-15 Nick Clifton <nickc@redhat.com>
235 * addr2line.c (slurp_symtab): If canonicalization reveals that
236 there were no ordinary symbols, try loading the dynamic symbols
239 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
241 * MAINTAINERS: Add myself as Meta maintainer.
243 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
245 * readelf.c (get_note_type): Add NT_S390_TDB.
247 2013-03-07 Alan Modra <amodra@gmail.com>
249 * strings.c (get_char): Dispense with buf[]. Instead shift
250 chars into big-endian value and byte-swap later if
251 little-endian. Don't EOF check value read from object.
253 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
255 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
256 * configure: Regenerate.
258 2013-03-04 Nick Clifton <nickc@redhat.com>
260 * elfcomm.c (error): Flush stdout before emitting the error
264 2013-03-01 Cary Coutant <ccoutant@google.com>
266 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
267 (shndx_pool_used): Move to top of file.
268 (struct cu_tu_set): New type.
269 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
270 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
271 (find_cu_tu_set_v2): New function.
272 (read_and_display_attr_value): Add "this_set" parameter.
273 (read_and_display_attr): Likewise.
274 (process_debug_info): Track base offsets for DWARF package files.
275 (load_debug_info): Call load_cu_tu_indexes.
276 (get_DW_SECT_short_name): New function.
277 (process_cu_tu_index): Add support for version 2 DWARF package files.
279 2013-02-27 Alan Modra <amodra@gmail.com>
282 * readelf.c (offsetof): Define.
283 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
284 (process_corefile_note_segment): Allow notes without name or
285 desc. Combine out-of-range checks. Disallow "negative"
288 2013-02-26 Nick Clifton <nickc@redhat.com>
291 * readelf.c (process_corefile_note_segment): Prevent attempts to
292 read beyond the end of the note buffer.
294 2013-02-15 Kai Tietz <ktietz@redhat.com>
296 * objcopy.c (copy_main): Initialize context variable.
298 2013-02-15 Nick Clifton <nickc@redhat.com>
301 * ar.c (open_inarch): Fail on attempts to convert a normal archive
302 to a thin archive or vice versa.
303 * elfcomm.c (make_qualified_name): Handle corrupted thin
305 * readelf.c (process_archive): Likewise.
306 * doc/binutils.texi: Clarify documentation describing thin
309 2013-02-15 Nick Clifton <nickc@redhat.com>
312 * objcopy.c (enum change_action): Delete.
313 (struct section_list): Delete remove, copy, change_vma, change_lma
314 and set_flags fields. Add context field.
315 (find_section_list): Add a context parameter. Add support for
316 wildcard characters in section names.
317 (is_strip_section): Check for sections being both copied and
319 (copy_object): Pass context to find_section_list.
320 (setup_section): Likewise.
321 (copy_section): Likewise.
322 (copy_main): Likewise.
323 * doc/binutils: Document the new behaviour.
324 * NEWS: Mention the new feature
326 2013-02-14 Nick Clifton <nickc@redhat.com>
329 * objcopy.c (copy_object): Provide a helpful warning message when
330 adding a gnu_debuglink section to an object which already contains
333 2013-02-07 Nick Clifton <nickc@redhat.com>
335 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
336 corrupt archive uses long names but has no long name table.
338 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
339 Andrew Jenner <andrew@codesourcery.com>
341 Based on patches from Altera Corporation.
343 * readelf.c: Include elf/nios2.h.
344 (dump_relocations): Add case for EM_ALTERA_NIOS2.
345 (get_nios2_dynamic_type): New.
346 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
347 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
348 (is_16bit_abs_reloc): Likewise.
349 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
350 * NEWS: Note Altera Nios II support.
351 * MAINTAINERS: Add Nios II maintainers.
353 2013-01-29 Xi Wang <xi.wang@gmail.com>
355 * readelf.c (process_version_sections): Fix overflow checks to
356 avoid undefined behaviour.
358 2013-01-28 Doug Evans <dje@google.com>
360 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
362 2013-01-28 Robert Schiele <rschiele@gmail.com>
364 * objcopy.c (parse_flags): Add merge and strings section flags.
366 2013-01-25 Cary Coutant <ccoutant@google.com>
368 * dwarf.c (display_loc_list): Update offset for each line
370 (print_addr_index): New function.
371 (display_loc_list_dwo): Update offset for each line printed.
372 Fix problems displaying loclists in .dwo files. Add support
374 (display_debug_loc): Remove custom header for .dwo files.
375 (display_debug_addr): Adjust formatting.
377 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
379 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
381 2013-01-24 Doug Evans <dje@google.com>
383 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
385 2013-01-24 Nick Clifton <nickc@redhat.com>
387 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
389 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
391 * readelf.c: Add strings for NT_S390_LAST_BREAK and
394 2013-01-18 Nick Clifton <nickc@redhat.com>
397 * addr2line.c (translate_addresses): When pretty printing, print
398 unknown function names on the same line as unknown symbol names.
400 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
402 * objdump.c (dump_target_specific): Fix NULL pointer test.
404 2013-01-16 Alan Modra <amodra@gmail.com>
407 * stabs.c (parse_stab_members): Always set physname here to avoid
409 (parse_stab_argtypes): ..and don't duplicate the init here.
411 2013-01-10 Will Newton <will.newton@imgtec.com>
413 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
414 (dump_relocations): Add EM_METAG.
415 (get_machine_name): Correct case for Meta.
416 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
417 (is_none_reloc): Add support for Meta NONE reloc.
419 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
421 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
424 2013-01-07 Roland McGrath <mcgrathr@google.com>
426 * objcopy.c (deterministic): Make int rather than bfd_boolean,
428 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
429 (default_deterministic): New function.
430 (strip_main, copy_main): Handle -U. Call default_deterministic.
431 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
432 the default based on DEFAULT_AR_DETERMINISTIC.
433 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
434 configure options on -D.
436 * ar.c (default_deterministic): Comment fix.
438 2013-01-07 Patrice Dumas <pertusus@free.fr>
440 * doc/binutils.texi: Fix ordering of top level nodes.
441 Replace erroneous uses of @itemx with @item.
443 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
445 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
447 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
449 * MAINTAINERS: Add myself as AArch64 co-maintainer.
451 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
453 * version.c (print_version): Update copyright year to 2013.
455 For older changes see ChangeLog-2012
457 Copyright (C) 2013 Free Software Foundation, Inc.
459 Copying and distribution of this file, with or without modification,
460 are permitted in any medium without royalty provided the copyright
461 notice and this notice are preserved.
467 version-control: never