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