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