binutils/ChangeLog:
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
b015e599
AP
12013-05-09 Andrew Pinski <apinski@cavium.com>
2
3 * doc/binutils.texi: Document -Mvirt disassembler option.
4
6945071a
NC
52013-05-02 Nick Clifton <nickc@redhat.com>
6
7 * readelf.c: Add support for MSP430X architecture.
8
4925cdd7
NC
92013-05-02 Nick Clifton <nickc@redhat.com>
10
11 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
12 sections as if they were fragmentary .debug_line sections.
13 (display_debug_lines_decoded): Likewise.
14
b40bf0a2
NC
152013-04-29 Nick Clifton <nickc@redhat.com>
16
17 * dwarf.c (read_debug_line_header): New function. Reads in a
18 header in a .debug_line section.
19 (display_debug_lines_raw): Use new function. Handle fragmentary
20 .debug_line sections.
21 (display_debug_lines_decoded): Likewise.
22 * readelf.c (process_section_headers): Handle fragmenatry
23 .debug_line sections.
24 (display_debug_section): Likewise.
25
ee441d9a
ILT
262013-04-26 Ian Lance Taylor <iant@google.com>
27
28 * MAINTAINERS: Add myself and Cary as gold maintainers.
29
4337774f
TT
302013-04-08 Tom Tromey <tromey@redhat.com>
31
32 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
33
2e97048a
TT
342013-04-08 Tom Tromey <tromey@redhat.com>
35
36 * dwarf-mode.el: Bump version number.
37 (dwarf-mode): Remove autoload.
38 (dwarf-die-reference): Relax regexp.
39
952781e8
AM
402013-04-05 Alan Modra <amodra@gmail.com>
41
42 PR binutils/15324
43 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
44 * dwarf.c (strnlen): Provide fallback decl.
45 * config.in: Regnerate.
46 * configure: Regenerate.
47
f048b142
L
482013-03-29 H.J. Lu <hongjiu.lu@intel.com>
49
50 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
51 SAFE_BYTE_GET64.
52
7e93ea4b
NC
532013-03-27 Phil Krylov <phil.krylov@gmail.com>
54
55 PR binutils/13409
56 * winduni.c (codepages[]): Use UTF-16LE.
57 (wind_MultiByteToWideChar): Likewise.
58 (wind_WideCharToMultiByte): Likewise.
59
2bdc3eca
AM
602013-03-27 Alan Modra <amodra@gmail.com>
61
62 PR binutils/15206
63 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
64
0c588247
NC
652013-03-26 Nick Clifton <nickc@redhat.com>
66
f4155c00 67 PR binutils/15206
0c588247
NC
68 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
69 space before calling byte_get.
70 (SAFE_BYTE_GET_AND_INC): New macro.
71 (SAFE_SIGNED_BYTE_GET): New macro.
72 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
73 (SAFE_BYTE_GET64): New macro.
74 (process_extened_line_op): Use new macros. Use strnlen when
75 appropriate.
76 (fetch_indirect_string): Likewise.
77 (get_FORM_name): Likewise.
78 (decode_location_expression): Likewise.
79 (read_and_display_attr_value): Likewise.
80 (process_debug_info): Likewise.
81 (display_debug_lines_raw): Likewise.
82 (display_debug_lines_decoded): Likewise.
83 (display_debug_pubnames): Likewise.
84 (display_debug_macinfo): Likewise.
85 (get_line_filename_and_dirname): Likewise.
86 (display_debug_macro): Likewise.
87 (display_loc_list): Likewise.
88 (display_loc_list_dwo): Likewise.
89 (display_debug_aranges): Likewise.
90 (display_debug_ranges): Likewise.
91 (frame_display_row): Likewise.
92 (display_debug_frames): Likewise.
93
f6f0e17b
NC
942013-03-25 Nick Clifton <nickc@redhat.com>
95
96 PR binutils/15202
97 * dwarf.c (read_leb128): Add END parameter. Do not read at or
98 beyond end.
99 (read_sleb128): Add END parameter.
100 (read_uleb128): New function.
101 (process_extended_line_op): Pass END to leb128 functions.
102 (process_abbrev_section): Likewise.
103 (decode_location_expression): Likewise.
104 (read_and_display_attr_value): Likewise.
105 (read_and_display_attr): Likewise.
106 (process_debug_info): Likewise.
107 (display_debug_lines_raw): Likewise.
108 (display_debug_lines_decoded): Likewise.
109 (display_debug_macinfo): Likewise.
110 (get_line_filename_and_dirname): Likewise.
111 (display_debug_macro): Likewise.
112 (display_loc_list_dwo): Likewise.
113 (display_debug_ranges): Likewise.
114 * dwarf.h (read_leb128): Update prototype.
115 * readelf.c (read_uleb128): Add END parameter.
116 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
117 (decode_tic6x_unwind_bytecode): Likewise.
118 (display_tag_value): New function.
119 (display_arm_attribute): Add END parameter. Pass END to
120 read_uleb128. Use display_tag_value.
121 (display_gnu_attribute): Likewise.
122 (display_power_gnu_attribute): Likewise.
123 (display_sparc_gnu_attribute): Likewise.
124 (display_mips_gnu_attribute): Likewise.
125 (display_tic6x_attribute): Likewise.
126 (process_attributes): Likewise.
127 (display_raw_attribute): New function.
128
c8da6823
NC
1292013-03-22 Nick Clifton <nickc@redhat.com>
130
c842b54b
NC
131 PR binutils/15201
132 * dwarf.c (display_debug_ranges): Add checks for reading beyond
133 the end of the section.
134
c8da6823
NC
135 PR binutils/15157
136 * readelf.c (apply_relocations): Catch relocations with negative
137 offsets.
138
0d0fb1ba
NC
1392013-03-15 Nick Clifton <nickc@redhat.com>
140
141 * addr2line.c (slurp_symtab): If canonicalization reveals that
142 there were no ordinary symbols, try loading the dynamic symbols
143 instead.
144
d5c7e0e9
NC
1452013-03-14 Markos Chandras <markos.chandras@imgtec.com>
146
147 * MAINTAINERS: Add myself as Meta maintainer.
148
abb3f6cc
NC
1492013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
150
151 * readelf.c (get_note_type): Add NT_S390_TDB.
152
c54e2ec1
AM
1532013-03-07 Alan Modra <amodra@gmail.com>
154
155 * strings.c (get_char): Dispense with buf[]. Instead shift
156 chars into big-endian value and byte-swap later if
157 little-endian. Don't EOF check value read from object.
158
ee36d918
CV
1592013-03-05 Corinna Vinschen <vinschen@redhat.com>
160
161 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
162 * configure: Regenerate.
163
fafd911d
NC
1642013-03-04 Nick Clifton <nickc@redhat.com>
165
166 * elfcomm.c (error): Flush stdout before emitting the error
167 message.
168 (warn): Likewise.
169
341f9135
CC
1702013-03-01 Cary Coutant <ccoutant@google.com>
171
172 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
173 (shndx_pool_used): Move to top of file.
174 (struct cu_tu_set): New type.
175 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
176 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
177 (find_cu_tu_set_v2): New function.
178 (read_and_display_attr_value): Add "this_set" parameter.
179 (read_and_display_attr): Likewise.
180 (process_debug_info): Track base offsets for DWARF package files.
181 (load_debug_info): Call load_cu_tu_indexes.
182 (get_DW_SECT_short_name): New function.
183 (process_cu_tu_index): Add support for version 2 DWARF package files.
184
15b42fb0
AM
1852013-02-27 Alan Modra <amodra@gmail.com>
186
187 PR binutils/15191
188 * readelf.c (offsetof): Define.
189 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
190 (process_corefile_note_segment): Allow notes without name or
191 desc. Combine out-of-range checks. Disallow "negative"
192 notesz or descsz.
193
9dd3a467
NC
1942013-02-26 Nick Clifton <nickc@redhat.com>
195
196 PR binutils/15191
197 * readelf.c (process_corefile_note_segment): Prevent attempts to
198 read beyond the end of the note buffer.
199
76d8cf45
KT
2002013-02-15 Kai Tietz <ktietz@redhat.com>
201
202 * objcopy.c (copy_main): Initialize context variable.
203
a043396b
NC
2042013-02-15 Nick Clifton <nickc@redhat.com>
205
206 PR binutils/15140
207 * ar.c (open_inarch): Fail on attempts to convert a normal archive
208 to a thin archive or vice versa.
209 * elfcomm.c (make_qualified_name): Handle corrupted thin
210 archives.
211 * readelf.c (process_archive): Likewise.
212 * doc/binutils.texi: Clarify documentation describing thin
213 archives.
214
2e62b721
NC
2152013-02-15 Nick Clifton <nickc@redhat.com>
216
217 PR binutils/15033
218 * objcopy.c (enum change_action): Delete.
219 (struct section_list): Delete remove, copy, change_vma, change_lma
220 and set_flags fields. Add context field.
221 (find_section_list): Add a context parameter. Add support for
222 wildcard characters in section names.
223 (is_strip_section): Check for sections being both copied and
224 removed.
225 (copy_object): Pass context to find_section_list.
226 (setup_section): Likewise.
227 (copy_section): Likewise.
228 (copy_main): Likewise.
229 * doc/binutils: Document the new behaviour.
230 * NEWS: Mention the new feature
231
d99b05a3
NC
2322013-02-14 Nick Clifton <nickc@redhat.com>
233
234 PR binutils/15125
235 * objcopy.c (copy_object): Provide a helpful warning message when
236 adding a gnu_debuglink section to an object which already contains
237 one.
238
83ee86b1
NC
2392013-02-07 Nick Clifton <nickc@redhat.com>
240
241 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
242 corrupt archive uses long names but has no long name table.
243
36591ba1
SL
2442013-02-06 Sandra Loosemore <sandra@codesourcery.com>
245 Andrew Jenner <andrew@codesourcery.com>
246
247 Based on patches from Altera Corporation.
248
249 * readelf.c: Include elf/nios2.h.
250 (dump_relocations): Add case for EM_ALTERA_NIOS2.
251 (get_nios2_dynamic_type): New.
252 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
253 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
254 (is_16bit_abs_reloc): Likewise.
255 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
256 * NEWS: Note Altera Nios II support.
257 * MAINTAINERS: Add Nios II maintainers.
258
7e26601c
NC
2592013-01-29 Xi Wang <xi.wang@gmail.com>
260
261 * readelf.c (process_version_sections): Fix overflow checks to
262 avoid undefined behaviour.
263
aa170720
DE
2642013-01-28 Doug Evans <dje@google.com>
265
266 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
267
5dddde8e
AM
2682013-01-28 Robert Schiele <rschiele@gmail.com>
269
270 * objcopy.c (parse_flags): Add merge and strings section flags.
271
fab128ef
CC
2722013-01-25 Cary Coutant <ccoutant@google.com>
273
15b42fb0
AM
274 * dwarf.c (display_loc_list): Update offset for each line
275 printed.
276 (print_addr_index): New function.
277 (display_loc_list_dwo): Update offset for each line printed.
278 Fix problems displaying loclists in .dwo files. Add support
279 for type 4 entries.
280 (display_debug_loc): Remove custom header for .dwo files.
281 (display_debug_addr): Adjust formatting.
fab128ef 282
9b8bf321
NC
2832013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
284
285 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
286
90f9a987
DE
2872013-01-24 Doug Evans <dje@google.com>
288
289 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
290
78c8d46c
NC
2912013-01-24 Nick Clifton <nickc@redhat.com>
292
293 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
294
a367d729
AK
2952013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
296
297 * readelf.c: Add strings for NT_S390_LAST_BREAK and
298 NT_S390_SYSTEM_CALL.
299
a477bfd1
NC
3002013-01-18 Nick Clifton <nickc@redhat.com>
301
302 PR binutils/15026
303 * addr2line.c (translate_addresses): When pretty printing, print
304 unknown function names on the same line as unknown symbol names.
305
c32d6f7b
AM
3062013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
307
308 * objdump.c (dump_target_specific): Fix NULL pointer test.
309
cb566e3a
AM
3102013-01-16 Alan Modra <amodra@gmail.com>
311
312 PR binutils/15018
313 * stabs.c (parse_stab_members): Always set physname here to avoid
314 gcc warning..
315 (parse_stab_argtypes): ..and don't duplicate the init here.
316
a3c62988
NC
3172013-01-10 Will Newton <will.newton@imgtec.com>
318
319 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
320 (dump_relocations): Add EM_METAG.
321 (get_machine_name): Correct case for Meta.
322 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
323 (is_none_reloc): Add support for Meta NONE reloc.
324
652451f8
YZ
3252013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
326
327 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
328 and NT_ARM_HW_WATCH.
329
955d0b3b
RM
3302013-01-07 Roland McGrath <mcgrathr@google.com>
331
332 * objcopy.c (deterministic): Make int rather than bfd_boolean,
333 initialize to -1.
334 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
335 (default_deterministic): New function.
336 (strip_main, copy_main): Handle -U. Call default_deterministic.
337 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
338 the default based on DEFAULT_AR_DETERMINISTIC.
339 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
340 configure options on -D.
341
342 * ar.c (default_deterministic): Comment fix.
343
7ca01ed9
NC
3442013-01-07 Patrice Dumas <pertusus@free.fr>
345
346 * doc/binutils.texi: Fix ordering of top level nodes.
347 Replace erroneous uses of @itemx with @item.
348
574b25e8
AS
3492013-01-04 Andreas Schwab <schwab@linux-m68k.org>
350
351 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
352
5b2ab150
MS
3532013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
354
355 * MAINTAINERS: Add myself as AArch64 co-maintainer.
356
62658407
L
3572013-01-02 H.J. Lu <hongjiu.lu@intel.com>
358
359 * version.c (print_version): Update copyright year to 2013.
360
4e5f3f9d 361For older changes see ChangeLog-2012
252b5132 362\f
4e5f3f9d 363Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
364
365Copying and distribution of this file, with or without modification,
366are permitted in any medium without royalty provided the copyright
367notice and this notice are preserved.
368
252b5132
RH
369Local Variables:
370mode: change-log
371left-margin: 8
372fill-column: 74
373version-control: never
374End:
This page took 0.574267 seconds and 4 git commands to generate.