1 2016-11-08 Nick Clifton <nickc@redhat.com>
4 * readelf.c (process_section_headers): Fix off-by-one error when
5 checking for invalid sh_link and sh_info fields.
7 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
9 * objcopy.c (copy_section): Add extra calls to free for error
12 2016-11-04 Tom Tromey <tom@tromey.com>
14 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
17 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
19 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
22 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
23 Andrew Waterman <andrew@sifive.com>
25 Add support for RISC-V architecture.
26 * readelf.c (guess_is_rela): Add EM_RISCV.
27 (get_machine_name): Likewise.
28 (dump_relocations): Add support for riscv relocations.
29 (get_machine_flags): Add support for riscv flags.
30 (is_32bit_abs_reloc): Add R_RISCV_32.
31 (is_64bit_abs_reloc): Add R_RISCV_64.
32 (is_none_reloc): Add R_RISCV_NONE.
33 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
34 Expect the debug_ranges test to fail.
36 2016-10-17 Nick Clifton <nickc@redhat.com>
38 * readelf.c (apply_relocations): Fail if the symbol table section
39 linked to by the reloc section does not have either the SHT_SYMTAB
41 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
42 Print the contents of unknown note types.
43 (process_note): Add the file and section to the parameter list.
44 Use print_symbol to display the note name.
45 Display the contents of unknown note types.
46 (process_corefile_note_segment): Rename to process_notes_at.
47 Add section parameter. Apply relocations to the notes when
48 loading from a section. Display section name when processing
50 * testsuite/binutils-all/readelf.n: Update expected output.
52 2016-10-17 Nick Clifton <nickc@redhat.com>
54 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
55 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
56 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
57 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
58 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
59 EM_Z80, EM_AMDGPU, EM_RISCV.
60 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
61 (get_group_flags): Update to handle flags in the
62 GRP_MASKOS and GRP_MASKPROC ranges.
64 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
66 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
67 to copy file to remote host.
69 2016-10-11 Nick Clifton <nickc@redhat.com>
71 * objdump.c (is_significant_symbol_name): New function.
72 (remove_useless_symbols): Do not remove significanr symbols.
73 (find_symbol_for_address): If an exact match for the specified
74 address has not been found, try scanning the dynamic relocs to see
75 if one of these matches the address. If so, use the symbol
76 associated with the reloc.
77 (objdump_print_addr_with_symbol): Do not print offsets to symbols
79 (disassemble_section): Only use dynamic relocs if the user
81 (disassemble_data): Always load dynamic relocs if they are
84 2016-10-06 Alan Modra <amodra@gmail.com>
86 * dlltool.c: Spell fall through comments consistently.
87 * objcopy.c: Likewise.
88 * readelf.c: Likewise.
89 * dwarf.c: Add missing fall through comments.
90 * elfcomm.c: Likewise.
91 * sysinfo.y: Likewise.
92 * readelf.c: Likewise. Also remove extraneous comments.
94 2016-10-06 Alan Modra <amodra@gmail.com>
96 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
97 * elfedit.c (usage): Likewise.
98 * nm.c (usage): Likewise.
99 * objcopy.c (copy_usage, strip_usage): Likewise.
100 * srconv.c (show_usage): Likewise.
101 * strings.c (usage): Likewise.
102 * sysdump.c (show_usage): Likewise.
103 * srconv.c: Remove unneeded forward function declarations.
104 * strings.c: Likewise.
105 * sysdump.c: Likewise.
107 2016-10-06 Alan Modra <amodra@gmail.com>
109 * coffdump.c (dump_coff_where): Add missing break.
110 * stabs.c (stab_xcoff_builtin_type): Likewise.
112 2016-09-29 Alan Modra <amodra@gmail.com>
114 * readelf.c (process_arch_specific): Call process_power_specific
117 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
119 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
120 when building with CC_FOR_BUILD compiler.
121 * Makefile.in: Regenerate.
122 * configure: Likewise.
123 * doc/Makefile.in: Likewise.
125 2016-09-26 Alan Modra <amodra@gmail.com>
127 * readelf.c (display_power_gnu_attribute): Catch truncated section
128 for all powerpc attributes. Display long double ABI. Don't
129 capitalize words, except for names. Show known bits of tag values
130 when some unknown bits are present. Whitespace fixes.
132 2016-09-26 Alan Modra <amodra@gmail.com>
134 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
135 strings, use asprintf instead.
136 (get_coff_symbol_type): Likewise.
138 2016-09-19 Alan Modra <amodra@gmail.com>
140 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
142 (print_size_symbols, print_symbols): Adjust to suit, deleting
143 now unused synth_count param and fromsynth var.
144 (display_rel_file): Adjust, localizing synth_count.
146 2016-09-14 Ed Maste <emaste@freebsd.org>
148 * readelf.c (process_mips_specific): Fix typo in error message.
150 2016-09-06 Nick Clifton <nickc@redhat.com>
152 * readelf.c (request_dump_bynumber): Only call memcpy if
153 dump_sects is not NULL.
155 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
157 * readelf.c (load_specific_debug_section): Check the external
158 compression header size.
160 2016-08-19 Nick Clifton <nickc@redhat.com>
162 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
164 * testsuite/binutils-all/readelf.s-64: Likewise.
166 2016-08-12 Nick Clifton <nickc@redhat.com>
168 * readelf.c (process_symbol_table): Generate a warning if a local
169 symbol is found at and offste greater than or equal to the sh_info
170 field of it's section header.
172 2016-08-08 Nick Clifton <nickc@redhat.com>
175 * dwarf.c (display_debug_lines_decoded): Add checks for running
176 off the end of the section when populating the directory table and
178 (frame_display_row): Set max_regs equal to ncols.
179 * readelf.c (load_specific_debug_section): If the section is
180 compressed, but it is not big enough to hold a compression
181 header then warn and return 0.
184 * dwarf.c (display_debug_lines_decoded): Check directory and file
185 indicies before using them to access directory and file tables.
187 2016-08-02 Nick Clifton <nickc@redhat.com>
190 * resbin.c (bin_to_res_version): Cast variables to correct type
191 for printing in error message.
193 2016-07-28 Nick Clifton <nickc@redhat.com>
196 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
197 * resbin.c (bin_to_res_version): Allow for the padded length of a
198 version block to be longer than the recorded length. Skip padding
201 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
203 * configure: Regenerated.
205 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
207 * doc/binutils.texi (objdump): Add ARC disassembler options.
208 * testsuite/binutils-all/arc/dsp.s: New file.
209 * testsuite/binutils-all/arc/objdump.exp: Likewise.
210 * NEWS: Mention the new feature.
212 2016-07-20 Nick Clifton <nickc@redhat.com>
214 * doc/binutils.texi (objcopy): Note that the localize symbol
215 options do not affect unique symbols.
217 2016-07-16 Alan Modra <amodra@gmail.com>
219 * ar.c: Include plugin-api.h.
222 2016-07-16 Alan Modra <amodra@gmail.com>
224 * bucomm.c: Don't include libbfd.h.
225 (endian_string, display_target_list): Delete forward declaration.
226 (display_info_table, display_target_tables): Likewise.
227 (LONGEST_ARCH): Delete.
228 (struct display_target): New.
229 (do_display_target): New function.
230 (display_target_list, display_info): Rewrite functions.
231 (display_info_table): Delete.
232 (do_info_size, do_info_header, do_info_row): New functions.
234 2016-07-16 Alan Modra <amodra@gmail.com>
236 * elfcomm.h (HOST_WIDEST_INT): Move to..
238 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
239 (dump_dyld_info_rebase): Use read_leb128 rather than
240 read_unsigned_leb128.
241 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
242 (dump_segment_split_info): Likewise.
243 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
244 (dump_load_command): Likewise.
246 2016-07-16 Alan Modra <amodra@gmail.com>
248 * ar.c: Don't include libbfd.h.
249 * objcopy.c: Likewise.
250 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
253 2016-07-15 Alan Modra <amodra@gmail.com>
255 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
257 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
259 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
261 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
262 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
263 (struct option strip_options): Add 'remove-relocations'.
264 (struct option copy_options): Likewise.
265 (copy_usage): Likewise.
266 (strip_usage): Likewise.
267 (handle_remove_relocations_option): New function.
268 (discard_relocations): New function.
269 (handle_remove_section_option): New function.
270 (copy_relocations_in_section): Use discard_relocations.
271 (strip_main): Use handle_remove_section_option for
272 'remove-section', and handle 'remove-relocations' option.
273 (copy_main): Likewise.
274 * testsuite/binutils-all/objcopy.exp: Run new tests.
275 * testsuite/binutils-all/remove-relocs-01.d: New file.
276 * testsuite/binutils-all/remove-relocs-01.s: New file.
277 * testsuite/binutils-all/remove-relocs-02.d: New file.
278 * testsuite/binutils-all/remove-relocs-03.d: New file.
279 * testsuite/binutils-all/remove-relocs-04.d: New file.
280 * testsuite/binutils-all/remove-relocs-05.d: New file.
281 * testsuite/binutils-all/remove-relocs-06.d: New file.
282 * NEWS: Mention new option.
284 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
286 * objcopy.c (find_section_list): Handle section patterns starting
287 with '!' being a non-matching pattern.
288 * doc/binutils.texi (objcopy): Give example of using '!' with
289 --remove-section and --only-section.
290 (strip): Give example of using '!' with --remove-section.
291 * testsuite/binutils-all/data-sections.s: New file.
292 * testsuite/binutils-all/only-section-01.d: New file.
293 * testsuite/binutils-all/remove-section-01.d: New file.
294 * testsuite/binutils-all/objcopy.exp: Run new tests.
295 * NEWS: Mention new feature.
297 2016-07-09 Alan Modra <amodra@gmail.com>
300 * objdump.c (compare_symbols): For ELF, sort same value/type
301 symbols according to size.
303 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
305 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
307 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
308 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
309 (process_section_headers): Rename noread to purecode.
311 * section.c (SEC_ELF_NOREAD): Rename to ...
312 (SEC_ELF_PURECODE): ... this.
314 2016-07-01 Nick Clifton <nickc@redhat.com>
316 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
317 extremely large decimal value.
318 (pr_range_type): Likewise.
319 (pr_array_type): Likewise.
320 (pr_struct_field): Likewise.
321 (pr_class_baseclass): Likewise.
322 (pr_class_method_variant): Likewise.
323 (pr_tag_type): Likewise.
324 (pr_int_constant): Likewise.
325 (pr_typed_constant): Likewise.
326 (pr_variable): Likewise.
327 (pr_function_parameter): Likewise.
328 (pr_start_block): Likewise.
329 (pr_lineno): Likewise.
330 (pr_end_block): Likewise.
331 (tg_enum_type): Likewise.
332 (tg_int_constant): Likewise.
333 (tg_typed_constant): Likewise.
334 (tg_start_block): Likewise.
336 2016-07-01 Nick Clifton <nickc@redhat.com>
338 * testsuite/binutils-all/objcopy.exp
339 (objcopy_test_without_global_symbol): Expect this test to fail on
340 the AArch64 and ARM targets, since they preserve their mapping
343 2016-07-01 Tristan Gingold <gingold@adacore.com>
345 * NEWS: Add marker for 2.27.
347 2016-07-30 Tristan Gingold <gingold@adacore.com>
349 * doc/binutils.texi (objdump): Fix mis-placement.
351 2016-06-28 Nick Clifton <nickc@redhat.com>
353 * testsuite/binutils-all/ar.exp: Relax previous restriction on
354 Alpha targets. Allow ELF based Alpha targets.
356 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
358 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
359 the `unique_symbol' test.
361 2016-06-28 Alan Modra <amodra@gmail.com>
364 * objdump.c (objdump_print_symname): Don't attempt to retrieve
365 version info from synthetic symbols.
367 2016-06-24 Alan Modra <amodra@gmail.com>
369 * objcopy.c (find_section_rename): Forward declare. Remove
370 ibfd and sec_ptr param. Add old_name param. Allow for NULL
371 returned_flags. Move read of section name and flags to..
372 (setup_section): ..here. Update find_section_rename call.
373 (filter_symbols): Rename section symbols for renamed sections.
374 (copy_object): Call filter_symbols when renamed sections.
375 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
376 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
378 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
380 (localize-hidden-1): xfail if is_bad_symtab.
381 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
384 2016-06-24 Alan Modra <amodra@gmail.com>
386 * objdump.c (struct print_file_list): Add "max_printed".
387 (try_print_file_open): Init new field.
388 (show_line): Don't show 5 context lines when redisplaying source.
390 2016-06-22 Nick Clifton <nickc@redhat.com>
392 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
393 Skip bfdtest1 tests for tic30 target.
394 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
396 * testsuite/binutils-all/compress.exp: Expect some tests to fail
398 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
399 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
401 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
403 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
404 if the bintest.o file was created. Use the
405 get_standard_section_names proc to get the name of the data
407 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
409 * testsuite/binutils-all/readelf.exp: Use
410 get_standard_section_names proc to get the name of the data
412 * testsuite/binutils-all/readelf.r: Allow for non standard text
414 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
415 * testsuite/binutils-all/size.exp: Allow for non standard section
417 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
418 to fail on mips targets.
419 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
420 get_standard_section_names proc.
421 (run_dump_test): Likewise.
422 (proc get_standard_section_names): New proc.
424 2016-06-22 Nick Clifton <nickc@redhat.com>
426 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
427 (process_mips_specific): Likewise.
428 (process_gnu_liblist): Likewise.
430 2016-06-21 Graham Markall <graham.markall@embecosm.com>
432 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
435 2016-06-15 Nick Clifton <nickc@redhat.com>
437 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
440 2016-06-14 John Baldwin <jhb@FreeBSD.org>
442 * objcopy.c (do_elf_stt_common): Use correct type.
444 2016-06-14 Alan Modra <amodra@gmail.com>
446 * ar.c: Expand uses of bfd_my_archive.
449 2016-06-14 Alan Modra <amodra@gmail.com>
452 * bucomm.c (bfd_get_archive_filename): Return file name within thin
455 2016-06-02 Nick Clifton <nickc@redhat.com>
458 * objcopy.c (group_signature): Fail if the input symbol table has
459 not been loaded, or if the sh_info field of the group header is 0.
461 * dwarf.c (display_debug_frames): Do not display any
462 interpretation if the block consists solely of DW__CFA_NOPs.
464 2016-05-31 Alan Modra <amodra@gmail.com>
466 * objcopy.c: Formatting, whitespace throughout.
467 (copy_main): Init newsym->othersym.
468 (parse_symflags): Make len a size_t. Adjust uses.
470 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
473 * NEWS: Mention --enable-64-bit-archive.
475 2016-05-18 Nick Clifton <nickc@redhat.com>
478 * objcopy.c (copy_relocations_in_section): Also check for the
479 symbol pointed to by sym_ptr_ptr being NULL.
481 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
483 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
484 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
486 * testsuite/binutils-all/mips/mips.exp: Run the new test.
488 2016-05-18 Nick Clifton <nickc@redhat.com>
490 * po/sv.po: Updated Swedish translation.
492 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
494 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
495 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
496 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
497 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
498 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
499 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
500 `d_val' rather than `d_ptr' member of the dynamic entry.
502 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
504 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
506 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
507 with the `strip-10' test.
509 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
511 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
514 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
516 * readelf.c (print_mips_ases): Add DSPR3.
518 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
520 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
521 (arm_attr_public_tags): Define DSP_extension attribute.
523 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
525 * doc/binutils.texi (nm): Update description of --size-sort.
527 2016-05-09 Nick Clifton <nickc@redhat.com>
530 * readelf.c (get_32bit_section_headers): Warn if an out of range
531 sh_link or sh_info field is encountered.
532 (get_64bit_section_headers): Likewise.
534 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
536 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
538 2016-05-03 Nick Clifton <nickc@redhat.com>
540 * po/sv.po: Updated Swedish translation.
542 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
544 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
545 PC relocation for AVR target.
546 (is_none_reloc): Return true if reloc is any of AVR diff
549 2016-04-29 Nick Clifton <nickc@redhat.com>
552 * readelf.c (get_solaris_segment_type): New function.
553 (get_segment_type): Call it.
555 2016-04-28 Nick Clifton <nickc@redhat.com>
557 * po/zh_CN.po: Updated Chinese (simplified) translation.
559 2016-04-28 Nick Clifton <nickc@redhat.com>
562 * testsuite/binutils-all/aarch64/illegal.s: New test.
563 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
565 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
567 * resres.c: Likewise.
569 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
571 * Makefile.in: Regenerated with automake 1.11.6.
572 * aclocal.m4: Likewise.
573 * doc/Makefile.in: Likewise.
575 2016-04-14 Nick Clifton <nickc@redhat.com>
578 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
579 string sections possibly having the SHF_STRINGS flag bit set.
580 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
581 * testsuite/binutils-all/readelf.s: Likewise.
582 * testsuite/binutils-all/readelf.s-64: Likewise.
583 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
584 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
586 2016-04-13 Nick Clifton <nickc@redhat.com>
589 * readelf.c (get_solaris_section_type): New function: Returns the
590 name of Solaris specific section types.
591 (get_solaris_dynamic_type): New function: Return the name of
592 Solaris specific dynamic types.
593 (get_dynamic_type): Use get_solaris_dynamic_type.
594 (get_section_type_name): Use get_solaris_section_type.
595 (get_solaris_symbol_visibility): New function: Returns Solaris
596 specific symbol visibilities.
597 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
598 (process_symbol_table): Likewise.
600 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
602 * dwarf.h (init_dwarf_regnames_s390): Declare.
603 * dwarf.c (dwarf_regnames_s390): New.
604 (init_dwarf_regnames_s390): New.
605 (init_dwarf_regnames): Call it.
606 * objdump.c (dump_dwarf): Likewise.
608 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
610 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
611 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
613 * testsuite/binutils-all/mips/mips.exp: Run the new test.
615 2016-04-04 Nick Clifton <nickc@redhat.com>
618 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
619 version number if the version is zero.
621 2016-03-29 Alan Modra <amodra@gmail.com>
623 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
624 (get_dynamic_data): Likewise.
626 2016-03-22 Nick Clifton <nickc@redhat.com>
629 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
630 with run time size check.
632 * configure: Regenerate.
634 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
636 * readelf.c (decode_ARC_machine_flags): Handle nps400.
638 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
640 * readelf.c (get_machine_flags): Move arc processing into...
641 (decode_ARC_machine_flags): ... new function. Remove use of
642 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
643 "unknown arc". Merged ABI printing between two machine types.
645 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
647 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
648 to the architecture list.
650 2016-03-21 Nick Clifton <nickc@redhat.com>
652 * dlltool.c: Replace use of alloca with call to xmalloc.
653 * dllwrap.c: Likewise.
654 * nlmconv.c: Likewise.
655 * objdump.c: Likewise.
657 * winduni.c: Likewise.
658 * configure: Regenerate.
660 2016-03-07 Nick Clifton <nickc@redhat.com>
663 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
665 * testsuite/binutils-all/empty: New, empty, file.
667 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
669 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
671 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
674 * NEWS: Mention --elf-stt-common= for objcopy.
675 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
676 * objcopy.c (do_elf_stt_common): New.
677 (command_line_switch): Add OPTION_ELF_STT_COMMON.
678 (copy_options): Add --elf-stt-common=.
679 (copy_usage): Add --elf-stt-common=.
680 (copy_object): Also check do_elf_stt_common for ELF targets.
681 (copy_file): Handle do_elf_stt_common.
682 (copy_main): Handle OPTION_ELF_STT_COMMON.
683 * readelf.c (apply_relocations): Support STT_COMMON.
684 * testsuite/binutils-all/common-1.s: New file.
685 * testsuite/binutils-all/common-1a.d: Likewise.
686 * testsuite/binutils-all/common-1b.d: Likewise.
687 * testsuite/binutils-all/common-1c.d: Likewise.
688 * testsuite/binutils-all/common-1d.d: Likewise.
689 * testsuite/binutils-all/common-1e.d: Likewise.
690 * testsuite/binutils-all/common-1f.d: Likewise.
691 * testsuite/binutils-all/common-2.s: Likewise.
692 * testsuite/binutils-all/common-2a.d: Likewise.
693 * testsuite/binutils-all/common-2b.d: Likewise.
694 * testsuite/binutils-all/common-2c.d: Likewise.
695 * testsuite/binutils-all/common-2d.d: Likewise.
696 * testsuite/binutils-all/common-2e.d: Likewise.
697 * testsuite/binutils-all/common-2f.d: Likewise.
698 * testsuite/binutils-all/objcopy.exp
699 (objcopy_test_elf_common_symbols): New proc.
700 Run objcopy_test_elf_common_symbols for ELF targets
702 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
705 * readelf.c (get_section_type_name): Add a missing break.
707 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
709 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
711 2016-02-15 Nick Clifton <nickc@redhat.com>
713 * readelf.c (get_section_type_name): Add hex prefix to offsets
714 printed for LOPROC and LOOS values. Ensure that a result is
715 always returned for the V850 target, even when an unrecognised
716 processor specific value is encountered.
717 (process_section_headers): Display key values in the order in
718 which they appear to the user. Add the "C (compressed)" value to
721 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
723 * doc/binutils.texi: Fix a typo.
725 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
727 * testsuite/binutils-all/objdump.exp: Update expected default
728 architecture value for ARC binaries.
730 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
733 * testsuite/binutils-all/objcopy.exp
734 (objcopy_test_without_global_symbol): New proc.
735 Run objcopy_test_without_global_symbol.
736 * testsuite/binutils-all/pr19547.c: New file.
738 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
741 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
743 * Makefile.in: Regenerated.
744 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
746 Run test_gnu_debuglink for native ELF build.
748 2016-01-20 Nick Clifton <nickc@redhat.com>
751 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
752 do not support inserting leading underscores.
754 2016-01-20 Mickael Guene <mickael.guene@st.com>
756 * readelf.c (get_elf_section_flags): Display y letter for section
757 with SHF_ARM_NOREAD section flag in readelf section output.
758 (process_section_headers): Add y letter in readelf section output
759 key mapping for ARM architecture.
760 * objdump.c (dump_section_header): Display NOREAD attributes as
762 * doc/binutils.texi (objdump): Note that it is correct for
763 sections to have both the READONLY and NOREAD attributes.
765 2016-01-19 John Baldwin <jhb@FreeBSD.org>
767 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
769 2016-01-19 John Baldwin <jhb@FreeBSD.org>
771 * readelf.c (get_freebsd_elfcore_note_type): New
772 (process_note): Add support for FreeBSD core notes.
774 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
775 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
777 * readelf.c (get_machine_flags): Add support for newer ARC ELF
780 2016-01-18 Alan Modra <amodra@gmail.com>
782 * configure: Regenerate.
784 2016-01-17 Alan Modra <amodra@gmail.com>
786 * configure: Regenerate.
788 2016-01-17 Alan Modra <amodra@gmail.com>
790 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
791 for m68hc11/12 and xgate triples.
793 2016-01-17 Alan Modra <amodra@gmail.com>
795 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
797 2016-01-01 Alan Modra <amodra@gmail.com>
799 Update year range in copyright notice of all files.
801 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
803 Copyright (C) 2016 Free Software Foundation, Inc.
805 Copying and distribution of this file, with or without modification,
806 are permitted in any medium without royalty provided the copyright
807 notice and this notice are preserved.
813 version-control: never