1 2016-11-04 Tom Tromey <tom@tromey.com>
3 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
6 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
8 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
11 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
12 Andrew Waterman <andrew@sifive.com>
14 Add support for RISC-V architecture.
15 * readelf.c (guess_is_rela): Add EM_RISCV.
16 (get_machine_name): Likewise.
17 (dump_relocations): Add support for riscv relocations.
18 (get_machine_flags): Add support for riscv flags.
19 (is_32bit_abs_reloc): Add R_RISCV_32.
20 (is_64bit_abs_reloc): Add R_RISCV_64.
21 (is_none_reloc): Add R_RISCV_NONE.
22 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
23 Expect the debug_ranges test to fail.
25 2016-10-17 Nick Clifton <nickc@redhat.com>
27 * readelf.c (apply_relocations): Fail if the symbol table section
28 linked to by the reloc section does not have either the SHT_SYMTAB
30 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
31 Print the contents of unknown note types.
32 (process_note): Add the file and section to the parameter list.
33 Use print_symbol to display the note name.
34 Display the contents of unknown note types.
35 (process_corefile_note_segment): Rename to process_notes_at.
36 Add section parameter. Apply relocations to the notes when
37 loading from a section. Display section name when processing
39 * testsuite/binutils-all/readelf.n: Update expected output.
41 2016-10-17 Nick Clifton <nickc@redhat.com>
43 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
44 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
45 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
46 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
47 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
48 EM_Z80, EM_AMDGPU, EM_RISCV.
49 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
50 (get_group_flags): Update to handle flags in the
51 GRP_MASKOS and GRP_MASKPROC ranges.
53 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
55 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
56 to copy file to remote host.
58 2016-10-11 Nick Clifton <nickc@redhat.com>
60 * objdump.c (is_significant_symbol_name): New function.
61 (remove_useless_symbols): Do not remove significanr symbols.
62 (find_symbol_for_address): If an exact match for the specified
63 address has not been found, try scanning the dynamic relocs to see
64 if one of these matches the address. If so, use the symbol
65 associated with the reloc.
66 (objdump_print_addr_with_symbol): Do not print offsets to symbols
68 (disassemble_section): Only use dynamic relocs if the user
70 (disassemble_data): Always load dynamic relocs if they are
73 2016-10-06 Alan Modra <amodra@gmail.com>
75 * dlltool.c: Spell fall through comments consistently.
76 * objcopy.c: Likewise.
77 * readelf.c: Likewise.
78 * dwarf.c: Add missing fall through comments.
79 * elfcomm.c: Likewise.
80 * sysinfo.y: Likewise.
81 * readelf.c: Likewise. Also remove extraneous comments.
83 2016-10-06 Alan Modra <amodra@gmail.com>
85 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
86 * elfedit.c (usage): Likewise.
87 * nm.c (usage): Likewise.
88 * objcopy.c (copy_usage, strip_usage): Likewise.
89 * srconv.c (show_usage): Likewise.
90 * strings.c (usage): Likewise.
91 * sysdump.c (show_usage): Likewise.
92 * srconv.c: Remove unneeded forward function declarations.
93 * strings.c: Likewise.
94 * sysdump.c: Likewise.
96 2016-10-06 Alan Modra <amodra@gmail.com>
98 * coffdump.c (dump_coff_where): Add missing break.
99 * stabs.c (stab_xcoff_builtin_type): Likewise.
101 2016-09-29 Alan Modra <amodra@gmail.com>
103 * readelf.c (process_arch_specific): Call process_power_specific
106 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
108 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
109 when building with CC_FOR_BUILD compiler.
110 * Makefile.in: Regenerate.
111 * configure: Likewise.
112 * doc/Makefile.in: Likewise.
114 2016-09-26 Alan Modra <amodra@gmail.com>
116 * readelf.c (display_power_gnu_attribute): Catch truncated section
117 for all powerpc attributes. Display long double ABI. Don't
118 capitalize words, except for names. Show known bits of tag values
119 when some unknown bits are present. Whitespace fixes.
121 2016-09-26 Alan Modra <amodra@gmail.com>
123 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
124 strings, use asprintf instead.
125 (get_coff_symbol_type): Likewise.
127 2016-09-19 Alan Modra <amodra@gmail.com>
129 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
131 (print_size_symbols, print_symbols): Adjust to suit, deleting
132 now unused synth_count param and fromsynth var.
133 (display_rel_file): Adjust, localizing synth_count.
135 2016-09-14 Ed Maste <emaste@freebsd.org>
137 * readelf.c (process_mips_specific): Fix typo in error message.
139 2016-09-06 Nick Clifton <nickc@redhat.com>
141 * readelf.c (request_dump_bynumber): Only call memcpy if
142 dump_sects is not NULL.
144 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
146 * readelf.c (load_specific_debug_section): Check the external
147 compression header size.
149 2016-08-19 Nick Clifton <nickc@redhat.com>
151 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
153 * testsuite/binutils-all/readelf.s-64: Likewise.
155 2016-08-12 Nick Clifton <nickc@redhat.com>
157 * readelf.c (process_symbol_table): Generate a warning if a local
158 symbol is found at and offste greater than or equal to the sh_info
159 field of it's section header.
161 2016-08-08 Nick Clifton <nickc@redhat.com>
164 * dwarf.c (display_debug_lines_decoded): Add checks for running
165 off the end of the section when populating the directory table and
167 (frame_display_row): Set max_regs equal to ncols.
168 * readelf.c (load_specific_debug_section): If the section is
169 compressed, but it is not big enough to hold a compression
170 header then warn and return 0.
173 * dwarf.c (display_debug_lines_decoded): Check directory and file
174 indicies before using them to access directory and file tables.
176 2016-08-02 Nick Clifton <nickc@redhat.com>
179 * resbin.c (bin_to_res_version): Cast variables to correct type
180 for printing in error message.
182 2016-07-28 Nick Clifton <nickc@redhat.com>
185 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
186 * resbin.c (bin_to_res_version): Allow for the padded length of a
187 version block to be longer than the recorded length. Skip padding
190 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
192 * configure: Regenerated.
194 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
196 * doc/binutils.texi (objdump): Add ARC disassembler options.
197 * testsuite/binutils-all/arc/dsp.s: New file.
198 * testsuite/binutils-all/arc/objdump.exp: Likewise.
199 * NEWS: Mention the new feature.
201 2016-07-20 Nick Clifton <nickc@redhat.com>
203 * doc/binutils.texi (objcopy): Note that the localize symbol
204 options do not affect unique symbols.
206 2016-07-16 Alan Modra <amodra@gmail.com>
208 * ar.c: Include plugin-api.h.
211 2016-07-16 Alan Modra <amodra@gmail.com>
213 * bucomm.c: Don't include libbfd.h.
214 (endian_string, display_target_list): Delete forward declaration.
215 (display_info_table, display_target_tables): Likewise.
216 (LONGEST_ARCH): Delete.
217 (struct display_target): New.
218 (do_display_target): New function.
219 (display_target_list, display_info): Rewrite functions.
220 (display_info_table): Delete.
221 (do_info_size, do_info_header, do_info_row): New functions.
223 2016-07-16 Alan Modra <amodra@gmail.com>
225 * elfcomm.h (HOST_WIDEST_INT): Move to..
227 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
228 (dump_dyld_info_rebase): Use read_leb128 rather than
229 read_unsigned_leb128.
230 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
231 (dump_segment_split_info): Likewise.
232 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
233 (dump_load_command): Likewise.
235 2016-07-16 Alan Modra <amodra@gmail.com>
237 * ar.c: Don't include libbfd.h.
238 * objcopy.c: Likewise.
239 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
242 2016-07-15 Alan Modra <amodra@gmail.com>
244 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
246 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
248 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
250 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
251 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
252 (struct option strip_options): Add 'remove-relocations'.
253 (struct option copy_options): Likewise.
254 (copy_usage): Likewise.
255 (strip_usage): Likewise.
256 (handle_remove_relocations_option): New function.
257 (discard_relocations): New function.
258 (handle_remove_section_option): New function.
259 (copy_relocations_in_section): Use discard_relocations.
260 (strip_main): Use handle_remove_section_option for
261 'remove-section', and handle 'remove-relocations' option.
262 (copy_main): Likewise.
263 * testsuite/binutils-all/objcopy.exp: Run new tests.
264 * testsuite/binutils-all/remove-relocs-01.d: New file.
265 * testsuite/binutils-all/remove-relocs-01.s: New file.
266 * testsuite/binutils-all/remove-relocs-02.d: New file.
267 * testsuite/binutils-all/remove-relocs-03.d: New file.
268 * testsuite/binutils-all/remove-relocs-04.d: New file.
269 * testsuite/binutils-all/remove-relocs-05.d: New file.
270 * testsuite/binutils-all/remove-relocs-06.d: New file.
271 * NEWS: Mention new option.
273 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
275 * objcopy.c (find_section_list): Handle section patterns starting
276 with '!' being a non-matching pattern.
277 * doc/binutils.texi (objcopy): Give example of using '!' with
278 --remove-section and --only-section.
279 (strip): Give example of using '!' with --remove-section.
280 * testsuite/binutils-all/data-sections.s: New file.
281 * testsuite/binutils-all/only-section-01.d: New file.
282 * testsuite/binutils-all/remove-section-01.d: New file.
283 * testsuite/binutils-all/objcopy.exp: Run new tests.
284 * NEWS: Mention new feature.
286 2016-07-09 Alan Modra <amodra@gmail.com>
289 * objdump.c (compare_symbols): For ELF, sort same value/type
290 symbols according to size.
292 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
294 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
296 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
297 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
298 (process_section_headers): Rename noread to purecode.
300 * section.c (SEC_ELF_NOREAD): Rename to ...
301 (SEC_ELF_PURECODE): ... this.
303 2016-07-01 Nick Clifton <nickc@redhat.com>
305 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
306 extremely large decimal value.
307 (pr_range_type): Likewise.
308 (pr_array_type): Likewise.
309 (pr_struct_field): Likewise.
310 (pr_class_baseclass): Likewise.
311 (pr_class_method_variant): Likewise.
312 (pr_tag_type): Likewise.
313 (pr_int_constant): Likewise.
314 (pr_typed_constant): Likewise.
315 (pr_variable): Likewise.
316 (pr_function_parameter): Likewise.
317 (pr_start_block): Likewise.
318 (pr_lineno): Likewise.
319 (pr_end_block): Likewise.
320 (tg_enum_type): Likewise.
321 (tg_int_constant): Likewise.
322 (tg_typed_constant): Likewise.
323 (tg_start_block): Likewise.
325 2016-07-01 Nick Clifton <nickc@redhat.com>
327 * testsuite/binutils-all/objcopy.exp
328 (objcopy_test_without_global_symbol): Expect this test to fail on
329 the AArch64 and ARM targets, since they preserve their mapping
332 2016-07-01 Tristan Gingold <gingold@adacore.com>
334 * NEWS: Add marker for 2.27.
336 2016-07-30 Tristan Gingold <gingold@adacore.com>
338 * doc/binutils.texi (objdump): Fix mis-placement.
340 2016-06-28 Nick Clifton <nickc@redhat.com>
342 * testsuite/binutils-all/ar.exp: Relax previous restriction on
343 Alpha targets. Allow ELF based Alpha targets.
345 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
347 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
348 the `unique_symbol' test.
350 2016-06-28 Alan Modra <amodra@gmail.com>
353 * objdump.c (objdump_print_symname): Don't attempt to retrieve
354 version info from synthetic symbols.
356 2016-06-24 Alan Modra <amodra@gmail.com>
358 * objcopy.c (find_section_rename): Forward declare. Remove
359 ibfd and sec_ptr param. Add old_name param. Allow for NULL
360 returned_flags. Move read of section name and flags to..
361 (setup_section): ..here. Update find_section_rename call.
362 (filter_symbols): Rename section symbols for renamed sections.
363 (copy_object): Call filter_symbols when renamed sections.
364 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
365 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
367 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
369 (localize-hidden-1): xfail if is_bad_symtab.
370 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
373 2016-06-24 Alan Modra <amodra@gmail.com>
375 * objdump.c (struct print_file_list): Add "max_printed".
376 (try_print_file_open): Init new field.
377 (show_line): Don't show 5 context lines when redisplaying source.
379 2016-06-22 Nick Clifton <nickc@redhat.com>
381 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
382 Skip bfdtest1 tests for tic30 target.
383 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
385 * testsuite/binutils-all/compress.exp: Expect some tests to fail
387 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
388 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
390 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
392 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
393 if the bintest.o file was created. Use the
394 get_standard_section_names proc to get the name of the data
396 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
398 * testsuite/binutils-all/readelf.exp: Use
399 get_standard_section_names proc to get the name of the data
401 * testsuite/binutils-all/readelf.r: Allow for non standard text
403 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
404 * testsuite/binutils-all/size.exp: Allow for non standard section
406 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
407 to fail on mips targets.
408 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
409 get_standard_section_names proc.
410 (run_dump_test): Likewise.
411 (proc get_standard_section_names): New proc.
413 2016-06-22 Nick Clifton <nickc@redhat.com>
415 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
416 (process_mips_specific): Likewise.
417 (process_gnu_liblist): Likewise.
419 2016-06-21 Graham Markall <graham.markall@embecosm.com>
421 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
424 2016-06-15 Nick Clifton <nickc@redhat.com>
426 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
429 2016-06-14 John Baldwin <jhb@FreeBSD.org>
431 * objcopy.c (do_elf_stt_common): Use correct type.
433 2016-06-14 Alan Modra <amodra@gmail.com>
435 * ar.c: Expand uses of bfd_my_archive.
438 2016-06-14 Alan Modra <amodra@gmail.com>
441 * bucomm.c (bfd_get_archive_filename): Return file name within thin
444 2016-06-02 Nick Clifton <nickc@redhat.com>
447 * objcopy.c (group_signature): Fail if the input symbol table has
448 not been loaded, or if the sh_info field of the group header is 0.
450 * dwarf.c (display_debug_frames): Do not display any
451 interpretation if the block consists solely of DW__CFA_NOPs.
453 2016-05-31 Alan Modra <amodra@gmail.com>
455 * objcopy.c: Formatting, whitespace throughout.
456 (copy_main): Init newsym->othersym.
457 (parse_symflags): Make len a size_t. Adjust uses.
459 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
462 * NEWS: Mention --enable-64-bit-archive.
464 2016-05-18 Nick Clifton <nickc@redhat.com>
467 * objcopy.c (copy_relocations_in_section): Also check for the
468 symbol pointed to by sym_ptr_ptr being NULL.
470 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
472 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
473 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
475 * testsuite/binutils-all/mips/mips.exp: Run the new test.
477 2016-05-18 Nick Clifton <nickc@redhat.com>
479 * po/sv.po: Updated Swedish translation.
481 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
483 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
484 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
485 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
486 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
487 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
488 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
489 `d_val' rather than `d_ptr' member of the dynamic entry.
491 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
493 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
495 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
496 with the `strip-10' test.
498 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
500 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
503 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
505 * readelf.c (print_mips_ases): Add DSPR3.
507 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
509 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
510 (arm_attr_public_tags): Define DSP_extension attribute.
512 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
514 * doc/binutils.texi (nm): Update description of --size-sort.
516 2016-05-09 Nick Clifton <nickc@redhat.com>
519 * readelf.c (get_32bit_section_headers): Warn if an out of range
520 sh_link or sh_info field is encountered.
521 (get_64bit_section_headers): Likewise.
523 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
525 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
527 2016-05-03 Nick Clifton <nickc@redhat.com>
529 * po/sv.po: Updated Swedish translation.
531 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
533 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
534 PC relocation for AVR target.
535 (is_none_reloc): Return true if reloc is any of AVR diff
538 2016-04-29 Nick Clifton <nickc@redhat.com>
541 * readelf.c (get_solaris_segment_type): New function.
542 (get_segment_type): Call it.
544 2016-04-28 Nick Clifton <nickc@redhat.com>
546 * po/zh_CN.po: Updated Chinese (simplified) translation.
548 2016-04-28 Nick Clifton <nickc@redhat.com>
551 * testsuite/binutils-all/aarch64/illegal.s: New test.
552 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
554 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
556 * resres.c: Likewise.
558 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
560 * Makefile.in: Regenerated with automake 1.11.6.
561 * aclocal.m4: Likewise.
562 * doc/Makefile.in: Likewise.
564 2016-04-14 Nick Clifton <nickc@redhat.com>
567 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
568 string sections possibly having the SHF_STRINGS flag bit set.
569 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
570 * testsuite/binutils-all/readelf.s: Likewise.
571 * testsuite/binutils-all/readelf.s-64: Likewise.
572 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
573 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
575 2016-04-13 Nick Clifton <nickc@redhat.com>
578 * readelf.c (get_solaris_section_type): New function: Returns the
579 name of Solaris specific section types.
580 (get_solaris_dynamic_type): New function: Return the name of
581 Solaris specific dynamic types.
582 (get_dynamic_type): Use get_solaris_dynamic_type.
583 (get_section_type_name): Use get_solaris_section_type.
584 (get_solaris_symbol_visibility): New function: Returns Solaris
585 specific symbol visibilities.
586 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
587 (process_symbol_table): Likewise.
589 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
591 * dwarf.h (init_dwarf_regnames_s390): Declare.
592 * dwarf.c (dwarf_regnames_s390): New.
593 (init_dwarf_regnames_s390): New.
594 (init_dwarf_regnames): Call it.
595 * objdump.c (dump_dwarf): Likewise.
597 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
599 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
600 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
602 * testsuite/binutils-all/mips/mips.exp: Run the new test.
604 2016-04-04 Nick Clifton <nickc@redhat.com>
607 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
608 version number if the version is zero.
610 2016-03-29 Alan Modra <amodra@gmail.com>
612 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
613 (get_dynamic_data): Likewise.
615 2016-03-22 Nick Clifton <nickc@redhat.com>
618 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
619 with run time size check.
621 * configure: Regenerate.
623 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
625 * readelf.c (decode_ARC_machine_flags): Handle nps400.
627 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
629 * readelf.c (get_machine_flags): Move arc processing into...
630 (decode_ARC_machine_flags): ... new function. Remove use of
631 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
632 "unknown arc". Merged ABI printing between two machine types.
634 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
636 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
637 to the architecture list.
639 2016-03-21 Nick Clifton <nickc@redhat.com>
641 * dlltool.c: Replace use of alloca with call to xmalloc.
642 * dllwrap.c: Likewise.
643 * nlmconv.c: Likewise.
644 * objdump.c: Likewise.
646 * winduni.c: Likewise.
647 * configure: Regenerate.
649 2016-03-07 Nick Clifton <nickc@redhat.com>
652 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
654 * testsuite/binutils-all/empty: New, empty, file.
656 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
658 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
660 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
663 * NEWS: Mention --elf-stt-common= for objcopy.
664 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
665 * objcopy.c (do_elf_stt_common): New.
666 (command_line_switch): Add OPTION_ELF_STT_COMMON.
667 (copy_options): Add --elf-stt-common=.
668 (copy_usage): Add --elf-stt-common=.
669 (copy_object): Also check do_elf_stt_common for ELF targets.
670 (copy_file): Handle do_elf_stt_common.
671 (copy_main): Handle OPTION_ELF_STT_COMMON.
672 * readelf.c (apply_relocations): Support STT_COMMON.
673 * testsuite/binutils-all/common-1.s: New file.
674 * testsuite/binutils-all/common-1a.d: Likewise.
675 * testsuite/binutils-all/common-1b.d: Likewise.
676 * testsuite/binutils-all/common-1c.d: Likewise.
677 * testsuite/binutils-all/common-1d.d: Likewise.
678 * testsuite/binutils-all/common-1e.d: Likewise.
679 * testsuite/binutils-all/common-1f.d: Likewise.
680 * testsuite/binutils-all/common-2.s: Likewise.
681 * testsuite/binutils-all/common-2a.d: Likewise.
682 * testsuite/binutils-all/common-2b.d: Likewise.
683 * testsuite/binutils-all/common-2c.d: Likewise.
684 * testsuite/binutils-all/common-2d.d: Likewise.
685 * testsuite/binutils-all/common-2e.d: Likewise.
686 * testsuite/binutils-all/common-2f.d: Likewise.
687 * testsuite/binutils-all/objcopy.exp
688 (objcopy_test_elf_common_symbols): New proc.
689 Run objcopy_test_elf_common_symbols for ELF targets
691 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
694 * readelf.c (get_section_type_name): Add a missing break.
696 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
698 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
700 2016-02-15 Nick Clifton <nickc@redhat.com>
702 * readelf.c (get_section_type_name): Add hex prefix to offsets
703 printed for LOPROC and LOOS values. Ensure that a result is
704 always returned for the V850 target, even when an unrecognised
705 processor specific value is encountered.
706 (process_section_headers): Display key values in the order in
707 which they appear to the user. Add the "C (compressed)" value to
710 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
712 * doc/binutils.texi: Fix a typo.
714 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
716 * testsuite/binutils-all/objdump.exp: Update expected default
717 architecture value for ARC binaries.
719 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
722 * testsuite/binutils-all/objcopy.exp
723 (objcopy_test_without_global_symbol): New proc.
724 Run objcopy_test_without_global_symbol.
725 * testsuite/binutils-all/pr19547.c: New file.
727 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
730 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
732 * Makefile.in: Regenerated.
733 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
735 Run test_gnu_debuglink for native ELF build.
737 2016-01-20 Nick Clifton <nickc@redhat.com>
740 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
741 do not support inserting leading underscores.
743 2016-01-20 Mickael Guene <mickael.guene@st.com>
745 * readelf.c (get_elf_section_flags): Display y letter for section
746 with SHF_ARM_NOREAD section flag in readelf section output.
747 (process_section_headers): Add y letter in readelf section output
748 key mapping for ARM architecture.
749 * objdump.c (dump_section_header): Display NOREAD attributes as
751 * doc/binutils.texi (objdump): Note that it is correct for
752 sections to have both the READONLY and NOREAD attributes.
754 2016-01-19 John Baldwin <jhb@FreeBSD.org>
756 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
758 2016-01-19 John Baldwin <jhb@FreeBSD.org>
760 * readelf.c (get_freebsd_elfcore_note_type): New
761 (process_note): Add support for FreeBSD core notes.
763 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
764 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
766 * readelf.c (get_machine_flags): Add support for newer ARC ELF
769 2016-01-18 Alan Modra <amodra@gmail.com>
771 * configure: Regenerate.
773 2016-01-17 Alan Modra <amodra@gmail.com>
775 * configure: Regenerate.
777 2016-01-17 Alan Modra <amodra@gmail.com>
779 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
780 for m68hc11/12 and xgate triples.
782 2016-01-17 Alan Modra <amodra@gmail.com>
784 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
786 2016-01-01 Alan Modra <amodra@gmail.com>
788 Update year range in copyright notice of all files.
790 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
792 Copyright (C) 2016 Free Software Foundation, Inc.
794 Copying and distribution of this file, with or without modification,
795 are permitted in any medium without royalty provided the copyright
796 notice and this notice are preserved.
802 version-control: never