1 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
2 Andrew Waterman <andrew@sifive.com>
4 Add support for RISC-V architecture.
5 * readelf.c (guess_is_rela): Add EM_RISCV.
6 (get_machine_name): Likewise.
7 (dump_relocations): Add support for riscv relocations.
8 (get_machine_flags): Add support for riscv flags.
9 (is_32bit_abs_reloc): Add R_RISCV_32.
10 (is_64bit_abs_reloc): Add R_RISCV_64.
11 (is_none_reloc): Add R_RISCV_NONE.
12 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
13 Expect the debug_ranges test to fail.
15 2016-10-17 Nick Clifton <nickc@redhat.com>
17 * readelf.c (apply_relocations): Fail if the symbol table section
18 linked to by the reloc section does not have either the SHT_SYMTAB
20 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
21 Print the contents of unknown note types.
22 (process_note): Add the file and section to the parameter list.
23 Use print_symbol to display the note name.
24 Display the contents of unknown note types.
25 (process_corefile_note_segment): Rename to process_notes_at.
26 Add section parameter. Apply relocations to the notes when
27 loading from a section. Display section name when processing
29 * testsuite/binutils-all/readelf.n: Update expected output.
31 2016-10-17 Nick Clifton <nickc@redhat.com>
33 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
34 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
35 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
36 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
37 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
38 EM_Z80, EM_AMDGPU, EM_RISCV.
39 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
40 (get_group_flags): Update to handle flags in the
41 GRP_MASKOS and GRP_MASKPROC ranges.
43 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
45 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
46 to copy file to remote host.
48 2016-10-11 Nick Clifton <nickc@redhat.com>
50 * objdump.c (is_significant_symbol_name): New function.
51 (remove_useless_symbols): Do not remove significanr symbols.
52 (find_symbol_for_address): If an exact match for the specified
53 address has not been found, try scanning the dynamic relocs to see
54 if one of these matches the address. If so, use the symbol
55 associated with the reloc.
56 (objdump_print_addr_with_symbol): Do not print offsets to symbols
58 (disassemble_section): Only use dynamic relocs if the user
60 (disassemble_data): Always load dynamic relocs if they are
63 2016-10-06 Alan Modra <amodra@gmail.com>
65 * dlltool.c: Spell fall through comments consistently.
66 * objcopy.c: Likewise.
67 * readelf.c: Likewise.
68 * dwarf.c: Add missing fall through comments.
69 * elfcomm.c: Likewise.
70 * sysinfo.y: Likewise.
71 * readelf.c: Likewise. Also remove extraneous comments.
73 2016-10-06 Alan Modra <amodra@gmail.com>
75 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
76 * elfedit.c (usage): Likewise.
77 * nm.c (usage): Likewise.
78 * objcopy.c (copy_usage, strip_usage): Likewise.
79 * srconv.c (show_usage): Likewise.
80 * strings.c (usage): Likewise.
81 * sysdump.c (show_usage): Likewise.
82 * srconv.c: Remove unneeded forward function declarations.
83 * strings.c: Likewise.
84 * sysdump.c: Likewise.
86 2016-10-06 Alan Modra <amodra@gmail.com>
88 * coffdump.c (dump_coff_where): Add missing break.
89 * stabs.c (stab_xcoff_builtin_type): Likewise.
91 2016-09-29 Alan Modra <amodra@gmail.com>
93 * readelf.c (process_arch_specific): Call process_power_specific
96 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
98 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
99 when building with CC_FOR_BUILD compiler.
100 * Makefile.in: Regenerate.
101 * configure: Likewise.
102 * doc/Makefile.in: Likewise.
104 2016-09-26 Alan Modra <amodra@gmail.com>
106 * readelf.c (display_power_gnu_attribute): Catch truncated section
107 for all powerpc attributes. Display long double ABI. Don't
108 capitalize words, except for names. Show known bits of tag values
109 when some unknown bits are present. Whitespace fixes.
111 2016-09-26 Alan Modra <amodra@gmail.com>
113 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
114 strings, use asprintf instead.
115 (get_coff_symbol_type): Likewise.
117 2016-09-19 Alan Modra <amodra@gmail.com>
119 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
121 (print_size_symbols, print_symbols): Adjust to suit, deleting
122 now unused synth_count param and fromsynth var.
123 (display_rel_file): Adjust, localizing synth_count.
125 2016-09-14 Ed Maste <emaste@freebsd.org>
127 * readelf.c (process_mips_specific): Fix typo in error message.
129 2016-09-06 Nick Clifton <nickc@redhat.com>
131 * readelf.c (request_dump_bynumber): Only call memcpy if
132 dump_sects is not NULL.
134 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
136 * readelf.c (load_specific_debug_section): Check the external
137 compression header size.
139 2016-08-19 Nick Clifton <nickc@redhat.com>
141 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
143 * testsuite/binutils-all/readelf.s-64: Likewise.
145 2016-08-12 Nick Clifton <nickc@redhat.com>
147 * readelf.c (process_symbol_table): Generate a warning if a local
148 symbol is found at and offste greater than or equal to the sh_info
149 field of it's section header.
151 2016-08-08 Nick Clifton <nickc@redhat.com>
154 * dwarf.c (display_debug_lines_decoded): Add checks for running
155 off the end of the section when populating the directory table and
157 (frame_display_row): Set max_regs equal to ncols.
158 * readelf.c (load_specific_debug_section): If the section is
159 compressed, but it is not big enough to hold a compression
160 header then warn and return 0.
163 * dwarf.c (display_debug_lines_decoded): Check directory and file
164 indicies before using them to access directory and file tables.
166 2016-08-02 Nick Clifton <nickc@redhat.com>
169 * resbin.c (bin_to_res_version): Cast variables to correct type
170 for printing in error message.
172 2016-07-28 Nick Clifton <nickc@redhat.com>
175 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
176 * resbin.c (bin_to_res_version): Allow for the padded length of a
177 version block to be longer than the recorded length. Skip padding
180 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
182 * configure: Regenerated.
184 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
186 * doc/binutils.texi (objdump): Add ARC disassembler options.
187 * testsuite/binutils-all/arc/dsp.s: New file.
188 * testsuite/binutils-all/arc/objdump.exp: Likewise.
189 * NEWS: Mention the new feature.
191 2016-07-20 Nick Clifton <nickc@redhat.com>
193 * doc/binutils.texi (objcopy): Note that the localize symbol
194 options do not affect unique symbols.
196 2016-07-16 Alan Modra <amodra@gmail.com>
198 * ar.c: Include plugin-api.h.
201 2016-07-16 Alan Modra <amodra@gmail.com>
203 * bucomm.c: Don't include libbfd.h.
204 (endian_string, display_target_list): Delete forward declaration.
205 (display_info_table, display_target_tables): Likewise.
206 (LONGEST_ARCH): Delete.
207 (struct display_target): New.
208 (do_display_target): New function.
209 (display_target_list, display_info): Rewrite functions.
210 (display_info_table): Delete.
211 (do_info_size, do_info_header, do_info_row): New functions.
213 2016-07-16 Alan Modra <amodra@gmail.com>
215 * elfcomm.h (HOST_WIDEST_INT): Move to..
217 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
218 (dump_dyld_info_rebase): Use read_leb128 rather than
219 read_unsigned_leb128.
220 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
221 (dump_segment_split_info): Likewise.
222 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
223 (dump_load_command): Likewise.
225 2016-07-16 Alan Modra <amodra@gmail.com>
227 * ar.c: Don't include libbfd.h.
228 * objcopy.c: Likewise.
229 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
232 2016-07-15 Alan Modra <amodra@gmail.com>
234 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
236 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
238 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
240 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
241 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
242 (struct option strip_options): Add 'remove-relocations'.
243 (struct option copy_options): Likewise.
244 (copy_usage): Likewise.
245 (strip_usage): Likewise.
246 (handle_remove_relocations_option): New function.
247 (discard_relocations): New function.
248 (handle_remove_section_option): New function.
249 (copy_relocations_in_section): Use discard_relocations.
250 (strip_main): Use handle_remove_section_option for
251 'remove-section', and handle 'remove-relocations' option.
252 (copy_main): Likewise.
253 * testsuite/binutils-all/objcopy.exp: Run new tests.
254 * testsuite/binutils-all/remove-relocs-01.d: New file.
255 * testsuite/binutils-all/remove-relocs-01.s: New file.
256 * testsuite/binutils-all/remove-relocs-02.d: New file.
257 * testsuite/binutils-all/remove-relocs-03.d: New file.
258 * testsuite/binutils-all/remove-relocs-04.d: New file.
259 * testsuite/binutils-all/remove-relocs-05.d: New file.
260 * testsuite/binutils-all/remove-relocs-06.d: New file.
261 * NEWS: Mention new option.
263 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
265 * objcopy.c (find_section_list): Handle section patterns starting
266 with '!' being a non-matching pattern.
267 * doc/binutils.texi (objcopy): Give example of using '!' with
268 --remove-section and --only-section.
269 (strip): Give example of using '!' with --remove-section.
270 * testsuite/binutils-all/data-sections.s: New file.
271 * testsuite/binutils-all/only-section-01.d: New file.
272 * testsuite/binutils-all/remove-section-01.d: New file.
273 * testsuite/binutils-all/objcopy.exp: Run new tests.
274 * NEWS: Mention new feature.
276 2016-07-09 Alan Modra <amodra@gmail.com>
279 * objdump.c (compare_symbols): For ELF, sort same value/type
280 symbols according to size.
282 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
284 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
286 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
287 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
288 (process_section_headers): Rename noread to purecode.
290 * section.c (SEC_ELF_NOREAD): Rename to ...
291 (SEC_ELF_PURECODE): ... this.
293 2016-07-01 Nick Clifton <nickc@redhat.com>
295 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
296 extremely large decimal value.
297 (pr_range_type): Likewise.
298 (pr_array_type): Likewise.
299 (pr_struct_field): Likewise.
300 (pr_class_baseclass): Likewise.
301 (pr_class_method_variant): Likewise.
302 (pr_tag_type): Likewise.
303 (pr_int_constant): Likewise.
304 (pr_typed_constant): Likewise.
305 (pr_variable): Likewise.
306 (pr_function_parameter): Likewise.
307 (pr_start_block): Likewise.
308 (pr_lineno): Likewise.
309 (pr_end_block): Likewise.
310 (tg_enum_type): Likewise.
311 (tg_int_constant): Likewise.
312 (tg_typed_constant): Likewise.
313 (tg_start_block): Likewise.
315 2016-07-01 Nick Clifton <nickc@redhat.com>
317 * testsuite/binutils-all/objcopy.exp
318 (objcopy_test_without_global_symbol): Expect this test to fail on
319 the AArch64 and ARM targets, since they preserve their mapping
322 2016-07-01 Tristan Gingold <gingold@adacore.com>
324 * NEWS: Add marker for 2.27.
326 2016-07-30 Tristan Gingold <gingold@adacore.com>
328 * doc/binutils.texi (objdump): Fix mis-placement.
330 2016-06-28 Nick Clifton <nickc@redhat.com>
332 * testsuite/binutils-all/ar.exp: Relax previous restriction on
333 Alpha targets. Allow ELF based Alpha targets.
335 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
337 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
338 the `unique_symbol' test.
340 2016-06-28 Alan Modra <amodra@gmail.com>
343 * objdump.c (objdump_print_symname): Don't attempt to retrieve
344 version info from synthetic symbols.
346 2016-06-24 Alan Modra <amodra@gmail.com>
348 * objcopy.c (find_section_rename): Forward declare. Remove
349 ibfd and sec_ptr param. Add old_name param. Allow for NULL
350 returned_flags. Move read of section name and flags to..
351 (setup_section): ..here. Update find_section_rename call.
352 (filter_symbols): Rename section symbols for renamed sections.
353 (copy_object): Call filter_symbols when renamed sections.
354 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
355 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
357 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
359 (localize-hidden-1): xfail if is_bad_symtab.
360 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
363 2016-06-24 Alan Modra <amodra@gmail.com>
365 * objdump.c (struct print_file_list): Add "max_printed".
366 (try_print_file_open): Init new field.
367 (show_line): Don't show 5 context lines when redisplaying source.
369 2016-06-22 Nick Clifton <nickc@redhat.com>
371 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
372 Skip bfdtest1 tests for tic30 target.
373 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
375 * testsuite/binutils-all/compress.exp: Expect some tests to fail
377 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
378 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
380 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
382 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
383 if the bintest.o file was created. Use the
384 get_standard_section_names proc to get the name of the data
386 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
388 * testsuite/binutils-all/readelf.exp: Use
389 get_standard_section_names proc to get the name of the data
391 * testsuite/binutils-all/readelf.r: Allow for non standard text
393 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
394 * testsuite/binutils-all/size.exp: Allow for non standard section
396 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
397 to fail on mips targets.
398 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
399 get_standard_section_names proc.
400 (run_dump_test): Likewise.
401 (proc get_standard_section_names): New proc.
403 2016-06-22 Nick Clifton <nickc@redhat.com>
405 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
406 (process_mips_specific): Likewise.
407 (process_gnu_liblist): Likewise.
409 2016-06-21 Graham Markall <graham.markall@embecosm.com>
411 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
414 2016-06-15 Nick Clifton <nickc@redhat.com>
416 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
419 2016-06-14 John Baldwin <jhb@FreeBSD.org>
421 * objcopy.c (do_elf_stt_common): Use correct type.
423 2016-06-14 Alan Modra <amodra@gmail.com>
425 * ar.c: Expand uses of bfd_my_archive.
428 2016-06-14 Alan Modra <amodra@gmail.com>
431 * bucomm.c (bfd_get_archive_filename): Return file name within thin
434 2016-06-02 Nick Clifton <nickc@redhat.com>
437 * objcopy.c (group_signature): Fail if the input symbol table has
438 not been loaded, or if the sh_info field of the group header is 0.
440 * dwarf.c (display_debug_frames): Do not display any
441 interpretation if the block consists solely of DW__CFA_NOPs.
443 2016-05-31 Alan Modra <amodra@gmail.com>
445 * objcopy.c: Formatting, whitespace throughout.
446 (copy_main): Init newsym->othersym.
447 (parse_symflags): Make len a size_t. Adjust uses.
449 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
452 * NEWS: Mention --enable-64-bit-archive.
454 2016-05-18 Nick Clifton <nickc@redhat.com>
457 * objcopy.c (copy_relocations_in_section): Also check for the
458 symbol pointed to by sym_ptr_ptr being NULL.
460 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
462 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
463 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
465 * testsuite/binutils-all/mips/mips.exp: Run the new test.
467 2016-05-18 Nick Clifton <nickc@redhat.com>
469 * po/sv.po: Updated Swedish translation.
471 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
473 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
474 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
475 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
476 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
477 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
478 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
479 `d_val' rather than `d_ptr' member of the dynamic entry.
481 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
483 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
485 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
486 with the `strip-10' test.
488 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
490 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
493 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
495 * readelf.c (print_mips_ases): Add DSPR3.
497 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
499 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
500 (arm_attr_public_tags): Define DSP_extension attribute.
502 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
504 * doc/binutils.texi (nm): Update description of --size-sort.
506 2016-05-09 Nick Clifton <nickc@redhat.com>
509 * readelf.c (get_32bit_section_headers): Warn if an out of range
510 sh_link or sh_info field is encountered.
511 (get_64bit_section_headers): Likewise.
513 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
515 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
517 2016-05-03 Nick Clifton <nickc@redhat.com>
519 * po/sv.po: Updated Swedish translation.
521 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
523 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
524 PC relocation for AVR target.
525 (is_none_reloc): Return true if reloc is any of AVR diff
528 2016-04-29 Nick Clifton <nickc@redhat.com>
531 * readelf.c (get_solaris_segment_type): New function.
532 (get_segment_type): Call it.
534 2016-04-28 Nick Clifton <nickc@redhat.com>
536 * po/zh_CN.po: Updated Chinese (simplified) translation.
538 2016-04-28 Nick Clifton <nickc@redhat.com>
541 * testsuite/binutils-all/aarch64/illegal.s: New test.
542 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
544 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
546 * resres.c: Likewise.
548 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
550 * Makefile.in: Regenerated with automake 1.11.6.
551 * aclocal.m4: Likewise.
552 * doc/Makefile.in: Likewise.
554 2016-04-14 Nick Clifton <nickc@redhat.com>
557 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
558 string sections possibly having the SHF_STRINGS flag bit set.
559 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
560 * testsuite/binutils-all/readelf.s: Likewise.
561 * testsuite/binutils-all/readelf.s-64: Likewise.
562 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
563 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
565 2016-04-13 Nick Clifton <nickc@redhat.com>
568 * readelf.c (get_solaris_section_type): New function: Returns the
569 name of Solaris specific section types.
570 (get_solaris_dynamic_type): New function: Return the name of
571 Solaris specific dynamic types.
572 (get_dynamic_type): Use get_solaris_dynamic_type.
573 (get_section_type_name): Use get_solaris_section_type.
574 (get_solaris_symbol_visibility): New function: Returns Solaris
575 specific symbol visibilities.
576 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
577 (process_symbol_table): Likewise.
579 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
581 * dwarf.h (init_dwarf_regnames_s390): Declare.
582 * dwarf.c (dwarf_regnames_s390): New.
583 (init_dwarf_regnames_s390): New.
584 (init_dwarf_regnames): Call it.
585 * objdump.c (dump_dwarf): Likewise.
587 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
589 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
590 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
592 * testsuite/binutils-all/mips/mips.exp: Run the new test.
594 2016-04-04 Nick Clifton <nickc@redhat.com>
597 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
598 version number if the version is zero.
600 2016-03-29 Alan Modra <amodra@gmail.com>
602 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
603 (get_dynamic_data): Likewise.
605 2016-03-22 Nick Clifton <nickc@redhat.com>
608 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
609 with run time size check.
611 * configure: Regenerate.
613 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
615 * readelf.c (decode_ARC_machine_flags): Handle nps400.
617 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
619 * readelf.c (get_machine_flags): Move arc processing into...
620 (decode_ARC_machine_flags): ... new function. Remove use of
621 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
622 "unknown arc". Merged ABI printing between two machine types.
624 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
626 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
627 to the architecture list.
629 2016-03-21 Nick Clifton <nickc@redhat.com>
631 * dlltool.c: Replace use of alloca with call to xmalloc.
632 * dllwrap.c: Likewise.
633 * nlmconv.c: Likewise.
634 * objdump.c: Likewise.
636 * winduni.c: Likewise.
637 * configure: Regenerate.
639 2016-03-07 Nick Clifton <nickc@redhat.com>
642 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
644 * testsuite/binutils-all/empty: New, empty, file.
646 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
648 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
650 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
653 * NEWS: Mention --elf-stt-common= for objcopy.
654 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
655 * objcopy.c (do_elf_stt_common): New.
656 (command_line_switch): Add OPTION_ELF_STT_COMMON.
657 (copy_options): Add --elf-stt-common=.
658 (copy_usage): Add --elf-stt-common=.
659 (copy_object): Also check do_elf_stt_common for ELF targets.
660 (copy_file): Handle do_elf_stt_common.
661 (copy_main): Handle OPTION_ELF_STT_COMMON.
662 * readelf.c (apply_relocations): Support STT_COMMON.
663 * testsuite/binutils-all/common-1.s: New file.
664 * testsuite/binutils-all/common-1a.d: Likewise.
665 * testsuite/binutils-all/common-1b.d: Likewise.
666 * testsuite/binutils-all/common-1c.d: Likewise.
667 * testsuite/binutils-all/common-1d.d: Likewise.
668 * testsuite/binutils-all/common-1e.d: Likewise.
669 * testsuite/binutils-all/common-1f.d: Likewise.
670 * testsuite/binutils-all/common-2.s: Likewise.
671 * testsuite/binutils-all/common-2a.d: Likewise.
672 * testsuite/binutils-all/common-2b.d: Likewise.
673 * testsuite/binutils-all/common-2c.d: Likewise.
674 * testsuite/binutils-all/common-2d.d: Likewise.
675 * testsuite/binutils-all/common-2e.d: Likewise.
676 * testsuite/binutils-all/common-2f.d: Likewise.
677 * testsuite/binutils-all/objcopy.exp
678 (objcopy_test_elf_common_symbols): New proc.
679 Run objcopy_test_elf_common_symbols for ELF targets
681 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
684 * readelf.c (get_section_type_name): Add a missing break.
686 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
688 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
690 2016-02-15 Nick Clifton <nickc@redhat.com>
692 * readelf.c (get_section_type_name): Add hex prefix to offsets
693 printed for LOPROC and LOOS values. Ensure that a result is
694 always returned for the V850 target, even when an unrecognised
695 processor specific value is encountered.
696 (process_section_headers): Display key values in the order in
697 which they appear to the user. Add the "C (compressed)" value to
700 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
702 * doc/binutils.texi: Fix a typo.
704 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
706 * testsuite/binutils-all/objdump.exp: Update expected default
707 architecture value for ARC binaries.
709 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
712 * testsuite/binutils-all/objcopy.exp
713 (objcopy_test_without_global_symbol): New proc.
714 Run objcopy_test_without_global_symbol.
715 * testsuite/binutils-all/pr19547.c: New file.
717 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
720 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
722 * Makefile.in: Regenerated.
723 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
725 Run test_gnu_debuglink for native ELF build.
727 2016-01-20 Nick Clifton <nickc@redhat.com>
730 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
731 do not support inserting leading underscores.
733 2016-01-20 Mickael Guene <mickael.guene@st.com>
735 * readelf.c (get_elf_section_flags): Display y letter for section
736 with SHF_ARM_NOREAD section flag in readelf section output.
737 (process_section_headers): Add y letter in readelf section output
738 key mapping for ARM architecture.
739 * objdump.c (dump_section_header): Display NOREAD attributes as
741 * doc/binutils.texi (objdump): Note that it is correct for
742 sections to have both the READONLY and NOREAD attributes.
744 2016-01-19 John Baldwin <jhb@FreeBSD.org>
746 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
748 2016-01-19 John Baldwin <jhb@FreeBSD.org>
750 * readelf.c (get_freebsd_elfcore_note_type): New
751 (process_note): Add support for FreeBSD core notes.
753 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
754 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
756 * readelf.c (get_machine_flags): Add support for newer ARC ELF
759 2016-01-18 Alan Modra <amodra@gmail.com>
761 * configure: Regenerate.
763 2016-01-17 Alan Modra <amodra@gmail.com>
765 * configure: Regenerate.
767 2016-01-17 Alan Modra <amodra@gmail.com>
769 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
770 for m68hc11/12 and xgate triples.
772 2016-01-17 Alan Modra <amodra@gmail.com>
774 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
776 2016-01-01 Alan Modra <amodra@gmail.com>
778 Update year range in copyright notice of all files.
780 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
782 Copyright (C) 2016 Free Software Foundation, Inc.
784 Copying and distribution of this file, with or without modification,
785 are permitted in any medium without royalty provided the copyright
786 notice and this notice are preserved.
792 version-control: never