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