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