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