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