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