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