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