1 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
3 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
6 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
9 * winduni.c (codepages[]): Use UTF-16LE.
10 (wind_MultiByteToWideChar): Likewise.
11 (wind_WideCharToMultiByte): Likewise.
13 2013-03-27 Alan Modra <amodra@gmail.com>
16 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
18 2013-03-26 Nick Clifton <nickc@redhat.com>
21 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
22 space before calling byte_get.
23 (SAFE_BYTE_GET_AND_INC): New macro.
24 (SAFE_SIGNED_BYTE_GET): New macro.
25 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
26 (SAFE_BYTE_GET64): New macro.
27 (process_extened_line_op): Use new macros. Use strnlen when
29 (fetch_indirect_string): Likewise.
30 (get_FORM_name): Likewise.
31 (decode_location_expression): Likewise.
32 (read_and_display_attr_value): Likewise.
33 (process_debug_info): Likewise.
34 (display_debug_lines_raw): Likewise.
35 (display_debug_lines_decoded): Likewise.
36 (display_debug_pubnames): Likewise.
37 (display_debug_macinfo): Likewise.
38 (get_line_filename_and_dirname): Likewise.
39 (display_debug_macro): Likewise.
40 (display_loc_list): Likewise.
41 (display_loc_list_dwo): Likewise.
42 (display_debug_aranges): Likewise.
43 (display_debug_ranges): Likewise.
44 (frame_display_row): Likewise.
45 (display_debug_frames): Likewise.
47 2013-03-25 Nick Clifton <nickc@redhat.com>
50 * dwarf.c (read_leb128): Add END parameter. Do not read at or
52 (read_sleb128): Add END parameter.
53 (read_uleb128): New function.
54 (process_extended_line_op): Pass END to leb128 functions.
55 (process_abbrev_section): Likewise.
56 (decode_location_expression): Likewise.
57 (read_and_display_attr_value): Likewise.
58 (read_and_display_attr): Likewise.
59 (process_debug_info): Likewise.
60 (display_debug_lines_raw): Likewise.
61 (display_debug_lines_decoded): Likewise.
62 (display_debug_macinfo): Likewise.
63 (get_line_filename_and_dirname): Likewise.
64 (display_debug_macro): Likewise.
65 (display_loc_list_dwo): Likewise.
66 (display_debug_ranges): Likewise.
67 * dwarf.h (read_leb128): Update prototype.
68 * readelf.c (read_uleb128): Add END parameter.
69 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
70 (decode_tic6x_unwind_bytecode): Likewise.
71 (display_tag_value): New function.
72 (display_arm_attribute): Add END parameter. Pass END to
73 read_uleb128. Use display_tag_value.
74 (display_gnu_attribute): Likewise.
75 (display_power_gnu_attribute): Likewise.
76 (display_sparc_gnu_attribute): Likewise.
77 (display_mips_gnu_attribute): Likewise.
78 (display_tic6x_attribute): Likewise.
79 (process_attributes): Likewise.
80 (display_raw_attribute): New function.
82 2013-03-22 Nick Clifton <nickc@redhat.com>
85 * dwarf.c (display_debug_ranges): Add checks for reading beyond
86 the end of the section.
89 * readelf.c (apply_relocations): Catch relocations with negative
92 2013-03-15 Nick Clifton <nickc@redhat.com>
94 * addr2line.c (slurp_symtab): If canonicalization reveals that
95 there were no ordinary symbols, try loading the dynamic symbols
98 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
100 * MAINTAINERS: Add myself as Meta maintainer.
102 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
104 * readelf.c (get_note_type): Add NT_S390_TDB.
106 2013-03-07 Alan Modra <amodra@gmail.com>
108 * strings.c (get_char): Dispense with buf[]. Instead shift
109 chars into big-endian value and byte-swap later if
110 little-endian. Don't EOF check value read from object.
112 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
114 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
115 * configure: Regenerate.
117 2013-03-04 Nick Clifton <nickc@redhat.com>
119 * elfcomm.c (error): Flush stdout before emitting the error
123 2013-03-01 Cary Coutant <ccoutant@google.com>
125 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
126 (shndx_pool_used): Move to top of file.
127 (struct cu_tu_set): New type.
128 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
129 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
130 (find_cu_tu_set_v2): New function.
131 (read_and_display_attr_value): Add "this_set" parameter.
132 (read_and_display_attr): Likewise.
133 (process_debug_info): Track base offsets for DWARF package files.
134 (load_debug_info): Call load_cu_tu_indexes.
135 (get_DW_SECT_short_name): New function.
136 (process_cu_tu_index): Add support for version 2 DWARF package files.
138 2013-02-27 Alan Modra <amodra@gmail.com>
141 * readelf.c (offsetof): Define.
142 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
143 (process_corefile_note_segment): Allow notes without name or
144 desc. Combine out-of-range checks. Disallow "negative"
147 2013-02-26 Nick Clifton <nickc@redhat.com>
150 * readelf.c (process_corefile_note_segment): Prevent attempts to
151 read beyond the end of the note buffer.
153 2013-02-15 Kai Tietz <ktietz@redhat.com>
155 * objcopy.c (copy_main): Initialize context variable.
157 2013-02-15 Nick Clifton <nickc@redhat.com>
160 * ar.c (open_inarch): Fail on attempts to convert a normal archive
161 to a thin archive or vice versa.
162 * elfcomm.c (make_qualified_name): Handle corrupted thin
164 * readelf.c (process_archive): Likewise.
165 * doc/binutils.texi: Clarify documentation describing thin
168 2013-02-15 Nick Clifton <nickc@redhat.com>
171 * objcopy.c (enum change_action): Delete.
172 (struct section_list): Delete remove, copy, change_vma, change_lma
173 and set_flags fields. Add context field.
174 (find_section_list): Add a context parameter. Add support for
175 wildcard characters in section names.
176 (is_strip_section): Check for sections being both copied and
178 (copy_object): Pass context to find_section_list.
179 (setup_section): Likewise.
180 (copy_section): Likewise.
181 (copy_main): Likewise.
182 * doc/binutils: Document the new behaviour.
183 * NEWS: Mention the new feature
185 2013-02-14 Nick Clifton <nickc@redhat.com>
188 * objcopy.c (copy_object): Provide a helpful warning message when
189 adding a gnu_debuglink section to an object which already contains
192 2013-02-07 Nick Clifton <nickc@redhat.com>
194 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
195 corrupt archive uses long names but has no long name table.
197 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
198 Andrew Jenner <andrew@codesourcery.com>
200 Based on patches from Altera Corporation.
202 * readelf.c: Include elf/nios2.h.
203 (dump_relocations): Add case for EM_ALTERA_NIOS2.
204 (get_nios2_dynamic_type): New.
205 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
206 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
207 (is_16bit_abs_reloc): Likewise.
208 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
209 * NEWS: Note Altera Nios II support.
210 * MAINTAINERS: Add Nios II maintainers.
212 2013-01-29 Xi Wang <xi.wang@gmail.com>
214 * readelf.c (process_version_sections): Fix overflow checks to
215 avoid undefined behaviour.
217 2013-01-28 Doug Evans <dje@google.com>
219 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
221 2013-01-28 Robert Schiele <rschiele@gmail.com>
223 * objcopy.c (parse_flags): Add merge and strings section flags.
225 2013-01-25 Cary Coutant <ccoutant@google.com>
227 * dwarf.c (display_loc_list): Update offset for each line
229 (print_addr_index): New function.
230 (display_loc_list_dwo): Update offset for each line printed.
231 Fix problems displaying loclists in .dwo files. Add support
233 (display_debug_loc): Remove custom header for .dwo files.
234 (display_debug_addr): Adjust formatting.
236 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
238 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
240 2013-01-24 Doug Evans <dje@google.com>
242 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
244 2013-01-24 Nick Clifton <nickc@redhat.com>
246 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
248 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
250 * readelf.c: Add strings for NT_S390_LAST_BREAK and
253 2013-01-18 Nick Clifton <nickc@redhat.com>
256 * addr2line.c (translate_addresses): When pretty printing, print
257 unknown function names on the same line as unknown symbol names.
259 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
261 * objdump.c (dump_target_specific): Fix NULL pointer test.
263 2013-01-16 Alan Modra <amodra@gmail.com>
266 * stabs.c (parse_stab_members): Always set physname here to avoid
268 (parse_stab_argtypes): ..and don't duplicate the init here.
270 2013-01-10 Will Newton <will.newton@imgtec.com>
272 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
273 (dump_relocations): Add EM_METAG.
274 (get_machine_name): Correct case for Meta.
275 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
276 (is_none_reloc): Add support for Meta NONE reloc.
278 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
280 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
283 2013-01-07 Roland McGrath <mcgrathr@google.com>
285 * objcopy.c (deterministic): Make int rather than bfd_boolean,
287 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
288 (default_deterministic): New function.
289 (strip_main, copy_main): Handle -U. Call default_deterministic.
290 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
291 the default based on DEFAULT_AR_DETERMINISTIC.
292 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
293 configure options on -D.
295 * ar.c (default_deterministic): Comment fix.
297 2013-01-07 Patrice Dumas <pertusus@free.fr>
299 * doc/binutils.texi: Fix ordering of top level nodes.
300 Replace erroneous uses of @itemx with @item.
302 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
304 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
306 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
308 * MAINTAINERS: Add myself as AArch64 co-maintainer.
310 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
312 * version.c (print_version): Update copyright year to 2013.
314 For older changes see ChangeLog-2012
316 Copyright (C) 2013 Free Software Foundation, Inc.
318 Copying and distribution of this file, with or without modification,
319 are permitted in any medium without royalty provided the copyright
320 notice and this notice are preserved.
326 version-control: never