1 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
4 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
5 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
6 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
7 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
8 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
10 2016-12-13 Jiong Wang <jiong.wang@arm.com>
12 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
14 2016-12-13 Nick Clifton <nickc@redhat.com>
16 * MAINTAINERS (Past Maintainers): New section. Move Mark
19 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
21 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
22 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
24 * testsuite/binutils-all/mips/mips.exp: Run the new test.
26 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
28 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
29 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
30 * testsuite/binutils-all/mips/mips.exp: Run the new test.
32 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
34 * readelf.c (process_program_headers): Always use hex prefix when
35 displaying the segment alignment.
37 2016-12-06 Nick Clifton <nickc@redhat.com>
40 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
41 symbol pointer pointer before attempting to mark the symbol as
44 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
46 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
48 2016-12-05 Nick Clifton <nickc@redhat.com>
51 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
52 symbol pointer before attempting to mark the symbol as kept.
54 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
56 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
59 2016-11-30 Nick Clifton <nickc@redhat.com>
62 * readelf.c (process_program_headers): Do not warn about out of
63 order PT_LOAD segments.
65 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
67 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
70 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
72 * dwarf.c: Fix spelling in comments.
73 * dwarf.h: Fix spelling in comments.
74 * objcopy.c: Fix spelling in comments.
75 * od-macho.c: Fix spelling in comments.
76 * rclex.c: Fix spelling in comments.
77 * readelf.c: Fix spelling in comments.
78 * stabs.c: Fix spelling in comments.
80 2016-11-23 Nick Clifton <nickc@redhat.com>
83 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
84 segments for validity.
86 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
88 * configure: Regenerate.
90 2016-11-22 Alan Modra <amodra@gmail.com>
93 * NEWS: Mention PowerPC VLE relocation error.
95 2016-11-16 Mark Wielaard <mark@klomp.org>
97 * cxxfilt.c (main): Recognize rust_demangling.
99 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
102 * dlltool.c (struct export): Remove hint field.
103 (make_one_lib_file): Store the ordinal value for IDATA6 not the
105 (gen_lib_file): Delete reference to hint field.
106 (mangle_defs): Delete computation of hint field.
108 2016-11-11 Nick Clifton <nickc@redhat.com>
111 * nm.c (with_symbol_versions): New local variable.
112 (long_options): Add --with-symbol-versions.
113 (usage): Mention --with-symbol-versions.
114 (print_symbol): If with_symbol_versions is set then display the
115 version information associated with the symbol.
116 * NEWS: Mention the new feature.
117 * doc/binutils.texi (nm): Document the new option.
118 (objdump): Describe how symbol version information is displayed
119 for dynamic symbol dumps.
120 (readelf): Describe how symbol version information is displayed.
121 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
123 2016-11-08 Nick Clifton <nickc@redhat.com>
126 * readelf.c (process_section_headers): Fix off-by-one error when
127 checking for invalid sh_link and sh_info fields.
129 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
131 * objcopy.c (copy_section): Add extra calls to free for error
134 2016-11-04 Tom Tromey <tom@tromey.com>
136 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
139 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
141 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
144 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
145 Andrew Waterman <andrew@sifive.com>
147 Add support for RISC-V architecture.
148 * readelf.c (guess_is_rela): Add EM_RISCV.
149 (get_machine_name): Likewise.
150 (dump_relocations): Add support for riscv relocations.
151 (get_machine_flags): Add support for riscv flags.
152 (is_32bit_abs_reloc): Add R_RISCV_32.
153 (is_64bit_abs_reloc): Add R_RISCV_64.
154 (is_none_reloc): Add R_RISCV_NONE.
155 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
156 Expect the debug_ranges test to fail.
158 2016-10-17 Nick Clifton <nickc@redhat.com>
160 * readelf.c (apply_relocations): Fail if the symbol table section
161 linked to by the reloc section does not have either the SHT_SYMTAB
163 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
164 Print the contents of unknown note types.
165 (process_note): Add the file and section to the parameter list.
166 Use print_symbol to display the note name.
167 Display the contents of unknown note types.
168 (process_corefile_note_segment): Rename to process_notes_at.
169 Add section parameter. Apply relocations to the notes when
170 loading from a section. Display section name when processing
172 * testsuite/binutils-all/readelf.n: Update expected output.
174 2016-10-17 Nick Clifton <nickc@redhat.com>
176 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
177 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
178 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
179 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
180 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
181 EM_Z80, EM_AMDGPU, EM_RISCV.
182 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
183 (get_group_flags): Update to handle flags in the
184 GRP_MASKOS and GRP_MASKPROC ranges.
186 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
188 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
189 to copy file to remote host.
191 2016-10-11 Nick Clifton <nickc@redhat.com>
193 * objdump.c (is_significant_symbol_name): New function.
194 (remove_useless_symbols): Do not remove significanr symbols.
195 (find_symbol_for_address): If an exact match for the specified
196 address has not been found, try scanning the dynamic relocs to see
197 if one of these matches the address. If so, use the symbol
198 associated with the reloc.
199 (objdump_print_addr_with_symbol): Do not print offsets to symbols
201 (disassemble_section): Only use dynamic relocs if the user
203 (disassemble_data): Always load dynamic relocs if they are
206 2016-10-06 Alan Modra <amodra@gmail.com>
208 * dlltool.c: Spell fall through comments consistently.
209 * objcopy.c: Likewise.
210 * readelf.c: Likewise.
211 * dwarf.c: Add missing fall through comments.
212 * elfcomm.c: Likewise.
213 * sysinfo.y: Likewise.
214 * readelf.c: Likewise. Also remove extraneous comments.
216 2016-10-06 Alan Modra <amodra@gmail.com>
218 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
219 * elfedit.c (usage): Likewise.
220 * nm.c (usage): Likewise.
221 * objcopy.c (copy_usage, strip_usage): Likewise.
222 * srconv.c (show_usage): Likewise.
223 * strings.c (usage): Likewise.
224 * sysdump.c (show_usage): Likewise.
225 * srconv.c: Remove unneeded forward function declarations.
226 * strings.c: Likewise.
227 * sysdump.c: Likewise.
229 2016-10-06 Alan Modra <amodra@gmail.com>
231 * coffdump.c (dump_coff_where): Add missing break.
232 * stabs.c (stab_xcoff_builtin_type): Likewise.
234 2016-09-29 Alan Modra <amodra@gmail.com>
236 * readelf.c (process_arch_specific): Call process_power_specific
239 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
241 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
242 when building with CC_FOR_BUILD compiler.
243 * Makefile.in: Regenerate.
244 * configure: Likewise.
245 * doc/Makefile.in: Likewise.
247 2016-09-26 Alan Modra <amodra@gmail.com>
249 * readelf.c (display_power_gnu_attribute): Catch truncated section
250 for all powerpc attributes. Display long double ABI. Don't
251 capitalize words, except for names. Show known bits of tag values
252 when some unknown bits are present. Whitespace fixes.
254 2016-09-26 Alan Modra <amodra@gmail.com>
256 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
257 strings, use asprintf instead.
258 (get_coff_symbol_type): Likewise.
260 2016-09-19 Alan Modra <amodra@gmail.com>
262 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
264 (print_size_symbols, print_symbols): Adjust to suit, deleting
265 now unused synth_count param and fromsynth var.
266 (display_rel_file): Adjust, localizing synth_count.
268 2016-09-14 Ed Maste <emaste@freebsd.org>
270 * readelf.c (process_mips_specific): Fix typo in error message.
272 2016-09-06 Nick Clifton <nickc@redhat.com>
274 * readelf.c (request_dump_bynumber): Only call memcpy if
275 dump_sects is not NULL.
277 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
279 * readelf.c (load_specific_debug_section): Check the external
280 compression header size.
282 2016-08-19 Nick Clifton <nickc@redhat.com>
284 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
286 * testsuite/binutils-all/readelf.s-64: Likewise.
288 2016-08-12 Nick Clifton <nickc@redhat.com>
290 * readelf.c (process_symbol_table): Generate a warning if a local
291 symbol is found at and offste greater than or equal to the sh_info
292 field of it's section header.
294 2016-08-08 Nick Clifton <nickc@redhat.com>
297 * dwarf.c (display_debug_lines_decoded): Add checks for running
298 off the end of the section when populating the directory table and
300 (frame_display_row): Set max_regs equal to ncols.
301 * readelf.c (load_specific_debug_section): If the section is
302 compressed, but it is not big enough to hold a compression
303 header then warn and return 0.
306 * dwarf.c (display_debug_lines_decoded): Check directory and file
307 indicies before using them to access directory and file tables.
309 2016-08-02 Nick Clifton <nickc@redhat.com>
312 * resbin.c (bin_to_res_version): Cast variables to correct type
313 for printing in error message.
315 2016-07-28 Nick Clifton <nickc@redhat.com>
318 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
319 * resbin.c (bin_to_res_version): Allow for the padded length of a
320 version block to be longer than the recorded length. Skip padding
323 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
325 * configure: Regenerated.
327 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
329 * doc/binutils.texi (objdump): Add ARC disassembler options.
330 * testsuite/binutils-all/arc/dsp.s: New file.
331 * testsuite/binutils-all/arc/objdump.exp: Likewise.
332 * NEWS: Mention the new feature.
334 2016-07-20 Nick Clifton <nickc@redhat.com>
336 * doc/binutils.texi (objcopy): Note that the localize symbol
337 options do not affect unique symbols.
339 2016-07-16 Alan Modra <amodra@gmail.com>
341 * ar.c: Include plugin-api.h.
344 2016-07-16 Alan Modra <amodra@gmail.com>
346 * bucomm.c: Don't include libbfd.h.
347 (endian_string, display_target_list): Delete forward declaration.
348 (display_info_table, display_target_tables): Likewise.
349 (LONGEST_ARCH): Delete.
350 (struct display_target): New.
351 (do_display_target): New function.
352 (display_target_list, display_info): Rewrite functions.
353 (display_info_table): Delete.
354 (do_info_size, do_info_header, do_info_row): New functions.
356 2016-07-16 Alan Modra <amodra@gmail.com>
358 * elfcomm.h (HOST_WIDEST_INT): Move to..
360 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
361 (dump_dyld_info_rebase): Use read_leb128 rather than
362 read_unsigned_leb128.
363 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
364 (dump_segment_split_info): Likewise.
365 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
366 (dump_load_command): Likewise.
368 2016-07-16 Alan Modra <amodra@gmail.com>
370 * ar.c: Don't include libbfd.h.
371 * objcopy.c: Likewise.
372 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
375 2016-07-15 Alan Modra <amodra@gmail.com>
377 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
379 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
381 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
383 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
384 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
385 (struct option strip_options): Add 'remove-relocations'.
386 (struct option copy_options): Likewise.
387 (copy_usage): Likewise.
388 (strip_usage): Likewise.
389 (handle_remove_relocations_option): New function.
390 (discard_relocations): New function.
391 (handle_remove_section_option): New function.
392 (copy_relocations_in_section): Use discard_relocations.
393 (strip_main): Use handle_remove_section_option for
394 'remove-section', and handle 'remove-relocations' option.
395 (copy_main): Likewise.
396 * testsuite/binutils-all/objcopy.exp: Run new tests.
397 * testsuite/binutils-all/remove-relocs-01.d: New file.
398 * testsuite/binutils-all/remove-relocs-01.s: New file.
399 * testsuite/binutils-all/remove-relocs-02.d: New file.
400 * testsuite/binutils-all/remove-relocs-03.d: New file.
401 * testsuite/binutils-all/remove-relocs-04.d: New file.
402 * testsuite/binutils-all/remove-relocs-05.d: New file.
403 * testsuite/binutils-all/remove-relocs-06.d: New file.
404 * NEWS: Mention new option.
406 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
408 * objcopy.c (find_section_list): Handle section patterns starting
409 with '!' being a non-matching pattern.
410 * doc/binutils.texi (objcopy): Give example of using '!' with
411 --remove-section and --only-section.
412 (strip): Give example of using '!' with --remove-section.
413 * testsuite/binutils-all/data-sections.s: New file.
414 * testsuite/binutils-all/only-section-01.d: New file.
415 * testsuite/binutils-all/remove-section-01.d: New file.
416 * testsuite/binutils-all/objcopy.exp: Run new tests.
417 * NEWS: Mention new feature.
419 2016-07-09 Alan Modra <amodra@gmail.com>
422 * objdump.c (compare_symbols): For ELF, sort same value/type
423 symbols according to size.
425 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
427 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
429 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
430 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
431 (process_section_headers): Rename noread to purecode.
433 * section.c (SEC_ELF_NOREAD): Rename to ...
434 (SEC_ELF_PURECODE): ... this.
436 2016-07-01 Nick Clifton <nickc@redhat.com>
438 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
439 extremely large decimal value.
440 (pr_range_type): Likewise.
441 (pr_array_type): Likewise.
442 (pr_struct_field): Likewise.
443 (pr_class_baseclass): Likewise.
444 (pr_class_method_variant): Likewise.
445 (pr_tag_type): Likewise.
446 (pr_int_constant): Likewise.
447 (pr_typed_constant): Likewise.
448 (pr_variable): Likewise.
449 (pr_function_parameter): Likewise.
450 (pr_start_block): Likewise.
451 (pr_lineno): Likewise.
452 (pr_end_block): Likewise.
453 (tg_enum_type): Likewise.
454 (tg_int_constant): Likewise.
455 (tg_typed_constant): Likewise.
456 (tg_start_block): Likewise.
458 2016-07-01 Nick Clifton <nickc@redhat.com>
460 * testsuite/binutils-all/objcopy.exp
461 (objcopy_test_without_global_symbol): Expect this test to fail on
462 the AArch64 and ARM targets, since they preserve their mapping
465 2016-07-01 Tristan Gingold <gingold@adacore.com>
467 * NEWS: Add marker for 2.27.
469 2016-07-30 Tristan Gingold <gingold@adacore.com>
471 * doc/binutils.texi (objdump): Fix mis-placement.
473 2016-06-28 Nick Clifton <nickc@redhat.com>
475 * testsuite/binutils-all/ar.exp: Relax previous restriction on
476 Alpha targets. Allow ELF based Alpha targets.
478 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
480 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
481 the `unique_symbol' test.
483 2016-06-28 Alan Modra <amodra@gmail.com>
486 * objdump.c (objdump_print_symname): Don't attempt to retrieve
487 version info from synthetic symbols.
489 2016-06-24 Alan Modra <amodra@gmail.com>
491 * objcopy.c (find_section_rename): Forward declare. Remove
492 ibfd and sec_ptr param. Add old_name param. Allow for NULL
493 returned_flags. Move read of section name and flags to..
494 (setup_section): ..here. Update find_section_rename call.
495 (filter_symbols): Rename section symbols for renamed sections.
496 (copy_object): Call filter_symbols when renamed sections.
497 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
498 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
500 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
502 (localize-hidden-1): xfail if is_bad_symtab.
503 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
506 2016-06-24 Alan Modra <amodra@gmail.com>
508 * objdump.c (struct print_file_list): Add "max_printed".
509 (try_print_file_open): Init new field.
510 (show_line): Don't show 5 context lines when redisplaying source.
512 2016-06-22 Nick Clifton <nickc@redhat.com>
514 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
515 Skip bfdtest1 tests for tic30 target.
516 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
518 * testsuite/binutils-all/compress.exp: Expect some tests to fail
520 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
521 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
523 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
525 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
526 if the bintest.o file was created. Use the
527 get_standard_section_names proc to get the name of the data
529 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
531 * testsuite/binutils-all/readelf.exp: Use
532 get_standard_section_names proc to get the name of the data
534 * testsuite/binutils-all/readelf.r: Allow for non standard text
536 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
537 * testsuite/binutils-all/size.exp: Allow for non standard section
539 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
540 to fail on mips targets.
541 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
542 get_standard_section_names proc.
543 (run_dump_test): Likewise.
544 (proc get_standard_section_names): New proc.
546 2016-06-22 Nick Clifton <nickc@redhat.com>
548 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
549 (process_mips_specific): Likewise.
550 (process_gnu_liblist): Likewise.
552 2016-06-21 Graham Markall <graham.markall@embecosm.com>
554 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
557 2016-06-15 Nick Clifton <nickc@redhat.com>
559 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
562 2016-06-14 John Baldwin <jhb@FreeBSD.org>
564 * objcopy.c (do_elf_stt_common): Use correct type.
566 2016-06-14 Alan Modra <amodra@gmail.com>
568 * ar.c: Expand uses of bfd_my_archive.
571 2016-06-14 Alan Modra <amodra@gmail.com>
574 * bucomm.c (bfd_get_archive_filename): Return file name within thin
577 2016-06-02 Nick Clifton <nickc@redhat.com>
580 * objcopy.c (group_signature): Fail if the input symbol table has
581 not been loaded, or if the sh_info field of the group header is 0.
583 * dwarf.c (display_debug_frames): Do not display any
584 interpretation if the block consists solely of DW__CFA_NOPs.
586 2016-05-31 Alan Modra <amodra@gmail.com>
588 * objcopy.c: Formatting, whitespace throughout.
589 (copy_main): Init newsym->othersym.
590 (parse_symflags): Make len a size_t. Adjust uses.
592 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
595 * NEWS: Mention --enable-64-bit-archive.
597 2016-05-18 Nick Clifton <nickc@redhat.com>
600 * objcopy.c (copy_relocations_in_section): Also check for the
601 symbol pointed to by sym_ptr_ptr being NULL.
603 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
605 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
606 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
608 * testsuite/binutils-all/mips/mips.exp: Run the new test.
610 2016-05-18 Nick Clifton <nickc@redhat.com>
612 * po/sv.po: Updated Swedish translation.
614 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
616 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
617 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
618 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
619 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
620 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
621 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
622 `d_val' rather than `d_ptr' member of the dynamic entry.
624 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
626 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
628 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
629 with the `strip-10' test.
631 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
633 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
636 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
638 * readelf.c (print_mips_ases): Add DSPR3.
640 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
642 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
643 (arm_attr_public_tags): Define DSP_extension attribute.
645 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
647 * doc/binutils.texi (nm): Update description of --size-sort.
649 2016-05-09 Nick Clifton <nickc@redhat.com>
652 * readelf.c (get_32bit_section_headers): Warn if an out of range
653 sh_link or sh_info field is encountered.
654 (get_64bit_section_headers): Likewise.
656 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
658 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
660 2016-05-03 Nick Clifton <nickc@redhat.com>
662 * po/sv.po: Updated Swedish translation.
664 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
666 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
667 PC relocation for AVR target.
668 (is_none_reloc): Return true if reloc is any of AVR diff
671 2016-04-29 Nick Clifton <nickc@redhat.com>
674 * readelf.c (get_solaris_segment_type): New function.
675 (get_segment_type): Call it.
677 2016-04-28 Nick Clifton <nickc@redhat.com>
679 * po/zh_CN.po: Updated Chinese (simplified) translation.
681 2016-04-28 Nick Clifton <nickc@redhat.com>
684 * testsuite/binutils-all/aarch64/illegal.s: New test.
685 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
687 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
689 * resres.c: Likewise.
691 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
693 * Makefile.in: Regenerated with automake 1.11.6.
694 * aclocal.m4: Likewise.
695 * doc/Makefile.in: Likewise.
697 2016-04-14 Nick Clifton <nickc@redhat.com>
700 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
701 string sections possibly having the SHF_STRINGS flag bit set.
702 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
703 * testsuite/binutils-all/readelf.s: Likewise.
704 * testsuite/binutils-all/readelf.s-64: Likewise.
705 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
706 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
708 2016-04-13 Nick Clifton <nickc@redhat.com>
711 * readelf.c (get_solaris_section_type): New function: Returns the
712 name of Solaris specific section types.
713 (get_solaris_dynamic_type): New function: Return the name of
714 Solaris specific dynamic types.
715 (get_dynamic_type): Use get_solaris_dynamic_type.
716 (get_section_type_name): Use get_solaris_section_type.
717 (get_solaris_symbol_visibility): New function: Returns Solaris
718 specific symbol visibilities.
719 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
720 (process_symbol_table): Likewise.
722 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
724 * dwarf.h (init_dwarf_regnames_s390): Declare.
725 * dwarf.c (dwarf_regnames_s390): New.
726 (init_dwarf_regnames_s390): New.
727 (init_dwarf_regnames): Call it.
728 * objdump.c (dump_dwarf): Likewise.
730 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
732 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
733 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
735 * testsuite/binutils-all/mips/mips.exp: Run the new test.
737 2016-04-04 Nick Clifton <nickc@redhat.com>
740 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
741 version number if the version is zero.
743 2016-03-29 Alan Modra <amodra@gmail.com>
745 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
746 (get_dynamic_data): Likewise.
748 2016-03-22 Nick Clifton <nickc@redhat.com>
751 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
752 with run time size check.
754 * configure: Regenerate.
756 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
758 * readelf.c (decode_ARC_machine_flags): Handle nps400.
760 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
762 * readelf.c (get_machine_flags): Move arc processing into...
763 (decode_ARC_machine_flags): ... new function. Remove use of
764 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
765 "unknown arc". Merged ABI printing between two machine types.
767 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
769 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
770 to the architecture list.
772 2016-03-21 Nick Clifton <nickc@redhat.com>
774 * dlltool.c: Replace use of alloca with call to xmalloc.
775 * dllwrap.c: Likewise.
776 * nlmconv.c: Likewise.
777 * objdump.c: Likewise.
779 * winduni.c: Likewise.
780 * configure: Regenerate.
782 2016-03-07 Nick Clifton <nickc@redhat.com>
785 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
787 * testsuite/binutils-all/empty: New, empty, file.
789 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
791 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
793 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
796 * NEWS: Mention --elf-stt-common= for objcopy.
797 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
798 * objcopy.c (do_elf_stt_common): New.
799 (command_line_switch): Add OPTION_ELF_STT_COMMON.
800 (copy_options): Add --elf-stt-common=.
801 (copy_usage): Add --elf-stt-common=.
802 (copy_object): Also check do_elf_stt_common for ELF targets.
803 (copy_file): Handle do_elf_stt_common.
804 (copy_main): Handle OPTION_ELF_STT_COMMON.
805 * readelf.c (apply_relocations): Support STT_COMMON.
806 * testsuite/binutils-all/common-1.s: New file.
807 * testsuite/binutils-all/common-1a.d: Likewise.
808 * testsuite/binutils-all/common-1b.d: Likewise.
809 * testsuite/binutils-all/common-1c.d: Likewise.
810 * testsuite/binutils-all/common-1d.d: Likewise.
811 * testsuite/binutils-all/common-1e.d: Likewise.
812 * testsuite/binutils-all/common-1f.d: Likewise.
813 * testsuite/binutils-all/common-2.s: Likewise.
814 * testsuite/binutils-all/common-2a.d: Likewise.
815 * testsuite/binutils-all/common-2b.d: Likewise.
816 * testsuite/binutils-all/common-2c.d: Likewise.
817 * testsuite/binutils-all/common-2d.d: Likewise.
818 * testsuite/binutils-all/common-2e.d: Likewise.
819 * testsuite/binutils-all/common-2f.d: Likewise.
820 * testsuite/binutils-all/objcopy.exp
821 (objcopy_test_elf_common_symbols): New proc.
822 Run objcopy_test_elf_common_symbols for ELF targets
824 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
827 * readelf.c (get_section_type_name): Add a missing break.
829 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
831 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
833 2016-02-15 Nick Clifton <nickc@redhat.com>
835 * readelf.c (get_section_type_name): Add hex prefix to offsets
836 printed for LOPROC and LOOS values. Ensure that a result is
837 always returned for the V850 target, even when an unrecognised
838 processor specific value is encountered.
839 (process_section_headers): Display key values in the order in
840 which they appear to the user. Add the "C (compressed)" value to
843 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
845 * doc/binutils.texi: Fix a typo.
847 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
849 * testsuite/binutils-all/objdump.exp: Update expected default
850 architecture value for ARC binaries.
852 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
855 * testsuite/binutils-all/objcopy.exp
856 (objcopy_test_without_global_symbol): New proc.
857 Run objcopy_test_without_global_symbol.
858 * testsuite/binutils-all/pr19547.c: New file.
860 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
863 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
865 * Makefile.in: Regenerated.
866 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
868 Run test_gnu_debuglink for native ELF build.
870 2016-01-20 Nick Clifton <nickc@redhat.com>
873 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
874 do not support inserting leading underscores.
876 2016-01-20 Mickael Guene <mickael.guene@st.com>
878 * readelf.c (get_elf_section_flags): Display y letter for section
879 with SHF_ARM_NOREAD section flag in readelf section output.
880 (process_section_headers): Add y letter in readelf section output
881 key mapping for ARM architecture.
882 * objdump.c (dump_section_header): Display NOREAD attributes as
884 * doc/binutils.texi (objdump): Note that it is correct for
885 sections to have both the READONLY and NOREAD attributes.
887 2016-01-19 John Baldwin <jhb@FreeBSD.org>
889 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
891 2016-01-19 John Baldwin <jhb@FreeBSD.org>
893 * readelf.c (get_freebsd_elfcore_note_type): New
894 (process_note): Add support for FreeBSD core notes.
896 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
897 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
899 * readelf.c (get_machine_flags): Add support for newer ARC ELF
902 2016-01-18 Alan Modra <amodra@gmail.com>
904 * configure: Regenerate.
906 2016-01-17 Alan Modra <amodra@gmail.com>
908 * configure: Regenerate.
910 2016-01-17 Alan Modra <amodra@gmail.com>
912 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
913 for m68hc11/12 and xgate triples.
915 2016-01-17 Alan Modra <amodra@gmail.com>
917 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
919 2016-01-01 Alan Modra <amodra@gmail.com>
921 Update year range in copyright notice of all files.
923 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
925 Copyright (C) 2016 Free Software Foundation, Inc.
927 Copying and distribution of this file, with or without modification,
928 are permitted in any medium without royalty provided the copyright
929 notice and this notice are preserved.
935 version-control: never