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