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