1 2016-12-20 Andrew Waterman <andrew@sifive.com>
3 * readelf.c (get_machine_flags): Use
4 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
5 EF_RISCV_{SOFT,HARD}_FLOAT.
7 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
9 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
10 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
11 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
12 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
13 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
14 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
16 2016-12-13 Jiong Wang <jiong.wang@arm.com>
18 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
20 2016-12-13 Nick Clifton <nickc@redhat.com>
22 * MAINTAINERS (Past Maintainers): New section. Move Mark
25 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
27 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
28 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
30 * testsuite/binutils-all/mips/mips.exp: Run the new test.
32 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
34 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
35 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
36 * testsuite/binutils-all/mips/mips.exp: Run the new test.
38 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
40 * readelf.c (process_program_headers): Always use hex prefix when
41 displaying the segment alignment.
43 2016-12-06 Nick Clifton <nickc@redhat.com>
46 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
47 symbol pointer pointer before attempting to mark the symbol as
50 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
52 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
54 2016-12-05 Nick Clifton <nickc@redhat.com>
57 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
58 symbol pointer before attempting to mark the symbol as kept.
60 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
62 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
65 2016-11-30 Nick Clifton <nickc@redhat.com>
68 * readelf.c (process_program_headers): Do not warn about out of
69 order PT_LOAD segments.
71 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
73 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
76 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
78 * dwarf.c: Fix spelling in comments.
79 * dwarf.h: Fix spelling in comments.
80 * objcopy.c: Fix spelling in comments.
81 * od-macho.c: Fix spelling in comments.
82 * rclex.c: Fix spelling in comments.
83 * readelf.c: Fix spelling in comments.
84 * stabs.c: Fix spelling in comments.
86 2016-11-23 Nick Clifton <nickc@redhat.com>
89 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
90 segments for validity.
92 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
94 * configure: Regenerate.
96 2016-11-22 Alan Modra <amodra@gmail.com>
99 * NEWS: Mention PowerPC VLE relocation error.
101 2016-11-16 Mark Wielaard <mark@klomp.org>
103 * cxxfilt.c (main): Recognize rust_demangling.
105 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
108 * dlltool.c (struct export): Remove hint field.
109 (make_one_lib_file): Store the ordinal value for IDATA6 not the
111 (gen_lib_file): Delete reference to hint field.
112 (mangle_defs): Delete computation of hint field.
114 2016-11-11 Nick Clifton <nickc@redhat.com>
117 * nm.c (with_symbol_versions): New local variable.
118 (long_options): Add --with-symbol-versions.
119 (usage): Mention --with-symbol-versions.
120 (print_symbol): If with_symbol_versions is set then display the
121 version information associated with the symbol.
122 * NEWS: Mention the new feature.
123 * doc/binutils.texi (nm): Document the new option.
124 (objdump): Describe how symbol version information is displayed
125 for dynamic symbol dumps.
126 (readelf): Describe how symbol version information is displayed.
127 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
129 2016-11-08 Nick Clifton <nickc@redhat.com>
132 * readelf.c (process_section_headers): Fix off-by-one error when
133 checking for invalid sh_link and sh_info fields.
135 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
137 * objcopy.c (copy_section): Add extra calls to free for error
140 2016-11-04 Tom Tromey <tom@tromey.com>
142 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
145 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
147 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
150 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
151 Andrew Waterman <andrew@sifive.com>
153 Add support for RISC-V architecture.
154 * readelf.c (guess_is_rela): Add EM_RISCV.
155 (get_machine_name): Likewise.
156 (dump_relocations): Add support for riscv relocations.
157 (get_machine_flags): Add support for riscv flags.
158 (is_32bit_abs_reloc): Add R_RISCV_32.
159 (is_64bit_abs_reloc): Add R_RISCV_64.
160 (is_none_reloc): Add R_RISCV_NONE.
161 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
162 Expect the debug_ranges test to fail.
164 2016-10-17 Nick Clifton <nickc@redhat.com>
166 * readelf.c (apply_relocations): Fail if the symbol table section
167 linked to by the reloc section does not have either the SHT_SYMTAB
169 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
170 Print the contents of unknown note types.
171 (process_note): Add the file and section to the parameter list.
172 Use print_symbol to display the note name.
173 Display the contents of unknown note types.
174 (process_corefile_note_segment): Rename to process_notes_at.
175 Add section parameter. Apply relocations to the notes when
176 loading from a section. Display section name when processing
178 * testsuite/binutils-all/readelf.n: Update expected output.
180 2016-10-17 Nick Clifton <nickc@redhat.com>
182 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
183 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
184 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
185 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
186 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
187 EM_Z80, EM_AMDGPU, EM_RISCV.
188 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
189 (get_group_flags): Update to handle flags in the
190 GRP_MASKOS and GRP_MASKPROC ranges.
192 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
194 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
195 to copy file to remote host.
197 2016-10-11 Nick Clifton <nickc@redhat.com>
199 * objdump.c (is_significant_symbol_name): New function.
200 (remove_useless_symbols): Do not remove significanr symbols.
201 (find_symbol_for_address): If an exact match for the specified
202 address has not been found, try scanning the dynamic relocs to see
203 if one of these matches the address. If so, use the symbol
204 associated with the reloc.
205 (objdump_print_addr_with_symbol): Do not print offsets to symbols
207 (disassemble_section): Only use dynamic relocs if the user
209 (disassemble_data): Always load dynamic relocs if they are
212 2016-10-06 Alan Modra <amodra@gmail.com>
214 * dlltool.c: Spell fall through comments consistently.
215 * objcopy.c: Likewise.
216 * readelf.c: Likewise.
217 * dwarf.c: Add missing fall through comments.
218 * elfcomm.c: Likewise.
219 * sysinfo.y: Likewise.
220 * readelf.c: Likewise. Also remove extraneous comments.
222 2016-10-06 Alan Modra <amodra@gmail.com>
224 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
225 * elfedit.c (usage): Likewise.
226 * nm.c (usage): Likewise.
227 * objcopy.c (copy_usage, strip_usage): Likewise.
228 * srconv.c (show_usage): Likewise.
229 * strings.c (usage): Likewise.
230 * sysdump.c (show_usage): Likewise.
231 * srconv.c: Remove unneeded forward function declarations.
232 * strings.c: Likewise.
233 * sysdump.c: Likewise.
235 2016-10-06 Alan Modra <amodra@gmail.com>
237 * coffdump.c (dump_coff_where): Add missing break.
238 * stabs.c (stab_xcoff_builtin_type): Likewise.
240 2016-09-29 Alan Modra <amodra@gmail.com>
242 * readelf.c (process_arch_specific): Call process_power_specific
245 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
247 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
248 when building with CC_FOR_BUILD compiler.
249 * Makefile.in: Regenerate.
250 * configure: Likewise.
251 * doc/Makefile.in: Likewise.
253 2016-09-26 Alan Modra <amodra@gmail.com>
255 * readelf.c (display_power_gnu_attribute): Catch truncated section
256 for all powerpc attributes. Display long double ABI. Don't
257 capitalize words, except for names. Show known bits of tag values
258 when some unknown bits are present. Whitespace fixes.
260 2016-09-26 Alan Modra <amodra@gmail.com>
262 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
263 strings, use asprintf instead.
264 (get_coff_symbol_type): Likewise.
266 2016-09-19 Alan Modra <amodra@gmail.com>
268 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
270 (print_size_symbols, print_symbols): Adjust to suit, deleting
271 now unused synth_count param and fromsynth var.
272 (display_rel_file): Adjust, localizing synth_count.
274 2016-09-14 Ed Maste <emaste@freebsd.org>
276 * readelf.c (process_mips_specific): Fix typo in error message.
278 2016-09-06 Nick Clifton <nickc@redhat.com>
280 * readelf.c (request_dump_bynumber): Only call memcpy if
281 dump_sects is not NULL.
283 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
285 * readelf.c (load_specific_debug_section): Check the external
286 compression header size.
288 2016-08-19 Nick Clifton <nickc@redhat.com>
290 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
292 * testsuite/binutils-all/readelf.s-64: Likewise.
294 2016-08-12 Nick Clifton <nickc@redhat.com>
296 * readelf.c (process_symbol_table): Generate a warning if a local
297 symbol is found at and offste greater than or equal to the sh_info
298 field of it's section header.
300 2016-08-08 Nick Clifton <nickc@redhat.com>
303 * dwarf.c (display_debug_lines_decoded): Add checks for running
304 off the end of the section when populating the directory table and
306 (frame_display_row): Set max_regs equal to ncols.
307 * readelf.c (load_specific_debug_section): If the section is
308 compressed, but it is not big enough to hold a compression
309 header then warn and return 0.
312 * dwarf.c (display_debug_lines_decoded): Check directory and file
313 indicies before using them to access directory and file tables.
315 2016-08-02 Nick Clifton <nickc@redhat.com>
318 * resbin.c (bin_to_res_version): Cast variables to correct type
319 for printing in error message.
321 2016-07-28 Nick Clifton <nickc@redhat.com>
324 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
325 * resbin.c (bin_to_res_version): Allow for the padded length of a
326 version block to be longer than the recorded length. Skip padding
329 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
331 * configure: Regenerated.
333 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
335 * doc/binutils.texi (objdump): Add ARC disassembler options.
336 * testsuite/binutils-all/arc/dsp.s: New file.
337 * testsuite/binutils-all/arc/objdump.exp: Likewise.
338 * NEWS: Mention the new feature.
340 2016-07-20 Nick Clifton <nickc@redhat.com>
342 * doc/binutils.texi (objcopy): Note that the localize symbol
343 options do not affect unique symbols.
345 2016-07-16 Alan Modra <amodra@gmail.com>
347 * ar.c: Include plugin-api.h.
350 2016-07-16 Alan Modra <amodra@gmail.com>
352 * bucomm.c: Don't include libbfd.h.
353 (endian_string, display_target_list): Delete forward declaration.
354 (display_info_table, display_target_tables): Likewise.
355 (LONGEST_ARCH): Delete.
356 (struct display_target): New.
357 (do_display_target): New function.
358 (display_target_list, display_info): Rewrite functions.
359 (display_info_table): Delete.
360 (do_info_size, do_info_header, do_info_row): New functions.
362 2016-07-16 Alan Modra <amodra@gmail.com>
364 * elfcomm.h (HOST_WIDEST_INT): Move to..
366 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
367 (dump_dyld_info_rebase): Use read_leb128 rather than
368 read_unsigned_leb128.
369 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
370 (dump_segment_split_info): Likewise.
371 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
372 (dump_load_command): Likewise.
374 2016-07-16 Alan Modra <amodra@gmail.com>
376 * ar.c: Don't include libbfd.h.
377 * objcopy.c: Likewise.
378 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
381 2016-07-15 Alan Modra <amodra@gmail.com>
383 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
385 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
387 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
389 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
390 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
391 (struct option strip_options): Add 'remove-relocations'.
392 (struct option copy_options): Likewise.
393 (copy_usage): Likewise.
394 (strip_usage): Likewise.
395 (handle_remove_relocations_option): New function.
396 (discard_relocations): New function.
397 (handle_remove_section_option): New function.
398 (copy_relocations_in_section): Use discard_relocations.
399 (strip_main): Use handle_remove_section_option for
400 'remove-section', and handle 'remove-relocations' option.
401 (copy_main): Likewise.
402 * testsuite/binutils-all/objcopy.exp: Run new tests.
403 * testsuite/binutils-all/remove-relocs-01.d: New file.
404 * testsuite/binutils-all/remove-relocs-01.s: New file.
405 * testsuite/binutils-all/remove-relocs-02.d: New file.
406 * testsuite/binutils-all/remove-relocs-03.d: New file.
407 * testsuite/binutils-all/remove-relocs-04.d: New file.
408 * testsuite/binutils-all/remove-relocs-05.d: New file.
409 * testsuite/binutils-all/remove-relocs-06.d: New file.
410 * NEWS: Mention new option.
412 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
414 * objcopy.c (find_section_list): Handle section patterns starting
415 with '!' being a non-matching pattern.
416 * doc/binutils.texi (objcopy): Give example of using '!' with
417 --remove-section and --only-section.
418 (strip): Give example of using '!' with --remove-section.
419 * testsuite/binutils-all/data-sections.s: New file.
420 * testsuite/binutils-all/only-section-01.d: New file.
421 * testsuite/binutils-all/remove-section-01.d: New file.
422 * testsuite/binutils-all/objcopy.exp: Run new tests.
423 * NEWS: Mention new feature.
425 2016-07-09 Alan Modra <amodra@gmail.com>
428 * objdump.c (compare_symbols): For ELF, sort same value/type
429 symbols according to size.
431 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
433 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
435 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
436 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
437 (process_section_headers): Rename noread to purecode.
439 * section.c (SEC_ELF_NOREAD): Rename to ...
440 (SEC_ELF_PURECODE): ... this.
442 2016-07-01 Nick Clifton <nickc@redhat.com>
444 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
445 extremely large decimal value.
446 (pr_range_type): Likewise.
447 (pr_array_type): Likewise.
448 (pr_struct_field): Likewise.
449 (pr_class_baseclass): Likewise.
450 (pr_class_method_variant): Likewise.
451 (pr_tag_type): Likewise.
452 (pr_int_constant): Likewise.
453 (pr_typed_constant): Likewise.
454 (pr_variable): Likewise.
455 (pr_function_parameter): Likewise.
456 (pr_start_block): Likewise.
457 (pr_lineno): Likewise.
458 (pr_end_block): Likewise.
459 (tg_enum_type): Likewise.
460 (tg_int_constant): Likewise.
461 (tg_typed_constant): Likewise.
462 (tg_start_block): Likewise.
464 2016-07-01 Nick Clifton <nickc@redhat.com>
466 * testsuite/binutils-all/objcopy.exp
467 (objcopy_test_without_global_symbol): Expect this test to fail on
468 the AArch64 and ARM targets, since they preserve their mapping
471 2016-07-01 Tristan Gingold <gingold@adacore.com>
473 * NEWS: Add marker for 2.27.
475 2016-07-30 Tristan Gingold <gingold@adacore.com>
477 * doc/binutils.texi (objdump): Fix mis-placement.
479 2016-06-28 Nick Clifton <nickc@redhat.com>
481 * testsuite/binutils-all/ar.exp: Relax previous restriction on
482 Alpha targets. Allow ELF based Alpha targets.
484 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
486 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
487 the `unique_symbol' test.
489 2016-06-28 Alan Modra <amodra@gmail.com>
492 * objdump.c (objdump_print_symname): Don't attempt to retrieve
493 version info from synthetic symbols.
495 2016-06-24 Alan Modra <amodra@gmail.com>
497 * objcopy.c (find_section_rename): Forward declare. Remove
498 ibfd and sec_ptr param. Add old_name param. Allow for NULL
499 returned_flags. Move read of section name and flags to..
500 (setup_section): ..here. Update find_section_rename call.
501 (filter_symbols): Rename section symbols for renamed sections.
502 (copy_object): Call filter_symbols when renamed sections.
503 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
504 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
506 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
508 (localize-hidden-1): xfail if is_bad_symtab.
509 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
512 2016-06-24 Alan Modra <amodra@gmail.com>
514 * objdump.c (struct print_file_list): Add "max_printed".
515 (try_print_file_open): Init new field.
516 (show_line): Don't show 5 context lines when redisplaying source.
518 2016-06-22 Nick Clifton <nickc@redhat.com>
520 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
521 Skip bfdtest1 tests for tic30 target.
522 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
524 * testsuite/binutils-all/compress.exp: Expect some tests to fail
526 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
527 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
529 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
531 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
532 if the bintest.o file was created. Use the
533 get_standard_section_names proc to get the name of the data
535 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
537 * testsuite/binutils-all/readelf.exp: Use
538 get_standard_section_names proc to get the name of the data
540 * testsuite/binutils-all/readelf.r: Allow for non standard text
542 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
543 * testsuite/binutils-all/size.exp: Allow for non standard section
545 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
546 to fail on mips targets.
547 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
548 get_standard_section_names proc.
549 (run_dump_test): Likewise.
550 (proc get_standard_section_names): New proc.
552 2016-06-22 Nick Clifton <nickc@redhat.com>
554 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
555 (process_mips_specific): Likewise.
556 (process_gnu_liblist): Likewise.
558 2016-06-21 Graham Markall <graham.markall@embecosm.com>
560 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
563 2016-06-15 Nick Clifton <nickc@redhat.com>
565 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
568 2016-06-14 John Baldwin <jhb@FreeBSD.org>
570 * objcopy.c (do_elf_stt_common): Use correct type.
572 2016-06-14 Alan Modra <amodra@gmail.com>
574 * ar.c: Expand uses of bfd_my_archive.
577 2016-06-14 Alan Modra <amodra@gmail.com>
580 * bucomm.c (bfd_get_archive_filename): Return file name within thin
583 2016-06-02 Nick Clifton <nickc@redhat.com>
586 * objcopy.c (group_signature): Fail if the input symbol table has
587 not been loaded, or if the sh_info field of the group header is 0.
589 * dwarf.c (display_debug_frames): Do not display any
590 interpretation if the block consists solely of DW__CFA_NOPs.
592 2016-05-31 Alan Modra <amodra@gmail.com>
594 * objcopy.c: Formatting, whitespace throughout.
595 (copy_main): Init newsym->othersym.
596 (parse_symflags): Make len a size_t. Adjust uses.
598 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
601 * NEWS: Mention --enable-64-bit-archive.
603 2016-05-18 Nick Clifton <nickc@redhat.com>
606 * objcopy.c (copy_relocations_in_section): Also check for the
607 symbol pointed to by sym_ptr_ptr being NULL.
609 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
611 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
612 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
614 * testsuite/binutils-all/mips/mips.exp: Run the new test.
616 2016-05-18 Nick Clifton <nickc@redhat.com>
618 * po/sv.po: Updated Swedish translation.
620 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
622 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
623 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
624 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
625 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
626 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
627 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
628 `d_val' rather than `d_ptr' member of the dynamic entry.
630 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
632 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
634 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
635 with the `strip-10' test.
637 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
639 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
642 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
644 * readelf.c (print_mips_ases): Add DSPR3.
646 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
648 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
649 (arm_attr_public_tags): Define DSP_extension attribute.
651 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
653 * doc/binutils.texi (nm): Update description of --size-sort.
655 2016-05-09 Nick Clifton <nickc@redhat.com>
658 * readelf.c (get_32bit_section_headers): Warn if an out of range
659 sh_link or sh_info field is encountered.
660 (get_64bit_section_headers): Likewise.
662 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
664 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
666 2016-05-03 Nick Clifton <nickc@redhat.com>
668 * po/sv.po: Updated Swedish translation.
670 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
672 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
673 PC relocation for AVR target.
674 (is_none_reloc): Return true if reloc is any of AVR diff
677 2016-04-29 Nick Clifton <nickc@redhat.com>
680 * readelf.c (get_solaris_segment_type): New function.
681 (get_segment_type): Call it.
683 2016-04-28 Nick Clifton <nickc@redhat.com>
685 * po/zh_CN.po: Updated Chinese (simplified) translation.
687 2016-04-28 Nick Clifton <nickc@redhat.com>
690 * testsuite/binutils-all/aarch64/illegal.s: New test.
691 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
693 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
695 * resres.c: Likewise.
697 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
699 * Makefile.in: Regenerated with automake 1.11.6.
700 * aclocal.m4: Likewise.
701 * doc/Makefile.in: Likewise.
703 2016-04-14 Nick Clifton <nickc@redhat.com>
706 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
707 string sections possibly having the SHF_STRINGS flag bit set.
708 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
709 * testsuite/binutils-all/readelf.s: Likewise.
710 * testsuite/binutils-all/readelf.s-64: Likewise.
711 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
712 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
714 2016-04-13 Nick Clifton <nickc@redhat.com>
717 * readelf.c (get_solaris_section_type): New function: Returns the
718 name of Solaris specific section types.
719 (get_solaris_dynamic_type): New function: Return the name of
720 Solaris specific dynamic types.
721 (get_dynamic_type): Use get_solaris_dynamic_type.
722 (get_section_type_name): Use get_solaris_section_type.
723 (get_solaris_symbol_visibility): New function: Returns Solaris
724 specific symbol visibilities.
725 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
726 (process_symbol_table): Likewise.
728 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
730 * dwarf.h (init_dwarf_regnames_s390): Declare.
731 * dwarf.c (dwarf_regnames_s390): New.
732 (init_dwarf_regnames_s390): New.
733 (init_dwarf_regnames): Call it.
734 * objdump.c (dump_dwarf): Likewise.
736 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
738 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
739 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
741 * testsuite/binutils-all/mips/mips.exp: Run the new test.
743 2016-04-04 Nick Clifton <nickc@redhat.com>
746 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
747 version number if the version is zero.
749 2016-03-29 Alan Modra <amodra@gmail.com>
751 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
752 (get_dynamic_data): Likewise.
754 2016-03-22 Nick Clifton <nickc@redhat.com>
757 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
758 with run time size check.
760 * configure: Regenerate.
762 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
764 * readelf.c (decode_ARC_machine_flags): Handle nps400.
766 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
768 * readelf.c (get_machine_flags): Move arc processing into...
769 (decode_ARC_machine_flags): ... new function. Remove use of
770 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
771 "unknown arc". Merged ABI printing between two machine types.
773 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
775 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
776 to the architecture list.
778 2016-03-21 Nick Clifton <nickc@redhat.com>
780 * dlltool.c: Replace use of alloca with call to xmalloc.
781 * dllwrap.c: Likewise.
782 * nlmconv.c: Likewise.
783 * objdump.c: Likewise.
785 * winduni.c: Likewise.
786 * configure: Regenerate.
788 2016-03-07 Nick Clifton <nickc@redhat.com>
791 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
793 * testsuite/binutils-all/empty: New, empty, file.
795 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
797 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
799 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
802 * NEWS: Mention --elf-stt-common= for objcopy.
803 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
804 * objcopy.c (do_elf_stt_common): New.
805 (command_line_switch): Add OPTION_ELF_STT_COMMON.
806 (copy_options): Add --elf-stt-common=.
807 (copy_usage): Add --elf-stt-common=.
808 (copy_object): Also check do_elf_stt_common for ELF targets.
809 (copy_file): Handle do_elf_stt_common.
810 (copy_main): Handle OPTION_ELF_STT_COMMON.
811 * readelf.c (apply_relocations): Support STT_COMMON.
812 * testsuite/binutils-all/common-1.s: New file.
813 * testsuite/binutils-all/common-1a.d: Likewise.
814 * testsuite/binutils-all/common-1b.d: Likewise.
815 * testsuite/binutils-all/common-1c.d: Likewise.
816 * testsuite/binutils-all/common-1d.d: Likewise.
817 * testsuite/binutils-all/common-1e.d: Likewise.
818 * testsuite/binutils-all/common-1f.d: Likewise.
819 * testsuite/binutils-all/common-2.s: Likewise.
820 * testsuite/binutils-all/common-2a.d: Likewise.
821 * testsuite/binutils-all/common-2b.d: Likewise.
822 * testsuite/binutils-all/common-2c.d: Likewise.
823 * testsuite/binutils-all/common-2d.d: Likewise.
824 * testsuite/binutils-all/common-2e.d: Likewise.
825 * testsuite/binutils-all/common-2f.d: Likewise.
826 * testsuite/binutils-all/objcopy.exp
827 (objcopy_test_elf_common_symbols): New proc.
828 Run objcopy_test_elf_common_symbols for ELF targets
830 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
833 * readelf.c (get_section_type_name): Add a missing break.
835 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
837 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
839 2016-02-15 Nick Clifton <nickc@redhat.com>
841 * readelf.c (get_section_type_name): Add hex prefix to offsets
842 printed for LOPROC and LOOS values. Ensure that a result is
843 always returned for the V850 target, even when an unrecognised
844 processor specific value is encountered.
845 (process_section_headers): Display key values in the order in
846 which they appear to the user. Add the "C (compressed)" value to
849 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
851 * doc/binutils.texi: Fix a typo.
853 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
855 * testsuite/binutils-all/objdump.exp: Update expected default
856 architecture value for ARC binaries.
858 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
861 * testsuite/binutils-all/objcopy.exp
862 (objcopy_test_without_global_symbol): New proc.
863 Run objcopy_test_without_global_symbol.
864 * testsuite/binutils-all/pr19547.c: New file.
866 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
869 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
871 * Makefile.in: Regenerated.
872 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
874 Run test_gnu_debuglink for native ELF build.
876 2016-01-20 Nick Clifton <nickc@redhat.com>
879 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
880 do not support inserting leading underscores.
882 2016-01-20 Mickael Guene <mickael.guene@st.com>
884 * readelf.c (get_elf_section_flags): Display y letter for section
885 with SHF_ARM_NOREAD section flag in readelf section output.
886 (process_section_headers): Add y letter in readelf section output
887 key mapping for ARM architecture.
888 * objdump.c (dump_section_header): Display NOREAD attributes as
890 * doc/binutils.texi (objdump): Note that it is correct for
891 sections to have both the READONLY and NOREAD attributes.
893 2016-01-19 John Baldwin <jhb@FreeBSD.org>
895 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
897 2016-01-19 John Baldwin <jhb@FreeBSD.org>
899 * readelf.c (get_freebsd_elfcore_note_type): New
900 (process_note): Add support for FreeBSD core notes.
902 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
903 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
905 * readelf.c (get_machine_flags): Add support for newer ARC ELF
908 2016-01-18 Alan Modra <amodra@gmail.com>
910 * configure: Regenerate.
912 2016-01-17 Alan Modra <amodra@gmail.com>
914 * configure: Regenerate.
916 2016-01-17 Alan Modra <amodra@gmail.com>
918 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
919 for m68hc11/12 and xgate triples.
921 2016-01-17 Alan Modra <amodra@gmail.com>
923 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
925 2016-01-01 Alan Modra <amodra@gmail.com>
927 Update year range in copyright notice of all files.
929 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
931 Copyright (C) 2016 Free Software Foundation, Inc.
933 Copying and distribution of this file, with or without modification,
934 are permitted in any medium without royalty provided the copyright
935 notice and this notice are preserved.
941 version-control: never