1 2013-07-19 Nick Clifton <nickc@redhat.com>
4 * readelf.c (get_unwind_section_word): Whilst searching for a
5 reloc section associated with an unwind section, check the type as
6 well as the section number.
8 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
10 * ar.c (usage): Fix C conformance issue.
12 2013-07-18 Nick Clifton <nickc@redhat.com>
14 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
17 * readelf.c (process_unwind): Do not return the result of a void
20 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
22 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
23 numbers with enum values.
25 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
27 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
29 2013-07-10 Tristan Gingold <gingold@adacore.com>
31 * od-xcoff.c (OPT_LDINFO): Define.
32 (options): Add ldinfo.
33 (xcoff_help): Mention ldinfo.
34 (xcoff_dump): Rename to ...
35 (xcoff_dump_obj): ... this. Add a break.
36 (dump_dumpx_core): New function.
37 (xcoff_dump_core): Likewise.
38 (xcoff_dump): Likewise.
39 * doc/binutils.texi (objdump): Mention ldinfo.
41 2013-07-09 Tristan Gingold <gingold@adacore.com>
43 * configure.com: Add new defines to match changes in configure.
45 2013-05-28 Cary Coutant <ccoutant@google.com>
47 * dwarf.c (display_debug_lines_raw): Print section offsets.
49 2013-05-15 Cary Coutant <ccoutant@google.com>
51 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
53 (decode_location_expression): DW_OP_const2u should read 2 bytes.
54 (display_debug_lines_decoded): Adjust formatting.
55 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
57 (byte_get_big_endian): Likewise.
58 (byte_get_signed): Likewise.
60 2013-05-09 Andrew Pinski <apinski@cavium.com>
62 * doc/binutils.texi: Document -Mvirt disassembler option.
64 2013-05-02 Nick Clifton <nickc@redhat.com>
66 * readelf.c: Add support for MSP430X architecture.
68 2013-05-02 Nick Clifton <nickc@redhat.com>
70 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
71 sections as if they were fragmentary .debug_line sections.
72 (display_debug_lines_decoded): Likewise.
74 2013-04-29 Nick Clifton <nickc@redhat.com>
76 * dwarf.c (read_debug_line_header): New function. Reads in a
77 header in a .debug_line section.
78 (display_debug_lines_raw): Use new function. Handle fragmentary
80 (display_debug_lines_decoded): Likewise.
81 * readelf.c (process_section_headers): Handle fragmenatry
83 (display_debug_section): Likewise.
85 2013-04-26 Ian Lance Taylor <iant@google.com>
87 * MAINTAINERS: Add myself and Cary as gold maintainers.
89 2013-04-08 Tom Tromey <tromey@redhat.com>
91 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
93 2013-04-08 Tom Tromey <tromey@redhat.com>
95 * dwarf-mode.el: Bump version number.
96 (dwarf-mode): Remove autoload.
97 (dwarf-die-reference): Relax regexp.
99 2013-04-05 Alan Modra <amodra@gmail.com>
102 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
103 * dwarf.c (strnlen): Provide fallback decl.
104 * config.in: Regnerate.
105 * configure: Regenerate.
107 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
109 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
112 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
115 * winduni.c (codepages[]): Use UTF-16LE.
116 (wind_MultiByteToWideChar): Likewise.
117 (wind_WideCharToMultiByte): Likewise.
119 2013-03-27 Alan Modra <amodra@gmail.com>
122 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
124 2013-03-26 Nick Clifton <nickc@redhat.com>
127 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
128 space before calling byte_get.
129 (SAFE_BYTE_GET_AND_INC): New macro.
130 (SAFE_SIGNED_BYTE_GET): New macro.
131 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
132 (SAFE_BYTE_GET64): New macro.
133 (process_extened_line_op): Use new macros. Use strnlen when
135 (fetch_indirect_string): Likewise.
136 (get_FORM_name): Likewise.
137 (decode_location_expression): Likewise.
138 (read_and_display_attr_value): Likewise.
139 (process_debug_info): Likewise.
140 (display_debug_lines_raw): Likewise.
141 (display_debug_lines_decoded): Likewise.
142 (display_debug_pubnames): Likewise.
143 (display_debug_macinfo): Likewise.
144 (get_line_filename_and_dirname): Likewise.
145 (display_debug_macro): Likewise.
146 (display_loc_list): Likewise.
147 (display_loc_list_dwo): Likewise.
148 (display_debug_aranges): Likewise.
149 (display_debug_ranges): Likewise.
150 (frame_display_row): Likewise.
151 (display_debug_frames): Likewise.
153 2013-03-25 Nick Clifton <nickc@redhat.com>
156 * dwarf.c (read_leb128): Add END parameter. Do not read at or
158 (read_sleb128): Add END parameter.
159 (read_uleb128): New function.
160 (process_extended_line_op): Pass END to leb128 functions.
161 (process_abbrev_section): Likewise.
162 (decode_location_expression): Likewise.
163 (read_and_display_attr_value): Likewise.
164 (read_and_display_attr): Likewise.
165 (process_debug_info): Likewise.
166 (display_debug_lines_raw): Likewise.
167 (display_debug_lines_decoded): Likewise.
168 (display_debug_macinfo): Likewise.
169 (get_line_filename_and_dirname): Likewise.
170 (display_debug_macro): Likewise.
171 (display_loc_list_dwo): Likewise.
172 (display_debug_ranges): Likewise.
173 * dwarf.h (read_leb128): Update prototype.
174 * readelf.c (read_uleb128): Add END parameter.
175 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
176 (decode_tic6x_unwind_bytecode): Likewise.
177 (display_tag_value): New function.
178 (display_arm_attribute): Add END parameter. Pass END to
179 read_uleb128. Use display_tag_value.
180 (display_gnu_attribute): Likewise.
181 (display_power_gnu_attribute): Likewise.
182 (display_sparc_gnu_attribute): Likewise.
183 (display_mips_gnu_attribute): Likewise.
184 (display_tic6x_attribute): Likewise.
185 (process_attributes): Likewise.
186 (display_raw_attribute): New function.
188 2013-03-22 Nick Clifton <nickc@redhat.com>
191 * dwarf.c (display_debug_ranges): Add checks for reading beyond
192 the end of the section.
195 * readelf.c (apply_relocations): Catch relocations with negative
198 2013-03-15 Nick Clifton <nickc@redhat.com>
200 * addr2line.c (slurp_symtab): If canonicalization reveals that
201 there were no ordinary symbols, try loading the dynamic symbols
204 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
206 * MAINTAINERS: Add myself as Meta maintainer.
208 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
210 * readelf.c (get_note_type): Add NT_S390_TDB.
212 2013-03-07 Alan Modra <amodra@gmail.com>
214 * strings.c (get_char): Dispense with buf[]. Instead shift
215 chars into big-endian value and byte-swap later if
216 little-endian. Don't EOF check value read from object.
218 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
220 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
221 * configure: Regenerate.
223 2013-03-04 Nick Clifton <nickc@redhat.com>
225 * elfcomm.c (error): Flush stdout before emitting the error
229 2013-03-01 Cary Coutant <ccoutant@google.com>
231 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
232 (shndx_pool_used): Move to top of file.
233 (struct cu_tu_set): New type.
234 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
235 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
236 (find_cu_tu_set_v2): New function.
237 (read_and_display_attr_value): Add "this_set" parameter.
238 (read_and_display_attr): Likewise.
239 (process_debug_info): Track base offsets for DWARF package files.
240 (load_debug_info): Call load_cu_tu_indexes.
241 (get_DW_SECT_short_name): New function.
242 (process_cu_tu_index): Add support for version 2 DWARF package files.
244 2013-02-27 Alan Modra <amodra@gmail.com>
247 * readelf.c (offsetof): Define.
248 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
249 (process_corefile_note_segment): Allow notes without name or
250 desc. Combine out-of-range checks. Disallow "negative"
253 2013-02-26 Nick Clifton <nickc@redhat.com>
256 * readelf.c (process_corefile_note_segment): Prevent attempts to
257 read beyond the end of the note buffer.
259 2013-02-15 Kai Tietz <ktietz@redhat.com>
261 * objcopy.c (copy_main): Initialize context variable.
263 2013-02-15 Nick Clifton <nickc@redhat.com>
266 * ar.c (open_inarch): Fail on attempts to convert a normal archive
267 to a thin archive or vice versa.
268 * elfcomm.c (make_qualified_name): Handle corrupted thin
270 * readelf.c (process_archive): Likewise.
271 * doc/binutils.texi: Clarify documentation describing thin
274 2013-02-15 Nick Clifton <nickc@redhat.com>
277 * objcopy.c (enum change_action): Delete.
278 (struct section_list): Delete remove, copy, change_vma, change_lma
279 and set_flags fields. Add context field.
280 (find_section_list): Add a context parameter. Add support for
281 wildcard characters in section names.
282 (is_strip_section): Check for sections being both copied and
284 (copy_object): Pass context to find_section_list.
285 (setup_section): Likewise.
286 (copy_section): Likewise.
287 (copy_main): Likewise.
288 * doc/binutils: Document the new behaviour.
289 * NEWS: Mention the new feature
291 2013-02-14 Nick Clifton <nickc@redhat.com>
294 * objcopy.c (copy_object): Provide a helpful warning message when
295 adding a gnu_debuglink section to an object which already contains
298 2013-02-07 Nick Clifton <nickc@redhat.com>
300 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
301 corrupt archive uses long names but has no long name table.
303 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
304 Andrew Jenner <andrew@codesourcery.com>
306 Based on patches from Altera Corporation.
308 * readelf.c: Include elf/nios2.h.
309 (dump_relocations): Add case for EM_ALTERA_NIOS2.
310 (get_nios2_dynamic_type): New.
311 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
312 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
313 (is_16bit_abs_reloc): Likewise.
314 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
315 * NEWS: Note Altera Nios II support.
316 * MAINTAINERS: Add Nios II maintainers.
318 2013-01-29 Xi Wang <xi.wang@gmail.com>
320 * readelf.c (process_version_sections): Fix overflow checks to
321 avoid undefined behaviour.
323 2013-01-28 Doug Evans <dje@google.com>
325 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
327 2013-01-28 Robert Schiele <rschiele@gmail.com>
329 * objcopy.c (parse_flags): Add merge and strings section flags.
331 2013-01-25 Cary Coutant <ccoutant@google.com>
333 * dwarf.c (display_loc_list): Update offset for each line
335 (print_addr_index): New function.
336 (display_loc_list_dwo): Update offset for each line printed.
337 Fix problems displaying loclists in .dwo files. Add support
339 (display_debug_loc): Remove custom header for .dwo files.
340 (display_debug_addr): Adjust formatting.
342 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
344 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
346 2013-01-24 Doug Evans <dje@google.com>
348 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
350 2013-01-24 Nick Clifton <nickc@redhat.com>
352 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
354 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
356 * readelf.c: Add strings for NT_S390_LAST_BREAK and
359 2013-01-18 Nick Clifton <nickc@redhat.com>
362 * addr2line.c (translate_addresses): When pretty printing, print
363 unknown function names on the same line as unknown symbol names.
365 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
367 * objdump.c (dump_target_specific): Fix NULL pointer test.
369 2013-01-16 Alan Modra <amodra@gmail.com>
372 * stabs.c (parse_stab_members): Always set physname here to avoid
374 (parse_stab_argtypes): ..and don't duplicate the init here.
376 2013-01-10 Will Newton <will.newton@imgtec.com>
378 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
379 (dump_relocations): Add EM_METAG.
380 (get_machine_name): Correct case for Meta.
381 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
382 (is_none_reloc): Add support for Meta NONE reloc.
384 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
386 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
389 2013-01-07 Roland McGrath <mcgrathr@google.com>
391 * objcopy.c (deterministic): Make int rather than bfd_boolean,
393 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
394 (default_deterministic): New function.
395 (strip_main, copy_main): Handle -U. Call default_deterministic.
396 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
397 the default based on DEFAULT_AR_DETERMINISTIC.
398 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
399 configure options on -D.
401 * ar.c (default_deterministic): Comment fix.
403 2013-01-07 Patrice Dumas <pertusus@free.fr>
405 * doc/binutils.texi: Fix ordering of top level nodes.
406 Replace erroneous uses of @itemx with @item.
408 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
410 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
412 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
414 * MAINTAINERS: Add myself as AArch64 co-maintainer.
416 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
418 * version.c (print_version): Update copyright year to 2013.
420 For older changes see ChangeLog-2012
422 Copyright (C) 2013 Free Software Foundation, Inc.
424 Copying and distribution of this file, with or without modification,
425 are permitted in any medium without royalty provided the copyright
426 notice and this notice are preserved.
432 version-control: never