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