1 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
4 * dlltool.c (struct export): Remove hint field.
5 (make_one_lib_file): Store the ordinal value for IDATA6 not the
7 (gen_lib_file): Delete reference to hint field.
8 (mangle_defs): Delete computation of hint field.
10 2016-11-11 Nick Clifton <nickc@redhat.com>
13 * nm.c (with_symbol_versions): New local variable.
14 (long_options): Add --with-symbol-versions.
15 (usage): Mention --with-symbol-versions.
16 (print_symbol): If with_symbol_versions is set then display the
17 version information associated with the symbol.
18 * NEWS: Mention the new feature.
19 * doc/binutils.texi (nm): Document the new option.
20 (objdump): Describe how symbol version information is displayed
21 for dynamic symbol dumps.
22 (readelf): Describe how symbol version information is displayed.
23 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
25 2016-11-08 Nick Clifton <nickc@redhat.com>
28 * readelf.c (process_section_headers): Fix off-by-one error when
29 checking for invalid sh_link and sh_info fields.
31 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
33 * objcopy.c (copy_section): Add extra calls to free for error
36 2016-11-04 Tom Tromey <tom@tromey.com>
38 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
41 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
43 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
46 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
47 Andrew Waterman <andrew@sifive.com>
49 Add support for RISC-V architecture.
50 * readelf.c (guess_is_rela): Add EM_RISCV.
51 (get_machine_name): Likewise.
52 (dump_relocations): Add support for riscv relocations.
53 (get_machine_flags): Add support for riscv flags.
54 (is_32bit_abs_reloc): Add R_RISCV_32.
55 (is_64bit_abs_reloc): Add R_RISCV_64.
56 (is_none_reloc): Add R_RISCV_NONE.
57 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
58 Expect the debug_ranges test to fail.
60 2016-10-17 Nick Clifton <nickc@redhat.com>
62 * readelf.c (apply_relocations): Fail if the symbol table section
63 linked to by the reloc section does not have either the SHT_SYMTAB
65 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
66 Print the contents of unknown note types.
67 (process_note): Add the file and section to the parameter list.
68 Use print_symbol to display the note name.
69 Display the contents of unknown note types.
70 (process_corefile_note_segment): Rename to process_notes_at.
71 Add section parameter. Apply relocations to the notes when
72 loading from a section. Display section name when processing
74 * testsuite/binutils-all/readelf.n: Update expected output.
76 2016-10-17 Nick Clifton <nickc@redhat.com>
78 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
79 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
80 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
81 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
82 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
83 EM_Z80, EM_AMDGPU, EM_RISCV.
84 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
85 (get_group_flags): Update to handle flags in the
86 GRP_MASKOS and GRP_MASKPROC ranges.
88 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
90 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
91 to copy file to remote host.
93 2016-10-11 Nick Clifton <nickc@redhat.com>
95 * objdump.c (is_significant_symbol_name): New function.
96 (remove_useless_symbols): Do not remove significanr symbols.
97 (find_symbol_for_address): If an exact match for the specified
98 address has not been found, try scanning the dynamic relocs to see
99 if one of these matches the address. If so, use the symbol
100 associated with the reloc.
101 (objdump_print_addr_with_symbol): Do not print offsets to symbols
103 (disassemble_section): Only use dynamic relocs if the user
105 (disassemble_data): Always load dynamic relocs if they are
108 2016-10-06 Alan Modra <amodra@gmail.com>
110 * dlltool.c: Spell fall through comments consistently.
111 * objcopy.c: Likewise.
112 * readelf.c: Likewise.
113 * dwarf.c: Add missing fall through comments.
114 * elfcomm.c: Likewise.
115 * sysinfo.y: Likewise.
116 * readelf.c: Likewise. Also remove extraneous comments.
118 2016-10-06 Alan Modra <amodra@gmail.com>
120 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
121 * elfedit.c (usage): Likewise.
122 * nm.c (usage): Likewise.
123 * objcopy.c (copy_usage, strip_usage): Likewise.
124 * srconv.c (show_usage): Likewise.
125 * strings.c (usage): Likewise.
126 * sysdump.c (show_usage): Likewise.
127 * srconv.c: Remove unneeded forward function declarations.
128 * strings.c: Likewise.
129 * sysdump.c: Likewise.
131 2016-10-06 Alan Modra <amodra@gmail.com>
133 * coffdump.c (dump_coff_where): Add missing break.
134 * stabs.c (stab_xcoff_builtin_type): Likewise.
136 2016-09-29 Alan Modra <amodra@gmail.com>
138 * readelf.c (process_arch_specific): Call process_power_specific
141 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
143 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
144 when building with CC_FOR_BUILD compiler.
145 * Makefile.in: Regenerate.
146 * configure: Likewise.
147 * doc/Makefile.in: Likewise.
149 2016-09-26 Alan Modra <amodra@gmail.com>
151 * readelf.c (display_power_gnu_attribute): Catch truncated section
152 for all powerpc attributes. Display long double ABI. Don't
153 capitalize words, except for names. Show known bits of tag values
154 when some unknown bits are present. Whitespace fixes.
156 2016-09-26 Alan Modra <amodra@gmail.com>
158 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
159 strings, use asprintf instead.
160 (get_coff_symbol_type): Likewise.
162 2016-09-19 Alan Modra <amodra@gmail.com>
164 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
166 (print_size_symbols, print_symbols): Adjust to suit, deleting
167 now unused synth_count param and fromsynth var.
168 (display_rel_file): Adjust, localizing synth_count.
170 2016-09-14 Ed Maste <emaste@freebsd.org>
172 * readelf.c (process_mips_specific): Fix typo in error message.
174 2016-09-06 Nick Clifton <nickc@redhat.com>
176 * readelf.c (request_dump_bynumber): Only call memcpy if
177 dump_sects is not NULL.
179 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
181 * readelf.c (load_specific_debug_section): Check the external
182 compression header size.
184 2016-08-19 Nick Clifton <nickc@redhat.com>
186 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
188 * testsuite/binutils-all/readelf.s-64: Likewise.
190 2016-08-12 Nick Clifton <nickc@redhat.com>
192 * readelf.c (process_symbol_table): Generate a warning if a local
193 symbol is found at and offste greater than or equal to the sh_info
194 field of it's section header.
196 2016-08-08 Nick Clifton <nickc@redhat.com>
199 * dwarf.c (display_debug_lines_decoded): Add checks for running
200 off the end of the section when populating the directory table and
202 (frame_display_row): Set max_regs equal to ncols.
203 * readelf.c (load_specific_debug_section): If the section is
204 compressed, but it is not big enough to hold a compression
205 header then warn and return 0.
208 * dwarf.c (display_debug_lines_decoded): Check directory and file
209 indicies before using them to access directory and file tables.
211 2016-08-02 Nick Clifton <nickc@redhat.com>
214 * resbin.c (bin_to_res_version): Cast variables to correct type
215 for printing in error message.
217 2016-07-28 Nick Clifton <nickc@redhat.com>
220 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
221 * resbin.c (bin_to_res_version): Allow for the padded length of a
222 version block to be longer than the recorded length. Skip padding
225 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
227 * configure: Regenerated.
229 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
231 * doc/binutils.texi (objdump): Add ARC disassembler options.
232 * testsuite/binutils-all/arc/dsp.s: New file.
233 * testsuite/binutils-all/arc/objdump.exp: Likewise.
234 * NEWS: Mention the new feature.
236 2016-07-20 Nick Clifton <nickc@redhat.com>
238 * doc/binutils.texi (objcopy): Note that the localize symbol
239 options do not affect unique symbols.
241 2016-07-16 Alan Modra <amodra@gmail.com>
243 * ar.c: Include plugin-api.h.
246 2016-07-16 Alan Modra <amodra@gmail.com>
248 * bucomm.c: Don't include libbfd.h.
249 (endian_string, display_target_list): Delete forward declaration.
250 (display_info_table, display_target_tables): Likewise.
251 (LONGEST_ARCH): Delete.
252 (struct display_target): New.
253 (do_display_target): New function.
254 (display_target_list, display_info): Rewrite functions.
255 (display_info_table): Delete.
256 (do_info_size, do_info_header, do_info_row): New functions.
258 2016-07-16 Alan Modra <amodra@gmail.com>
260 * elfcomm.h (HOST_WIDEST_INT): Move to..
262 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
263 (dump_dyld_info_rebase): Use read_leb128 rather than
264 read_unsigned_leb128.
265 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
266 (dump_segment_split_info): Likewise.
267 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
268 (dump_load_command): Likewise.
270 2016-07-16 Alan Modra <amodra@gmail.com>
272 * ar.c: Don't include libbfd.h.
273 * objcopy.c: Likewise.
274 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
277 2016-07-15 Alan Modra <amodra@gmail.com>
279 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
281 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
283 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
285 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
286 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
287 (struct option strip_options): Add 'remove-relocations'.
288 (struct option copy_options): Likewise.
289 (copy_usage): Likewise.
290 (strip_usage): Likewise.
291 (handle_remove_relocations_option): New function.
292 (discard_relocations): New function.
293 (handle_remove_section_option): New function.
294 (copy_relocations_in_section): Use discard_relocations.
295 (strip_main): Use handle_remove_section_option for
296 'remove-section', and handle 'remove-relocations' option.
297 (copy_main): Likewise.
298 * testsuite/binutils-all/objcopy.exp: Run new tests.
299 * testsuite/binutils-all/remove-relocs-01.d: New file.
300 * testsuite/binutils-all/remove-relocs-01.s: New file.
301 * testsuite/binutils-all/remove-relocs-02.d: New file.
302 * testsuite/binutils-all/remove-relocs-03.d: New file.
303 * testsuite/binutils-all/remove-relocs-04.d: New file.
304 * testsuite/binutils-all/remove-relocs-05.d: New file.
305 * testsuite/binutils-all/remove-relocs-06.d: New file.
306 * NEWS: Mention new option.
308 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
310 * objcopy.c (find_section_list): Handle section patterns starting
311 with '!' being a non-matching pattern.
312 * doc/binutils.texi (objcopy): Give example of using '!' with
313 --remove-section and --only-section.
314 (strip): Give example of using '!' with --remove-section.
315 * testsuite/binutils-all/data-sections.s: New file.
316 * testsuite/binutils-all/only-section-01.d: New file.
317 * testsuite/binutils-all/remove-section-01.d: New file.
318 * testsuite/binutils-all/objcopy.exp: Run new tests.
319 * NEWS: Mention new feature.
321 2016-07-09 Alan Modra <amodra@gmail.com>
324 * objdump.c (compare_symbols): For ELF, sort same value/type
325 symbols according to size.
327 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
329 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
331 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
332 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
333 (process_section_headers): Rename noread to purecode.
335 * section.c (SEC_ELF_NOREAD): Rename to ...
336 (SEC_ELF_PURECODE): ... this.
338 2016-07-01 Nick Clifton <nickc@redhat.com>
340 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
341 extremely large decimal value.
342 (pr_range_type): Likewise.
343 (pr_array_type): Likewise.
344 (pr_struct_field): Likewise.
345 (pr_class_baseclass): Likewise.
346 (pr_class_method_variant): Likewise.
347 (pr_tag_type): Likewise.
348 (pr_int_constant): Likewise.
349 (pr_typed_constant): Likewise.
350 (pr_variable): Likewise.
351 (pr_function_parameter): Likewise.
352 (pr_start_block): Likewise.
353 (pr_lineno): Likewise.
354 (pr_end_block): Likewise.
355 (tg_enum_type): Likewise.
356 (tg_int_constant): Likewise.
357 (tg_typed_constant): Likewise.
358 (tg_start_block): Likewise.
360 2016-07-01 Nick Clifton <nickc@redhat.com>
362 * testsuite/binutils-all/objcopy.exp
363 (objcopy_test_without_global_symbol): Expect this test to fail on
364 the AArch64 and ARM targets, since they preserve their mapping
367 2016-07-01 Tristan Gingold <gingold@adacore.com>
369 * NEWS: Add marker for 2.27.
371 2016-07-30 Tristan Gingold <gingold@adacore.com>
373 * doc/binutils.texi (objdump): Fix mis-placement.
375 2016-06-28 Nick Clifton <nickc@redhat.com>
377 * testsuite/binutils-all/ar.exp: Relax previous restriction on
378 Alpha targets. Allow ELF based Alpha targets.
380 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
382 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
383 the `unique_symbol' test.
385 2016-06-28 Alan Modra <amodra@gmail.com>
388 * objdump.c (objdump_print_symname): Don't attempt to retrieve
389 version info from synthetic symbols.
391 2016-06-24 Alan Modra <amodra@gmail.com>
393 * objcopy.c (find_section_rename): Forward declare. Remove
394 ibfd and sec_ptr param. Add old_name param. Allow for NULL
395 returned_flags. Move read of section name and flags to..
396 (setup_section): ..here. Update find_section_rename call.
397 (filter_symbols): Rename section symbols for renamed sections.
398 (copy_object): Call filter_symbols when renamed sections.
399 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
400 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
402 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
404 (localize-hidden-1): xfail if is_bad_symtab.
405 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
408 2016-06-24 Alan Modra <amodra@gmail.com>
410 * objdump.c (struct print_file_list): Add "max_printed".
411 (try_print_file_open): Init new field.
412 (show_line): Don't show 5 context lines when redisplaying source.
414 2016-06-22 Nick Clifton <nickc@redhat.com>
416 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
417 Skip bfdtest1 tests for tic30 target.
418 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
420 * testsuite/binutils-all/compress.exp: Expect some tests to fail
422 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
423 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
425 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
427 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
428 if the bintest.o file was created. Use the
429 get_standard_section_names proc to get the name of the data
431 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
433 * testsuite/binutils-all/readelf.exp: Use
434 get_standard_section_names proc to get the name of the data
436 * testsuite/binutils-all/readelf.r: Allow for non standard text
438 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
439 * testsuite/binutils-all/size.exp: Allow for non standard section
441 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
442 to fail on mips targets.
443 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
444 get_standard_section_names proc.
445 (run_dump_test): Likewise.
446 (proc get_standard_section_names): New proc.
448 2016-06-22 Nick Clifton <nickc@redhat.com>
450 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
451 (process_mips_specific): Likewise.
452 (process_gnu_liblist): Likewise.
454 2016-06-21 Graham Markall <graham.markall@embecosm.com>
456 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
459 2016-06-15 Nick Clifton <nickc@redhat.com>
461 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
464 2016-06-14 John Baldwin <jhb@FreeBSD.org>
466 * objcopy.c (do_elf_stt_common): Use correct type.
468 2016-06-14 Alan Modra <amodra@gmail.com>
470 * ar.c: Expand uses of bfd_my_archive.
473 2016-06-14 Alan Modra <amodra@gmail.com>
476 * bucomm.c (bfd_get_archive_filename): Return file name within thin
479 2016-06-02 Nick Clifton <nickc@redhat.com>
482 * objcopy.c (group_signature): Fail if the input symbol table has
483 not been loaded, or if the sh_info field of the group header is 0.
485 * dwarf.c (display_debug_frames): Do not display any
486 interpretation if the block consists solely of DW__CFA_NOPs.
488 2016-05-31 Alan Modra <amodra@gmail.com>
490 * objcopy.c: Formatting, whitespace throughout.
491 (copy_main): Init newsym->othersym.
492 (parse_symflags): Make len a size_t. Adjust uses.
494 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
497 * NEWS: Mention --enable-64-bit-archive.
499 2016-05-18 Nick Clifton <nickc@redhat.com>
502 * objcopy.c (copy_relocations_in_section): Also check for the
503 symbol pointed to by sym_ptr_ptr being NULL.
505 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
507 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
508 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
510 * testsuite/binutils-all/mips/mips.exp: Run the new test.
512 2016-05-18 Nick Clifton <nickc@redhat.com>
514 * po/sv.po: Updated Swedish translation.
516 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
518 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
519 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
520 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
521 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
522 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
523 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
524 `d_val' rather than `d_ptr' member of the dynamic entry.
526 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
528 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
530 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
531 with the `strip-10' test.
533 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
535 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
538 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
540 * readelf.c (print_mips_ases): Add DSPR3.
542 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
544 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
545 (arm_attr_public_tags): Define DSP_extension attribute.
547 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
549 * doc/binutils.texi (nm): Update description of --size-sort.
551 2016-05-09 Nick Clifton <nickc@redhat.com>
554 * readelf.c (get_32bit_section_headers): Warn if an out of range
555 sh_link or sh_info field is encountered.
556 (get_64bit_section_headers): Likewise.
558 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
560 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
562 2016-05-03 Nick Clifton <nickc@redhat.com>
564 * po/sv.po: Updated Swedish translation.
566 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
568 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
569 PC relocation for AVR target.
570 (is_none_reloc): Return true if reloc is any of AVR diff
573 2016-04-29 Nick Clifton <nickc@redhat.com>
576 * readelf.c (get_solaris_segment_type): New function.
577 (get_segment_type): Call it.
579 2016-04-28 Nick Clifton <nickc@redhat.com>
581 * po/zh_CN.po: Updated Chinese (simplified) translation.
583 2016-04-28 Nick Clifton <nickc@redhat.com>
586 * testsuite/binutils-all/aarch64/illegal.s: New test.
587 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
589 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
591 * resres.c: Likewise.
593 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
595 * Makefile.in: Regenerated with automake 1.11.6.
596 * aclocal.m4: Likewise.
597 * doc/Makefile.in: Likewise.
599 2016-04-14 Nick Clifton <nickc@redhat.com>
602 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
603 string sections possibly having the SHF_STRINGS flag bit set.
604 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
605 * testsuite/binutils-all/readelf.s: Likewise.
606 * testsuite/binutils-all/readelf.s-64: Likewise.
607 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
608 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
610 2016-04-13 Nick Clifton <nickc@redhat.com>
613 * readelf.c (get_solaris_section_type): New function: Returns the
614 name of Solaris specific section types.
615 (get_solaris_dynamic_type): New function: Return the name of
616 Solaris specific dynamic types.
617 (get_dynamic_type): Use get_solaris_dynamic_type.
618 (get_section_type_name): Use get_solaris_section_type.
619 (get_solaris_symbol_visibility): New function: Returns Solaris
620 specific symbol visibilities.
621 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
622 (process_symbol_table): Likewise.
624 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
626 * dwarf.h (init_dwarf_regnames_s390): Declare.
627 * dwarf.c (dwarf_regnames_s390): New.
628 (init_dwarf_regnames_s390): New.
629 (init_dwarf_regnames): Call it.
630 * objdump.c (dump_dwarf): Likewise.
632 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
634 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
635 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
637 * testsuite/binutils-all/mips/mips.exp: Run the new test.
639 2016-04-04 Nick Clifton <nickc@redhat.com>
642 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
643 version number if the version is zero.
645 2016-03-29 Alan Modra <amodra@gmail.com>
647 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
648 (get_dynamic_data): Likewise.
650 2016-03-22 Nick Clifton <nickc@redhat.com>
653 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
654 with run time size check.
656 * configure: Regenerate.
658 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
660 * readelf.c (decode_ARC_machine_flags): Handle nps400.
662 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
664 * readelf.c (get_machine_flags): Move arc processing into...
665 (decode_ARC_machine_flags): ... new function. Remove use of
666 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
667 "unknown arc". Merged ABI printing between two machine types.
669 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
671 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
672 to the architecture list.
674 2016-03-21 Nick Clifton <nickc@redhat.com>
676 * dlltool.c: Replace use of alloca with call to xmalloc.
677 * dllwrap.c: Likewise.
678 * nlmconv.c: Likewise.
679 * objdump.c: Likewise.
681 * winduni.c: Likewise.
682 * configure: Regenerate.
684 2016-03-07 Nick Clifton <nickc@redhat.com>
687 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
689 * testsuite/binutils-all/empty: New, empty, file.
691 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
693 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
695 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
698 * NEWS: Mention --elf-stt-common= for objcopy.
699 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
700 * objcopy.c (do_elf_stt_common): New.
701 (command_line_switch): Add OPTION_ELF_STT_COMMON.
702 (copy_options): Add --elf-stt-common=.
703 (copy_usage): Add --elf-stt-common=.
704 (copy_object): Also check do_elf_stt_common for ELF targets.
705 (copy_file): Handle do_elf_stt_common.
706 (copy_main): Handle OPTION_ELF_STT_COMMON.
707 * readelf.c (apply_relocations): Support STT_COMMON.
708 * testsuite/binutils-all/common-1.s: New file.
709 * testsuite/binutils-all/common-1a.d: Likewise.
710 * testsuite/binutils-all/common-1b.d: Likewise.
711 * testsuite/binutils-all/common-1c.d: Likewise.
712 * testsuite/binutils-all/common-1d.d: Likewise.
713 * testsuite/binutils-all/common-1e.d: Likewise.
714 * testsuite/binutils-all/common-1f.d: Likewise.
715 * testsuite/binutils-all/common-2.s: Likewise.
716 * testsuite/binutils-all/common-2a.d: Likewise.
717 * testsuite/binutils-all/common-2b.d: Likewise.
718 * testsuite/binutils-all/common-2c.d: Likewise.
719 * testsuite/binutils-all/common-2d.d: Likewise.
720 * testsuite/binutils-all/common-2e.d: Likewise.
721 * testsuite/binutils-all/common-2f.d: Likewise.
722 * testsuite/binutils-all/objcopy.exp
723 (objcopy_test_elf_common_symbols): New proc.
724 Run objcopy_test_elf_common_symbols for ELF targets
726 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
729 * readelf.c (get_section_type_name): Add a missing break.
731 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
733 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
735 2016-02-15 Nick Clifton <nickc@redhat.com>
737 * readelf.c (get_section_type_name): Add hex prefix to offsets
738 printed for LOPROC and LOOS values. Ensure that a result is
739 always returned for the V850 target, even when an unrecognised
740 processor specific value is encountered.
741 (process_section_headers): Display key values in the order in
742 which they appear to the user. Add the "C (compressed)" value to
745 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
747 * doc/binutils.texi: Fix a typo.
749 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
751 * testsuite/binutils-all/objdump.exp: Update expected default
752 architecture value for ARC binaries.
754 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
757 * testsuite/binutils-all/objcopy.exp
758 (objcopy_test_without_global_symbol): New proc.
759 Run objcopy_test_without_global_symbol.
760 * testsuite/binutils-all/pr19547.c: New file.
762 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
765 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
767 * Makefile.in: Regenerated.
768 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
770 Run test_gnu_debuglink for native ELF build.
772 2016-01-20 Nick Clifton <nickc@redhat.com>
775 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
776 do not support inserting leading underscores.
778 2016-01-20 Mickael Guene <mickael.guene@st.com>
780 * readelf.c (get_elf_section_flags): Display y letter for section
781 with SHF_ARM_NOREAD section flag in readelf section output.
782 (process_section_headers): Add y letter in readelf section output
783 key mapping for ARM architecture.
784 * objdump.c (dump_section_header): Display NOREAD attributes as
786 * doc/binutils.texi (objdump): Note that it is correct for
787 sections to have both the READONLY and NOREAD attributes.
789 2016-01-19 John Baldwin <jhb@FreeBSD.org>
791 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
793 2016-01-19 John Baldwin <jhb@FreeBSD.org>
795 * readelf.c (get_freebsd_elfcore_note_type): New
796 (process_note): Add support for FreeBSD core notes.
798 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
799 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
801 * readelf.c (get_machine_flags): Add support for newer ARC ELF
804 2016-01-18 Alan Modra <amodra@gmail.com>
806 * configure: Regenerate.
808 2016-01-17 Alan Modra <amodra@gmail.com>
810 * configure: Regenerate.
812 2016-01-17 Alan Modra <amodra@gmail.com>
814 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
815 for m68hc11/12 and xgate triples.
817 2016-01-17 Alan Modra <amodra@gmail.com>
819 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
821 2016-01-01 Alan Modra <amodra@gmail.com>
823 Update year range in copyright notice of all files.
825 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
827 Copyright (C) 2016 Free Software Foundation, Inc.
829 Copying and distribution of this file, with or without modification,
830 are permitted in any medium without royalty provided the copyright
831 notice and this notice are preserved.
837 version-control: never