]> Git Repo - binutils.git/blob - binutils/ChangeLog
Add a testcase for PR binutils/14481
[binutils.git] / binutils / ChangeLog
1 2012-08-16  H.J. Lu  <[email protected]>
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
12 2012-08-13  Ian Bolton  <[email protected]>
13             Laurent Desnogues  <[email protected]>
14             Jim MacArthur  <[email protected]>
15             Marcus Shawcroft  <[email protected]>
16             Nigel Stephens  <[email protected]>
17             Ramana Radhakrishnan  <[email protected]>
18             Richard Earnshaw  <[email protected]>
19             Sofiane Naci  <[email protected]>
20             Tejas Belagod  <[email protected]>
21             Yufeng Zhang  <[email protected]>
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
35 2012-08-09  Nick Clifton  <[email protected]>
36
37         * po/vi.po: Updated Vietnamese translation.
38
39 2012-08-03  Tom Tromey  <[email protected]>
40
41         * dlltool.c (scan_obj_file): Close arfile after calling
42         bfd_openr_next_archived_file.
43
44 2012-08-02  H.J. Lu  <[email protected]>
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
54 2012-07-30  Nick Clifton  <[email protected]>
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
63 2012-07-28  Kai Tietz  <[email protected]>
64
65         * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
66         (PRODUCTVERSION): Likewise.
67
68 2012-07-27  Mike Frysinger  <[email protected]>
69
70         * configure.in (BFD_VERSION): Run bfd/configure --version and
71         parse the output of that.
72         * configure: Regenerate.
73
74 2012-07-27  Tristan Gingold  <[email protected]>
75
76         * NEWS: Add marker for 2.23.
77
78 2012-07-24  Teresa Johnson  <[email protected]>
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
93 2012-07-17  Nick Clifton  <[email protected]>
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
104 2012-07-03  Nick Clifton  <[email protected]>
105
106         * readelf.c (process_archive): Display member indicies when
107         dumping index.
108
109 2012-07-02  Tom Tromey  <[email protected]>
110
111         * dwarf.c: Include gdb-index.h.
112         (display_gdb_index): Handle version 7.
113
114 2012-06-29  H.J. Lu  <[email protected]>
115
116         * nm.c (filter_symbols): Simplify global symbol handling.
117
118 2012-06-29  Francois Gouget  <[email protected]>
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
127 2012-06-29  Alan Modra  <[email protected]>
128
129         * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
130
131 2012-06-12  Tom Tromey  <[email protected]>
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
137 2012-06-08  Jakub Jelinek  <[email protected]>
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
145 2012-06-01  Alan Modra  <[email protected]>
146
147         * addr2line.c (translate_addresses): Truncate input addresses to
148         arch_size bits.  Avoid undefined shift.  Print '?' for zero line.
149
150 2012-05-30  Nick Clifton  <[email protected]>
151
152         * readelf.c (process_section_headers): Correct bug in previous
153         delta - display full section type in wide mode.
154
155 2012-05-28  Nick Clifton  <[email protected]>
156
157         * readelf.c (print_symbol): Display multibyte characters in symbol
158         names.
159         (process_section_headers): Use print_symbol.
160
161 2012-05-18  Andreas Schwab  <[email protected]>
162
163         * aclocal.m4: Regenerate.
164         * configure: Regenerate.
165         * config.in: Regenerate.
166         * Makefile.in: Regenerate.
167
168 2012-05-17  Daniel Richard G.  <[email protected]>
169             Nick Clifton  <[email protected]>
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
178 2012-05-17  Alan Modra  <[email protected]>
179
180         * dwarf.c (process_debug_info): Display abbrev offset in hex.
181         (display_debug_abbrev): Show offset of abbrev.
182
183 2012-05-17  Alan Modra  <[email protected]>
184
185         * dwarf.c (display_debug_ranges): Don't report more than one use
186         of the same range set as an overlap.
187
188 2012-05-16  Daniel Richard G.  <[email protected]>
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
198 2012-05-15  James Murray <[email protected]>
199
200         * readelf.c (get_machine_name): Update m68hc12 entry.
201
202 2012-05-13  H.J. Lu  <[email protected]>
203
204         * objdump.c (disassemble_bytes): Print addend as signed.
205         (dump_reloc_set): Likewise.
206
207 2012-05-04  Sterling Augustine  <[email protected]>
208             Cary Coutant  <[email protected]>
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
248 2012-05-11  H.J. Lu  <[email protected]>
249
250         PR binutils/14088
251         * readelf.c (dump_relocations): Always display addend as
252         signed hex number.
253
254 2012-05-11  Daniel Richard G.  <[email protected]>
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
263 2012-05-10  Jakub Jelinek  <[email protected]>
264
265         * dwarf.c (read_and_display_attr_value): Don't look up tag from
266         abbrev for DW_FORM_ref_addr.
267
268 2012-05-08  Sean Keys  <[email protected]>
269
270         * binutils/MAINTAINERS: Added my entry to the maintainers secion.
271
272 2012-05-08  Cary Coutant  <[email protected]>
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
290 2012-05-08  Alan Modra  <[email protected]>
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
296 2012-05-07  Tom Tromey  <[email protected]>
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
302 2012-05-07  Alan Modra  <[email protected]>
303
304         * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
305         * Makefile.in: Regenerate.
306
307 2012-05-05  Alan Modra  <[email protected]>
308
309         * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
310
311 2012-05-03  Sean Keys  <[email protected]>
312
313         * readelf.c: Add support for XGATE.
314
315 2012-05-02  Nick Clifton  <[email protected]>
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
322 2012-05-01  Nick Clifton  <[email protected]>
323
324         PR binutils/13121
325         * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
326         AIX system headers.
327
328 2012-04-25  Cary Coutant  <[email protected]>
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
342 2012-04-12  H.J. Lu  <[email protected]>
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
351 2012-04-11  Ryan Mansfield  <[email protected]>
352
353         * objdump.c (dump_bfd): If defaulting to dwarf call
354         dwarf_select_sections_all to enable displays.
355
356 2012-04-06  Roland McGrath  <[email protected]>
357
358         * configure.in (AC_CHECK_HEADERS): Add locale.h.
359         * config.in: Regenerate.
360         * configure: Regenerate.
361
362 2012-04-05  Nick Clifton  <[email protected]>
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
370 2012-03-30  Nick Clifton  <[email protected]>
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
376 2012-03-28  Tom Tromey  <[email protected]>
377
378         * dwarf.c (display_gdb_index): Handle index version 6.
379
380 2012-03-07  Nick Clifton  <[email protected]>
381
382         * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
383
384 2012-02-29  Jeff Law  <[email protected]>
385
386         * doc/binutils.texi (c++filt): Fix typos.
387
388 2012-02-24  Kai Tietz  <[email protected]>
389
390         PR binutils/13710
391         * defparse.y (keyword_as_name): Disable LIBRARY
392         keyword.
393         * doc/binutils.texi: Document LIBRARY exception.
394
395 2012-02-21  Kai Tietz<[email protected]>
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
407 2012-02-20  Namhyung Kim  <[email protected]>
408
409         * objdump.c (slurp_file): Close file if fstat fails.
410
411 2012-02-14  Cary Coutant  <[email protected]>
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
420 2012-02-11  Kai Tietz  <[email protected]>
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
430 2012-02-11  Kai Tietz  <[email protected]>
431
432         PR binutils/13297
433         * resrc.c (write_rc_dialog_control): Omit text dump for
434         EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
435
436 2012-02-09  Alan Modra  <[email protected]>
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
459 2012-02-01  Nick Clifton  <[email protected]>
460
461         PR binutils/13493
462         * ar.c (ranlib_main): Process --plugin option.
463         * doc/binutils.texi: Document --plugin support for ranlib.
464
465 2012-02-01  Nick Clifton  <[email protected]>
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
471 2012-01-26  Nick Clifton  <[email protected]>
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
478 2012-01-20  Tristan Gingold  <[email protected]>
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
486 2012-01-19  Tristan Gingold  <[email protected]>
487
488         * dwarf.c (process_extended_line_op): Add a cast to silent a
489         warning.
490
491 2012-01-19  Tristan Gingold  <[email protected]>
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
500 2012-01-17  Alan Modra  <[email protected]>
501
502         * version.c (print_version): Update copyright message year.
503
504 2012-01-16  Alan Modra  <[email protected]>
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
512 2012-01-10  Tristan Gingold  <[email protected]>
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
519 2012-01-09  Roland McGrath  <[email protected]>
520
521         * configure.in: Use AM_ZLIB.
522         * configure: Regenerated.
523
524 2012-01-06  Nick Clifton  <[email protected]>
525
526         * po/ru.po: Updated Russian translation.
527
528 2012-01-04  Tristan Gingold  <[email protected]>
529
530         * od-macho.c (dump_load_command): Handle fvmlib.
531
532 2012-01-04  Tristan Gingold  <[email protected]>
533
534         * od-macho.c: Update copyright year.
535         (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
536
537 For older changes see ChangeLog-2011
538 \f
539 Local Variables:
540 mode: change-log
541 left-margin: 8
542 fill-column: 74
543 version-control: never
544 End:
This page took 0.062745 seconds and 4 git commands to generate.