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