1 2016-12-23 Tristan Gingold <gingold@adacore.com>
3 * configure: Regenerate.
5 2016-12-23 Tristan Gingold <gingold@adacore.com>
7 * NEWS: Add marker for 2.28.
9 2016-12-23 Tristan Gingold <gingold@adacore.com>
11 * po/binutils.pot: Regenerate.
13 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
15 * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
16 rather than `.set' to set the ISA level.
18 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
20 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
21 test for separate EXTEND prefix disassembly.
23 2016-12-20 Andrew Waterman <andrew@sifive.com>
25 * readelf.c (get_machine_flags): Use
26 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
27 EF_RISCV_{SOFT,HARD}_FLOAT.
29 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
31 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
32 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
33 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
34 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
35 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
36 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
38 2016-12-13 Jiong Wang <jiong.wang@arm.com>
40 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
42 2016-12-13 Nick Clifton <nickc@redhat.com>
44 * MAINTAINERS (Past Maintainers): New section. Move Mark
47 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
49 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
50 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
52 * testsuite/binutils-all/mips/mips.exp: Run the new test.
54 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
56 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
57 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
58 * testsuite/binutils-all/mips/mips.exp: Run the new test.
60 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
62 * readelf.c (process_program_headers): Always use hex prefix when
63 displaying the segment alignment.
65 2016-12-06 Nick Clifton <nickc@redhat.com>
68 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
69 symbol pointer pointer before attempting to mark the symbol as
72 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
74 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
76 2016-12-05 Nick Clifton <nickc@redhat.com>
79 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
80 symbol pointer before attempting to mark the symbol as kept.
82 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
84 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
87 2016-11-30 Nick Clifton <nickc@redhat.com>
90 * readelf.c (process_program_headers): Do not warn about out of
91 order PT_LOAD segments.
93 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
95 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
98 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
100 * dwarf.c: Fix spelling in comments.
101 * dwarf.h: Fix spelling in comments.
102 * objcopy.c: Fix spelling in comments.
103 * od-macho.c: Fix spelling in comments.
104 * rclex.c: Fix spelling in comments.
105 * readelf.c: Fix spelling in comments.
106 * stabs.c: Fix spelling in comments.
108 2016-11-23 Nick Clifton <nickc@redhat.com>
111 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
112 segments for validity.
114 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
116 * configure: Regenerate.
118 2016-11-22 Alan Modra <amodra@gmail.com>
121 * NEWS: Mention PowerPC VLE relocation error.
123 2016-11-16 Mark Wielaard <mark@klomp.org>
125 * cxxfilt.c (main): Recognize rust_demangling.
127 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
130 * dlltool.c (struct export): Remove hint field.
131 (make_one_lib_file): Store the ordinal value for IDATA6 not the
133 (gen_lib_file): Delete reference to hint field.
134 (mangle_defs): Delete computation of hint field.
136 2016-11-11 Nick Clifton <nickc@redhat.com>
139 * nm.c (with_symbol_versions): New local variable.
140 (long_options): Add --with-symbol-versions.
141 (usage): Mention --with-symbol-versions.
142 (print_symbol): If with_symbol_versions is set then display the
143 version information associated with the symbol.
144 * NEWS: Mention the new feature.
145 * doc/binutils.texi (nm): Document the new option.
146 (objdump): Describe how symbol version information is displayed
147 for dynamic symbol dumps.
148 (readelf): Describe how symbol version information is displayed.
149 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
151 2016-11-08 Nick Clifton <nickc@redhat.com>
154 * readelf.c (process_section_headers): Fix off-by-one error when
155 checking for invalid sh_link and sh_info fields.
157 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
159 * objcopy.c (copy_section): Add extra calls to free for error
162 2016-11-04 Tom Tromey <tom@tromey.com>
164 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
167 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
169 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
172 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
173 Andrew Waterman <andrew@sifive.com>
175 Add support for RISC-V architecture.
176 * readelf.c (guess_is_rela): Add EM_RISCV.
177 (get_machine_name): Likewise.
178 (dump_relocations): Add support for riscv relocations.
179 (get_machine_flags): Add support for riscv flags.
180 (is_32bit_abs_reloc): Add R_RISCV_32.
181 (is_64bit_abs_reloc): Add R_RISCV_64.
182 (is_none_reloc): Add R_RISCV_NONE.
183 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
184 Expect the debug_ranges test to fail.
186 2016-10-17 Nick Clifton <nickc@redhat.com>
188 * readelf.c (apply_relocations): Fail if the symbol table section
189 linked to by the reloc section does not have either the SHT_SYMTAB
191 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
192 Print the contents of unknown note types.
193 (process_note): Add the file and section to the parameter list.
194 Use print_symbol to display the note name.
195 Display the contents of unknown note types.
196 (process_corefile_note_segment): Rename to process_notes_at.
197 Add section parameter. Apply relocations to the notes when
198 loading from a section. Display section name when processing
200 * testsuite/binutils-all/readelf.n: Update expected output.
202 2016-10-17 Nick Clifton <nickc@redhat.com>
204 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
205 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
206 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
207 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
208 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
209 EM_Z80, EM_AMDGPU, EM_RISCV.
210 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
211 (get_group_flags): Update to handle flags in the
212 GRP_MASKOS and GRP_MASKPROC ranges.
214 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
216 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
217 to copy file to remote host.
219 2016-10-11 Nick Clifton <nickc@redhat.com>
221 * objdump.c (is_significant_symbol_name): New function.
222 (remove_useless_symbols): Do not remove significanr symbols.
223 (find_symbol_for_address): If an exact match for the specified
224 address has not been found, try scanning the dynamic relocs to see
225 if one of these matches the address. If so, use the symbol
226 associated with the reloc.
227 (objdump_print_addr_with_symbol): Do not print offsets to symbols
229 (disassemble_section): Only use dynamic relocs if the user
231 (disassemble_data): Always load dynamic relocs if they are
234 2016-10-06 Alan Modra <amodra@gmail.com>
236 * dlltool.c: Spell fall through comments consistently.
237 * objcopy.c: Likewise.
238 * readelf.c: Likewise.
239 * dwarf.c: Add missing fall through comments.
240 * elfcomm.c: Likewise.
241 * sysinfo.y: Likewise.
242 * readelf.c: Likewise. Also remove extraneous comments.
244 2016-10-06 Alan Modra <amodra@gmail.com>
246 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
247 * elfedit.c (usage): Likewise.
248 * nm.c (usage): Likewise.
249 * objcopy.c (copy_usage, strip_usage): Likewise.
250 * srconv.c (show_usage): Likewise.
251 * strings.c (usage): Likewise.
252 * sysdump.c (show_usage): Likewise.
253 * srconv.c: Remove unneeded forward function declarations.
254 * strings.c: Likewise.
255 * sysdump.c: Likewise.
257 2016-10-06 Alan Modra <amodra@gmail.com>
259 * coffdump.c (dump_coff_where): Add missing break.
260 * stabs.c (stab_xcoff_builtin_type): Likewise.
262 2016-09-29 Alan Modra <amodra@gmail.com>
264 * readelf.c (process_arch_specific): Call process_power_specific
267 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
269 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
270 when building with CC_FOR_BUILD compiler.
271 * Makefile.in: Regenerate.
272 * configure: Likewise.
273 * doc/Makefile.in: Likewise.
275 2016-09-26 Alan Modra <amodra@gmail.com>
277 * readelf.c (display_power_gnu_attribute): Catch truncated section
278 for all powerpc attributes. Display long double ABI. Don't
279 capitalize words, except for names. Show known bits of tag values
280 when some unknown bits are present. Whitespace fixes.
282 2016-09-26 Alan Modra <amodra@gmail.com>
284 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
285 strings, use asprintf instead.
286 (get_coff_symbol_type): Likewise.
288 2016-09-19 Alan Modra <amodra@gmail.com>
290 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
292 (print_size_symbols, print_symbols): Adjust to suit, deleting
293 now unused synth_count param and fromsynth var.
294 (display_rel_file): Adjust, localizing synth_count.
296 2016-09-14 Ed Maste <emaste@freebsd.org>
298 * readelf.c (process_mips_specific): Fix typo in error message.
300 2016-09-06 Nick Clifton <nickc@redhat.com>
302 * readelf.c (request_dump_bynumber): Only call memcpy if
303 dump_sects is not NULL.
305 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
307 * readelf.c (load_specific_debug_section): Check the external
308 compression header size.
310 2016-08-19 Nick Clifton <nickc@redhat.com>
312 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
314 * testsuite/binutils-all/readelf.s-64: Likewise.
316 2016-08-12 Nick Clifton <nickc@redhat.com>
318 * readelf.c (process_symbol_table): Generate a warning if a local
319 symbol is found at and offste greater than or equal to the sh_info
320 field of it's section header.
322 2016-08-08 Nick Clifton <nickc@redhat.com>
325 * dwarf.c (display_debug_lines_decoded): Add checks for running
326 off the end of the section when populating the directory table and
328 (frame_display_row): Set max_regs equal to ncols.
329 * readelf.c (load_specific_debug_section): If the section is
330 compressed, but it is not big enough to hold a compression
331 header then warn and return 0.
334 * dwarf.c (display_debug_lines_decoded): Check directory and file
335 indicies before using them to access directory and file tables.
337 2016-08-02 Nick Clifton <nickc@redhat.com>
340 * resbin.c (bin_to_res_version): Cast variables to correct type
341 for printing in error message.
343 2016-07-28 Nick Clifton <nickc@redhat.com>
346 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
347 * resbin.c (bin_to_res_version): Allow for the padded length of a
348 version block to be longer than the recorded length. Skip padding
351 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
353 * configure: Regenerated.
355 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
357 * doc/binutils.texi (objdump): Add ARC disassembler options.
358 * testsuite/binutils-all/arc/dsp.s: New file.
359 * testsuite/binutils-all/arc/objdump.exp: Likewise.
360 * NEWS: Mention the new feature.
362 2016-07-20 Nick Clifton <nickc@redhat.com>
364 * doc/binutils.texi (objcopy): Note that the localize symbol
365 options do not affect unique symbols.
367 2016-07-16 Alan Modra <amodra@gmail.com>
369 * ar.c: Include plugin-api.h.
372 2016-07-16 Alan Modra <amodra@gmail.com>
374 * bucomm.c: Don't include libbfd.h.
375 (endian_string, display_target_list): Delete forward declaration.
376 (display_info_table, display_target_tables): Likewise.
377 (LONGEST_ARCH): Delete.
378 (struct display_target): New.
379 (do_display_target): New function.
380 (display_target_list, display_info): Rewrite functions.
381 (display_info_table): Delete.
382 (do_info_size, do_info_header, do_info_row): New functions.
384 2016-07-16 Alan Modra <amodra@gmail.com>
386 * elfcomm.h (HOST_WIDEST_INT): Move to..
388 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
389 (dump_dyld_info_rebase): Use read_leb128 rather than
390 read_unsigned_leb128.
391 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
392 (dump_segment_split_info): Likewise.
393 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
394 (dump_load_command): Likewise.
396 2016-07-16 Alan Modra <amodra@gmail.com>
398 * ar.c: Don't include libbfd.h.
399 * objcopy.c: Likewise.
400 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
403 2016-07-15 Alan Modra <amodra@gmail.com>
405 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
407 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
409 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
411 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
412 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
413 (struct option strip_options): Add 'remove-relocations'.
414 (struct option copy_options): Likewise.
415 (copy_usage): Likewise.
416 (strip_usage): Likewise.
417 (handle_remove_relocations_option): New function.
418 (discard_relocations): New function.
419 (handle_remove_section_option): New function.
420 (copy_relocations_in_section): Use discard_relocations.
421 (strip_main): Use handle_remove_section_option for
422 'remove-section', and handle 'remove-relocations' option.
423 (copy_main): Likewise.
424 * testsuite/binutils-all/objcopy.exp: Run new tests.
425 * testsuite/binutils-all/remove-relocs-01.d: New file.
426 * testsuite/binutils-all/remove-relocs-01.s: New file.
427 * testsuite/binutils-all/remove-relocs-02.d: New file.
428 * testsuite/binutils-all/remove-relocs-03.d: New file.
429 * testsuite/binutils-all/remove-relocs-04.d: New file.
430 * testsuite/binutils-all/remove-relocs-05.d: New file.
431 * testsuite/binutils-all/remove-relocs-06.d: New file.
432 * NEWS: Mention new option.
434 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
436 * objcopy.c (find_section_list): Handle section patterns starting
437 with '!' being a non-matching pattern.
438 * doc/binutils.texi (objcopy): Give example of using '!' with
439 --remove-section and --only-section.
440 (strip): Give example of using '!' with --remove-section.
441 * testsuite/binutils-all/data-sections.s: New file.
442 * testsuite/binutils-all/only-section-01.d: New file.
443 * testsuite/binutils-all/remove-section-01.d: New file.
444 * testsuite/binutils-all/objcopy.exp: Run new tests.
445 * NEWS: Mention new feature.
447 2016-07-09 Alan Modra <amodra@gmail.com>
450 * objdump.c (compare_symbols): For ELF, sort same value/type
451 symbols according to size.
453 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
455 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
457 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
458 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
459 (process_section_headers): Rename noread to purecode.
461 * section.c (SEC_ELF_NOREAD): Rename to ...
462 (SEC_ELF_PURECODE): ... this.
464 2016-07-01 Nick Clifton <nickc@redhat.com>
466 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
467 extremely large decimal value.
468 (pr_range_type): Likewise.
469 (pr_array_type): Likewise.
470 (pr_struct_field): Likewise.
471 (pr_class_baseclass): Likewise.
472 (pr_class_method_variant): Likewise.
473 (pr_tag_type): Likewise.
474 (pr_int_constant): Likewise.
475 (pr_typed_constant): Likewise.
476 (pr_variable): Likewise.
477 (pr_function_parameter): Likewise.
478 (pr_start_block): Likewise.
479 (pr_lineno): Likewise.
480 (pr_end_block): Likewise.
481 (tg_enum_type): Likewise.
482 (tg_int_constant): Likewise.
483 (tg_typed_constant): Likewise.
484 (tg_start_block): Likewise.
486 2016-07-01 Nick Clifton <nickc@redhat.com>
488 * testsuite/binutils-all/objcopy.exp
489 (objcopy_test_without_global_symbol): Expect this test to fail on
490 the AArch64 and ARM targets, since they preserve their mapping
493 2016-07-01 Tristan Gingold <gingold@adacore.com>
495 * NEWS: Add marker for 2.27.
497 2016-07-30 Tristan Gingold <gingold@adacore.com>
499 * doc/binutils.texi (objdump): Fix mis-placement.
501 2016-06-28 Nick Clifton <nickc@redhat.com>
503 * testsuite/binutils-all/ar.exp: Relax previous restriction on
504 Alpha targets. Allow ELF based Alpha targets.
506 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
508 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
509 the `unique_symbol' test.
511 2016-06-28 Alan Modra <amodra@gmail.com>
514 * objdump.c (objdump_print_symname): Don't attempt to retrieve
515 version info from synthetic symbols.
517 2016-06-24 Alan Modra <amodra@gmail.com>
519 * objcopy.c (find_section_rename): Forward declare. Remove
520 ibfd and sec_ptr param. Add old_name param. Allow for NULL
521 returned_flags. Move read of section name and flags to..
522 (setup_section): ..here. Update find_section_rename call.
523 (filter_symbols): Rename section symbols for renamed sections.
524 (copy_object): Call filter_symbols when renamed sections.
525 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
526 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
528 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
530 (localize-hidden-1): xfail if is_bad_symtab.
531 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
534 2016-06-24 Alan Modra <amodra@gmail.com>
536 * objdump.c (struct print_file_list): Add "max_printed".
537 (try_print_file_open): Init new field.
538 (show_line): Don't show 5 context lines when redisplaying source.
540 2016-06-22 Nick Clifton <nickc@redhat.com>
542 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
543 Skip bfdtest1 tests for tic30 target.
544 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
546 * testsuite/binutils-all/compress.exp: Expect some tests to fail
548 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
549 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
551 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
553 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
554 if the bintest.o file was created. Use the
555 get_standard_section_names proc to get the name of the data
557 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
559 * testsuite/binutils-all/readelf.exp: Use
560 get_standard_section_names proc to get the name of the data
562 * testsuite/binutils-all/readelf.r: Allow for non standard text
564 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
565 * testsuite/binutils-all/size.exp: Allow for non standard section
567 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
568 to fail on mips targets.
569 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
570 get_standard_section_names proc.
571 (run_dump_test): Likewise.
572 (proc get_standard_section_names): New proc.
574 2016-06-22 Nick Clifton <nickc@redhat.com>
576 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
577 (process_mips_specific): Likewise.
578 (process_gnu_liblist): Likewise.
580 2016-06-21 Graham Markall <graham.markall@embecosm.com>
582 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
585 2016-06-15 Nick Clifton <nickc@redhat.com>
587 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
590 2016-06-14 John Baldwin <jhb@FreeBSD.org>
592 * objcopy.c (do_elf_stt_common): Use correct type.
594 2016-06-14 Alan Modra <amodra@gmail.com>
596 * ar.c: Expand uses of bfd_my_archive.
599 2016-06-14 Alan Modra <amodra@gmail.com>
602 * bucomm.c (bfd_get_archive_filename): Return file name within thin
605 2016-06-02 Nick Clifton <nickc@redhat.com>
608 * objcopy.c (group_signature): Fail if the input symbol table has
609 not been loaded, or if the sh_info field of the group header is 0.
611 * dwarf.c (display_debug_frames): Do not display any
612 interpretation if the block consists solely of DW__CFA_NOPs.
614 2016-05-31 Alan Modra <amodra@gmail.com>
616 * objcopy.c: Formatting, whitespace throughout.
617 (copy_main): Init newsym->othersym.
618 (parse_symflags): Make len a size_t. Adjust uses.
620 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
623 * NEWS: Mention --enable-64-bit-archive.
625 2016-05-18 Nick Clifton <nickc@redhat.com>
628 * objcopy.c (copy_relocations_in_section): Also check for the
629 symbol pointed to by sym_ptr_ptr being NULL.
631 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
633 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
634 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
636 * testsuite/binutils-all/mips/mips.exp: Run the new test.
638 2016-05-18 Nick Clifton <nickc@redhat.com>
640 * po/sv.po: Updated Swedish translation.
642 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
644 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
645 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
646 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
647 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
648 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
649 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
650 `d_val' rather than `d_ptr' member of the dynamic entry.
652 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
654 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
656 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
657 with the `strip-10' test.
659 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
661 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
664 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
666 * readelf.c (print_mips_ases): Add DSPR3.
668 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
670 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
671 (arm_attr_public_tags): Define DSP_extension attribute.
673 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
675 * doc/binutils.texi (nm): Update description of --size-sort.
677 2016-05-09 Nick Clifton <nickc@redhat.com>
680 * readelf.c (get_32bit_section_headers): Warn if an out of range
681 sh_link or sh_info field is encountered.
682 (get_64bit_section_headers): Likewise.
684 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
686 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
688 2016-05-03 Nick Clifton <nickc@redhat.com>
690 * po/sv.po: Updated Swedish translation.
692 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
694 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
695 PC relocation for AVR target.
696 (is_none_reloc): Return true if reloc is any of AVR diff
699 2016-04-29 Nick Clifton <nickc@redhat.com>
702 * readelf.c (get_solaris_segment_type): New function.
703 (get_segment_type): Call it.
705 2016-04-28 Nick Clifton <nickc@redhat.com>
707 * po/zh_CN.po: Updated Chinese (simplified) translation.
709 2016-04-28 Nick Clifton <nickc@redhat.com>
712 * testsuite/binutils-all/aarch64/illegal.s: New test.
713 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
715 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
717 * resres.c: Likewise.
719 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
721 * Makefile.in: Regenerated with automake 1.11.6.
722 * aclocal.m4: Likewise.
723 * doc/Makefile.in: Likewise.
725 2016-04-14 Nick Clifton <nickc@redhat.com>
728 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
729 string sections possibly having the SHF_STRINGS flag bit set.
730 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
731 * testsuite/binutils-all/readelf.s: Likewise.
732 * testsuite/binutils-all/readelf.s-64: Likewise.
733 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
734 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
736 2016-04-13 Nick Clifton <nickc@redhat.com>
739 * readelf.c (get_solaris_section_type): New function: Returns the
740 name of Solaris specific section types.
741 (get_solaris_dynamic_type): New function: Return the name of
742 Solaris specific dynamic types.
743 (get_dynamic_type): Use get_solaris_dynamic_type.
744 (get_section_type_name): Use get_solaris_section_type.
745 (get_solaris_symbol_visibility): New function: Returns Solaris
746 specific symbol visibilities.
747 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
748 (process_symbol_table): Likewise.
750 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
752 * dwarf.h (init_dwarf_regnames_s390): Declare.
753 * dwarf.c (dwarf_regnames_s390): New.
754 (init_dwarf_regnames_s390): New.
755 (init_dwarf_regnames): Call it.
756 * objdump.c (dump_dwarf): Likewise.
758 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
760 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
761 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
763 * testsuite/binutils-all/mips/mips.exp: Run the new test.
765 2016-04-04 Nick Clifton <nickc@redhat.com>
768 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
769 version number if the version is zero.
771 2016-03-29 Alan Modra <amodra@gmail.com>
773 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
774 (get_dynamic_data): Likewise.
776 2016-03-22 Nick Clifton <nickc@redhat.com>
779 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
780 with run time size check.
782 * configure: Regenerate.
784 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
786 * readelf.c (decode_ARC_machine_flags): Handle nps400.
788 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
790 * readelf.c (get_machine_flags): Move arc processing into...
791 (decode_ARC_machine_flags): ... new function. Remove use of
792 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
793 "unknown arc". Merged ABI printing between two machine types.
795 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
797 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
798 to the architecture list.
800 2016-03-21 Nick Clifton <nickc@redhat.com>
802 * dlltool.c: Replace use of alloca with call to xmalloc.
803 * dllwrap.c: Likewise.
804 * nlmconv.c: Likewise.
805 * objdump.c: Likewise.
807 * winduni.c: Likewise.
808 * configure: Regenerate.
810 2016-03-07 Nick Clifton <nickc@redhat.com>
813 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
815 * testsuite/binutils-all/empty: New, empty, file.
817 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
819 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
821 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
824 * NEWS: Mention --elf-stt-common= for objcopy.
825 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
826 * objcopy.c (do_elf_stt_common): New.
827 (command_line_switch): Add OPTION_ELF_STT_COMMON.
828 (copy_options): Add --elf-stt-common=.
829 (copy_usage): Add --elf-stt-common=.
830 (copy_object): Also check do_elf_stt_common for ELF targets.
831 (copy_file): Handle do_elf_stt_common.
832 (copy_main): Handle OPTION_ELF_STT_COMMON.
833 * readelf.c (apply_relocations): Support STT_COMMON.
834 * testsuite/binutils-all/common-1.s: New file.
835 * testsuite/binutils-all/common-1a.d: Likewise.
836 * testsuite/binutils-all/common-1b.d: Likewise.
837 * testsuite/binutils-all/common-1c.d: Likewise.
838 * testsuite/binutils-all/common-1d.d: Likewise.
839 * testsuite/binutils-all/common-1e.d: Likewise.
840 * testsuite/binutils-all/common-1f.d: Likewise.
841 * testsuite/binutils-all/common-2.s: Likewise.
842 * testsuite/binutils-all/common-2a.d: Likewise.
843 * testsuite/binutils-all/common-2b.d: Likewise.
844 * testsuite/binutils-all/common-2c.d: Likewise.
845 * testsuite/binutils-all/common-2d.d: Likewise.
846 * testsuite/binutils-all/common-2e.d: Likewise.
847 * testsuite/binutils-all/common-2f.d: Likewise.
848 * testsuite/binutils-all/objcopy.exp
849 (objcopy_test_elf_common_symbols): New proc.
850 Run objcopy_test_elf_common_symbols for ELF targets
852 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
855 * readelf.c (get_section_type_name): Add a missing break.
857 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
859 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
861 2016-02-15 Nick Clifton <nickc@redhat.com>
863 * readelf.c (get_section_type_name): Add hex prefix to offsets
864 printed for LOPROC and LOOS values. Ensure that a result is
865 always returned for the V850 target, even when an unrecognised
866 processor specific value is encountered.
867 (process_section_headers): Display key values in the order in
868 which they appear to the user. Add the "C (compressed)" value to
871 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
873 * doc/binutils.texi: Fix a typo.
875 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
877 * testsuite/binutils-all/objdump.exp: Update expected default
878 architecture value for ARC binaries.
880 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
883 * testsuite/binutils-all/objcopy.exp
884 (objcopy_test_without_global_symbol): New proc.
885 Run objcopy_test_without_global_symbol.
886 * testsuite/binutils-all/pr19547.c: New file.
888 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
891 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
893 * Makefile.in: Regenerated.
894 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
896 Run test_gnu_debuglink for native ELF build.
898 2016-01-20 Nick Clifton <nickc@redhat.com>
901 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
902 do not support inserting leading underscores.
904 2016-01-20 Mickael Guene <mickael.guene@st.com>
906 * readelf.c (get_elf_section_flags): Display y letter for section
907 with SHF_ARM_NOREAD section flag in readelf section output.
908 (process_section_headers): Add y letter in readelf section output
909 key mapping for ARM architecture.
910 * objdump.c (dump_section_header): Display NOREAD attributes as
912 * doc/binutils.texi (objdump): Note that it is correct for
913 sections to have both the READONLY and NOREAD attributes.
915 2016-01-19 John Baldwin <jhb@FreeBSD.org>
917 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
919 2016-01-19 John Baldwin <jhb@FreeBSD.org>
921 * readelf.c (get_freebsd_elfcore_note_type): New
922 (process_note): Add support for FreeBSD core notes.
924 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
925 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
927 * readelf.c (get_machine_flags): Add support for newer ARC ELF
930 2016-01-18 Alan Modra <amodra@gmail.com>
932 * configure: Regenerate.
934 2016-01-17 Alan Modra <amodra@gmail.com>
936 * configure: Regenerate.
938 2016-01-17 Alan Modra <amodra@gmail.com>
940 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
941 for m68hc11/12 and xgate triples.
943 2016-01-17 Alan Modra <amodra@gmail.com>
945 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
947 2016-01-01 Alan Modra <amodra@gmail.com>
949 Update year range in copyright notice of all files.
951 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
953 Copyright (C) 2016 Free Software Foundation, Inc.
955 Copying and distribution of this file, with or without modification,
956 are permitted in any medium without royalty provided the copyright
957 notice and this notice are preserved.
963 version-control: never