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