1 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
3 * dwarf.c: Fix spelling in comments.
4 * dwarf.h: Fix spelling in comments.
5 * objcopy.c: Fix spelling in comments.
6 * od-macho.c: Fix spelling in comments.
7 * rclex.c: Fix spelling in comments.
8 * readelf.c: Fix spelling in comments.
9 * stabs.c: Fix spelling in comments.
11 2016-11-23 Nick Clifton <nickc@redhat.com>
14 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
15 segments for validity.
17 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
19 * configure: Regenerate.
21 2016-11-22 Alan Modra <amodra@gmail.com>
24 * NEWS: Mention PowerPC VLE relocation error.
26 2016-11-16 Mark Wielaard <mark@klomp.org>
28 * cxxfilt.c (main): Recognize rust_demangling.
30 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
33 * dlltool.c (struct export): Remove hint field.
34 (make_one_lib_file): Store the ordinal value for IDATA6 not the
36 (gen_lib_file): Delete reference to hint field.
37 (mangle_defs): Delete computation of hint field.
39 2016-11-11 Nick Clifton <nickc@redhat.com>
42 * nm.c (with_symbol_versions): New local variable.
43 (long_options): Add --with-symbol-versions.
44 (usage): Mention --with-symbol-versions.
45 (print_symbol): If with_symbol_versions is set then display the
46 version information associated with the symbol.
47 * NEWS: Mention the new feature.
48 * doc/binutils.texi (nm): Document the new option.
49 (objdump): Describe how symbol version information is displayed
50 for dynamic symbol dumps.
51 (readelf): Describe how symbol version information is displayed.
52 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
54 2016-11-08 Nick Clifton <nickc@redhat.com>
57 * readelf.c (process_section_headers): Fix off-by-one error when
58 checking for invalid sh_link and sh_info fields.
60 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
62 * objcopy.c (copy_section): Add extra calls to free for error
65 2016-11-04 Tom Tromey <tom@tromey.com>
67 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
70 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
72 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
75 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
76 Andrew Waterman <andrew@sifive.com>
78 Add support for RISC-V architecture.
79 * readelf.c (guess_is_rela): Add EM_RISCV.
80 (get_machine_name): Likewise.
81 (dump_relocations): Add support for riscv relocations.
82 (get_machine_flags): Add support for riscv flags.
83 (is_32bit_abs_reloc): Add R_RISCV_32.
84 (is_64bit_abs_reloc): Add R_RISCV_64.
85 (is_none_reloc): Add R_RISCV_NONE.
86 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
87 Expect the debug_ranges test to fail.
89 2016-10-17 Nick Clifton <nickc@redhat.com>
91 * readelf.c (apply_relocations): Fail if the symbol table section
92 linked to by the reloc section does not have either the SHT_SYMTAB
94 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
95 Print the contents of unknown note types.
96 (process_note): Add the file and section to the parameter list.
97 Use print_symbol to display the note name.
98 Display the contents of unknown note types.
99 (process_corefile_note_segment): Rename to process_notes_at.
100 Add section parameter. Apply relocations to the notes when
101 loading from a section. Display section name when processing
103 * testsuite/binutils-all/readelf.n: Update expected output.
105 2016-10-17 Nick Clifton <nickc@redhat.com>
107 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
108 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
109 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
110 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
111 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
112 EM_Z80, EM_AMDGPU, EM_RISCV.
113 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
114 (get_group_flags): Update to handle flags in the
115 GRP_MASKOS and GRP_MASKPROC ranges.
117 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
119 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
120 to copy file to remote host.
122 2016-10-11 Nick Clifton <nickc@redhat.com>
124 * objdump.c (is_significant_symbol_name): New function.
125 (remove_useless_symbols): Do not remove significanr symbols.
126 (find_symbol_for_address): If an exact match for the specified
127 address has not been found, try scanning the dynamic relocs to see
128 if one of these matches the address. If so, use the symbol
129 associated with the reloc.
130 (objdump_print_addr_with_symbol): Do not print offsets to symbols
132 (disassemble_section): Only use dynamic relocs if the user
134 (disassemble_data): Always load dynamic relocs if they are
137 2016-10-06 Alan Modra <amodra@gmail.com>
139 * dlltool.c: Spell fall through comments consistently.
140 * objcopy.c: Likewise.
141 * readelf.c: Likewise.
142 * dwarf.c: Add missing fall through comments.
143 * elfcomm.c: Likewise.
144 * sysinfo.y: Likewise.
145 * readelf.c: Likewise. Also remove extraneous comments.
147 2016-10-06 Alan Modra <amodra@gmail.com>
149 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
150 * elfedit.c (usage): Likewise.
151 * nm.c (usage): Likewise.
152 * objcopy.c (copy_usage, strip_usage): Likewise.
153 * srconv.c (show_usage): Likewise.
154 * strings.c (usage): Likewise.
155 * sysdump.c (show_usage): Likewise.
156 * srconv.c: Remove unneeded forward function declarations.
157 * strings.c: Likewise.
158 * sysdump.c: Likewise.
160 2016-10-06 Alan Modra <amodra@gmail.com>
162 * coffdump.c (dump_coff_where): Add missing break.
163 * stabs.c (stab_xcoff_builtin_type): Likewise.
165 2016-09-29 Alan Modra <amodra@gmail.com>
167 * readelf.c (process_arch_specific): Call process_power_specific
170 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
172 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
173 when building with CC_FOR_BUILD compiler.
174 * Makefile.in: Regenerate.
175 * configure: Likewise.
176 * doc/Makefile.in: Likewise.
178 2016-09-26 Alan Modra <amodra@gmail.com>
180 * readelf.c (display_power_gnu_attribute): Catch truncated section
181 for all powerpc attributes. Display long double ABI. Don't
182 capitalize words, except for names. Show known bits of tag values
183 when some unknown bits are present. Whitespace fixes.
185 2016-09-26 Alan Modra <amodra@gmail.com>
187 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
188 strings, use asprintf instead.
189 (get_coff_symbol_type): Likewise.
191 2016-09-19 Alan Modra <amodra@gmail.com>
193 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
195 (print_size_symbols, print_symbols): Adjust to suit, deleting
196 now unused synth_count param and fromsynth var.
197 (display_rel_file): Adjust, localizing synth_count.
199 2016-09-14 Ed Maste <emaste@freebsd.org>
201 * readelf.c (process_mips_specific): Fix typo in error message.
203 2016-09-06 Nick Clifton <nickc@redhat.com>
205 * readelf.c (request_dump_bynumber): Only call memcpy if
206 dump_sects is not NULL.
208 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
210 * readelf.c (load_specific_debug_section): Check the external
211 compression header size.
213 2016-08-19 Nick Clifton <nickc@redhat.com>
215 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
217 * testsuite/binutils-all/readelf.s-64: Likewise.
219 2016-08-12 Nick Clifton <nickc@redhat.com>
221 * readelf.c (process_symbol_table): Generate a warning if a local
222 symbol is found at and offste greater than or equal to the sh_info
223 field of it's section header.
225 2016-08-08 Nick Clifton <nickc@redhat.com>
228 * dwarf.c (display_debug_lines_decoded): Add checks for running
229 off the end of the section when populating the directory table and
231 (frame_display_row): Set max_regs equal to ncols.
232 * readelf.c (load_specific_debug_section): If the section is
233 compressed, but it is not big enough to hold a compression
234 header then warn and return 0.
237 * dwarf.c (display_debug_lines_decoded): Check directory and file
238 indicies before using them to access directory and file tables.
240 2016-08-02 Nick Clifton <nickc@redhat.com>
243 * resbin.c (bin_to_res_version): Cast variables to correct type
244 for printing in error message.
246 2016-07-28 Nick Clifton <nickc@redhat.com>
249 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
250 * resbin.c (bin_to_res_version): Allow for the padded length of a
251 version block to be longer than the recorded length. Skip padding
254 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
256 * configure: Regenerated.
258 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
260 * doc/binutils.texi (objdump): Add ARC disassembler options.
261 * testsuite/binutils-all/arc/dsp.s: New file.
262 * testsuite/binutils-all/arc/objdump.exp: Likewise.
263 * NEWS: Mention the new feature.
265 2016-07-20 Nick Clifton <nickc@redhat.com>
267 * doc/binutils.texi (objcopy): Note that the localize symbol
268 options do not affect unique symbols.
270 2016-07-16 Alan Modra <amodra@gmail.com>
272 * ar.c: Include plugin-api.h.
275 2016-07-16 Alan Modra <amodra@gmail.com>
277 * bucomm.c: Don't include libbfd.h.
278 (endian_string, display_target_list): Delete forward declaration.
279 (display_info_table, display_target_tables): Likewise.
280 (LONGEST_ARCH): Delete.
281 (struct display_target): New.
282 (do_display_target): New function.
283 (display_target_list, display_info): Rewrite functions.
284 (display_info_table): Delete.
285 (do_info_size, do_info_header, do_info_row): New functions.
287 2016-07-16 Alan Modra <amodra@gmail.com>
289 * elfcomm.h (HOST_WIDEST_INT): Move to..
291 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
292 (dump_dyld_info_rebase): Use read_leb128 rather than
293 read_unsigned_leb128.
294 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
295 (dump_segment_split_info): Likewise.
296 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
297 (dump_load_command): Likewise.
299 2016-07-16 Alan Modra <amodra@gmail.com>
301 * ar.c: Don't include libbfd.h.
302 * objcopy.c: Likewise.
303 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
306 2016-07-15 Alan Modra <amodra@gmail.com>
308 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
310 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
312 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
314 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
315 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
316 (struct option strip_options): Add 'remove-relocations'.
317 (struct option copy_options): Likewise.
318 (copy_usage): Likewise.
319 (strip_usage): Likewise.
320 (handle_remove_relocations_option): New function.
321 (discard_relocations): New function.
322 (handle_remove_section_option): New function.
323 (copy_relocations_in_section): Use discard_relocations.
324 (strip_main): Use handle_remove_section_option for
325 'remove-section', and handle 'remove-relocations' option.
326 (copy_main): Likewise.
327 * testsuite/binutils-all/objcopy.exp: Run new tests.
328 * testsuite/binutils-all/remove-relocs-01.d: New file.
329 * testsuite/binutils-all/remove-relocs-01.s: New file.
330 * testsuite/binutils-all/remove-relocs-02.d: New file.
331 * testsuite/binutils-all/remove-relocs-03.d: New file.
332 * testsuite/binutils-all/remove-relocs-04.d: New file.
333 * testsuite/binutils-all/remove-relocs-05.d: New file.
334 * testsuite/binutils-all/remove-relocs-06.d: New file.
335 * NEWS: Mention new option.
337 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
339 * objcopy.c (find_section_list): Handle section patterns starting
340 with '!' being a non-matching pattern.
341 * doc/binutils.texi (objcopy): Give example of using '!' with
342 --remove-section and --only-section.
343 (strip): Give example of using '!' with --remove-section.
344 * testsuite/binutils-all/data-sections.s: New file.
345 * testsuite/binutils-all/only-section-01.d: New file.
346 * testsuite/binutils-all/remove-section-01.d: New file.
347 * testsuite/binutils-all/objcopy.exp: Run new tests.
348 * NEWS: Mention new feature.
350 2016-07-09 Alan Modra <amodra@gmail.com>
353 * objdump.c (compare_symbols): For ELF, sort same value/type
354 symbols according to size.
356 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
358 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
360 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
361 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
362 (process_section_headers): Rename noread to purecode.
364 * section.c (SEC_ELF_NOREAD): Rename to ...
365 (SEC_ELF_PURECODE): ... this.
367 2016-07-01 Nick Clifton <nickc@redhat.com>
369 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
370 extremely large decimal value.
371 (pr_range_type): Likewise.
372 (pr_array_type): Likewise.
373 (pr_struct_field): Likewise.
374 (pr_class_baseclass): Likewise.
375 (pr_class_method_variant): Likewise.
376 (pr_tag_type): Likewise.
377 (pr_int_constant): Likewise.
378 (pr_typed_constant): Likewise.
379 (pr_variable): Likewise.
380 (pr_function_parameter): Likewise.
381 (pr_start_block): Likewise.
382 (pr_lineno): Likewise.
383 (pr_end_block): Likewise.
384 (tg_enum_type): Likewise.
385 (tg_int_constant): Likewise.
386 (tg_typed_constant): Likewise.
387 (tg_start_block): Likewise.
389 2016-07-01 Nick Clifton <nickc@redhat.com>
391 * testsuite/binutils-all/objcopy.exp
392 (objcopy_test_without_global_symbol): Expect this test to fail on
393 the AArch64 and ARM targets, since they preserve their mapping
396 2016-07-01 Tristan Gingold <gingold@adacore.com>
398 * NEWS: Add marker for 2.27.
400 2016-07-30 Tristan Gingold <gingold@adacore.com>
402 * doc/binutils.texi (objdump): Fix mis-placement.
404 2016-06-28 Nick Clifton <nickc@redhat.com>
406 * testsuite/binutils-all/ar.exp: Relax previous restriction on
407 Alpha targets. Allow ELF based Alpha targets.
409 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
411 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
412 the `unique_symbol' test.
414 2016-06-28 Alan Modra <amodra@gmail.com>
417 * objdump.c (objdump_print_symname): Don't attempt to retrieve
418 version info from synthetic symbols.
420 2016-06-24 Alan Modra <amodra@gmail.com>
422 * objcopy.c (find_section_rename): Forward declare. Remove
423 ibfd and sec_ptr param. Add old_name param. Allow for NULL
424 returned_flags. Move read of section name and flags to..
425 (setup_section): ..here. Update find_section_rename call.
426 (filter_symbols): Rename section symbols for renamed sections.
427 (copy_object): Call filter_symbols when renamed sections.
428 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
429 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
431 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
433 (localize-hidden-1): xfail if is_bad_symtab.
434 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
437 2016-06-24 Alan Modra <amodra@gmail.com>
439 * objdump.c (struct print_file_list): Add "max_printed".
440 (try_print_file_open): Init new field.
441 (show_line): Don't show 5 context lines when redisplaying source.
443 2016-06-22 Nick Clifton <nickc@redhat.com>
445 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
446 Skip bfdtest1 tests for tic30 target.
447 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
449 * testsuite/binutils-all/compress.exp: Expect some tests to fail
451 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
452 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
454 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
456 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
457 if the bintest.o file was created. Use the
458 get_standard_section_names proc to get the name of the data
460 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
462 * testsuite/binutils-all/readelf.exp: Use
463 get_standard_section_names proc to get the name of the data
465 * testsuite/binutils-all/readelf.r: Allow for non standard text
467 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
468 * testsuite/binutils-all/size.exp: Allow for non standard section
470 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
471 to fail on mips targets.
472 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
473 get_standard_section_names proc.
474 (run_dump_test): Likewise.
475 (proc get_standard_section_names): New proc.
477 2016-06-22 Nick Clifton <nickc@redhat.com>
479 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
480 (process_mips_specific): Likewise.
481 (process_gnu_liblist): Likewise.
483 2016-06-21 Graham Markall <graham.markall@embecosm.com>
485 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
488 2016-06-15 Nick Clifton <nickc@redhat.com>
490 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
493 2016-06-14 John Baldwin <jhb@FreeBSD.org>
495 * objcopy.c (do_elf_stt_common): Use correct type.
497 2016-06-14 Alan Modra <amodra@gmail.com>
499 * ar.c: Expand uses of bfd_my_archive.
502 2016-06-14 Alan Modra <amodra@gmail.com>
505 * bucomm.c (bfd_get_archive_filename): Return file name within thin
508 2016-06-02 Nick Clifton <nickc@redhat.com>
511 * objcopy.c (group_signature): Fail if the input symbol table has
512 not been loaded, or if the sh_info field of the group header is 0.
514 * dwarf.c (display_debug_frames): Do not display any
515 interpretation if the block consists solely of DW__CFA_NOPs.
517 2016-05-31 Alan Modra <amodra@gmail.com>
519 * objcopy.c: Formatting, whitespace throughout.
520 (copy_main): Init newsym->othersym.
521 (parse_symflags): Make len a size_t. Adjust uses.
523 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
526 * NEWS: Mention --enable-64-bit-archive.
528 2016-05-18 Nick Clifton <nickc@redhat.com>
531 * objcopy.c (copy_relocations_in_section): Also check for the
532 symbol pointed to by sym_ptr_ptr being NULL.
534 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
536 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
537 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
539 * testsuite/binutils-all/mips/mips.exp: Run the new test.
541 2016-05-18 Nick Clifton <nickc@redhat.com>
543 * po/sv.po: Updated Swedish translation.
545 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
547 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
548 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
549 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
550 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
551 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
552 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
553 `d_val' rather than `d_ptr' member of the dynamic entry.
555 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
557 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
559 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
560 with the `strip-10' test.
562 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
564 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
567 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
569 * readelf.c (print_mips_ases): Add DSPR3.
571 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
573 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
574 (arm_attr_public_tags): Define DSP_extension attribute.
576 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
578 * doc/binutils.texi (nm): Update description of --size-sort.
580 2016-05-09 Nick Clifton <nickc@redhat.com>
583 * readelf.c (get_32bit_section_headers): Warn if an out of range
584 sh_link or sh_info field is encountered.
585 (get_64bit_section_headers): Likewise.
587 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
589 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
591 2016-05-03 Nick Clifton <nickc@redhat.com>
593 * po/sv.po: Updated Swedish translation.
595 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
597 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
598 PC relocation for AVR target.
599 (is_none_reloc): Return true if reloc is any of AVR diff
602 2016-04-29 Nick Clifton <nickc@redhat.com>
605 * readelf.c (get_solaris_segment_type): New function.
606 (get_segment_type): Call it.
608 2016-04-28 Nick Clifton <nickc@redhat.com>
610 * po/zh_CN.po: Updated Chinese (simplified) translation.
612 2016-04-28 Nick Clifton <nickc@redhat.com>
615 * testsuite/binutils-all/aarch64/illegal.s: New test.
616 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
618 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
620 * resres.c: Likewise.
622 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
624 * Makefile.in: Regenerated with automake 1.11.6.
625 * aclocal.m4: Likewise.
626 * doc/Makefile.in: Likewise.
628 2016-04-14 Nick Clifton <nickc@redhat.com>
631 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
632 string sections possibly having the SHF_STRINGS flag bit set.
633 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
634 * testsuite/binutils-all/readelf.s: Likewise.
635 * testsuite/binutils-all/readelf.s-64: Likewise.
636 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
637 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
639 2016-04-13 Nick Clifton <nickc@redhat.com>
642 * readelf.c (get_solaris_section_type): New function: Returns the
643 name of Solaris specific section types.
644 (get_solaris_dynamic_type): New function: Return the name of
645 Solaris specific dynamic types.
646 (get_dynamic_type): Use get_solaris_dynamic_type.
647 (get_section_type_name): Use get_solaris_section_type.
648 (get_solaris_symbol_visibility): New function: Returns Solaris
649 specific symbol visibilities.
650 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
651 (process_symbol_table): Likewise.
653 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
655 * dwarf.h (init_dwarf_regnames_s390): Declare.
656 * dwarf.c (dwarf_regnames_s390): New.
657 (init_dwarf_regnames_s390): New.
658 (init_dwarf_regnames): Call it.
659 * objdump.c (dump_dwarf): Likewise.
661 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
663 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
664 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
666 * testsuite/binutils-all/mips/mips.exp: Run the new test.
668 2016-04-04 Nick Clifton <nickc@redhat.com>
671 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
672 version number if the version is zero.
674 2016-03-29 Alan Modra <amodra@gmail.com>
676 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
677 (get_dynamic_data): Likewise.
679 2016-03-22 Nick Clifton <nickc@redhat.com>
682 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
683 with run time size check.
685 * configure: Regenerate.
687 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
689 * readelf.c (decode_ARC_machine_flags): Handle nps400.
691 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
693 * readelf.c (get_machine_flags): Move arc processing into...
694 (decode_ARC_machine_flags): ... new function. Remove use of
695 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
696 "unknown arc". Merged ABI printing between two machine types.
698 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
700 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
701 to the architecture list.
703 2016-03-21 Nick Clifton <nickc@redhat.com>
705 * dlltool.c: Replace use of alloca with call to xmalloc.
706 * dllwrap.c: Likewise.
707 * nlmconv.c: Likewise.
708 * objdump.c: Likewise.
710 * winduni.c: Likewise.
711 * configure: Regenerate.
713 2016-03-07 Nick Clifton <nickc@redhat.com>
716 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
718 * testsuite/binutils-all/empty: New, empty, file.
720 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
722 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
724 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
727 * NEWS: Mention --elf-stt-common= for objcopy.
728 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
729 * objcopy.c (do_elf_stt_common): New.
730 (command_line_switch): Add OPTION_ELF_STT_COMMON.
731 (copy_options): Add --elf-stt-common=.
732 (copy_usage): Add --elf-stt-common=.
733 (copy_object): Also check do_elf_stt_common for ELF targets.
734 (copy_file): Handle do_elf_stt_common.
735 (copy_main): Handle OPTION_ELF_STT_COMMON.
736 * readelf.c (apply_relocations): Support STT_COMMON.
737 * testsuite/binutils-all/common-1.s: New file.
738 * testsuite/binutils-all/common-1a.d: Likewise.
739 * testsuite/binutils-all/common-1b.d: Likewise.
740 * testsuite/binutils-all/common-1c.d: Likewise.
741 * testsuite/binutils-all/common-1d.d: Likewise.
742 * testsuite/binutils-all/common-1e.d: Likewise.
743 * testsuite/binutils-all/common-1f.d: Likewise.
744 * testsuite/binutils-all/common-2.s: Likewise.
745 * testsuite/binutils-all/common-2a.d: Likewise.
746 * testsuite/binutils-all/common-2b.d: Likewise.
747 * testsuite/binutils-all/common-2c.d: Likewise.
748 * testsuite/binutils-all/common-2d.d: Likewise.
749 * testsuite/binutils-all/common-2e.d: Likewise.
750 * testsuite/binutils-all/common-2f.d: Likewise.
751 * testsuite/binutils-all/objcopy.exp
752 (objcopy_test_elf_common_symbols): New proc.
753 Run objcopy_test_elf_common_symbols for ELF targets
755 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
758 * readelf.c (get_section_type_name): Add a missing break.
760 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
762 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
764 2016-02-15 Nick Clifton <nickc@redhat.com>
766 * readelf.c (get_section_type_name): Add hex prefix to offsets
767 printed for LOPROC and LOOS values. Ensure that a result is
768 always returned for the V850 target, even when an unrecognised
769 processor specific value is encountered.
770 (process_section_headers): Display key values in the order in
771 which they appear to the user. Add the "C (compressed)" value to
774 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
776 * doc/binutils.texi: Fix a typo.
778 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
780 * testsuite/binutils-all/objdump.exp: Update expected default
781 architecture value for ARC binaries.
783 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
786 * testsuite/binutils-all/objcopy.exp
787 (objcopy_test_without_global_symbol): New proc.
788 Run objcopy_test_without_global_symbol.
789 * testsuite/binutils-all/pr19547.c: New file.
791 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
794 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
796 * Makefile.in: Regenerated.
797 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
799 Run test_gnu_debuglink for native ELF build.
801 2016-01-20 Nick Clifton <nickc@redhat.com>
804 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
805 do not support inserting leading underscores.
807 2016-01-20 Mickael Guene <mickael.guene@st.com>
809 * readelf.c (get_elf_section_flags): Display y letter for section
810 with SHF_ARM_NOREAD section flag in readelf section output.
811 (process_section_headers): Add y letter in readelf section output
812 key mapping for ARM architecture.
813 * objdump.c (dump_section_header): Display NOREAD attributes as
815 * doc/binutils.texi (objdump): Note that it is correct for
816 sections to have both the READONLY and NOREAD attributes.
818 2016-01-19 John Baldwin <jhb@FreeBSD.org>
820 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
822 2016-01-19 John Baldwin <jhb@FreeBSD.org>
824 * readelf.c (get_freebsd_elfcore_note_type): New
825 (process_note): Add support for FreeBSD core notes.
827 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
828 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
830 * readelf.c (get_machine_flags): Add support for newer ARC ELF
833 2016-01-18 Alan Modra <amodra@gmail.com>
835 * configure: Regenerate.
837 2016-01-17 Alan Modra <amodra@gmail.com>
839 * configure: Regenerate.
841 2016-01-17 Alan Modra <amodra@gmail.com>
843 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
844 for m68hc11/12 and xgate triples.
846 2016-01-17 Alan Modra <amodra@gmail.com>
848 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
850 2016-01-01 Alan Modra <amodra@gmail.com>
852 Update year range in copyright notice of all files.
854 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
856 Copyright (C) 2016 Free Software Foundation, Inc.
858 Copying and distribution of this file, with or without modification,
859 are permitted in any medium without royalty provided the copyright
860 notice and this notice are preserved.
866 version-control: never