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