* dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2013-09-10 Nick Clifton <nickc@redhat.com>
2
3 * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when
4 parsing 64-bit frames.
5
6 2013-08-27 Nick Clifton <nickc@redhat.com>
7
8 PR binutils/15796
9 * ar.c (map_over_members): Correctly handle multiple same-name
10 entries on the command line and in the archive.
11
12 2013-08-23 H.J. Lu <hongjiu.lu@intel.com>
13
14 * doc/binutils.texi: Remove the extra space.
15
16 2013-08-23 Mikael Pettersson <mikpe@it.uu.se>
17
18 PR binutils/15779
19 * doc/binutils.texi (ranlib -D): Correct description.
20 PR binutils/15777
21 (nm --special-syms): Fix typo.
22
23 2013-08-23 Nick Clifton <nickc@redhat.com>
24
25 PR binutils/15798
26 * doc/binutils.texi (ar cmdline): Update description of 'q'
27 command.
28
29 PR binutils/14136
30 (nm): Add description of 'I' symbol type.
31
32 2013-08-23 Yuri Chornoivan <yurchor@ukr.net>
33
34 PR binutils/15834
35 * od-xcoff.c: Fix typos.
36
37 2013-08-19 Tristan Gingold <gingold@adacore.com>
38
39 * nm.c (print_size_symbols): Directly get symbol size.
40
41 2013-08-12 Andreas Schwab <schwab@suse.de>
42
43 PR binutils/15818
44 * objdump.c (disassemble_section): Return early if nothing from
45 this section needs to be disassembled.
46
47 2013-08-09 Nick Clifton <nickc@redhat.com>
48
49 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
50
51 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
52 Alexander Ivchenko <alexander.ivchenko@intel.com>
53 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
54 Sergey Lega <sergey.s.lega@intel.com>
55 Anna Tikhonova <anna.tikhonova@intel.com>
56 Ilya Tocar <ilya.tocar@intel.com>
57 Andrey Turetskiy <andrey.turetskiy@intel.com>
58 Ilya Verbin <ilya.verbin@intel.com>
59 Kirill Yukhin <kirill.yukhin@intel.com>
60 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
61
62 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
63 numeration in comments.
64 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
65 dwarf table.
66
67 2013-07-19 Nick Clifton <nickc@redhat.com>
68
69 PR binutils/15745
70 * readelf.c (get_unwind_section_word): Whilst searching for a
71 reloc section associated with an unwind section, check the type as
72 well as the section number.
73
74 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
75
76 * ar.c (usage): Fix C conformance issue.
77
78 2013-07-18 Nick Clifton <nickc@redhat.com>
79
80 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
81 documentation.
82
83 * readelf.c (process_unwind): Do not return the result of a void
84 function.
85
86 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
87
88 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
89 numbers with enum values.
90
91 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
92
93 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
94
95 2013-07-10 Tristan Gingold <gingold@adacore.com>
96
97 * od-xcoff.c (OPT_LDINFO): Define.
98 (options): Add ldinfo.
99 (xcoff_help): Mention ldinfo.
100 (xcoff_dump): Rename to ...
101 (xcoff_dump_obj): ... this. Add a break.
102 (dump_dumpx_core): New function.
103 (xcoff_dump_core): Likewise.
104 (xcoff_dump): Likewise.
105 * doc/binutils.texi (objdump): Mention ldinfo.
106
107 2013-07-09 Tristan Gingold <gingold@adacore.com>
108
109 * configure.com: Add new defines to match changes in configure.
110
111 2013-05-28 Cary Coutant <ccoutant@google.com>
112
113 * dwarf.c (display_debug_lines_raw): Print section offsets.
114
115 2013-05-15 Cary Coutant <ccoutant@google.com>
116
117 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
118 don't increment PTR.
119 (decode_location_expression): DW_OP_const2u should read 2 bytes.
120 (display_debug_lines_decoded): Adjust formatting.
121 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
122 7-byte reads.
123 (byte_get_big_endian): Likewise.
124 (byte_get_signed): Likewise.
125
126 2013-05-09 Andrew Pinski <apinski@cavium.com>
127
128 * doc/binutils.texi: Document -Mvirt disassembler option.
129
130 2013-05-02 Nick Clifton <nickc@redhat.com>
131
132 * readelf.c: Add support for MSP430X architecture.
133
134 2013-05-02 Nick Clifton <nickc@redhat.com>
135
136 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
137 sections as if they were fragmentary .debug_line sections.
138 (display_debug_lines_decoded): Likewise.
139
140 2013-04-29 Nick Clifton <nickc@redhat.com>
141
142 * dwarf.c (read_debug_line_header): New function. Reads in a
143 header in a .debug_line section.
144 (display_debug_lines_raw): Use new function. Handle fragmentary
145 .debug_line sections.
146 (display_debug_lines_decoded): Likewise.
147 * readelf.c (process_section_headers): Handle fragmenatry
148 .debug_line sections.
149 (display_debug_section): Likewise.
150
151 2013-04-26 Ian Lance Taylor <iant@google.com>
152
153 * MAINTAINERS: Add myself and Cary as gold maintainers.
154
155 2013-04-08 Tom Tromey <tromey@redhat.com>
156
157 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
158
159 2013-04-08 Tom Tromey <tromey@redhat.com>
160
161 * dwarf-mode.el: Bump version number.
162 (dwarf-mode): Remove autoload.
163 (dwarf-die-reference): Relax regexp.
164
165 2013-04-05 Alan Modra <amodra@gmail.com>
166
167 PR binutils/15324
168 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
169 * dwarf.c (strnlen): Provide fallback decl.
170 * config.in: Regnerate.
171 * configure: Regenerate.
172
173 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
174
175 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
176 SAFE_BYTE_GET64.
177
178 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
179
180 PR binutils/13409
181 * winduni.c (codepages[]): Use UTF-16LE.
182 (wind_MultiByteToWideChar): Likewise.
183 (wind_WideCharToMultiByte): Likewise.
184
185 2013-03-27 Alan Modra <amodra@gmail.com>
186
187 PR binutils/15206
188 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
189
190 2013-03-26 Nick Clifton <nickc@redhat.com>
191
192 PR binutils/15206
193 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
194 space before calling byte_get.
195 (SAFE_BYTE_GET_AND_INC): New macro.
196 (SAFE_SIGNED_BYTE_GET): New macro.
197 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
198 (SAFE_BYTE_GET64): New macro.
199 (process_extened_line_op): Use new macros. Use strnlen when
200 appropriate.
201 (fetch_indirect_string): Likewise.
202 (get_FORM_name): Likewise.
203 (decode_location_expression): Likewise.
204 (read_and_display_attr_value): Likewise.
205 (process_debug_info): Likewise.
206 (display_debug_lines_raw): Likewise.
207 (display_debug_lines_decoded): Likewise.
208 (display_debug_pubnames): Likewise.
209 (display_debug_macinfo): Likewise.
210 (get_line_filename_and_dirname): Likewise.
211 (display_debug_macro): Likewise.
212 (display_loc_list): Likewise.
213 (display_loc_list_dwo): Likewise.
214 (display_debug_aranges): Likewise.
215 (display_debug_ranges): Likewise.
216 (frame_display_row): Likewise.
217 (display_debug_frames): Likewise.
218
219 2013-03-25 Nick Clifton <nickc@redhat.com>
220
221 PR binutils/15202
222 * dwarf.c (read_leb128): Add END parameter. Do not read at or
223 beyond end.
224 (read_sleb128): Add END parameter.
225 (read_uleb128): New function.
226 (process_extended_line_op): Pass END to leb128 functions.
227 (process_abbrev_section): Likewise.
228 (decode_location_expression): Likewise.
229 (read_and_display_attr_value): Likewise.
230 (read_and_display_attr): Likewise.
231 (process_debug_info): Likewise.
232 (display_debug_lines_raw): Likewise.
233 (display_debug_lines_decoded): Likewise.
234 (display_debug_macinfo): Likewise.
235 (get_line_filename_and_dirname): Likewise.
236 (display_debug_macro): Likewise.
237 (display_loc_list_dwo): Likewise.
238 (display_debug_ranges): Likewise.
239 * dwarf.h (read_leb128): Update prototype.
240 * readelf.c (read_uleb128): Add END parameter.
241 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
242 (decode_tic6x_unwind_bytecode): Likewise.
243 (display_tag_value): New function.
244 (display_arm_attribute): Add END parameter. Pass END to
245 read_uleb128. Use display_tag_value.
246 (display_gnu_attribute): Likewise.
247 (display_power_gnu_attribute): Likewise.
248 (display_sparc_gnu_attribute): Likewise.
249 (display_mips_gnu_attribute): Likewise.
250 (display_tic6x_attribute): Likewise.
251 (process_attributes): Likewise.
252 (display_raw_attribute): New function.
253
254 2013-03-22 Nick Clifton <nickc@redhat.com>
255
256 PR binutils/15201
257 * dwarf.c (display_debug_ranges): Add checks for reading beyond
258 the end of the section.
259
260 PR binutils/15157
261 * readelf.c (apply_relocations): Catch relocations with negative
262 offsets.
263
264 2013-03-15 Nick Clifton <nickc@redhat.com>
265
266 * addr2line.c (slurp_symtab): If canonicalization reveals that
267 there were no ordinary symbols, try loading the dynamic symbols
268 instead.
269
270 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
271
272 * MAINTAINERS: Add myself as Meta maintainer.
273
274 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
275
276 * readelf.c (get_note_type): Add NT_S390_TDB.
277
278 2013-03-07 Alan Modra <amodra@gmail.com>
279
280 * strings.c (get_char): Dispense with buf[]. Instead shift
281 chars into big-endian value and byte-swap later if
282 little-endian. Don't EOF check value read from object.
283
284 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
285
286 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
287 * configure: Regenerate.
288
289 2013-03-04 Nick Clifton <nickc@redhat.com>
290
291 * elfcomm.c (error): Flush stdout before emitting the error
292 message.
293 (warn): Likewise.
294
295 2013-03-01 Cary Coutant <ccoutant@google.com>
296
297 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
298 (shndx_pool_used): Move to top of file.
299 (struct cu_tu_set): New type.
300 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
301 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
302 (find_cu_tu_set_v2): New function.
303 (read_and_display_attr_value): Add "this_set" parameter.
304 (read_and_display_attr): Likewise.
305 (process_debug_info): Track base offsets for DWARF package files.
306 (load_debug_info): Call load_cu_tu_indexes.
307 (get_DW_SECT_short_name): New function.
308 (process_cu_tu_index): Add support for version 2 DWARF package files.
309
310 2013-02-27 Alan Modra <amodra@gmail.com>
311
312 PR binutils/15191
313 * readelf.c (offsetof): Define.
314 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
315 (process_corefile_note_segment): Allow notes without name or
316 desc. Combine out-of-range checks. Disallow "negative"
317 notesz or descsz.
318
319 2013-02-26 Nick Clifton <nickc@redhat.com>
320
321 PR binutils/15191
322 * readelf.c (process_corefile_note_segment): Prevent attempts to
323 read beyond the end of the note buffer.
324
325 2013-02-15 Kai Tietz <ktietz@redhat.com>
326
327 * objcopy.c (copy_main): Initialize context variable.
328
329 2013-02-15 Nick Clifton <nickc@redhat.com>
330
331 PR binutils/15140
332 * ar.c (open_inarch): Fail on attempts to convert a normal archive
333 to a thin archive or vice versa.
334 * elfcomm.c (make_qualified_name): Handle corrupted thin
335 archives.
336 * readelf.c (process_archive): Likewise.
337 * doc/binutils.texi: Clarify documentation describing thin
338 archives.
339
340 2013-02-15 Nick Clifton <nickc@redhat.com>
341
342 PR binutils/15033
343 * objcopy.c (enum change_action): Delete.
344 (struct section_list): Delete remove, copy, change_vma, change_lma
345 and set_flags fields. Add context field.
346 (find_section_list): Add a context parameter. Add support for
347 wildcard characters in section names.
348 (is_strip_section): Check for sections being both copied and
349 removed.
350 (copy_object): Pass context to find_section_list.
351 (setup_section): Likewise.
352 (copy_section): Likewise.
353 (copy_main): Likewise.
354 * doc/binutils: Document the new behaviour.
355 * NEWS: Mention the new feature
356
357 2013-02-14 Nick Clifton <nickc@redhat.com>
358
359 PR binutils/15125
360 * objcopy.c (copy_object): Provide a helpful warning message when
361 adding a gnu_debuglink section to an object which already contains
362 one.
363
364 2013-02-07 Nick Clifton <nickc@redhat.com>
365
366 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
367 corrupt archive uses long names but has no long name table.
368
369 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
370 Andrew Jenner <andrew@codesourcery.com>
371
372 Based on patches from Altera Corporation.
373
374 * readelf.c: Include elf/nios2.h.
375 (dump_relocations): Add case for EM_ALTERA_NIOS2.
376 (get_nios2_dynamic_type): New.
377 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
378 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
379 (is_16bit_abs_reloc): Likewise.
380 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
381 * NEWS: Note Altera Nios II support.
382 * MAINTAINERS: Add Nios II maintainers.
383
384 2013-01-29 Xi Wang <xi.wang@gmail.com>
385
386 * readelf.c (process_version_sections): Fix overflow checks to
387 avoid undefined behaviour.
388
389 2013-01-28 Doug Evans <dje@google.com>
390
391 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
392
393 2013-01-28 Robert Schiele <rschiele@gmail.com>
394
395 * objcopy.c (parse_flags): Add merge and strings section flags.
396
397 2013-01-25 Cary Coutant <ccoutant@google.com>
398
399 * dwarf.c (display_loc_list): Update offset for each line
400 printed.
401 (print_addr_index): New function.
402 (display_loc_list_dwo): Update offset for each line printed.
403 Fix problems displaying loclists in .dwo files. Add support
404 for type 4 entries.
405 (display_debug_loc): Remove custom header for .dwo files.
406 (display_debug_addr): Adjust formatting.
407
408 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
409
410 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
411
412 2013-01-24 Doug Evans <dje@google.com>
413
414 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
415
416 2013-01-24 Nick Clifton <nickc@redhat.com>
417
418 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
419
420 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
421
422 * readelf.c: Add strings for NT_S390_LAST_BREAK and
423 NT_S390_SYSTEM_CALL.
424
425 2013-01-18 Nick Clifton <nickc@redhat.com>
426
427 PR binutils/15026
428 * addr2line.c (translate_addresses): When pretty printing, print
429 unknown function names on the same line as unknown symbol names.
430
431 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
432
433 * objdump.c (dump_target_specific): Fix NULL pointer test.
434
435 2013-01-16 Alan Modra <amodra@gmail.com>
436
437 PR binutils/15018
438 * stabs.c (parse_stab_members): Always set physname here to avoid
439 gcc warning..
440 (parse_stab_argtypes): ..and don't duplicate the init here.
441
442 2013-01-10 Will Newton <will.newton@imgtec.com>
443
444 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
445 (dump_relocations): Add EM_METAG.
446 (get_machine_name): Correct case for Meta.
447 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
448 (is_none_reloc): Add support for Meta NONE reloc.
449
450 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
451
452 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
453 and NT_ARM_HW_WATCH.
454
455 2013-01-07 Roland McGrath <mcgrathr@google.com>
456
457 * objcopy.c (deterministic): Make int rather than bfd_boolean,
458 initialize to -1.
459 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
460 (default_deterministic): New function.
461 (strip_main, copy_main): Handle -U. Call default_deterministic.
462 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
463 the default based on DEFAULT_AR_DETERMINISTIC.
464 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
465 configure options on -D.
466
467 * ar.c (default_deterministic): Comment fix.
468
469 2013-01-07 Patrice Dumas <pertusus@free.fr>
470
471 * doc/binutils.texi: Fix ordering of top level nodes.
472 Replace erroneous uses of @itemx with @item.
473
474 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
475
476 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
477
478 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
479
480 * MAINTAINERS: Add myself as AArch64 co-maintainer.
481
482 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
483
484 * version.c (print_version): Update copyright year to 2013.
485
486 For older changes see ChangeLog-2012
487 \f
488 Copyright (C) 2013 Free Software Foundation, Inc.
489
490 Copying and distribution of this file, with or without modification,
491 are permitted in any medium without royalty provided the copyright
492 notice and this notice are preserved.
493
494 Local Variables:
495 mode: change-log
496 left-margin: 8
497 fill-column: 74
498 version-control: never
499 End:
This page took 0.040338 seconds and 4 git commands to generate.