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