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