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