1 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
3 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
6 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
8 * dwarf.c: Fix spelling in comments.
9 * dwarf.h: Fix spelling in comments.
10 * objcopy.c: Fix spelling in comments.
11 * od-macho.c: Fix spelling in comments.
12 * rclex.c: Fix spelling in comments.
13 * readelf.c: Fix spelling in comments.
14 * stabs.c: Fix spelling in comments.
16 2016-11-23 Nick Clifton <nickc@redhat.com>
19 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
20 segments for validity.
22 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
24 * configure: Regenerate.
26 2016-11-22 Alan Modra <amodra@gmail.com>
29 * NEWS: Mention PowerPC VLE relocation error.
31 2016-11-16 Mark Wielaard <mark@klomp.org>
33 * cxxfilt.c (main): Recognize rust_demangling.
35 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
38 * dlltool.c (struct export): Remove hint field.
39 (make_one_lib_file): Store the ordinal value for IDATA6 not the
41 (gen_lib_file): Delete reference to hint field.
42 (mangle_defs): Delete computation of hint field.
44 2016-11-11 Nick Clifton <nickc@redhat.com>
47 * nm.c (with_symbol_versions): New local variable.
48 (long_options): Add --with-symbol-versions.
49 (usage): Mention --with-symbol-versions.
50 (print_symbol): If with_symbol_versions is set then display the
51 version information associated with the symbol.
52 * NEWS: Mention the new feature.
53 * doc/binutils.texi (nm): Document the new option.
54 (objdump): Describe how symbol version information is displayed
55 for dynamic symbol dumps.
56 (readelf): Describe how symbol version information is displayed.
57 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
59 2016-11-08 Nick Clifton <nickc@redhat.com>
62 * readelf.c (process_section_headers): Fix off-by-one error when
63 checking for invalid sh_link and sh_info fields.
65 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
67 * objcopy.c (copy_section): Add extra calls to free for error
70 2016-11-04 Tom Tromey <tom@tromey.com>
72 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
75 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
77 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
80 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
81 Andrew Waterman <andrew@sifive.com>
83 Add support for RISC-V architecture.
84 * readelf.c (guess_is_rela): Add EM_RISCV.
85 (get_machine_name): Likewise.
86 (dump_relocations): Add support for riscv relocations.
87 (get_machine_flags): Add support for riscv flags.
88 (is_32bit_abs_reloc): Add R_RISCV_32.
89 (is_64bit_abs_reloc): Add R_RISCV_64.
90 (is_none_reloc): Add R_RISCV_NONE.
91 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
92 Expect the debug_ranges test to fail.
94 2016-10-17 Nick Clifton <nickc@redhat.com>
96 * readelf.c (apply_relocations): Fail if the symbol table section
97 linked to by the reloc section does not have either the SHT_SYMTAB
99 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
100 Print the contents of unknown note types.
101 (process_note): Add the file and section to the parameter list.
102 Use print_symbol to display the note name.
103 Display the contents of unknown note types.
104 (process_corefile_note_segment): Rename to process_notes_at.
105 Add section parameter. Apply relocations to the notes when
106 loading from a section. Display section name when processing
108 * testsuite/binutils-all/readelf.n: Update expected output.
110 2016-10-17 Nick Clifton <nickc@redhat.com>
112 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
113 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
114 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
115 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
116 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
117 EM_Z80, EM_AMDGPU, EM_RISCV.
118 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
119 (get_group_flags): Update to handle flags in the
120 GRP_MASKOS and GRP_MASKPROC ranges.
122 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
124 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
125 to copy file to remote host.
127 2016-10-11 Nick Clifton <nickc@redhat.com>
129 * objdump.c (is_significant_symbol_name): New function.
130 (remove_useless_symbols): Do not remove significanr symbols.
131 (find_symbol_for_address): If an exact match for the specified
132 address has not been found, try scanning the dynamic relocs to see
133 if one of these matches the address. If so, use the symbol
134 associated with the reloc.
135 (objdump_print_addr_with_symbol): Do not print offsets to symbols
137 (disassemble_section): Only use dynamic relocs if the user
139 (disassemble_data): Always load dynamic relocs if they are
142 2016-10-06 Alan Modra <amodra@gmail.com>
144 * dlltool.c: Spell fall through comments consistently.
145 * objcopy.c: Likewise.
146 * readelf.c: Likewise.
147 * dwarf.c: Add missing fall through comments.
148 * elfcomm.c: Likewise.
149 * sysinfo.y: Likewise.
150 * readelf.c: Likewise. Also remove extraneous comments.
152 2016-10-06 Alan Modra <amodra@gmail.com>
154 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
155 * elfedit.c (usage): Likewise.
156 * nm.c (usage): Likewise.
157 * objcopy.c (copy_usage, strip_usage): Likewise.
158 * srconv.c (show_usage): Likewise.
159 * strings.c (usage): Likewise.
160 * sysdump.c (show_usage): Likewise.
161 * srconv.c: Remove unneeded forward function declarations.
162 * strings.c: Likewise.
163 * sysdump.c: Likewise.
165 2016-10-06 Alan Modra <amodra@gmail.com>
167 * coffdump.c (dump_coff_where): Add missing break.
168 * stabs.c (stab_xcoff_builtin_type): Likewise.
170 2016-09-29 Alan Modra <amodra@gmail.com>
172 * readelf.c (process_arch_specific): Call process_power_specific
175 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
177 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
178 when building with CC_FOR_BUILD compiler.
179 * Makefile.in: Regenerate.
180 * configure: Likewise.
181 * doc/Makefile.in: Likewise.
183 2016-09-26 Alan Modra <amodra@gmail.com>
185 * readelf.c (display_power_gnu_attribute): Catch truncated section
186 for all powerpc attributes. Display long double ABI. Don't
187 capitalize words, except for names. Show known bits of tag values
188 when some unknown bits are present. Whitespace fixes.
190 2016-09-26 Alan Modra <amodra@gmail.com>
192 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
193 strings, use asprintf instead.
194 (get_coff_symbol_type): Likewise.
196 2016-09-19 Alan Modra <amodra@gmail.com>
198 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
200 (print_size_symbols, print_symbols): Adjust to suit, deleting
201 now unused synth_count param and fromsynth var.
202 (display_rel_file): Adjust, localizing synth_count.
204 2016-09-14 Ed Maste <emaste@freebsd.org>
206 * readelf.c (process_mips_specific): Fix typo in error message.
208 2016-09-06 Nick Clifton <nickc@redhat.com>
210 * readelf.c (request_dump_bynumber): Only call memcpy if
211 dump_sects is not NULL.
213 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
215 * readelf.c (load_specific_debug_section): Check the external
216 compression header size.
218 2016-08-19 Nick Clifton <nickc@redhat.com>
220 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
222 * testsuite/binutils-all/readelf.s-64: Likewise.
224 2016-08-12 Nick Clifton <nickc@redhat.com>
226 * readelf.c (process_symbol_table): Generate a warning if a local
227 symbol is found at and offste greater than or equal to the sh_info
228 field of it's section header.
230 2016-08-08 Nick Clifton <nickc@redhat.com>
233 * dwarf.c (display_debug_lines_decoded): Add checks for running
234 off the end of the section when populating the directory table and
236 (frame_display_row): Set max_regs equal to ncols.
237 * readelf.c (load_specific_debug_section): If the section is
238 compressed, but it is not big enough to hold a compression
239 header then warn and return 0.
242 * dwarf.c (display_debug_lines_decoded): Check directory and file
243 indicies before using them to access directory and file tables.
245 2016-08-02 Nick Clifton <nickc@redhat.com>
248 * resbin.c (bin_to_res_version): Cast variables to correct type
249 for printing in error message.
251 2016-07-28 Nick Clifton <nickc@redhat.com>
254 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
255 * resbin.c (bin_to_res_version): Allow for the padded length of a
256 version block to be longer than the recorded length. Skip padding
259 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
261 * configure: Regenerated.
263 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
265 * doc/binutils.texi (objdump): Add ARC disassembler options.
266 * testsuite/binutils-all/arc/dsp.s: New file.
267 * testsuite/binutils-all/arc/objdump.exp: Likewise.
268 * NEWS: Mention the new feature.
270 2016-07-20 Nick Clifton <nickc@redhat.com>
272 * doc/binutils.texi (objcopy): Note that the localize symbol
273 options do not affect unique symbols.
275 2016-07-16 Alan Modra <amodra@gmail.com>
277 * ar.c: Include plugin-api.h.
280 2016-07-16 Alan Modra <amodra@gmail.com>
282 * bucomm.c: Don't include libbfd.h.
283 (endian_string, display_target_list): Delete forward declaration.
284 (display_info_table, display_target_tables): Likewise.
285 (LONGEST_ARCH): Delete.
286 (struct display_target): New.
287 (do_display_target): New function.
288 (display_target_list, display_info): Rewrite functions.
289 (display_info_table): Delete.
290 (do_info_size, do_info_header, do_info_row): New functions.
292 2016-07-16 Alan Modra <amodra@gmail.com>
294 * elfcomm.h (HOST_WIDEST_INT): Move to..
296 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
297 (dump_dyld_info_rebase): Use read_leb128 rather than
298 read_unsigned_leb128.
299 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
300 (dump_segment_split_info): Likewise.
301 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
302 (dump_load_command): Likewise.
304 2016-07-16 Alan Modra <amodra@gmail.com>
306 * ar.c: Don't include libbfd.h.
307 * objcopy.c: Likewise.
308 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
311 2016-07-15 Alan Modra <amodra@gmail.com>
313 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
315 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
317 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
319 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
320 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
321 (struct option strip_options): Add 'remove-relocations'.
322 (struct option copy_options): Likewise.
323 (copy_usage): Likewise.
324 (strip_usage): Likewise.
325 (handle_remove_relocations_option): New function.
326 (discard_relocations): New function.
327 (handle_remove_section_option): New function.
328 (copy_relocations_in_section): Use discard_relocations.
329 (strip_main): Use handle_remove_section_option for
330 'remove-section', and handle 'remove-relocations' option.
331 (copy_main): Likewise.
332 * testsuite/binutils-all/objcopy.exp: Run new tests.
333 * testsuite/binutils-all/remove-relocs-01.d: New file.
334 * testsuite/binutils-all/remove-relocs-01.s: New file.
335 * testsuite/binutils-all/remove-relocs-02.d: New file.
336 * testsuite/binutils-all/remove-relocs-03.d: New file.
337 * testsuite/binutils-all/remove-relocs-04.d: New file.
338 * testsuite/binutils-all/remove-relocs-05.d: New file.
339 * testsuite/binutils-all/remove-relocs-06.d: New file.
340 * NEWS: Mention new option.
342 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
344 * objcopy.c (find_section_list): Handle section patterns starting
345 with '!' being a non-matching pattern.
346 * doc/binutils.texi (objcopy): Give example of using '!' with
347 --remove-section and --only-section.
348 (strip): Give example of using '!' with --remove-section.
349 * testsuite/binutils-all/data-sections.s: New file.
350 * testsuite/binutils-all/only-section-01.d: New file.
351 * testsuite/binutils-all/remove-section-01.d: New file.
352 * testsuite/binutils-all/objcopy.exp: Run new tests.
353 * NEWS: Mention new feature.
355 2016-07-09 Alan Modra <amodra@gmail.com>
358 * objdump.c (compare_symbols): For ELF, sort same value/type
359 symbols according to size.
361 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
363 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
365 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
366 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
367 (process_section_headers): Rename noread to purecode.
369 * section.c (SEC_ELF_NOREAD): Rename to ...
370 (SEC_ELF_PURECODE): ... this.
372 2016-07-01 Nick Clifton <nickc@redhat.com>
374 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
375 extremely large decimal value.
376 (pr_range_type): Likewise.
377 (pr_array_type): Likewise.
378 (pr_struct_field): Likewise.
379 (pr_class_baseclass): Likewise.
380 (pr_class_method_variant): Likewise.
381 (pr_tag_type): Likewise.
382 (pr_int_constant): Likewise.
383 (pr_typed_constant): Likewise.
384 (pr_variable): Likewise.
385 (pr_function_parameter): Likewise.
386 (pr_start_block): Likewise.
387 (pr_lineno): Likewise.
388 (pr_end_block): Likewise.
389 (tg_enum_type): Likewise.
390 (tg_int_constant): Likewise.
391 (tg_typed_constant): Likewise.
392 (tg_start_block): Likewise.
394 2016-07-01 Nick Clifton <nickc@redhat.com>
396 * testsuite/binutils-all/objcopy.exp
397 (objcopy_test_without_global_symbol): Expect this test to fail on
398 the AArch64 and ARM targets, since they preserve their mapping
401 2016-07-01 Tristan Gingold <gingold@adacore.com>
403 * NEWS: Add marker for 2.27.
405 2016-07-30 Tristan Gingold <gingold@adacore.com>
407 * doc/binutils.texi (objdump): Fix mis-placement.
409 2016-06-28 Nick Clifton <nickc@redhat.com>
411 * testsuite/binutils-all/ar.exp: Relax previous restriction on
412 Alpha targets. Allow ELF based Alpha targets.
414 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
416 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
417 the `unique_symbol' test.
419 2016-06-28 Alan Modra <amodra@gmail.com>
422 * objdump.c (objdump_print_symname): Don't attempt to retrieve
423 version info from synthetic symbols.
425 2016-06-24 Alan Modra <amodra@gmail.com>
427 * objcopy.c (find_section_rename): Forward declare. Remove
428 ibfd and sec_ptr param. Add old_name param. Allow for NULL
429 returned_flags. Move read of section name and flags to..
430 (setup_section): ..here. Update find_section_rename call.
431 (filter_symbols): Rename section symbols for renamed sections.
432 (copy_object): Call filter_symbols when renamed sections.
433 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
434 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
436 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
438 (localize-hidden-1): xfail if is_bad_symtab.
439 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
442 2016-06-24 Alan Modra <amodra@gmail.com>
444 * objdump.c (struct print_file_list): Add "max_printed".
445 (try_print_file_open): Init new field.
446 (show_line): Don't show 5 context lines when redisplaying source.
448 2016-06-22 Nick Clifton <nickc@redhat.com>
450 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
451 Skip bfdtest1 tests for tic30 target.
452 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
454 * testsuite/binutils-all/compress.exp: Expect some tests to fail
456 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
457 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
459 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
461 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
462 if the bintest.o file was created. Use the
463 get_standard_section_names proc to get the name of the data
465 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
467 * testsuite/binutils-all/readelf.exp: Use
468 get_standard_section_names proc to get the name of the data
470 * testsuite/binutils-all/readelf.r: Allow for non standard text
472 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
473 * testsuite/binutils-all/size.exp: Allow for non standard section
475 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
476 to fail on mips targets.
477 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
478 get_standard_section_names proc.
479 (run_dump_test): Likewise.
480 (proc get_standard_section_names): New proc.
482 2016-06-22 Nick Clifton <nickc@redhat.com>
484 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
485 (process_mips_specific): Likewise.
486 (process_gnu_liblist): Likewise.
488 2016-06-21 Graham Markall <graham.markall@embecosm.com>
490 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
493 2016-06-15 Nick Clifton <nickc@redhat.com>
495 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
498 2016-06-14 John Baldwin <jhb@FreeBSD.org>
500 * objcopy.c (do_elf_stt_common): Use correct type.
502 2016-06-14 Alan Modra <amodra@gmail.com>
504 * ar.c: Expand uses of bfd_my_archive.
507 2016-06-14 Alan Modra <amodra@gmail.com>
510 * bucomm.c (bfd_get_archive_filename): Return file name within thin
513 2016-06-02 Nick Clifton <nickc@redhat.com>
516 * objcopy.c (group_signature): Fail if the input symbol table has
517 not been loaded, or if the sh_info field of the group header is 0.
519 * dwarf.c (display_debug_frames): Do not display any
520 interpretation if the block consists solely of DW__CFA_NOPs.
522 2016-05-31 Alan Modra <amodra@gmail.com>
524 * objcopy.c: Formatting, whitespace throughout.
525 (copy_main): Init newsym->othersym.
526 (parse_symflags): Make len a size_t. Adjust uses.
528 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
531 * NEWS: Mention --enable-64-bit-archive.
533 2016-05-18 Nick Clifton <nickc@redhat.com>
536 * objcopy.c (copy_relocations_in_section): Also check for the
537 symbol pointed to by sym_ptr_ptr being NULL.
539 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
541 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
542 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
544 * testsuite/binutils-all/mips/mips.exp: Run the new test.
546 2016-05-18 Nick Clifton <nickc@redhat.com>
548 * po/sv.po: Updated Swedish translation.
550 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
552 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
553 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
554 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
555 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
556 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
557 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
558 `d_val' rather than `d_ptr' member of the dynamic entry.
560 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
562 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
564 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
565 with the `strip-10' test.
567 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
569 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
572 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
574 * readelf.c (print_mips_ases): Add DSPR3.
576 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
578 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
579 (arm_attr_public_tags): Define DSP_extension attribute.
581 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
583 * doc/binutils.texi (nm): Update description of --size-sort.
585 2016-05-09 Nick Clifton <nickc@redhat.com>
588 * readelf.c (get_32bit_section_headers): Warn if an out of range
589 sh_link or sh_info field is encountered.
590 (get_64bit_section_headers): Likewise.
592 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
594 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
596 2016-05-03 Nick Clifton <nickc@redhat.com>
598 * po/sv.po: Updated Swedish translation.
600 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
602 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
603 PC relocation for AVR target.
604 (is_none_reloc): Return true if reloc is any of AVR diff
607 2016-04-29 Nick Clifton <nickc@redhat.com>
610 * readelf.c (get_solaris_segment_type): New function.
611 (get_segment_type): Call it.
613 2016-04-28 Nick Clifton <nickc@redhat.com>
615 * po/zh_CN.po: Updated Chinese (simplified) translation.
617 2016-04-28 Nick Clifton <nickc@redhat.com>
620 * testsuite/binutils-all/aarch64/illegal.s: New test.
621 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
623 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
625 * resres.c: Likewise.
627 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
629 * Makefile.in: Regenerated with automake 1.11.6.
630 * aclocal.m4: Likewise.
631 * doc/Makefile.in: Likewise.
633 2016-04-14 Nick Clifton <nickc@redhat.com>
636 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
637 string sections possibly having the SHF_STRINGS flag bit set.
638 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
639 * testsuite/binutils-all/readelf.s: Likewise.
640 * testsuite/binutils-all/readelf.s-64: Likewise.
641 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
642 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
644 2016-04-13 Nick Clifton <nickc@redhat.com>
647 * readelf.c (get_solaris_section_type): New function: Returns the
648 name of Solaris specific section types.
649 (get_solaris_dynamic_type): New function: Return the name of
650 Solaris specific dynamic types.
651 (get_dynamic_type): Use get_solaris_dynamic_type.
652 (get_section_type_name): Use get_solaris_section_type.
653 (get_solaris_symbol_visibility): New function: Returns Solaris
654 specific symbol visibilities.
655 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
656 (process_symbol_table): Likewise.
658 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
660 * dwarf.h (init_dwarf_regnames_s390): Declare.
661 * dwarf.c (dwarf_regnames_s390): New.
662 (init_dwarf_regnames_s390): New.
663 (init_dwarf_regnames): Call it.
664 * objdump.c (dump_dwarf): Likewise.
666 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
668 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
669 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
671 * testsuite/binutils-all/mips/mips.exp: Run the new test.
673 2016-04-04 Nick Clifton <nickc@redhat.com>
676 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
677 version number if the version is zero.
679 2016-03-29 Alan Modra <amodra@gmail.com>
681 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
682 (get_dynamic_data): Likewise.
684 2016-03-22 Nick Clifton <nickc@redhat.com>
687 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
688 with run time size check.
690 * configure: Regenerate.
692 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
694 * readelf.c (decode_ARC_machine_flags): Handle nps400.
696 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
698 * readelf.c (get_machine_flags): Move arc processing into...
699 (decode_ARC_machine_flags): ... new function. Remove use of
700 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
701 "unknown arc". Merged ABI printing between two machine types.
703 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
705 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
706 to the architecture list.
708 2016-03-21 Nick Clifton <nickc@redhat.com>
710 * dlltool.c: Replace use of alloca with call to xmalloc.
711 * dllwrap.c: Likewise.
712 * nlmconv.c: Likewise.
713 * objdump.c: Likewise.
715 * winduni.c: Likewise.
716 * configure: Regenerate.
718 2016-03-07 Nick Clifton <nickc@redhat.com>
721 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
723 * testsuite/binutils-all/empty: New, empty, file.
725 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
727 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
729 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
732 * NEWS: Mention --elf-stt-common= for objcopy.
733 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
734 * objcopy.c (do_elf_stt_common): New.
735 (command_line_switch): Add OPTION_ELF_STT_COMMON.
736 (copy_options): Add --elf-stt-common=.
737 (copy_usage): Add --elf-stt-common=.
738 (copy_object): Also check do_elf_stt_common for ELF targets.
739 (copy_file): Handle do_elf_stt_common.
740 (copy_main): Handle OPTION_ELF_STT_COMMON.
741 * readelf.c (apply_relocations): Support STT_COMMON.
742 * testsuite/binutils-all/common-1.s: New file.
743 * testsuite/binutils-all/common-1a.d: Likewise.
744 * testsuite/binutils-all/common-1b.d: Likewise.
745 * testsuite/binutils-all/common-1c.d: Likewise.
746 * testsuite/binutils-all/common-1d.d: Likewise.
747 * testsuite/binutils-all/common-1e.d: Likewise.
748 * testsuite/binutils-all/common-1f.d: Likewise.
749 * testsuite/binutils-all/common-2.s: Likewise.
750 * testsuite/binutils-all/common-2a.d: Likewise.
751 * testsuite/binutils-all/common-2b.d: Likewise.
752 * testsuite/binutils-all/common-2c.d: Likewise.
753 * testsuite/binutils-all/common-2d.d: Likewise.
754 * testsuite/binutils-all/common-2e.d: Likewise.
755 * testsuite/binutils-all/common-2f.d: Likewise.
756 * testsuite/binutils-all/objcopy.exp
757 (objcopy_test_elf_common_symbols): New proc.
758 Run objcopy_test_elf_common_symbols for ELF targets
760 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
763 * readelf.c (get_section_type_name): Add a missing break.
765 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
767 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
769 2016-02-15 Nick Clifton <nickc@redhat.com>
771 * readelf.c (get_section_type_name): Add hex prefix to offsets
772 printed for LOPROC and LOOS values. Ensure that a result is
773 always returned for the V850 target, even when an unrecognised
774 processor specific value is encountered.
775 (process_section_headers): Display key values in the order in
776 which they appear to the user. Add the "C (compressed)" value to
779 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
781 * doc/binutils.texi: Fix a typo.
783 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
785 * testsuite/binutils-all/objdump.exp: Update expected default
786 architecture value for ARC binaries.
788 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
791 * testsuite/binutils-all/objcopy.exp
792 (objcopy_test_without_global_symbol): New proc.
793 Run objcopy_test_without_global_symbol.
794 * testsuite/binutils-all/pr19547.c: New file.
796 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
799 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
801 * Makefile.in: Regenerated.
802 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
804 Run test_gnu_debuglink for native ELF build.
806 2016-01-20 Nick Clifton <nickc@redhat.com>
809 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
810 do not support inserting leading underscores.
812 2016-01-20 Mickael Guene <mickael.guene@st.com>
814 * readelf.c (get_elf_section_flags): Display y letter for section
815 with SHF_ARM_NOREAD section flag in readelf section output.
816 (process_section_headers): Add y letter in readelf section output
817 key mapping for ARM architecture.
818 * objdump.c (dump_section_header): Display NOREAD attributes as
820 * doc/binutils.texi (objdump): Note that it is correct for
821 sections to have both the READONLY and NOREAD attributes.
823 2016-01-19 John Baldwin <jhb@FreeBSD.org>
825 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
827 2016-01-19 John Baldwin <jhb@FreeBSD.org>
829 * readelf.c (get_freebsd_elfcore_note_type): New
830 (process_note): Add support for FreeBSD core notes.
832 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
833 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
835 * readelf.c (get_machine_flags): Add support for newer ARC ELF
838 2016-01-18 Alan Modra <amodra@gmail.com>
840 * configure: Regenerate.
842 2016-01-17 Alan Modra <amodra@gmail.com>
844 * configure: Regenerate.
846 2016-01-17 Alan Modra <amodra@gmail.com>
848 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
849 for m68hc11/12 and xgate triples.
851 2016-01-17 Alan Modra <amodra@gmail.com>
853 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
855 2016-01-01 Alan Modra <amodra@gmail.com>
857 Update year range in copyright notice of all files.
859 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
861 Copyright (C) 2016 Free Software Foundation, Inc.
863 Copying and distribution of this file, with or without modification,
864 are permitted in any medium without royalty provided the copyright
865 notice and this notice are preserved.
871 version-control: never