2012-09-06 Cary Coutant <ccoutant@google.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2012-09-06 Cary Coutant <ccoutant@google.com>
2
3 * dwarf.c (decode_location_expression): Add
4 DW_OP_GNU_const_index.
5
6 2012-09-06 Nick Clifton <nickc@redhat.com>
7
8 * doc/binutils.texi (nm): Alpha-sort the option descriptions.
9 Add description of the --synthetic option.
10
11 2012-09-04 H.J. Lu <hongjiu.lu@intel.com>
12
13 PR binutils/14493
14 * readelf.c (get_symbol_index_type): Check bad section index.
15
16 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
17
18 * readelf.c (arm_attr_tag_CPU_arch): Update for ARMv8.
19 (arm_attr_tag_FP_arch): Likewise.
20 (arm_attr_tag_Advanced_SIMD_arch): Likewise.
21
22 2012-08-17 Yuri Chornoivan <yurchor@ukr.net>
23
24 * doc/binutils.texi, * objdump.c, * od-xcoff.c: Typo fixes.
25
26 2012-08-16 H.J. Lu <hongjiu.lu@intel.com>
27
28 PR binutils/14481
29 * Makefile.am (BFDTEST1_PROG): New.
30 (TEST_PROGS): Likewise.
31 (bfdtest1_DEPENDENCIES): Likewise.
32 (noinst_PROGRAMS): Add $(TEST_PROGS).
33 * Makefile.in: Regenerated.
34
35 * bfdtest1.c: New file.
36
37 2012-08-13 Ian Bolton <ian.bolton@arm.com>
38 Laurent Desnogues <laurent.desnogues@arm.com>
39 Jim MacArthur <jim.macarthur@arm.com>
40 Marcus Shawcroft <marcus.shawcroft@arm.com>
41 Nigel Stephens <nigel.stephens@arm.com>
42 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
43 Richard Earnshaw <rearnsha@arm.com>
44 Sofiane Naci <sofiane.naci@arm.com>
45 Tejas Belagod <tejas.belagod@arm.com>
46 Yufeng Zhang <yufeng.zhang@arm.com>
47
48 * readelf.c (guess_is_rela): Handle EM_AARCH64.
49 (get_machine_name): Likewise.
50 (get_aarch64_segment_type): New function.
51 (get_segment_type): Handle EM_AARCH64 by calling the new function.
52 (get_aarch64_section_type_name): New function.
53 (get_section_type_name): Handle EM_AARCH64 by calling the new function.
54 (is_32bit_abs_reloc): Handle EM_AARCH64.
55 (is_32bit_pcrel_reloc): Likewise.
56 (is_64bit_abs_reloc): Likewise.
57 (is_64bit_pcrel_reloc): Likewise.
58 (is_none_reloc): Likewise.
59
60 2012-08-09 Nick Clifton <nickc@redhat.com>
61
62 * po/vi.po: Updated Vietnamese translation.
63
64 2012-08-03 Tom Tromey <tromey@redhat.com>
65
66 * dlltool.c (scan_obj_file): Close arfile after calling
67 bfd_openr_next_archived_file.
68
69 2012-08-02 H.J. Lu <hongjiu.lu@intel.com>
70
71 PR binutils/14420
72 * dwarf.c (process_abbrev_section): Add attribute terminator.
73 Warn missing section terminator.
74 (get_FORM_name): Special check for 0 value.
75 (get_AT_name): Likewise.
76 (process_debug_info): Display zero abbrev number. Check
77 attribute terminator.
78
79 2012-07-30 Nick Clifton <nickc@redhat.com>
80
81 * po/binutils.pot: Updated template.
82 * po/bg.po: Updated Bulgarian translation.
83 * po/es.po: Updated Spanish translation.
84 * po/fi.po: Updated Finnish translation.
85 * po/fr.po: Updated French translation.
86 * po/uk.po: Updated Ukranian translation.
87
88 2012-07-28 Kai Tietz <ktietz@redhat.com>
89
90 * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
91 (PRODUCTVERSION): Likewise.
92
93 2012-07-27 Mike Frysinger <vapier@gentoo.org>
94
95 * configure.in (BFD_VERSION): Run bfd/configure --version and
96 parse the output of that.
97 * configure: Regenerate.
98
99 2012-07-27 Tristan Gingold <gingold@adacore.com>
100
101 * NEWS: Add marker for 2.23.
102
103 2012-07-24 Teresa Johnson <tejohnson@google.com>
104
105 * addr2line.c (find_address_in_section): Invoke
106 bfd_find_nearest_line_discriminator to get the discriminator.
107 (find_offset_in_section): Likewise.
108 (translate_addresses): Print discriminator if it is non-zero.
109 * objdump.c (show_line): Invoke
110 bfd_find_nearest_line_discriminator to get the discriminator,
111 and keep track of prev_discriminator. Print discriminator
112 if it is non-zero.
113 (disassemble_data): Initialize prev_discriminator.
114 (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator
115 to get the discriminator, and keep track of last_discriminator.
116 Print discriminator if it is non-zero.
117
118 2012-07-17 Nick Clifton <nickc@redhat.com>
119
120 * elfcomm.c (setup_archive): Extract index table and symbol table
121 scanning code into...
122 (process_archive_index_and_symbols): ... this function and add
123 support for 64-bit index tables.
124 * elfcomm.h (struct archive_info): Change type of index_num and
125 index_array to elf_vma.
126 Add 'uses_64bit_indicies' field.
127 * readelf.c (process_archive): Fix support for 64-bit indicies.
128
129 2012-07-03 Nick Clifton <nickc@redhat.com>
130
131 * readelf.c (process_archive): Display member indicies when
132 dumping index.
133
134 2012-07-02 Tom Tromey <tromey@redhat.com>
135
136 * dwarf.c: Include gdb-index.h.
137 (display_gdb_index): Handle version 7.
138
139 2012-06-29 H.J. Lu <hongjiu.lu@intel.com>
140
141 * nm.c (filter_symbols): Simplify global symbol handling.
142
143 2012-06-29 Francois Gouget <fgouget@codeweavers.com>
144
145 PR binutils/14302
146 * bucomm.c (print_arelt_descr): Correctly report the archive size
147 field (for 'ar tv').
148 * ar.c (print_contents): Use correct types for archive element
149 sizes (for 'ar p').
150 (extract_file): Likewise (for 'ar x').
151
152 2012-06-29 Alan Modra <amodra@gmail.com>
153
154 * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
155
156 2012-06-12 Tom Tromey <tromey@redhat.com>
157
158 * dwarf-mode.el: Add final comment. Bump version.
159 (dwarf-insert-substructure-button): Use string-to-number.
160 (dwarf-browse): Fix autoload cookie.
161
162 2012-06-08 Jakub Jelinek <jakub@redhat.com>
163
164 * dwarf.c (read_and_display_attr_value): Handle
165 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
166 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
167 DW_MACRO_GNU_undef_indirect_alt and
168 DW_MACRO_GNU_transparent_include_alt.
169
170 2012-06-01 Alan Modra <amodra@gmail.com>
171
172 * addr2line.c (translate_addresses): Truncate input addresses to
173 arch_size bits. Avoid undefined shift. Print '?' for zero line.
174
175 2012-05-30 Nick Clifton <nickc@redhat.com>
176
177 * readelf.c (process_section_headers): Correct bug in previous
178 delta - display full section type in wide mode.
179
180 2012-05-28 Nick Clifton <nickc@redhat.com>
181
182 * readelf.c (print_symbol): Display multibyte characters in symbol
183 names.
184 (process_section_headers): Use print_symbol.
185
186 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
187
188 * aclocal.m4: Regenerate.
189 * configure: Regenerate.
190 * config.in: Regenerate.
191 * Makefile.in: Regenerate.
192
193 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
194 Nick Clifton <nickc@redhat.com>
195
196 PR 14072
197 * configure.in: Add check that sysdep.h has been included before
198 any system header files.
199 * configure: Regenerate.
200 * config.in: Regenerate.
201 * unwind-ia64.h: Include config.h.
202
203 2012-05-17 Alan Modra <amodra@gmail.com>
204
205 * dwarf.c (process_debug_info): Display abbrev offset in hex.
206 (display_debug_abbrev): Show offset of abbrev.
207
208 2012-05-17 Alan Modra <amodra@gmail.com>
209
210 * dwarf.c (display_debug_ranges): Don't report more than one use
211 of the same range set as an overlap.
212
213 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
214
215 PR binutils/13558
216 * Makefile.am (CFILES): Add syslex_wrap.c.
217 (sysinfo): Depend upon syslex_wrap.o.
218 (syslex_wrap.o): New rule.
219 (syslex.o): Delete rule.
220 * syslex_wrap.c: New file.
221 * Makefile.in: Regenerate.
222
223 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
224
225 * readelf.c (get_machine_name): Update m68hc12 entry.
226
227 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
228
229 * objdump.c (disassemble_bytes): Print addend as signed.
230 (dump_reloc_set): Likewise.
231
232 2012-05-04 Sterling Augustine <saugustine@google.com>
233 Cary Coutant <ccoutant@google.com>
234
235 * doc/binutils.texi: Add --dwarf-check option.
236 * dwarf.c (dwarf_check): New global flag.
237 (fetch_indexed_string): New function.
238 (fetch_indexed_value): New function.
239 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
240 (decode_location_expression): Add DW_OP_GNU_addr_index.
241 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
242 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
243 (get_AT_name): Add new attributes for Fission.
244 (process_debug_info): Load new debug sections for Fission.
245 (load_debug_info): Check for .debug_info.dwo section.
246 (display_loc_list, display_loc_list_dwo): New functions.
247 (display_debug_loc): Move logic to above two functions.
248 (display_debug_info): Choose abbrev section based on info section.
249 (display_debug_types): Likewise.
250 (display_trace_info): Likewise.
251 (comp_addr_base): New function.
252 (display_debug_addr): New function.
253 (display_debug_str_offsets): New function.
254 (display_debug_ranges): Allow missing range lists. Suppress
255 diagnostics if dwarf_check not set.
256 (debug_displays): Add column to select abbrev section.
257 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
258 for Fission.
259 (struct dwarf_section): Add abbrev_sec field.
260 (struct dwarf_section_display): New type.
261 (debug_info): Add addr_base, ranges_base fields.
262 (dwarf_check): New global variable.
263 * objdump.c (usage): Add --dwarf-check option.
264 (enum option_values): Add OPTION_DWARF_CHECK.
265 (long_options): Add --dwarf-check.
266 (main): Likewise.
267 * readelf.c (OPTION_DWARF_CHECK): New macro.
268 (options): Add --dwarf-check.
269 (parse_args): Likewise.
270 (process_section_headers): Use const_strneq instead of
271 streq.
272
273 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
274
275 PR binutils/14088
276 * readelf.c (dump_relocations): Always display addend as
277 signed hex number.
278
279 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
280
281 PR binutils/14028
282 * configure.in: Invoke ACX_HEADER_STRING.
283 * configure: Regenerate.
284 * config.in: Regenerate.
285 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
286 string.h and strings.h.
287
288 2012-05-10 Jakub Jelinek <jakub@redhat.com>
289
290 * dwarf.c (read_and_display_attr_value): Don't look up tag from
291 abbrev for DW_FORM_ref_addr.
292
293 2012-05-08 Sean Keys <skeys@ipdatasys.com>
294
295 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
296
297 2012-05-08 Cary Coutant <ccoutant@google.com>
298
299 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
300 (strip): Add --strip-dwo option.
301 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
302 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
303 (strip_options): Add --strip-dwo option.
304 (copy_options): Add --extract-dwo, --strip-dwo options.
305 (copy_usage): Likewise.
306 (strip_usage): Add --strip-dwo option.
307 (is_dwo_section): New function.
308 (is_strip_section_1): Check for DWO sections.
309 (copy_object): Check for --strip-dwo, --extract-dwo options.
310 (copy_relocations_in_section): Discard relocations for DWO sections.
311 Discard entire relocation section when no relocations.
312 (strip_main): Add --strip-dwo option.
313 (copy_main): Add --strip-dwo, --extract-dwo options.
314
315 2012-05-08 Alan Modra <amodra@gmail.com>
316
317 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
318 LC and LANG environment vars.
319 * Makefile.in: Regenerate.
320
321 2012-05-07 Tom Tromey <tromey@redhat.com>
322
323 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
324 (get_FORM_name): Use get_DW_FORM_name.
325 (get_AT_name): Use get_DW_AT_name.
326
327 2012-05-07 Alan Modra <amodra@gmail.com>
328
329 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
330 * Makefile.in: Regenerate.
331
332 2012-05-05 Alan Modra <amodra@gmail.com>
333
334 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
335
336 2012-05-03 Sean Keys <skeys@ipdatasys.com>
337
338 * readelf.c: Add support for XGATE.
339
340 2012-05-02 Nick Clifton <nickc@redhat.com>
341
342 * po/vi.po: Updated Vietnamese translation.
343 * po/it.po: New Italian translation.
344 * configure.in (ALL_LINGUAS): Add it.
345 * configure: Regenerate.
346
347 2012-05-01 Nick Clifton <nickc@redhat.com>
348
349 PR binutils/13121
350 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
351 AIX system headers.
352
353 2012-04-25 Cary Coutant <ccoutant@google.com>
354
355 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
356 to strip and objcopy.
357 * objcopy.c (deterministic): New global variable.
358 (strip_options): Add --enable-deterministic-archives.
359 (copy_options): Likewise.
360 (copy_usage): Likewise.
361 (strip_usage): Likewise.
362 (copy_archive): When stripping all, don't add archive map; set
363 deterministic output when requested.
364 (strip_main): Add -D/--enable-deterministic-archives option.
365 (copy_main): Likewise.
366
367 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
368
369 PR binutils/13947
370 * objcopy.c (copy_object): Call copy_relocations_in_section
371 before copy_section.
372 (skip_section): New.
373 (copy_relocations_in_section): Likewise.
374 (copy_section): Use skip_section. Don't copy relocations here.
375
376 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
377
378 * objdump.c (dump_bfd): If defaulting to dwarf call
379 dwarf_select_sections_all to enable displays.
380
381 2012-04-06 Roland McGrath <mcgrathr@google.com>
382
383 * configure.in (AC_CHECK_HEADERS): Add locale.h.
384 * config.in: Regenerate.
385 * configure: Regenerate.
386
387 2012-04-05 Nick Clifton <nickc@redhat.com>
388
389 * configure.in (AC_CHECK_FUNCS): Add setlocale.
390 (AM_LC_MESSAGES): Add.
391 * aclocal.m4: Regenerate.
392 * config.in: Regenerate.
393 * configure: Regenerate.
394
395 2012-03-30 Nick Clifton <nickc@redhat.com>
396
397 PR binutils/13925
398 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
399 returning an empty context for a function with no arguments.
400
401 2012-03-28 Tom Tromey <tromey@redhat.com>
402
403 * dwarf.c (display_gdb_index): Handle index version 6.
404
405 2012-03-07 Nick Clifton <nickc@redhat.com>
406
407 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
408
409 2012-02-29 Jeff Law <law@redhat.com>
410
411 * doc/binutils.texi (c++filt): Fix typos.
412
413 2012-02-24 Kai Tietz <ktietz@redhat.com>
414
415 PR binutils/13710
416 * defparse.y (keyword_as_name): Disable LIBRARY
417 keyword.
418 * doc/binutils.texi: Document LIBRARY exception.
419
420 2012-02-21 Kai Tietz<ktietz@redhat.com>
421
422 PR binutils/13682
423 * NEWS: Mention new feature.
424 * dlltool.c (i386_x64_dljtab): New stub-code for x64
425 delayed-load feature.
426 (i386_x64_trampoline): New trampoline-code for x64
427 delayed-load feature.
428 (make_one_lib_file): Add support for x64 delayed-load
429 feature.
430 (make_delay_head): Likewis
431
432 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
433
434 * objdump.c (slurp_file): Close file if fstat fails.
435
436 2012-02-14 Cary Coutant <ccoutant@google.com>
437
438 * dwarf.c (dwarf_vmatoa64): New function.
439 (read_and_display_attr_value): Print 8-byte forms as single hex
440 numbers.
441 (process_debug_info): Print type signatures as single hex numbers.
442 * elfcomm.c (byte_get_64): New function.
443 * elfcomm.h (byte_get_64): New function.
444
445 2012-02-11 Kai Tietz <ktietz@redhat.com>
446
447 PR binutils/13657
448 * defparse.y (%union): New type id_const.
449 (opt_name2): New rule.
450 (keyword_as_name): New rule.
451 (opt_name): Adjust rule.
452 (opt_import_name): Likewise.
453 (opt_equal_name): Likewise.
454
455 2012-02-11 Kai Tietz <ktietz@redhat.com>
456
457 PR binutils/13297
458 * resrc.c (write_rc_dialog_control): Omit text dump for
459 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
460
461 2012-02-09 Alan Modra <amodra@gmail.com>
462
463 * sysdep.h: Include sys/stat.h here.
464 * ar.c: Don't include headers already included by sysdep.h.
465 * bucomm.c: Likewise.
466 * budbg.h: Likewise.
467 * dlltool.h: Likewise.
468 * elfedit.c: Likewise.
469 * nlmconv.c: Likewise.
470 * objcopy.c: Likewise.
471 * objdump.c: Likewise.
472 * objdump.h: Likewise.
473 * readelf.c: Likewise.
474 * rename.c: Likewise.
475 * resrc.c: Likewise.
476 * strings.c: Likewise.
477 * windres.c: Likewise.
478 * od-macho.c: Ensure #include sysdep.h is first.
479 * od-xcoff.c: Likewise.
480 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
481 remove duplicate headers.
482 * dlltool.c: Likewise and ensure #include sysdep.h is first.
483
484 2012-02-01 Nick Clifton <nickc@redhat.com>
485
486 PR binutils/13493
487 * ar.c (ranlib_main): Process --plugin option.
488 * doc/binutils.texi: Document --plugin support for ranlib.
489
490 2012-02-01 Nick Clifton <nickc@redhat.com>
491
492 PR binutils/13482
493 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
494 verifying the contents of a note.
495
496 2012-01-26 Nick Clifton <nickc@redhat.com>
497
498 PR binutils/13622
499 * readelf.c (process_section_groups): If there are no section
500 headers do not scan for section groups.
501 (process_note_sections): Likewise for note sections.
502
503 2012-01-20 Tristan Gingold <gingold@adacore.com>
504
505 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
506 (options): Add an entry for seg_split_info.
507 (mach_o_help): Document it.
508 (dump_segment_split_info): New function.
509 (dump_load_command): Handle seg_split_info.
510
511 2012-01-19 Tristan Gingold <gingold@adacore.com>
512
513 * dwarf.c (process_extended_line_op): Add a cast to silent a
514 warning.
515
516 2012-01-19 Tristan Gingold <gingold@adacore.com>
517
518 * dwarf.c (process_extended_line_op): Reindent define_file output.
519 Detect define_file opcode length mismatch.
520 (display_debug_lines_decoded): Add an entry in file_table for each
521 define_file opcode.
522 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
523 Display extended opcode for unhandle opcode.
524
525 2012-01-17 Alan Modra <amodra@gmail.com>
526
527 * version.c (print_version): Update copyright message year.
528
529 2012-01-16 Alan Modra <amodra@gmail.com>
530
531 PR binutils/13593
532 * nm.c (OPTION_SIZE_SORT): Define.
533 (long_options): Don't set no_sort, sort_numerically or
534 sort_by_size directly.
535 (main): Instead set the flags here, making them mutually exclusive.
536
537 2012-01-10 Tristan Gingold <gingold@adacore.com>
538
539 * objdump.c (display_object_bfd): Renamed from ...
540 (display_bfd): ... this.
541 (display_any_bfd): New function.
542 (display_file): Split. Handle nested archives.
543
544 2012-01-09 Roland McGrath <mcgrathr@google.com>
545
546 * configure.in: Use AM_ZLIB.
547 * configure: Regenerated.
548
549 2012-01-06 Nick Clifton <nickc@redhat.com>
550
551 * po/ru.po: Updated Russian translation.
552
553 2012-01-04 Tristan Gingold <gingold@adacore.com>
554
555 * od-macho.c (dump_load_command): Handle fvmlib.
556
557 2012-01-04 Tristan Gingold <gingold@adacore.com>
558
559 * od-macho.c: Update copyright year.
560 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
561
562 For older changes see ChangeLog-2011
563 \f
564 Local Variables:
565 mode: change-log
566 left-margin: 8
567 fill-column: 74
568 version-control: never
569 End:
This page took 0.049513 seconds and 4 git commands to generate.