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