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