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