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