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