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