1 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
4 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
6 * testsuite/binutils-all/mips/mips.exp: Run the new test.
8 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
10 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
11 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
12 * testsuite/binutils-all/mips/mips.exp: Run the new test.
14 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
16 * readelf.c (process_program_headers): Always use hex prefix when
17 displaying the segment alignment.
19 2016-12-06 Nick Clifton <nickc@redhat.com>
22 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
23 symbol pointer pointer before attempting to mark the symbol as
26 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
28 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
30 2016-12-05 Nick Clifton <nickc@redhat.com>
33 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
34 symbol pointer before attempting to mark the symbol as kept.
36 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
38 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
41 2016-11-30 Nick Clifton <nickc@redhat.com>
44 * readelf.c (process_program_headers): Do not warn about out of
45 order PT_LOAD segments.
47 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
49 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
52 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
54 * dwarf.c: Fix spelling in comments.
55 * dwarf.h: Fix spelling in comments.
56 * objcopy.c: Fix spelling in comments.
57 * od-macho.c: Fix spelling in comments.
58 * rclex.c: Fix spelling in comments.
59 * readelf.c: Fix spelling in comments.
60 * stabs.c: Fix spelling in comments.
62 2016-11-23 Nick Clifton <nickc@redhat.com>
65 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
66 segments for validity.
68 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
70 * configure: Regenerate.
72 2016-11-22 Alan Modra <amodra@gmail.com>
75 * NEWS: Mention PowerPC VLE relocation error.
77 2016-11-16 Mark Wielaard <mark@klomp.org>
79 * cxxfilt.c (main): Recognize rust_demangling.
81 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
84 * dlltool.c (struct export): Remove hint field.
85 (make_one_lib_file): Store the ordinal value for IDATA6 not the
87 (gen_lib_file): Delete reference to hint field.
88 (mangle_defs): Delete computation of hint field.
90 2016-11-11 Nick Clifton <nickc@redhat.com>
93 * nm.c (with_symbol_versions): New local variable.
94 (long_options): Add --with-symbol-versions.
95 (usage): Mention --with-symbol-versions.
96 (print_symbol): If with_symbol_versions is set then display the
97 version information associated with the symbol.
98 * NEWS: Mention the new feature.
99 * doc/binutils.texi (nm): Document the new option.
100 (objdump): Describe how symbol version information is displayed
101 for dynamic symbol dumps.
102 (readelf): Describe how symbol version information is displayed.
103 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
105 2016-11-08 Nick Clifton <nickc@redhat.com>
108 * readelf.c (process_section_headers): Fix off-by-one error when
109 checking for invalid sh_link and sh_info fields.
111 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
113 * objcopy.c (copy_section): Add extra calls to free for error
116 2016-11-04 Tom Tromey <tom@tromey.com>
118 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
121 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
123 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
126 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
127 Andrew Waterman <andrew@sifive.com>
129 Add support for RISC-V architecture.
130 * readelf.c (guess_is_rela): Add EM_RISCV.
131 (get_machine_name): Likewise.
132 (dump_relocations): Add support for riscv relocations.
133 (get_machine_flags): Add support for riscv flags.
134 (is_32bit_abs_reloc): Add R_RISCV_32.
135 (is_64bit_abs_reloc): Add R_RISCV_64.
136 (is_none_reloc): Add R_RISCV_NONE.
137 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
138 Expect the debug_ranges test to fail.
140 2016-10-17 Nick Clifton <nickc@redhat.com>
142 * readelf.c (apply_relocations): Fail if the symbol table section
143 linked to by the reloc section does not have either the SHT_SYMTAB
145 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
146 Print the contents of unknown note types.
147 (process_note): Add the file and section to the parameter list.
148 Use print_symbol to display the note name.
149 Display the contents of unknown note types.
150 (process_corefile_note_segment): Rename to process_notes_at.
151 Add section parameter. Apply relocations to the notes when
152 loading from a section. Display section name when processing
154 * testsuite/binutils-all/readelf.n: Update expected output.
156 2016-10-17 Nick Clifton <nickc@redhat.com>
158 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
159 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
160 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
161 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
162 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
163 EM_Z80, EM_AMDGPU, EM_RISCV.
164 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
165 (get_group_flags): Update to handle flags in the
166 GRP_MASKOS and GRP_MASKPROC ranges.
168 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
170 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
171 to copy file to remote host.
173 2016-10-11 Nick Clifton <nickc@redhat.com>
175 * objdump.c (is_significant_symbol_name): New function.
176 (remove_useless_symbols): Do not remove significanr symbols.
177 (find_symbol_for_address): If an exact match for the specified
178 address has not been found, try scanning the dynamic relocs to see
179 if one of these matches the address. If so, use the symbol
180 associated with the reloc.
181 (objdump_print_addr_with_symbol): Do not print offsets to symbols
183 (disassemble_section): Only use dynamic relocs if the user
185 (disassemble_data): Always load dynamic relocs if they are
188 2016-10-06 Alan Modra <amodra@gmail.com>
190 * dlltool.c: Spell fall through comments consistently.
191 * objcopy.c: Likewise.
192 * readelf.c: Likewise.
193 * dwarf.c: Add missing fall through comments.
194 * elfcomm.c: Likewise.
195 * sysinfo.y: Likewise.
196 * readelf.c: Likewise. Also remove extraneous comments.
198 2016-10-06 Alan Modra <amodra@gmail.com>
200 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
201 * elfedit.c (usage): Likewise.
202 * nm.c (usage): Likewise.
203 * objcopy.c (copy_usage, strip_usage): Likewise.
204 * srconv.c (show_usage): Likewise.
205 * strings.c (usage): Likewise.
206 * sysdump.c (show_usage): Likewise.
207 * srconv.c: Remove unneeded forward function declarations.
208 * strings.c: Likewise.
209 * sysdump.c: Likewise.
211 2016-10-06 Alan Modra <amodra@gmail.com>
213 * coffdump.c (dump_coff_where): Add missing break.
214 * stabs.c (stab_xcoff_builtin_type): Likewise.
216 2016-09-29 Alan Modra <amodra@gmail.com>
218 * readelf.c (process_arch_specific): Call process_power_specific
221 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
223 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
224 when building with CC_FOR_BUILD compiler.
225 * Makefile.in: Regenerate.
226 * configure: Likewise.
227 * doc/Makefile.in: Likewise.
229 2016-09-26 Alan Modra <amodra@gmail.com>
231 * readelf.c (display_power_gnu_attribute): Catch truncated section
232 for all powerpc attributes. Display long double ABI. Don't
233 capitalize words, except for names. Show known bits of tag values
234 when some unknown bits are present. Whitespace fixes.
236 2016-09-26 Alan Modra <amodra@gmail.com>
238 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
239 strings, use asprintf instead.
240 (get_coff_symbol_type): Likewise.
242 2016-09-19 Alan Modra <amodra@gmail.com>
244 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
246 (print_size_symbols, print_symbols): Adjust to suit, deleting
247 now unused synth_count param and fromsynth var.
248 (display_rel_file): Adjust, localizing synth_count.
250 2016-09-14 Ed Maste <emaste@freebsd.org>
252 * readelf.c (process_mips_specific): Fix typo in error message.
254 2016-09-06 Nick Clifton <nickc@redhat.com>
256 * readelf.c (request_dump_bynumber): Only call memcpy if
257 dump_sects is not NULL.
259 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
261 * readelf.c (load_specific_debug_section): Check the external
262 compression header size.
264 2016-08-19 Nick Clifton <nickc@redhat.com>
266 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
268 * testsuite/binutils-all/readelf.s-64: Likewise.
270 2016-08-12 Nick Clifton <nickc@redhat.com>
272 * readelf.c (process_symbol_table): Generate a warning if a local
273 symbol is found at and offste greater than or equal to the sh_info
274 field of it's section header.
276 2016-08-08 Nick Clifton <nickc@redhat.com>
279 * dwarf.c (display_debug_lines_decoded): Add checks for running
280 off the end of the section when populating the directory table and
282 (frame_display_row): Set max_regs equal to ncols.
283 * readelf.c (load_specific_debug_section): If the section is
284 compressed, but it is not big enough to hold a compression
285 header then warn and return 0.
288 * dwarf.c (display_debug_lines_decoded): Check directory and file
289 indicies before using them to access directory and file tables.
291 2016-08-02 Nick Clifton <nickc@redhat.com>
294 * resbin.c (bin_to_res_version): Cast variables to correct type
295 for printing in error message.
297 2016-07-28 Nick Clifton <nickc@redhat.com>
300 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
301 * resbin.c (bin_to_res_version): Allow for the padded length of a
302 version block to be longer than the recorded length. Skip padding
305 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
307 * configure: Regenerated.
309 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
311 * doc/binutils.texi (objdump): Add ARC disassembler options.
312 * testsuite/binutils-all/arc/dsp.s: New file.
313 * testsuite/binutils-all/arc/objdump.exp: Likewise.
314 * NEWS: Mention the new feature.
316 2016-07-20 Nick Clifton <nickc@redhat.com>
318 * doc/binutils.texi (objcopy): Note that the localize symbol
319 options do not affect unique symbols.
321 2016-07-16 Alan Modra <amodra@gmail.com>
323 * ar.c: Include plugin-api.h.
326 2016-07-16 Alan Modra <amodra@gmail.com>
328 * bucomm.c: Don't include libbfd.h.
329 (endian_string, display_target_list): Delete forward declaration.
330 (display_info_table, display_target_tables): Likewise.
331 (LONGEST_ARCH): Delete.
332 (struct display_target): New.
333 (do_display_target): New function.
334 (display_target_list, display_info): Rewrite functions.
335 (display_info_table): Delete.
336 (do_info_size, do_info_header, do_info_row): New functions.
338 2016-07-16 Alan Modra <amodra@gmail.com>
340 * elfcomm.h (HOST_WIDEST_INT): Move to..
342 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
343 (dump_dyld_info_rebase): Use read_leb128 rather than
344 read_unsigned_leb128.
345 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
346 (dump_segment_split_info): Likewise.
347 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
348 (dump_load_command): Likewise.
350 2016-07-16 Alan Modra <amodra@gmail.com>
352 * ar.c: Don't include libbfd.h.
353 * objcopy.c: Likewise.
354 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
357 2016-07-15 Alan Modra <amodra@gmail.com>
359 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
361 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
363 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
365 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
366 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
367 (struct option strip_options): Add 'remove-relocations'.
368 (struct option copy_options): Likewise.
369 (copy_usage): Likewise.
370 (strip_usage): Likewise.
371 (handle_remove_relocations_option): New function.
372 (discard_relocations): New function.
373 (handle_remove_section_option): New function.
374 (copy_relocations_in_section): Use discard_relocations.
375 (strip_main): Use handle_remove_section_option for
376 'remove-section', and handle 'remove-relocations' option.
377 (copy_main): Likewise.
378 * testsuite/binutils-all/objcopy.exp: Run new tests.
379 * testsuite/binutils-all/remove-relocs-01.d: New file.
380 * testsuite/binutils-all/remove-relocs-01.s: New file.
381 * testsuite/binutils-all/remove-relocs-02.d: New file.
382 * testsuite/binutils-all/remove-relocs-03.d: New file.
383 * testsuite/binutils-all/remove-relocs-04.d: New file.
384 * testsuite/binutils-all/remove-relocs-05.d: New file.
385 * testsuite/binutils-all/remove-relocs-06.d: New file.
386 * NEWS: Mention new option.
388 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
390 * objcopy.c (find_section_list): Handle section patterns starting
391 with '!' being a non-matching pattern.
392 * doc/binutils.texi (objcopy): Give example of using '!' with
393 --remove-section and --only-section.
394 (strip): Give example of using '!' with --remove-section.
395 * testsuite/binutils-all/data-sections.s: New file.
396 * testsuite/binutils-all/only-section-01.d: New file.
397 * testsuite/binutils-all/remove-section-01.d: New file.
398 * testsuite/binutils-all/objcopy.exp: Run new tests.
399 * NEWS: Mention new feature.
401 2016-07-09 Alan Modra <amodra@gmail.com>
404 * objdump.c (compare_symbols): For ELF, sort same value/type
405 symbols according to size.
407 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
409 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
411 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
412 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
413 (process_section_headers): Rename noread to purecode.
415 * section.c (SEC_ELF_NOREAD): Rename to ...
416 (SEC_ELF_PURECODE): ... this.
418 2016-07-01 Nick Clifton <nickc@redhat.com>
420 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
421 extremely large decimal value.
422 (pr_range_type): Likewise.
423 (pr_array_type): Likewise.
424 (pr_struct_field): Likewise.
425 (pr_class_baseclass): Likewise.
426 (pr_class_method_variant): Likewise.
427 (pr_tag_type): Likewise.
428 (pr_int_constant): Likewise.
429 (pr_typed_constant): Likewise.
430 (pr_variable): Likewise.
431 (pr_function_parameter): Likewise.
432 (pr_start_block): Likewise.
433 (pr_lineno): Likewise.
434 (pr_end_block): Likewise.
435 (tg_enum_type): Likewise.
436 (tg_int_constant): Likewise.
437 (tg_typed_constant): Likewise.
438 (tg_start_block): Likewise.
440 2016-07-01 Nick Clifton <nickc@redhat.com>
442 * testsuite/binutils-all/objcopy.exp
443 (objcopy_test_without_global_symbol): Expect this test to fail on
444 the AArch64 and ARM targets, since they preserve their mapping
447 2016-07-01 Tristan Gingold <gingold@adacore.com>
449 * NEWS: Add marker for 2.27.
451 2016-07-30 Tristan Gingold <gingold@adacore.com>
453 * doc/binutils.texi (objdump): Fix mis-placement.
455 2016-06-28 Nick Clifton <nickc@redhat.com>
457 * testsuite/binutils-all/ar.exp: Relax previous restriction on
458 Alpha targets. Allow ELF based Alpha targets.
460 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
462 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
463 the `unique_symbol' test.
465 2016-06-28 Alan Modra <amodra@gmail.com>
468 * objdump.c (objdump_print_symname): Don't attempt to retrieve
469 version info from synthetic symbols.
471 2016-06-24 Alan Modra <amodra@gmail.com>
473 * objcopy.c (find_section_rename): Forward declare. Remove
474 ibfd and sec_ptr param. Add old_name param. Allow for NULL
475 returned_flags. Move read of section name and flags to..
476 (setup_section): ..here. Update find_section_rename call.
477 (filter_symbols): Rename section symbols for renamed sections.
478 (copy_object): Call filter_symbols when renamed sections.
479 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
480 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
482 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
484 (localize-hidden-1): xfail if is_bad_symtab.
485 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
488 2016-06-24 Alan Modra <amodra@gmail.com>
490 * objdump.c (struct print_file_list): Add "max_printed".
491 (try_print_file_open): Init new field.
492 (show_line): Don't show 5 context lines when redisplaying source.
494 2016-06-22 Nick Clifton <nickc@redhat.com>
496 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
497 Skip bfdtest1 tests for tic30 target.
498 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
500 * testsuite/binutils-all/compress.exp: Expect some tests to fail
502 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
503 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
505 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
507 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
508 if the bintest.o file was created. Use the
509 get_standard_section_names proc to get the name of the data
511 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
513 * testsuite/binutils-all/readelf.exp: Use
514 get_standard_section_names proc to get the name of the data
516 * testsuite/binutils-all/readelf.r: Allow for non standard text
518 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
519 * testsuite/binutils-all/size.exp: Allow for non standard section
521 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
522 to fail on mips targets.
523 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
524 get_standard_section_names proc.
525 (run_dump_test): Likewise.
526 (proc get_standard_section_names): New proc.
528 2016-06-22 Nick Clifton <nickc@redhat.com>
530 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
531 (process_mips_specific): Likewise.
532 (process_gnu_liblist): Likewise.
534 2016-06-21 Graham Markall <graham.markall@embecosm.com>
536 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
539 2016-06-15 Nick Clifton <nickc@redhat.com>
541 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
544 2016-06-14 John Baldwin <jhb@FreeBSD.org>
546 * objcopy.c (do_elf_stt_common): Use correct type.
548 2016-06-14 Alan Modra <amodra@gmail.com>
550 * ar.c: Expand uses of bfd_my_archive.
553 2016-06-14 Alan Modra <amodra@gmail.com>
556 * bucomm.c (bfd_get_archive_filename): Return file name within thin
559 2016-06-02 Nick Clifton <nickc@redhat.com>
562 * objcopy.c (group_signature): Fail if the input symbol table has
563 not been loaded, or if the sh_info field of the group header is 0.
565 * dwarf.c (display_debug_frames): Do not display any
566 interpretation if the block consists solely of DW__CFA_NOPs.
568 2016-05-31 Alan Modra <amodra@gmail.com>
570 * objcopy.c: Formatting, whitespace throughout.
571 (copy_main): Init newsym->othersym.
572 (parse_symflags): Make len a size_t. Adjust uses.
574 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
577 * NEWS: Mention --enable-64-bit-archive.
579 2016-05-18 Nick Clifton <nickc@redhat.com>
582 * objcopy.c (copy_relocations_in_section): Also check for the
583 symbol pointed to by sym_ptr_ptr being NULL.
585 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
587 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
588 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
590 * testsuite/binutils-all/mips/mips.exp: Run the new test.
592 2016-05-18 Nick Clifton <nickc@redhat.com>
594 * po/sv.po: Updated Swedish translation.
596 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
598 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
599 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
600 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
601 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
602 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
603 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
604 `d_val' rather than `d_ptr' member of the dynamic entry.
606 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
608 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
610 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
611 with the `strip-10' test.
613 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
615 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
618 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
620 * readelf.c (print_mips_ases): Add DSPR3.
622 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
624 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
625 (arm_attr_public_tags): Define DSP_extension attribute.
627 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
629 * doc/binutils.texi (nm): Update description of --size-sort.
631 2016-05-09 Nick Clifton <nickc@redhat.com>
634 * readelf.c (get_32bit_section_headers): Warn if an out of range
635 sh_link or sh_info field is encountered.
636 (get_64bit_section_headers): Likewise.
638 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
640 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
642 2016-05-03 Nick Clifton <nickc@redhat.com>
644 * po/sv.po: Updated Swedish translation.
646 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
648 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
649 PC relocation for AVR target.
650 (is_none_reloc): Return true if reloc is any of AVR diff
653 2016-04-29 Nick Clifton <nickc@redhat.com>
656 * readelf.c (get_solaris_segment_type): New function.
657 (get_segment_type): Call it.
659 2016-04-28 Nick Clifton <nickc@redhat.com>
661 * po/zh_CN.po: Updated Chinese (simplified) translation.
663 2016-04-28 Nick Clifton <nickc@redhat.com>
666 * testsuite/binutils-all/aarch64/illegal.s: New test.
667 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
669 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
671 * resres.c: Likewise.
673 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
675 * Makefile.in: Regenerated with automake 1.11.6.
676 * aclocal.m4: Likewise.
677 * doc/Makefile.in: Likewise.
679 2016-04-14 Nick Clifton <nickc@redhat.com>
682 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
683 string sections possibly having the SHF_STRINGS flag bit set.
684 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
685 * testsuite/binutils-all/readelf.s: Likewise.
686 * testsuite/binutils-all/readelf.s-64: Likewise.
687 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
688 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
690 2016-04-13 Nick Clifton <nickc@redhat.com>
693 * readelf.c (get_solaris_section_type): New function: Returns the
694 name of Solaris specific section types.
695 (get_solaris_dynamic_type): New function: Return the name of
696 Solaris specific dynamic types.
697 (get_dynamic_type): Use get_solaris_dynamic_type.
698 (get_section_type_name): Use get_solaris_section_type.
699 (get_solaris_symbol_visibility): New function: Returns Solaris
700 specific symbol visibilities.
701 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
702 (process_symbol_table): Likewise.
704 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
706 * dwarf.h (init_dwarf_regnames_s390): Declare.
707 * dwarf.c (dwarf_regnames_s390): New.
708 (init_dwarf_regnames_s390): New.
709 (init_dwarf_regnames): Call it.
710 * objdump.c (dump_dwarf): Likewise.
712 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
714 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
715 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
717 * testsuite/binutils-all/mips/mips.exp: Run the new test.
719 2016-04-04 Nick Clifton <nickc@redhat.com>
722 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
723 version number if the version is zero.
725 2016-03-29 Alan Modra <amodra@gmail.com>
727 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
728 (get_dynamic_data): Likewise.
730 2016-03-22 Nick Clifton <nickc@redhat.com>
733 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
734 with run time size check.
736 * configure: Regenerate.
738 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
740 * readelf.c (decode_ARC_machine_flags): Handle nps400.
742 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
744 * readelf.c (get_machine_flags): Move arc processing into...
745 (decode_ARC_machine_flags): ... new function. Remove use of
746 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
747 "unknown arc". Merged ABI printing between two machine types.
749 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
751 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
752 to the architecture list.
754 2016-03-21 Nick Clifton <nickc@redhat.com>
756 * dlltool.c: Replace use of alloca with call to xmalloc.
757 * dllwrap.c: Likewise.
758 * nlmconv.c: Likewise.
759 * objdump.c: Likewise.
761 * winduni.c: Likewise.
762 * configure: Regenerate.
764 2016-03-07 Nick Clifton <nickc@redhat.com>
767 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
769 * testsuite/binutils-all/empty: New, empty, file.
771 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
773 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
775 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
778 * NEWS: Mention --elf-stt-common= for objcopy.
779 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
780 * objcopy.c (do_elf_stt_common): New.
781 (command_line_switch): Add OPTION_ELF_STT_COMMON.
782 (copy_options): Add --elf-stt-common=.
783 (copy_usage): Add --elf-stt-common=.
784 (copy_object): Also check do_elf_stt_common for ELF targets.
785 (copy_file): Handle do_elf_stt_common.
786 (copy_main): Handle OPTION_ELF_STT_COMMON.
787 * readelf.c (apply_relocations): Support STT_COMMON.
788 * testsuite/binutils-all/common-1.s: New file.
789 * testsuite/binutils-all/common-1a.d: Likewise.
790 * testsuite/binutils-all/common-1b.d: Likewise.
791 * testsuite/binutils-all/common-1c.d: Likewise.
792 * testsuite/binutils-all/common-1d.d: Likewise.
793 * testsuite/binutils-all/common-1e.d: Likewise.
794 * testsuite/binutils-all/common-1f.d: Likewise.
795 * testsuite/binutils-all/common-2.s: Likewise.
796 * testsuite/binutils-all/common-2a.d: Likewise.
797 * testsuite/binutils-all/common-2b.d: Likewise.
798 * testsuite/binutils-all/common-2c.d: Likewise.
799 * testsuite/binutils-all/common-2d.d: Likewise.
800 * testsuite/binutils-all/common-2e.d: Likewise.
801 * testsuite/binutils-all/common-2f.d: Likewise.
802 * testsuite/binutils-all/objcopy.exp
803 (objcopy_test_elf_common_symbols): New proc.
804 Run objcopy_test_elf_common_symbols for ELF targets
806 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
809 * readelf.c (get_section_type_name): Add a missing break.
811 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
813 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
815 2016-02-15 Nick Clifton <nickc@redhat.com>
817 * readelf.c (get_section_type_name): Add hex prefix to offsets
818 printed for LOPROC and LOOS values. Ensure that a result is
819 always returned for the V850 target, even when an unrecognised
820 processor specific value is encountered.
821 (process_section_headers): Display key values in the order in
822 which they appear to the user. Add the "C (compressed)" value to
825 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
827 * doc/binutils.texi: Fix a typo.
829 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
831 * testsuite/binutils-all/objdump.exp: Update expected default
832 architecture value for ARC binaries.
834 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
837 * testsuite/binutils-all/objcopy.exp
838 (objcopy_test_without_global_symbol): New proc.
839 Run objcopy_test_without_global_symbol.
840 * testsuite/binutils-all/pr19547.c: New file.
842 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
845 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
847 * Makefile.in: Regenerated.
848 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
850 Run test_gnu_debuglink for native ELF build.
852 2016-01-20 Nick Clifton <nickc@redhat.com>
855 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
856 do not support inserting leading underscores.
858 2016-01-20 Mickael Guene <mickael.guene@st.com>
860 * readelf.c (get_elf_section_flags): Display y letter for section
861 with SHF_ARM_NOREAD section flag in readelf section output.
862 (process_section_headers): Add y letter in readelf section output
863 key mapping for ARM architecture.
864 * objdump.c (dump_section_header): Display NOREAD attributes as
866 * doc/binutils.texi (objdump): Note that it is correct for
867 sections to have both the READONLY and NOREAD attributes.
869 2016-01-19 John Baldwin <jhb@FreeBSD.org>
871 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
873 2016-01-19 John Baldwin <jhb@FreeBSD.org>
875 * readelf.c (get_freebsd_elfcore_note_type): New
876 (process_note): Add support for FreeBSD core notes.
878 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
879 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
881 * readelf.c (get_machine_flags): Add support for newer ARC ELF
884 2016-01-18 Alan Modra <amodra@gmail.com>
886 * configure: Regenerate.
888 2016-01-17 Alan Modra <amodra@gmail.com>
890 * configure: Regenerate.
892 2016-01-17 Alan Modra <amodra@gmail.com>
894 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
895 for m68hc11/12 and xgate triples.
897 2016-01-17 Alan Modra <amodra@gmail.com>
899 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
901 2016-01-01 Alan Modra <amodra@gmail.com>
903 Update year range in copyright notice of all files.
905 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
907 Copyright (C) 2016 Free Software Foundation, Inc.
909 Copying and distribution of this file, with or without modification,
910 are permitted in any medium without royalty provided the copyright
911 notice and this notice are preserved.
917 version-control: never