1 2013-04-26 Ian Lance Taylor <iant@google.com>
3 * MAINTAINERS: Add myself and Cary as gold maintainers.
5 2013-04-08 Tom Tromey <tromey@redhat.com>
7 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
9 2013-04-08 Tom Tromey <tromey@redhat.com>
11 * dwarf-mode.el: Bump version number.
12 (dwarf-mode): Remove autoload.
13 (dwarf-die-reference): Relax regexp.
15 2013-04-05 Alan Modra <amodra@gmail.com>
18 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
19 * dwarf.c (strnlen): Provide fallback decl.
20 * config.in: Regnerate.
21 * configure: Regenerate.
23 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
25 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
28 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
31 * winduni.c (codepages[]): Use UTF-16LE.
32 (wind_MultiByteToWideChar): Likewise.
33 (wind_WideCharToMultiByte): Likewise.
35 2013-03-27 Alan Modra <amodra@gmail.com>
38 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
40 2013-03-26 Nick Clifton <nickc@redhat.com>
43 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
44 space before calling byte_get.
45 (SAFE_BYTE_GET_AND_INC): New macro.
46 (SAFE_SIGNED_BYTE_GET): New macro.
47 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
48 (SAFE_BYTE_GET64): New macro.
49 (process_extened_line_op): Use new macros. Use strnlen when
51 (fetch_indirect_string): Likewise.
52 (get_FORM_name): Likewise.
53 (decode_location_expression): Likewise.
54 (read_and_display_attr_value): Likewise.
55 (process_debug_info): Likewise.
56 (display_debug_lines_raw): Likewise.
57 (display_debug_lines_decoded): Likewise.
58 (display_debug_pubnames): Likewise.
59 (display_debug_macinfo): Likewise.
60 (get_line_filename_and_dirname): Likewise.
61 (display_debug_macro): Likewise.
62 (display_loc_list): Likewise.
63 (display_loc_list_dwo): Likewise.
64 (display_debug_aranges): Likewise.
65 (display_debug_ranges): Likewise.
66 (frame_display_row): Likewise.
67 (display_debug_frames): Likewise.
69 2013-03-25 Nick Clifton <nickc@redhat.com>
72 * dwarf.c (read_leb128): Add END parameter. Do not read at or
74 (read_sleb128): Add END parameter.
75 (read_uleb128): New function.
76 (process_extended_line_op): Pass END to leb128 functions.
77 (process_abbrev_section): Likewise.
78 (decode_location_expression): Likewise.
79 (read_and_display_attr_value): Likewise.
80 (read_and_display_attr): Likewise.
81 (process_debug_info): Likewise.
82 (display_debug_lines_raw): Likewise.
83 (display_debug_lines_decoded): Likewise.
84 (display_debug_macinfo): Likewise.
85 (get_line_filename_and_dirname): Likewise.
86 (display_debug_macro): Likewise.
87 (display_loc_list_dwo): Likewise.
88 (display_debug_ranges): Likewise.
89 * dwarf.h (read_leb128): Update prototype.
90 * readelf.c (read_uleb128): Add END parameter.
91 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
92 (decode_tic6x_unwind_bytecode): Likewise.
93 (display_tag_value): New function.
94 (display_arm_attribute): Add END parameter. Pass END to
95 read_uleb128. Use display_tag_value.
96 (display_gnu_attribute): Likewise.
97 (display_power_gnu_attribute): Likewise.
98 (display_sparc_gnu_attribute): Likewise.
99 (display_mips_gnu_attribute): Likewise.
100 (display_tic6x_attribute): Likewise.
101 (process_attributes): Likewise.
102 (display_raw_attribute): New function.
104 2013-03-22 Nick Clifton <nickc@redhat.com>
107 * dwarf.c (display_debug_ranges): Add checks for reading beyond
108 the end of the section.
111 * readelf.c (apply_relocations): Catch relocations with negative
114 2013-03-15 Nick Clifton <nickc@redhat.com>
116 * addr2line.c (slurp_symtab): If canonicalization reveals that
117 there were no ordinary symbols, try loading the dynamic symbols
120 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
122 * MAINTAINERS: Add myself as Meta maintainer.
124 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
126 * readelf.c (get_note_type): Add NT_S390_TDB.
128 2013-03-07 Alan Modra <amodra@gmail.com>
130 * strings.c (get_char): Dispense with buf[]. Instead shift
131 chars into big-endian value and byte-swap later if
132 little-endian. Don't EOF check value read from object.
134 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
136 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
137 * configure: Regenerate.
139 2013-03-04 Nick Clifton <nickc@redhat.com>
141 * elfcomm.c (error): Flush stdout before emitting the error
145 2013-03-01 Cary Coutant <ccoutant@google.com>
147 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
148 (shndx_pool_used): Move to top of file.
149 (struct cu_tu_set): New type.
150 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
151 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
152 (find_cu_tu_set_v2): New function.
153 (read_and_display_attr_value): Add "this_set" parameter.
154 (read_and_display_attr): Likewise.
155 (process_debug_info): Track base offsets for DWARF package files.
156 (load_debug_info): Call load_cu_tu_indexes.
157 (get_DW_SECT_short_name): New function.
158 (process_cu_tu_index): Add support for version 2 DWARF package files.
160 2013-02-27 Alan Modra <amodra@gmail.com>
163 * readelf.c (offsetof): Define.
164 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
165 (process_corefile_note_segment): Allow notes without name or
166 desc. Combine out-of-range checks. Disallow "negative"
169 2013-02-26 Nick Clifton <nickc@redhat.com>
172 * readelf.c (process_corefile_note_segment): Prevent attempts to
173 read beyond the end of the note buffer.
175 2013-02-15 Kai Tietz <ktietz@redhat.com>
177 * objcopy.c (copy_main): Initialize context variable.
179 2013-02-15 Nick Clifton <nickc@redhat.com>
182 * ar.c (open_inarch): Fail on attempts to convert a normal archive
183 to a thin archive or vice versa.
184 * elfcomm.c (make_qualified_name): Handle corrupted thin
186 * readelf.c (process_archive): Likewise.
187 * doc/binutils.texi: Clarify documentation describing thin
190 2013-02-15 Nick Clifton <nickc@redhat.com>
193 * objcopy.c (enum change_action): Delete.
194 (struct section_list): Delete remove, copy, change_vma, change_lma
195 and set_flags fields. Add context field.
196 (find_section_list): Add a context parameter. Add support for
197 wildcard characters in section names.
198 (is_strip_section): Check for sections being both copied and
200 (copy_object): Pass context to find_section_list.
201 (setup_section): Likewise.
202 (copy_section): Likewise.
203 (copy_main): Likewise.
204 * doc/binutils: Document the new behaviour.
205 * NEWS: Mention the new feature
207 2013-02-14 Nick Clifton <nickc@redhat.com>
210 * objcopy.c (copy_object): Provide a helpful warning message when
211 adding a gnu_debuglink section to an object which already contains
214 2013-02-07 Nick Clifton <nickc@redhat.com>
216 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
217 corrupt archive uses long names but has no long name table.
219 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
220 Andrew Jenner <andrew@codesourcery.com>
222 Based on patches from Altera Corporation.
224 * readelf.c: Include elf/nios2.h.
225 (dump_relocations): Add case for EM_ALTERA_NIOS2.
226 (get_nios2_dynamic_type): New.
227 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
228 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
229 (is_16bit_abs_reloc): Likewise.
230 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
231 * NEWS: Note Altera Nios II support.
232 * MAINTAINERS: Add Nios II maintainers.
234 2013-01-29 Xi Wang <xi.wang@gmail.com>
236 * readelf.c (process_version_sections): Fix overflow checks to
237 avoid undefined behaviour.
239 2013-01-28 Doug Evans <dje@google.com>
241 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
243 2013-01-28 Robert Schiele <rschiele@gmail.com>
245 * objcopy.c (parse_flags): Add merge and strings section flags.
247 2013-01-25 Cary Coutant <ccoutant@google.com>
249 * dwarf.c (display_loc_list): Update offset for each line
251 (print_addr_index): New function.
252 (display_loc_list_dwo): Update offset for each line printed.
253 Fix problems displaying loclists in .dwo files. Add support
255 (display_debug_loc): Remove custom header for .dwo files.
256 (display_debug_addr): Adjust formatting.
258 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
260 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
262 2013-01-24 Doug Evans <dje@google.com>
264 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
266 2013-01-24 Nick Clifton <nickc@redhat.com>
268 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
270 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
272 * readelf.c: Add strings for NT_S390_LAST_BREAK and
275 2013-01-18 Nick Clifton <nickc@redhat.com>
278 * addr2line.c (translate_addresses): When pretty printing, print
279 unknown function names on the same line as unknown symbol names.
281 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
283 * objdump.c (dump_target_specific): Fix NULL pointer test.
285 2013-01-16 Alan Modra <amodra@gmail.com>
288 * stabs.c (parse_stab_members): Always set physname here to avoid
290 (parse_stab_argtypes): ..and don't duplicate the init here.
292 2013-01-10 Will Newton <will.newton@imgtec.com>
294 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
295 (dump_relocations): Add EM_METAG.
296 (get_machine_name): Correct case for Meta.
297 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
298 (is_none_reloc): Add support for Meta NONE reloc.
300 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
302 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
305 2013-01-07 Roland McGrath <mcgrathr@google.com>
307 * objcopy.c (deterministic): Make int rather than bfd_boolean,
309 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
310 (default_deterministic): New function.
311 (strip_main, copy_main): Handle -U. Call default_deterministic.
312 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
313 the default based on DEFAULT_AR_DETERMINISTIC.
314 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
315 configure options on -D.
317 * ar.c (default_deterministic): Comment fix.
319 2013-01-07 Patrice Dumas <pertusus@free.fr>
321 * doc/binutils.texi: Fix ordering of top level nodes.
322 Replace erroneous uses of @itemx with @item.
324 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
326 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
328 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
330 * MAINTAINERS: Add myself as AArch64 co-maintainer.
332 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
334 * version.c (print_version): Update copyright year to 2013.
336 For older changes see ChangeLog-2012
338 Copyright (C) 2013 Free Software Foundation, Inc.
340 Copying and distribution of this file, with or without modification,
341 are permitted in any medium without royalty provided the copyright
342 notice and this notice are preserved.
348 version-control: never