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