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