* h8300-tdep.c (h8300_push_dummy_call): Replace unsafe alloca
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
a8685210
AM
12012-08-17 Yuri Chornoivan <yurchor@ukr.net>
2
3 * doc/binutils.texi, * objdump.c, * od-xcoff.c: Typo fixes.
4
58f594cd
L
52012-08-16 H.J. Lu <hongjiu.lu@intel.com>
6
7 PR binutils/14481
8 * Makefile.am (BFDTEST1_PROG): New.
9 (TEST_PROGS): Likewise.
10 (bfdtest1_DEPENDENCIES): Likewise.
11 (noinst_PROGRAMS): Add $(TEST_PROGS).
12 * Makefile.in: Regenerated.
13
14 * bfdtest1.c: New file.
15
a06ea964
NC
162012-08-13 Ian Bolton <ian.bolton@arm.com>
17 Laurent Desnogues <laurent.desnogues@arm.com>
18 Jim MacArthur <jim.macarthur@arm.com>
19 Marcus Shawcroft <marcus.shawcroft@arm.com>
20 Nigel Stephens <nigel.stephens@arm.com>
21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
22 Richard Earnshaw <rearnsha@arm.com>
23 Sofiane Naci <sofiane.naci@arm.com>
24 Tejas Belagod <tejas.belagod@arm.com>
25 Yufeng Zhang <yufeng.zhang@arm.com>
26
27 * readelf.c (guess_is_rela): Handle EM_AARCH64.
28 (get_machine_name): Likewise.
29 (get_aarch64_segment_type): New function.
30 (get_segment_type): Handle EM_AARCH64 by calling the new function.
31 (get_aarch64_section_type_name): New function.
32 (get_section_type_name): Handle EM_AARCH64 by calling the new function.
33 (is_32bit_abs_reloc): Handle EM_AARCH64.
34 (is_32bit_pcrel_reloc): Likewise.
35 (is_64bit_abs_reloc): Likewise.
36 (is_64bit_pcrel_reloc): Likewise.
37 (is_none_reloc): Likewise.
38
3c892704
NC
392012-08-09 Nick Clifton <nickc@redhat.com>
40
41 * po/vi.po: Updated Vietnamese translation.
42
a442b35f
TT
432012-08-03 Tom Tromey <tromey@redhat.com>
44
45 * dlltool.c (scan_obj_file): Close arfile after calling
46 bfd_openr_next_archived_file.
47
399c99f7
L
482012-08-02 H.J. Lu <hongjiu.lu@intel.com>
49
50 PR binutils/14420
51 * dwarf.c (process_abbrev_section): Add attribute terminator.
52 Warn missing section terminator.
53 (get_FORM_name): Special check for 0 value.
54 (get_AT_name): Likewise.
55 (process_debug_info): Display zero abbrev number. Check
56 attribute terminator.
57
a6dc81d2
NC
582012-07-30 Nick Clifton <nickc@redhat.com>
59
60 * po/binutils.pot: Updated template.
61 * po/bg.po: Updated Bulgarian translation.
62 * po/es.po: Updated Spanish translation.
63 * po/fi.po: Updated Finnish translation.
64 * po/fr.po: Updated French translation.
65 * po/uk.po: Updated Ukranian translation.
66
ee6f7708
KT
672012-07-28 Kai Tietz <ktietz@redhat.com>
68
69 * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
70 (PRODUCTVERSION): Likewise.
71
c4dd807e
MF
722012-07-27 Mike Frysinger <vapier@gentoo.org>
73
74 * configure.in (BFD_VERSION): Run bfd/configure --version and
75 parse the output of that.
76 * configure: Regenerate.
77
af18cb59
TG
782012-07-27 Tristan Gingold <gingold@adacore.com>
79
80 * NEWS: Add marker for 2.23.
81
9b8d1a36
CC
822012-07-24 Teresa Johnson <tejohnson@google.com>
83
84 * addr2line.c (find_address_in_section): Invoke
85 bfd_find_nearest_line_discriminator to get the discriminator.
86 (find_offset_in_section): Likewise.
87 (translate_addresses): Print discriminator if it is non-zero.
88 * objdump.c (show_line): Invoke
89 bfd_find_nearest_line_discriminator to get the discriminator,
90 and keep track of prev_discriminator. Print discriminator
91 if it is non-zero.
92 (disassemble_data): Initialize prev_discriminator.
93 (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator
94 to get the discriminator, and keep track of last_discriminator.
95 Print discriminator if it is non-zero.
96
c2a7d3f5
NC
972012-07-17 Nick Clifton <nickc@redhat.com>
98
99 * elfcomm.c (setup_archive): Extract index table and symbol table
100 scanning code into...
101 (process_archive_index_and_symbols): ... this function and add
102 support for 64-bit index tables.
103 * elfcomm.h (struct archive_info): Change type of index_num and
104 index_array to elf_vma.
105 Add 'uses_64bit_indicies' field.
106 * readelf.c (process_archive): Fix support for 64-bit indicies.
107
5f8ebec5
NC
1082012-07-03 Nick Clifton <nickc@redhat.com>
109
110 * readelf.c (process_archive): Display member indicies when
111 dumping index.
112
8d6eee87
TT
1132012-07-02 Tom Tromey <tromey@redhat.com>
114
115 * dwarf.c: Include gdb-index.h.
116 (display_gdb_index): Handle version 7.
117
6a1b08f5
L
1182012-06-29 H.J. Lu <hongjiu.lu@intel.com>
119
120 * nm.c (filter_symbols): Simplify global symbol handling.
121
34debcd1
NC
1222012-06-29 Francois Gouget <fgouget@codeweavers.com>
123
124 PR binutils/14302
125 * bucomm.c (print_arelt_descr): Correctly report the archive size
126 field (for 'ar tv').
127 * ar.c (print_contents): Use correct types for archive element
128 sizes (for 'ar p').
129 (extract_file): Likewise (for 'ar x').
130
e63734a3
AM
1312012-06-29 Alan Modra <amodra@gmail.com>
132
133 * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
134
6f7b1488
TT
1352012-06-12 Tom Tromey <tromey@redhat.com>
136
137 * dwarf-mode.el: Add final comment. Bump version.
138 (dwarf-insert-substructure-button): Use string-to-number.
139 (dwarf-browse): Fix autoload cookie.
140
a081f3cd
JJ
1412012-06-08 Jakub Jelinek <jakub@redhat.com>
142
143 * dwarf.c (read_and_display_attr_value): Handle
144 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
145 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
146 DW_MACRO_GNU_undef_indirect_alt and
147 DW_MACRO_GNU_transparent_include_alt.
148
670b0bad
AM
1492012-06-01 Alan Modra <amodra@gmail.com>
150
151 * addr2line.c (translate_addresses): Truncate input addresses to
152 arch_size bits. Avoid undefined shift. Print '?' for zero line.
153
ea52a088
NC
1542012-05-30 Nick Clifton <nickc@redhat.com>
155
156 * readelf.c (process_section_headers): Correct bug in previous
157 delta - display full section type in wide mode.
158
7bfd842d
NC
1592012-05-28 Nick Clifton <nickc@redhat.com>
160
161 * readelf.c (print_symbol): Display multibyte characters in symbol
162 names.
163 (process_section_headers): Use print_symbol.
164
f2c621e4
AS
1652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
166
167 * aclocal.m4: Regenerate.
168 * configure: Regenerate.
169 * config.in: Regenerate.
170 * Makefile.in: Regenerate.
171
df7b86aa
NC
1722012-05-17 Daniel Richard G. <skunk@iskunk.org>
173 Nick Clifton <nickc@redhat.com>
174
175 PR 14072
176 * configure.in: Add check that sysdep.h has been included before
177 any system header files.
178 * configure: Regenerate.
179 * config.in: Regenerate.
180 * unwind-ia64.h: Include config.h.
181
7282333f
AM
1822012-05-17 Alan Modra <amodra@gmail.com>
183
184 * dwarf.c (process_debug_info): Display abbrev offset in hex.
185 (display_debug_abbrev): Show offset of abbrev.
186
a2ff7a4b
AM
1872012-05-17 Alan Modra <amodra@gmail.com>
188
189 * dwarf.c (display_debug_ranges): Don't report more than one use
190 of the same range set as an overlap.
191
691bf19c
NC
1922012-05-16 Daniel Richard G. <skunk@iskunk.org>
193
194 PR binutils/13558
195 * Makefile.am (CFILES): Add syslex_wrap.c.
196 (sysinfo): Depend upon syslex_wrap.o.
197 (syslex_wrap.o): New rule.
198 (syslex.o): Delete rule.
199 * syslex_wrap.c: New file.
200 * Makefile.in: Regenerate.
201
6927f982
NC
2022012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
203
204 * readelf.c (get_machine_name): Update m68hc12 entry.
205
343dbc36
L
2062012-05-13 H.J. Lu <hongjiu.lu@intel.com>
207
208 * objdump.c (disassemble_bytes): Print addend as signed.
209 (dump_reloc_set): Likewise.
210
4723351a
CC
2112012-05-04 Sterling Augustine <saugustine@google.com>
212 Cary Coutant <ccoutant@google.com>
213
214 * doc/binutils.texi: Add --dwarf-check option.
215 * dwarf.c (dwarf_check): New global flag.
216 (fetch_indexed_string): New function.
217 (fetch_indexed_value): New function.
218 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
219 (decode_location_expression): Add DW_OP_GNU_addr_index.
220 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
221 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
222 (get_AT_name): Add new attributes for Fission.
223 (process_debug_info): Load new debug sections for Fission.
224 (load_debug_info): Check for .debug_info.dwo section.
225 (display_loc_list, display_loc_list_dwo): New functions.
226 (display_debug_loc): Move logic to above two functions.
227 (display_debug_info): Choose abbrev section based on info section.
228 (display_debug_types): Likewise.
229 (display_trace_info): Likewise.
230 (comp_addr_base): New function.
231 (display_debug_addr): New function.
232 (display_debug_str_offsets): New function.
233 (display_debug_ranges): Allow missing range lists. Suppress
234 diagnostics if dwarf_check not set.
235 (debug_displays): Add column to select abbrev section.
236 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
237 for Fission.
238 (struct dwarf_section): Add abbrev_sec field.
239 (struct dwarf_section_display): New type.
240 (debug_info): Add addr_base, ranges_base fields.
241 (dwarf_check): New global variable.
242 * objdump.c (usage): Add --dwarf-check option.
243 (enum option_values): Add OPTION_DWARF_CHECK.
244 (long_options): Add --dwarf-check.
245 (main): Likewise.
246 * readelf.c (OPTION_DWARF_CHECK): New macro.
247 (options): Add --dwarf-check.
248 (parse_args): Likewise.
249 (process_section_headers): Use const_strneq instead of
250 streq.
251
e04d7088
L
2522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
253
254 PR binutils/14088
255 * readelf.c (dump_relocations): Always display addend as
256 signed hex number.
257
208a4923
NC
2582012-05-11 Daniel Richard G. <skunk@iskunk.org>
259
260 PR binutils/14028
261 * configure.in: Invoke ACX_HEADER_STRING.
262 * configure: Regenerate.
263 * config.in: Regenerate.
264 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
265 string.h and strings.h.
266
afd6e1ff
JJ
2672012-05-10 Jakub Jelinek <jakub@redhat.com>
268
269 * dwarf.c (read_and_display_attr_value): Don't look up tag from
270 abbrev for DW_FORM_ref_addr.
271
a8c30cba 2722012-05-08 Sean Keys <skeys@ipdatasys.com>
208a4923 273
a8c30cba 274 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
208a4923 275
96109726
CC
2762012-05-08 Cary Coutant <ccoutant@google.com>
277
278 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
279 (strip): Add --strip-dwo option.
280 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
281 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
282 (strip_options): Add --strip-dwo option.
283 (copy_options): Add --extract-dwo, --strip-dwo options.
284 (copy_usage): Likewise.
285 (strip_usage): Add --strip-dwo option.
286 (is_dwo_section): New function.
287 (is_strip_section_1): Check for DWO sections.
288 (copy_object): Check for --strip-dwo, --extract-dwo options.
289 (copy_relocations_in_section): Discard relocations for DWO sections.
290 Discard entire relocation section when no relocations.
291 (strip_main): Add --strip-dwo option.
292 (copy_main): Add --strip-dwo, --extract-dwo options.
293
e5b62927
AM
2942012-05-08 Alan Modra <amodra@gmail.com>
295
296 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
297 LC and LANG environment vars.
298 * Makefile.in: Regenerate.
299
a19c41a7
TT
3002012-05-07 Tom Tromey <tromey@redhat.com>
301
302 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
303 (get_FORM_name): Use get_DW_FORM_name.
304 (get_AT_name): Use get_DW_AT_name.
305
cce3d66c
AM
3062012-05-07 Alan Modra <amodra@gmail.com>
307
308 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
309 * Makefile.in: Regenerate.
310
45dfa85a
AM
3112012-05-05 Alan Modra <amodra@gmail.com>
312
313 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
314
f6c1a2d5
NC
3152012-05-03 Sean Keys <skeys@ipdatasys.com>
316
317 * readelf.c: Add support for XGATE.
318
1c062060
NC
3192012-05-02 Nick Clifton <nickc@redhat.com>
320
321 * po/vi.po: Updated Vietnamese translation.
322 * po/it.po: New Italian translation.
323 * configure.in (ALL_LINGUAS): Add it.
324 * configure: Regenerate.
325
57402f1e
NC
3262012-05-01 Nick Clifton <nickc@redhat.com>
327
328 PR binutils/13121
329 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
330 AIX system headers.
331
2e30cb57
CC
3322012-04-25 Cary Coutant <ccoutant@google.com>
333
334 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
335 to strip and objcopy.
336 * objcopy.c (deterministic): New global variable.
337 (strip_options): Add --enable-deterministic-archives.
338 (copy_options): Likewise.
339 (copy_usage): Likewise.
340 (strip_usage): Likewise.
341 (copy_archive): When stripping all, don't add archive map; set
342 deterministic output when requested.
343 (strip_main): Add -D/--enable-deterministic-archives option.
344 (copy_main): Likewise.
345
c3989150
L
3462012-04-12 H.J. Lu <hongjiu.lu@intel.com>
347
348 PR binutils/13947
349 * objcopy.c (copy_object): Call copy_relocations_in_section
350 before copy_section.
351 (skip_section): New.
352 (copy_relocations_in_section): Likewise.
353 (copy_section): Use skip_section. Don't copy relocations here.
354
1233b4a7
NC
3552012-04-11 Ryan Mansfield <rmansfield@qnx.com>
356
357 * objdump.c (dump_bfd): If defaulting to dwarf call
358 dwarf_select_sections_all to enable displays.
359
58797674
RM
3602012-04-06 Roland McGrath <mcgrathr@google.com>
361
362 * configure.in (AC_CHECK_HEADERS): Add locale.h.
363 * config.in: Regenerate.
364 * configure: Regenerate.
365
44350750
NC
3662012-04-05 Nick Clifton <nickc@redhat.com>
367
368 * configure.in (AC_CHECK_FUNCS): Add setlocale.
369 (AM_LC_MESSAGES): Add.
370 * aclocal.m4: Regenerate.
371 * config.in: Regenerate.
372 * configure: Regenerate.
373
b149968f
NC
3742012-03-30 Nick Clifton <nickc@redhat.com>
375
376 PR binutils/13925
377 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
378 returning an empty context for a function with no arguments.
379
658c7344
TT
3802012-03-28 Tom Tromey <tromey@redhat.com>
381
382 * dwarf.c (display_gdb_index): Handle index version 6.
383
0a22ae8e
NC
3842012-03-07 Nick Clifton <nickc@redhat.com>
385
386 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
387
ae9ab7c0
NC
3882012-02-29 Jeff Law <law@redhat.com>
389
390 * doc/binutils.texi (c++filt): Fix typos.
391
5b3d386e
KT
3922012-02-24 Kai Tietz <ktietz@redhat.com>
393
394 PR binutils/13710
395 * defparse.y (keyword_as_name): Disable LIBRARY
396 keyword.
397 * doc/binutils.texi: Document LIBRARY exception.
398
9a30f236
KT
3992012-02-21 Kai Tietz<ktietz@redhat.com>
400
401 PR binutils/13682
402 * NEWS: Mention new feature.
403 * dlltool.c (i386_x64_dljtab): New stub-code for x64
404 delayed-load feature.
405 (i386_x64_trampoline): New trampoline-code for x64
406 delayed-load feature.
407 (make_one_lib_file): Add support for x64 delayed-load
408 feature.
409 (make_delay_head): Likewis
410
6c713012
AM
4112012-02-20 Namhyung Kim <namhyung.kim@lge.com>
412
413 * objdump.c (slurp_file): Close file if fstat fails.
414
74bc6052
CC
4152012-02-14 Cary Coutant <ccoutant@google.com>
416
417 * dwarf.c (dwarf_vmatoa64): New function.
418 (read_and_display_attr_value): Print 8-byte forms as single hex
419 numbers.
420 (process_debug_info): Print type signatures as single hex numbers.
421 * elfcomm.c (byte_get_64): New function.
422 * elfcomm.h (byte_get_64): New function.
423
aa83d1ec
KT
4242012-02-11 Kai Tietz <ktietz@redhat.com>
425
426 PR binutils/13657
427 * defparse.y (%union): New type id_const.
428 (opt_name2): New rule.
429 (keyword_as_name): New rule.
430 (opt_name): Adjust rule.
431 (opt_import_name): Likewise.
432 (opt_equal_name): Likewise.
433
7afcdbb2
KT
4342012-02-11 Kai Tietz <ktietz@redhat.com>
435
436 PR binutils/13297
437 * resrc.c (write_rc_dialog_control): Omit text dump for
438 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
439
dbb7c441
AM
4402012-02-09 Alan Modra <amodra@gmail.com>
441
442 * sysdep.h: Include sys/stat.h here.
443 * ar.c: Don't include headers already included by sysdep.h.
444 * bucomm.c: Likewise.
445 * budbg.h: Likewise.
446 * dlltool.h: Likewise.
447 * elfedit.c: Likewise.
448 * nlmconv.c: Likewise.
449 * objcopy.c: Likewise.
450 * objdump.c: Likewise.
451 * objdump.h: Likewise.
452 * readelf.c: Likewise.
453 * rename.c: Likewise.
454 * resrc.c: Likewise.
455 * strings.c: Likewise.
456 * windres.c: Likewise.
457 * od-macho.c: Ensure #include sysdep.h is first.
458 * od-xcoff.c: Likewise.
459 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
460 remove duplicate headers.
461 * dlltool.c: Likewise and ensure #include sysdep.h is first.
462
36e32b27
NC
4632012-02-01 Nick Clifton <nickc@redhat.com>
464
465 PR binutils/13493
466 * ar.c (ranlib_main): Process --plugin option.
467 * doc/binutils.texi: Document --plugin support for ranlib.
468
8b971f9f
NC
4692012-02-01 Nick Clifton <nickc@redhat.com>
470
471 PR binutils/13482
472 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
473 verifying the contents of a note.
474
fa1908fd
NC
4752012-01-26 Nick Clifton <nickc@redhat.com>
476
477 PR binutils/13622
478 * readelf.c (process_section_groups): If there are no section
479 headers do not scan for section groups.
480 (process_note_sections): Likewise for note sections.
481
2128eb39
TG
4822012-01-20 Tristan Gingold <gingold@adacore.com>
483
484 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
485 (options): Add an entry for seg_split_info.
486 (mach_o_help): Document it.
487 (dump_segment_split_info): New function.
488 (dump_load_command): Handle seg_split_info.
489
2fc0fe4f
TG
4902012-01-19 Tristan Gingold <gingold@adacore.com>
491
492 * dwarf.c (process_extended_line_op): Add a cast to silent a
493 warning.
494
143a3db0
TG
4952012-01-19 Tristan Gingold <gingold@adacore.com>
496
497 * dwarf.c (process_extended_line_op): Reindent define_file output.
498 Detect define_file opcode length mismatch.
499 (display_debug_lines_decoded): Add an entry in file_table for each
500 define_file opcode.
501 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
502 Display extended opcode for unhandle opcode.
503
576477a6
AM
5042012-01-17 Alan Modra <amodra@gmail.com>
505
506 * version.c (print_version): Update copyright message year.
507
ddb1377c
AM
5082012-01-16 Alan Modra <amodra@gmail.com>
509
510 PR binutils/13593
511 * nm.c (OPTION_SIZE_SORT): Define.
512 (long_options): Don't set no_sort, sort_numerically or
513 sort_by_size directly.
514 (main): Instead set the flags here, making them mutually exclusive.
515
1598539f
TG
5162012-01-10 Tristan Gingold <gingold@adacore.com>
517
518 * objdump.c (display_object_bfd): Renamed from ...
519 (display_bfd): ... this.
520 (display_any_bfd): New function.
521 (display_file): Split. Handle nested archives.
522
52546677
RM
5232012-01-09 Roland McGrath <mcgrathr@google.com>
524
525 * configure.in: Use AM_ZLIB.
526 * configure: Regenerated.
527
99eac5be
NC
5282012-01-06 Nick Clifton <nickc@redhat.com>
529
530 * po/ru.po: Updated Russian translation.
531
9f4a5bd1
TG
5322012-01-04 Tristan Gingold <gingold@adacore.com>
533
534 * od-macho.c (dump_load_command): Handle fvmlib.
535
fc55a902
TG
5362012-01-04 Tristan Gingold <gingold@adacore.com>
537
538 * od-macho.c: Update copyright year.
539 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
540
23e1d329 541For older changes see ChangeLog-2011
252b5132
RH
542\f
543Local Variables:
544mode: change-log
545left-margin: 8
546fill-column: 74
547version-control: never
548End:
This page took 0.562654 seconds and 4 git commands to generate.