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