1 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
4 rather than `.set' to set the ISA level.
6 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
8 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
9 test for separate EXTEND prefix disassembly.
11 2016-12-20 Andrew Waterman <andrew@sifive.com>
13 * readelf.c (get_machine_flags): Use
14 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
15 EF_RISCV_{SOFT,HARD}_FLOAT.
17 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
19 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
20 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
21 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
22 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
23 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
24 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
26 2016-12-13 Jiong Wang <jiong.wang@arm.com>
28 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
30 2016-12-13 Nick Clifton <nickc@redhat.com>
32 * MAINTAINERS (Past Maintainers): New section. Move Mark
35 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
37 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
38 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
40 * testsuite/binutils-all/mips/mips.exp: Run the new test.
42 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
44 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
45 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
46 * testsuite/binutils-all/mips/mips.exp: Run the new test.
48 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
50 * readelf.c (process_program_headers): Always use hex prefix when
51 displaying the segment alignment.
53 2016-12-06 Nick Clifton <nickc@redhat.com>
56 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
57 symbol pointer pointer before attempting to mark the symbol as
60 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
62 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
64 2016-12-05 Nick Clifton <nickc@redhat.com>
67 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
68 symbol pointer before attempting to mark the symbol as kept.
70 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
72 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
75 2016-11-30 Nick Clifton <nickc@redhat.com>
78 * readelf.c (process_program_headers): Do not warn about out of
79 order PT_LOAD segments.
81 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
83 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
86 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
88 * dwarf.c: Fix spelling in comments.
89 * dwarf.h: Fix spelling in comments.
90 * objcopy.c: Fix spelling in comments.
91 * od-macho.c: Fix spelling in comments.
92 * rclex.c: Fix spelling in comments.
93 * readelf.c: Fix spelling in comments.
94 * stabs.c: Fix spelling in comments.
96 2016-11-23 Nick Clifton <nickc@redhat.com>
99 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
100 segments for validity.
102 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
104 * configure: Regenerate.
106 2016-11-22 Alan Modra <amodra@gmail.com>
109 * NEWS: Mention PowerPC VLE relocation error.
111 2016-11-16 Mark Wielaard <mark@klomp.org>
113 * cxxfilt.c (main): Recognize rust_demangling.
115 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
118 * dlltool.c (struct export): Remove hint field.
119 (make_one_lib_file): Store the ordinal value for IDATA6 not the
121 (gen_lib_file): Delete reference to hint field.
122 (mangle_defs): Delete computation of hint field.
124 2016-11-11 Nick Clifton <nickc@redhat.com>
127 * nm.c (with_symbol_versions): New local variable.
128 (long_options): Add --with-symbol-versions.
129 (usage): Mention --with-symbol-versions.
130 (print_symbol): If with_symbol_versions is set then display the
131 version information associated with the symbol.
132 * NEWS: Mention the new feature.
133 * doc/binutils.texi (nm): Document the new option.
134 (objdump): Describe how symbol version information is displayed
135 for dynamic symbol dumps.
136 (readelf): Describe how symbol version information is displayed.
137 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
139 2016-11-08 Nick Clifton <nickc@redhat.com>
142 * readelf.c (process_section_headers): Fix off-by-one error when
143 checking for invalid sh_link and sh_info fields.
145 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
147 * objcopy.c (copy_section): Add extra calls to free for error
150 2016-11-04 Tom Tromey <tom@tromey.com>
152 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
155 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
157 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
160 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
161 Andrew Waterman <andrew@sifive.com>
163 Add support for RISC-V architecture.
164 * readelf.c (guess_is_rela): Add EM_RISCV.
165 (get_machine_name): Likewise.
166 (dump_relocations): Add support for riscv relocations.
167 (get_machine_flags): Add support for riscv flags.
168 (is_32bit_abs_reloc): Add R_RISCV_32.
169 (is_64bit_abs_reloc): Add R_RISCV_64.
170 (is_none_reloc): Add R_RISCV_NONE.
171 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
172 Expect the debug_ranges test to fail.
174 2016-10-17 Nick Clifton <nickc@redhat.com>
176 * readelf.c (apply_relocations): Fail if the symbol table section
177 linked to by the reloc section does not have either the SHT_SYMTAB
179 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
180 Print the contents of unknown note types.
181 (process_note): Add the file and section to the parameter list.
182 Use print_symbol to display the note name.
183 Display the contents of unknown note types.
184 (process_corefile_note_segment): Rename to process_notes_at.
185 Add section parameter. Apply relocations to the notes when
186 loading from a section. Display section name when processing
188 * testsuite/binutils-all/readelf.n: Update expected output.
190 2016-10-17 Nick Clifton <nickc@redhat.com>
192 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
193 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
194 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
195 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
196 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
197 EM_Z80, EM_AMDGPU, EM_RISCV.
198 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
199 (get_group_flags): Update to handle flags in the
200 GRP_MASKOS and GRP_MASKPROC ranges.
202 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
204 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
205 to copy file to remote host.
207 2016-10-11 Nick Clifton <nickc@redhat.com>
209 * objdump.c (is_significant_symbol_name): New function.
210 (remove_useless_symbols): Do not remove significanr symbols.
211 (find_symbol_for_address): If an exact match for the specified
212 address has not been found, try scanning the dynamic relocs to see
213 if one of these matches the address. If so, use the symbol
214 associated with the reloc.
215 (objdump_print_addr_with_symbol): Do not print offsets to symbols
217 (disassemble_section): Only use dynamic relocs if the user
219 (disassemble_data): Always load dynamic relocs if they are
222 2016-10-06 Alan Modra <amodra@gmail.com>
224 * dlltool.c: Spell fall through comments consistently.
225 * objcopy.c: Likewise.
226 * readelf.c: Likewise.
227 * dwarf.c: Add missing fall through comments.
228 * elfcomm.c: Likewise.
229 * sysinfo.y: Likewise.
230 * readelf.c: Likewise. Also remove extraneous comments.
232 2016-10-06 Alan Modra <amodra@gmail.com>
234 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
235 * elfedit.c (usage): Likewise.
236 * nm.c (usage): Likewise.
237 * objcopy.c (copy_usage, strip_usage): Likewise.
238 * srconv.c (show_usage): Likewise.
239 * strings.c (usage): Likewise.
240 * sysdump.c (show_usage): Likewise.
241 * srconv.c: Remove unneeded forward function declarations.
242 * strings.c: Likewise.
243 * sysdump.c: Likewise.
245 2016-10-06 Alan Modra <amodra@gmail.com>
247 * coffdump.c (dump_coff_where): Add missing break.
248 * stabs.c (stab_xcoff_builtin_type): Likewise.
250 2016-09-29 Alan Modra <amodra@gmail.com>
252 * readelf.c (process_arch_specific): Call process_power_specific
255 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
257 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
258 when building with CC_FOR_BUILD compiler.
259 * Makefile.in: Regenerate.
260 * configure: Likewise.
261 * doc/Makefile.in: Likewise.
263 2016-09-26 Alan Modra <amodra@gmail.com>
265 * readelf.c (display_power_gnu_attribute): Catch truncated section
266 for all powerpc attributes. Display long double ABI. Don't
267 capitalize words, except for names. Show known bits of tag values
268 when some unknown bits are present. Whitespace fixes.
270 2016-09-26 Alan Modra <amodra@gmail.com>
272 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
273 strings, use asprintf instead.
274 (get_coff_symbol_type): Likewise.
276 2016-09-19 Alan Modra <amodra@gmail.com>
278 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
280 (print_size_symbols, print_symbols): Adjust to suit, deleting
281 now unused synth_count param and fromsynth var.
282 (display_rel_file): Adjust, localizing synth_count.
284 2016-09-14 Ed Maste <emaste@freebsd.org>
286 * readelf.c (process_mips_specific): Fix typo in error message.
288 2016-09-06 Nick Clifton <nickc@redhat.com>
290 * readelf.c (request_dump_bynumber): Only call memcpy if
291 dump_sects is not NULL.
293 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
295 * readelf.c (load_specific_debug_section): Check the external
296 compression header size.
298 2016-08-19 Nick Clifton <nickc@redhat.com>
300 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
302 * testsuite/binutils-all/readelf.s-64: Likewise.
304 2016-08-12 Nick Clifton <nickc@redhat.com>
306 * readelf.c (process_symbol_table): Generate a warning if a local
307 symbol is found at and offste greater than or equal to the sh_info
308 field of it's section header.
310 2016-08-08 Nick Clifton <nickc@redhat.com>
313 * dwarf.c (display_debug_lines_decoded): Add checks for running
314 off the end of the section when populating the directory table and
316 (frame_display_row): Set max_regs equal to ncols.
317 * readelf.c (load_specific_debug_section): If the section is
318 compressed, but it is not big enough to hold a compression
319 header then warn and return 0.
322 * dwarf.c (display_debug_lines_decoded): Check directory and file
323 indicies before using them to access directory and file tables.
325 2016-08-02 Nick Clifton <nickc@redhat.com>
328 * resbin.c (bin_to_res_version): Cast variables to correct type
329 for printing in error message.
331 2016-07-28 Nick Clifton <nickc@redhat.com>
334 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
335 * resbin.c (bin_to_res_version): Allow for the padded length of a
336 version block to be longer than the recorded length. Skip padding
339 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
341 * configure: Regenerated.
343 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
345 * doc/binutils.texi (objdump): Add ARC disassembler options.
346 * testsuite/binutils-all/arc/dsp.s: New file.
347 * testsuite/binutils-all/arc/objdump.exp: Likewise.
348 * NEWS: Mention the new feature.
350 2016-07-20 Nick Clifton <nickc@redhat.com>
352 * doc/binutils.texi (objcopy): Note that the localize symbol
353 options do not affect unique symbols.
355 2016-07-16 Alan Modra <amodra@gmail.com>
357 * ar.c: Include plugin-api.h.
360 2016-07-16 Alan Modra <amodra@gmail.com>
362 * bucomm.c: Don't include libbfd.h.
363 (endian_string, display_target_list): Delete forward declaration.
364 (display_info_table, display_target_tables): Likewise.
365 (LONGEST_ARCH): Delete.
366 (struct display_target): New.
367 (do_display_target): New function.
368 (display_target_list, display_info): Rewrite functions.
369 (display_info_table): Delete.
370 (do_info_size, do_info_header, do_info_row): New functions.
372 2016-07-16 Alan Modra <amodra@gmail.com>
374 * elfcomm.h (HOST_WIDEST_INT): Move to..
376 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
377 (dump_dyld_info_rebase): Use read_leb128 rather than
378 read_unsigned_leb128.
379 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
380 (dump_segment_split_info): Likewise.
381 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
382 (dump_load_command): Likewise.
384 2016-07-16 Alan Modra <amodra@gmail.com>
386 * ar.c: Don't include libbfd.h.
387 * objcopy.c: Likewise.
388 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
391 2016-07-15 Alan Modra <amodra@gmail.com>
393 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
395 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
397 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
399 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
400 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
401 (struct option strip_options): Add 'remove-relocations'.
402 (struct option copy_options): Likewise.
403 (copy_usage): Likewise.
404 (strip_usage): Likewise.
405 (handle_remove_relocations_option): New function.
406 (discard_relocations): New function.
407 (handle_remove_section_option): New function.
408 (copy_relocations_in_section): Use discard_relocations.
409 (strip_main): Use handle_remove_section_option for
410 'remove-section', and handle 'remove-relocations' option.
411 (copy_main): Likewise.
412 * testsuite/binutils-all/objcopy.exp: Run new tests.
413 * testsuite/binutils-all/remove-relocs-01.d: New file.
414 * testsuite/binutils-all/remove-relocs-01.s: New file.
415 * testsuite/binutils-all/remove-relocs-02.d: New file.
416 * testsuite/binutils-all/remove-relocs-03.d: New file.
417 * testsuite/binutils-all/remove-relocs-04.d: New file.
418 * testsuite/binutils-all/remove-relocs-05.d: New file.
419 * testsuite/binutils-all/remove-relocs-06.d: New file.
420 * NEWS: Mention new option.
422 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
424 * objcopy.c (find_section_list): Handle section patterns starting
425 with '!' being a non-matching pattern.
426 * doc/binutils.texi (objcopy): Give example of using '!' with
427 --remove-section and --only-section.
428 (strip): Give example of using '!' with --remove-section.
429 * testsuite/binutils-all/data-sections.s: New file.
430 * testsuite/binutils-all/only-section-01.d: New file.
431 * testsuite/binutils-all/remove-section-01.d: New file.
432 * testsuite/binutils-all/objcopy.exp: Run new tests.
433 * NEWS: Mention new feature.
435 2016-07-09 Alan Modra <amodra@gmail.com>
438 * objdump.c (compare_symbols): For ELF, sort same value/type
439 symbols according to size.
441 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
443 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
445 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
446 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
447 (process_section_headers): Rename noread to purecode.
449 * section.c (SEC_ELF_NOREAD): Rename to ...
450 (SEC_ELF_PURECODE): ... this.
452 2016-07-01 Nick Clifton <nickc@redhat.com>
454 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
455 extremely large decimal value.
456 (pr_range_type): Likewise.
457 (pr_array_type): Likewise.
458 (pr_struct_field): Likewise.
459 (pr_class_baseclass): Likewise.
460 (pr_class_method_variant): Likewise.
461 (pr_tag_type): Likewise.
462 (pr_int_constant): Likewise.
463 (pr_typed_constant): Likewise.
464 (pr_variable): Likewise.
465 (pr_function_parameter): Likewise.
466 (pr_start_block): Likewise.
467 (pr_lineno): Likewise.
468 (pr_end_block): Likewise.
469 (tg_enum_type): Likewise.
470 (tg_int_constant): Likewise.
471 (tg_typed_constant): Likewise.
472 (tg_start_block): Likewise.
474 2016-07-01 Nick Clifton <nickc@redhat.com>
476 * testsuite/binutils-all/objcopy.exp
477 (objcopy_test_without_global_symbol): Expect this test to fail on
478 the AArch64 and ARM targets, since they preserve their mapping
481 2016-07-01 Tristan Gingold <gingold@adacore.com>
483 * NEWS: Add marker for 2.27.
485 2016-07-30 Tristan Gingold <gingold@adacore.com>
487 * doc/binutils.texi (objdump): Fix mis-placement.
489 2016-06-28 Nick Clifton <nickc@redhat.com>
491 * testsuite/binutils-all/ar.exp: Relax previous restriction on
492 Alpha targets. Allow ELF based Alpha targets.
494 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
496 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
497 the `unique_symbol' test.
499 2016-06-28 Alan Modra <amodra@gmail.com>
502 * objdump.c (objdump_print_symname): Don't attempt to retrieve
503 version info from synthetic symbols.
505 2016-06-24 Alan Modra <amodra@gmail.com>
507 * objcopy.c (find_section_rename): Forward declare. Remove
508 ibfd and sec_ptr param. Add old_name param. Allow for NULL
509 returned_flags. Move read of section name and flags to..
510 (setup_section): ..here. Update find_section_rename call.
511 (filter_symbols): Rename section symbols for renamed sections.
512 (copy_object): Call filter_symbols when renamed sections.
513 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
514 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
516 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
518 (localize-hidden-1): xfail if is_bad_symtab.
519 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
522 2016-06-24 Alan Modra <amodra@gmail.com>
524 * objdump.c (struct print_file_list): Add "max_printed".
525 (try_print_file_open): Init new field.
526 (show_line): Don't show 5 context lines when redisplaying source.
528 2016-06-22 Nick Clifton <nickc@redhat.com>
530 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
531 Skip bfdtest1 tests for tic30 target.
532 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
534 * testsuite/binutils-all/compress.exp: Expect some tests to fail
536 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
537 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
539 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
541 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
542 if the bintest.o file was created. Use the
543 get_standard_section_names proc to get the name of the data
545 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
547 * testsuite/binutils-all/readelf.exp: Use
548 get_standard_section_names proc to get the name of the data
550 * testsuite/binutils-all/readelf.r: Allow for non standard text
552 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
553 * testsuite/binutils-all/size.exp: Allow for non standard section
555 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
556 to fail on mips targets.
557 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
558 get_standard_section_names proc.
559 (run_dump_test): Likewise.
560 (proc get_standard_section_names): New proc.
562 2016-06-22 Nick Clifton <nickc@redhat.com>
564 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
565 (process_mips_specific): Likewise.
566 (process_gnu_liblist): Likewise.
568 2016-06-21 Graham Markall <graham.markall@embecosm.com>
570 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
573 2016-06-15 Nick Clifton <nickc@redhat.com>
575 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
578 2016-06-14 John Baldwin <jhb@FreeBSD.org>
580 * objcopy.c (do_elf_stt_common): Use correct type.
582 2016-06-14 Alan Modra <amodra@gmail.com>
584 * ar.c: Expand uses of bfd_my_archive.
587 2016-06-14 Alan Modra <amodra@gmail.com>
590 * bucomm.c (bfd_get_archive_filename): Return file name within thin
593 2016-06-02 Nick Clifton <nickc@redhat.com>
596 * objcopy.c (group_signature): Fail if the input symbol table has
597 not been loaded, or if the sh_info field of the group header is 0.
599 * dwarf.c (display_debug_frames): Do not display any
600 interpretation if the block consists solely of DW__CFA_NOPs.
602 2016-05-31 Alan Modra <amodra@gmail.com>
604 * objcopy.c: Formatting, whitespace throughout.
605 (copy_main): Init newsym->othersym.
606 (parse_symflags): Make len a size_t. Adjust uses.
608 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
611 * NEWS: Mention --enable-64-bit-archive.
613 2016-05-18 Nick Clifton <nickc@redhat.com>
616 * objcopy.c (copy_relocations_in_section): Also check for the
617 symbol pointed to by sym_ptr_ptr being NULL.
619 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
621 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
622 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
624 * testsuite/binutils-all/mips/mips.exp: Run the new test.
626 2016-05-18 Nick Clifton <nickc@redhat.com>
628 * po/sv.po: Updated Swedish translation.
630 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
632 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
633 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
634 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
635 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
636 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
637 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
638 `d_val' rather than `d_ptr' member of the dynamic entry.
640 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
642 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
644 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
645 with the `strip-10' test.
647 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
649 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
652 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
654 * readelf.c (print_mips_ases): Add DSPR3.
656 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
658 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
659 (arm_attr_public_tags): Define DSP_extension attribute.
661 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
663 * doc/binutils.texi (nm): Update description of --size-sort.
665 2016-05-09 Nick Clifton <nickc@redhat.com>
668 * readelf.c (get_32bit_section_headers): Warn if an out of range
669 sh_link or sh_info field is encountered.
670 (get_64bit_section_headers): Likewise.
672 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
674 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
676 2016-05-03 Nick Clifton <nickc@redhat.com>
678 * po/sv.po: Updated Swedish translation.
680 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
682 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
683 PC relocation for AVR target.
684 (is_none_reloc): Return true if reloc is any of AVR diff
687 2016-04-29 Nick Clifton <nickc@redhat.com>
690 * readelf.c (get_solaris_segment_type): New function.
691 (get_segment_type): Call it.
693 2016-04-28 Nick Clifton <nickc@redhat.com>
695 * po/zh_CN.po: Updated Chinese (simplified) translation.
697 2016-04-28 Nick Clifton <nickc@redhat.com>
700 * testsuite/binutils-all/aarch64/illegal.s: New test.
701 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
703 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
705 * resres.c: Likewise.
707 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
709 * Makefile.in: Regenerated with automake 1.11.6.
710 * aclocal.m4: Likewise.
711 * doc/Makefile.in: Likewise.
713 2016-04-14 Nick Clifton <nickc@redhat.com>
716 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
717 string sections possibly having the SHF_STRINGS flag bit set.
718 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
719 * testsuite/binutils-all/readelf.s: Likewise.
720 * testsuite/binutils-all/readelf.s-64: Likewise.
721 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
722 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
724 2016-04-13 Nick Clifton <nickc@redhat.com>
727 * readelf.c (get_solaris_section_type): New function: Returns the
728 name of Solaris specific section types.
729 (get_solaris_dynamic_type): New function: Return the name of
730 Solaris specific dynamic types.
731 (get_dynamic_type): Use get_solaris_dynamic_type.
732 (get_section_type_name): Use get_solaris_section_type.
733 (get_solaris_symbol_visibility): New function: Returns Solaris
734 specific symbol visibilities.
735 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
736 (process_symbol_table): Likewise.
738 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
740 * dwarf.h (init_dwarf_regnames_s390): Declare.
741 * dwarf.c (dwarf_regnames_s390): New.
742 (init_dwarf_regnames_s390): New.
743 (init_dwarf_regnames): Call it.
744 * objdump.c (dump_dwarf): Likewise.
746 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
748 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
749 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
751 * testsuite/binutils-all/mips/mips.exp: Run the new test.
753 2016-04-04 Nick Clifton <nickc@redhat.com>
756 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
757 version number if the version is zero.
759 2016-03-29 Alan Modra <amodra@gmail.com>
761 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
762 (get_dynamic_data): Likewise.
764 2016-03-22 Nick Clifton <nickc@redhat.com>
767 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
768 with run time size check.
770 * configure: Regenerate.
772 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
774 * readelf.c (decode_ARC_machine_flags): Handle nps400.
776 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
778 * readelf.c (get_machine_flags): Move arc processing into...
779 (decode_ARC_machine_flags): ... new function. Remove use of
780 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
781 "unknown arc". Merged ABI printing between two machine types.
783 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
785 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
786 to the architecture list.
788 2016-03-21 Nick Clifton <nickc@redhat.com>
790 * dlltool.c: Replace use of alloca with call to xmalloc.
791 * dllwrap.c: Likewise.
792 * nlmconv.c: Likewise.
793 * objdump.c: Likewise.
795 * winduni.c: Likewise.
796 * configure: Regenerate.
798 2016-03-07 Nick Clifton <nickc@redhat.com>
801 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
803 * testsuite/binutils-all/empty: New, empty, file.
805 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
807 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
809 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
812 * NEWS: Mention --elf-stt-common= for objcopy.
813 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
814 * objcopy.c (do_elf_stt_common): New.
815 (command_line_switch): Add OPTION_ELF_STT_COMMON.
816 (copy_options): Add --elf-stt-common=.
817 (copy_usage): Add --elf-stt-common=.
818 (copy_object): Also check do_elf_stt_common for ELF targets.
819 (copy_file): Handle do_elf_stt_common.
820 (copy_main): Handle OPTION_ELF_STT_COMMON.
821 * readelf.c (apply_relocations): Support STT_COMMON.
822 * testsuite/binutils-all/common-1.s: New file.
823 * testsuite/binutils-all/common-1a.d: Likewise.
824 * testsuite/binutils-all/common-1b.d: Likewise.
825 * testsuite/binutils-all/common-1c.d: Likewise.
826 * testsuite/binutils-all/common-1d.d: Likewise.
827 * testsuite/binutils-all/common-1e.d: Likewise.
828 * testsuite/binutils-all/common-1f.d: Likewise.
829 * testsuite/binutils-all/common-2.s: Likewise.
830 * testsuite/binutils-all/common-2a.d: Likewise.
831 * testsuite/binutils-all/common-2b.d: Likewise.
832 * testsuite/binutils-all/common-2c.d: Likewise.
833 * testsuite/binutils-all/common-2d.d: Likewise.
834 * testsuite/binutils-all/common-2e.d: Likewise.
835 * testsuite/binutils-all/common-2f.d: Likewise.
836 * testsuite/binutils-all/objcopy.exp
837 (objcopy_test_elf_common_symbols): New proc.
838 Run objcopy_test_elf_common_symbols for ELF targets
840 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
843 * readelf.c (get_section_type_name): Add a missing break.
845 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
847 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
849 2016-02-15 Nick Clifton <nickc@redhat.com>
851 * readelf.c (get_section_type_name): Add hex prefix to offsets
852 printed for LOPROC and LOOS values. Ensure that a result is
853 always returned for the V850 target, even when an unrecognised
854 processor specific value is encountered.
855 (process_section_headers): Display key values in the order in
856 which they appear to the user. Add the "C (compressed)" value to
859 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
861 * doc/binutils.texi: Fix a typo.
863 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
865 * testsuite/binutils-all/objdump.exp: Update expected default
866 architecture value for ARC binaries.
868 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
871 * testsuite/binutils-all/objcopy.exp
872 (objcopy_test_without_global_symbol): New proc.
873 Run objcopy_test_without_global_symbol.
874 * testsuite/binutils-all/pr19547.c: New file.
876 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
879 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
881 * Makefile.in: Regenerated.
882 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
884 Run test_gnu_debuglink for native ELF build.
886 2016-01-20 Nick Clifton <nickc@redhat.com>
889 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
890 do not support inserting leading underscores.
892 2016-01-20 Mickael Guene <mickael.guene@st.com>
894 * readelf.c (get_elf_section_flags): Display y letter for section
895 with SHF_ARM_NOREAD section flag in readelf section output.
896 (process_section_headers): Add y letter in readelf section output
897 key mapping for ARM architecture.
898 * objdump.c (dump_section_header): Display NOREAD attributes as
900 * doc/binutils.texi (objdump): Note that it is correct for
901 sections to have both the READONLY and NOREAD attributes.
903 2016-01-19 John Baldwin <jhb@FreeBSD.org>
905 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
907 2016-01-19 John Baldwin <jhb@FreeBSD.org>
909 * readelf.c (get_freebsd_elfcore_note_type): New
910 (process_note): Add support for FreeBSD core notes.
912 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
913 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
915 * readelf.c (get_machine_flags): Add support for newer ARC ELF
918 2016-01-18 Alan Modra <amodra@gmail.com>
920 * configure: Regenerate.
922 2016-01-17 Alan Modra <amodra@gmail.com>
924 * configure: Regenerate.
926 2016-01-17 Alan Modra <amodra@gmail.com>
928 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
929 for m68hc11/12 and xgate triples.
931 2016-01-17 Alan Modra <amodra@gmail.com>
933 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
935 2016-01-01 Alan Modra <amodra@gmail.com>
937 Update year range in copyright notice of all files.
939 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
941 Copyright (C) 2016 Free Software Foundation, Inc.
943 Copying and distribution of this file, with or without modification,
944 are permitted in any medium without royalty provided the copyright
945 notice and this notice are preserved.
951 version-control: never