1 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
3 * objcopy.c (copy_section): Add extra calls to free for error
6 2016-11-04 Tom Tromey <tom@tromey.com>
8 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
11 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
13 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
16 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
17 Andrew Waterman <andrew@sifive.com>
19 Add support for RISC-V architecture.
20 * readelf.c (guess_is_rela): Add EM_RISCV.
21 (get_machine_name): Likewise.
22 (dump_relocations): Add support for riscv relocations.
23 (get_machine_flags): Add support for riscv flags.
24 (is_32bit_abs_reloc): Add R_RISCV_32.
25 (is_64bit_abs_reloc): Add R_RISCV_64.
26 (is_none_reloc): Add R_RISCV_NONE.
27 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
28 Expect the debug_ranges test to fail.
30 2016-10-17 Nick Clifton <nickc@redhat.com>
32 * readelf.c (apply_relocations): Fail if the symbol table section
33 linked to by the reloc section does not have either the SHT_SYMTAB
35 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
36 Print the contents of unknown note types.
37 (process_note): Add the file and section to the parameter list.
38 Use print_symbol to display the note name.
39 Display the contents of unknown note types.
40 (process_corefile_note_segment): Rename to process_notes_at.
41 Add section parameter. Apply relocations to the notes when
42 loading from a section. Display section name when processing
44 * testsuite/binutils-all/readelf.n: Update expected output.
46 2016-10-17 Nick Clifton <nickc@redhat.com>
48 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
49 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
50 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
51 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
52 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
53 EM_Z80, EM_AMDGPU, EM_RISCV.
54 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
55 (get_group_flags): Update to handle flags in the
56 GRP_MASKOS and GRP_MASKPROC ranges.
58 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
60 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
61 to copy file to remote host.
63 2016-10-11 Nick Clifton <nickc@redhat.com>
65 * objdump.c (is_significant_symbol_name): New function.
66 (remove_useless_symbols): Do not remove significanr symbols.
67 (find_symbol_for_address): If an exact match for the specified
68 address has not been found, try scanning the dynamic relocs to see
69 if one of these matches the address. If so, use the symbol
70 associated with the reloc.
71 (objdump_print_addr_with_symbol): Do not print offsets to symbols
73 (disassemble_section): Only use dynamic relocs if the user
75 (disassemble_data): Always load dynamic relocs if they are
78 2016-10-06 Alan Modra <amodra@gmail.com>
80 * dlltool.c: Spell fall through comments consistently.
81 * objcopy.c: Likewise.
82 * readelf.c: Likewise.
83 * dwarf.c: Add missing fall through comments.
84 * elfcomm.c: Likewise.
85 * sysinfo.y: Likewise.
86 * readelf.c: Likewise. Also remove extraneous comments.
88 2016-10-06 Alan Modra <amodra@gmail.com>
90 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
91 * elfedit.c (usage): Likewise.
92 * nm.c (usage): Likewise.
93 * objcopy.c (copy_usage, strip_usage): Likewise.
94 * srconv.c (show_usage): Likewise.
95 * strings.c (usage): Likewise.
96 * sysdump.c (show_usage): Likewise.
97 * srconv.c: Remove unneeded forward function declarations.
98 * strings.c: Likewise.
99 * sysdump.c: Likewise.
101 2016-10-06 Alan Modra <amodra@gmail.com>
103 * coffdump.c (dump_coff_where): Add missing break.
104 * stabs.c (stab_xcoff_builtin_type): Likewise.
106 2016-09-29 Alan Modra <amodra@gmail.com>
108 * readelf.c (process_arch_specific): Call process_power_specific
111 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
113 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
114 when building with CC_FOR_BUILD compiler.
115 * Makefile.in: Regenerate.
116 * configure: Likewise.
117 * doc/Makefile.in: Likewise.
119 2016-09-26 Alan Modra <amodra@gmail.com>
121 * readelf.c (display_power_gnu_attribute): Catch truncated section
122 for all powerpc attributes. Display long double ABI. Don't
123 capitalize words, except for names. Show known bits of tag values
124 when some unknown bits are present. Whitespace fixes.
126 2016-09-26 Alan Modra <amodra@gmail.com>
128 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
129 strings, use asprintf instead.
130 (get_coff_symbol_type): Likewise.
132 2016-09-19 Alan Modra <amodra@gmail.com>
134 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
136 (print_size_symbols, print_symbols): Adjust to suit, deleting
137 now unused synth_count param and fromsynth var.
138 (display_rel_file): Adjust, localizing synth_count.
140 2016-09-14 Ed Maste <emaste@freebsd.org>
142 * readelf.c (process_mips_specific): Fix typo in error message.
144 2016-09-06 Nick Clifton <nickc@redhat.com>
146 * readelf.c (request_dump_bynumber): Only call memcpy if
147 dump_sects is not NULL.
149 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
151 * readelf.c (load_specific_debug_section): Check the external
152 compression header size.
154 2016-08-19 Nick Clifton <nickc@redhat.com>
156 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
158 * testsuite/binutils-all/readelf.s-64: Likewise.
160 2016-08-12 Nick Clifton <nickc@redhat.com>
162 * readelf.c (process_symbol_table): Generate a warning if a local
163 symbol is found at and offste greater than or equal to the sh_info
164 field of it's section header.
166 2016-08-08 Nick Clifton <nickc@redhat.com>
169 * dwarf.c (display_debug_lines_decoded): Add checks for running
170 off the end of the section when populating the directory table and
172 (frame_display_row): Set max_regs equal to ncols.
173 * readelf.c (load_specific_debug_section): If the section is
174 compressed, but it is not big enough to hold a compression
175 header then warn and return 0.
178 * dwarf.c (display_debug_lines_decoded): Check directory and file
179 indicies before using them to access directory and file tables.
181 2016-08-02 Nick Clifton <nickc@redhat.com>
184 * resbin.c (bin_to_res_version): Cast variables to correct type
185 for printing in error message.
187 2016-07-28 Nick Clifton <nickc@redhat.com>
190 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
191 * resbin.c (bin_to_res_version): Allow for the padded length of a
192 version block to be longer than the recorded length. Skip padding
195 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
197 * configure: Regenerated.
199 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
201 * doc/binutils.texi (objdump): Add ARC disassembler options.
202 * testsuite/binutils-all/arc/dsp.s: New file.
203 * testsuite/binutils-all/arc/objdump.exp: Likewise.
204 * NEWS: Mention the new feature.
206 2016-07-20 Nick Clifton <nickc@redhat.com>
208 * doc/binutils.texi (objcopy): Note that the localize symbol
209 options do not affect unique symbols.
211 2016-07-16 Alan Modra <amodra@gmail.com>
213 * ar.c: Include plugin-api.h.
216 2016-07-16 Alan Modra <amodra@gmail.com>
218 * bucomm.c: Don't include libbfd.h.
219 (endian_string, display_target_list): Delete forward declaration.
220 (display_info_table, display_target_tables): Likewise.
221 (LONGEST_ARCH): Delete.
222 (struct display_target): New.
223 (do_display_target): New function.
224 (display_target_list, display_info): Rewrite functions.
225 (display_info_table): Delete.
226 (do_info_size, do_info_header, do_info_row): New functions.
228 2016-07-16 Alan Modra <amodra@gmail.com>
230 * elfcomm.h (HOST_WIDEST_INT): Move to..
232 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
233 (dump_dyld_info_rebase): Use read_leb128 rather than
234 read_unsigned_leb128.
235 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
236 (dump_segment_split_info): Likewise.
237 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
238 (dump_load_command): Likewise.
240 2016-07-16 Alan Modra <amodra@gmail.com>
242 * ar.c: Don't include libbfd.h.
243 * objcopy.c: Likewise.
244 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
247 2016-07-15 Alan Modra <amodra@gmail.com>
249 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
251 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
253 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
255 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
256 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
257 (struct option strip_options): Add 'remove-relocations'.
258 (struct option copy_options): Likewise.
259 (copy_usage): Likewise.
260 (strip_usage): Likewise.
261 (handle_remove_relocations_option): New function.
262 (discard_relocations): New function.
263 (handle_remove_section_option): New function.
264 (copy_relocations_in_section): Use discard_relocations.
265 (strip_main): Use handle_remove_section_option for
266 'remove-section', and handle 'remove-relocations' option.
267 (copy_main): Likewise.
268 * testsuite/binutils-all/objcopy.exp: Run new tests.
269 * testsuite/binutils-all/remove-relocs-01.d: New file.
270 * testsuite/binutils-all/remove-relocs-01.s: New file.
271 * testsuite/binutils-all/remove-relocs-02.d: New file.
272 * testsuite/binutils-all/remove-relocs-03.d: New file.
273 * testsuite/binutils-all/remove-relocs-04.d: New file.
274 * testsuite/binutils-all/remove-relocs-05.d: New file.
275 * testsuite/binutils-all/remove-relocs-06.d: New file.
276 * NEWS: Mention new option.
278 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
280 * objcopy.c (find_section_list): Handle section patterns starting
281 with '!' being a non-matching pattern.
282 * doc/binutils.texi (objcopy): Give example of using '!' with
283 --remove-section and --only-section.
284 (strip): Give example of using '!' with --remove-section.
285 * testsuite/binutils-all/data-sections.s: New file.
286 * testsuite/binutils-all/only-section-01.d: New file.
287 * testsuite/binutils-all/remove-section-01.d: New file.
288 * testsuite/binutils-all/objcopy.exp: Run new tests.
289 * NEWS: Mention new feature.
291 2016-07-09 Alan Modra <amodra@gmail.com>
294 * objdump.c (compare_symbols): For ELF, sort same value/type
295 symbols according to size.
297 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
299 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
301 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
302 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
303 (process_section_headers): Rename noread to purecode.
305 * section.c (SEC_ELF_NOREAD): Rename to ...
306 (SEC_ELF_PURECODE): ... this.
308 2016-07-01 Nick Clifton <nickc@redhat.com>
310 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
311 extremely large decimal value.
312 (pr_range_type): Likewise.
313 (pr_array_type): Likewise.
314 (pr_struct_field): Likewise.
315 (pr_class_baseclass): Likewise.
316 (pr_class_method_variant): Likewise.
317 (pr_tag_type): Likewise.
318 (pr_int_constant): Likewise.
319 (pr_typed_constant): Likewise.
320 (pr_variable): Likewise.
321 (pr_function_parameter): Likewise.
322 (pr_start_block): Likewise.
323 (pr_lineno): Likewise.
324 (pr_end_block): Likewise.
325 (tg_enum_type): Likewise.
326 (tg_int_constant): Likewise.
327 (tg_typed_constant): Likewise.
328 (tg_start_block): Likewise.
330 2016-07-01 Nick Clifton <nickc@redhat.com>
332 * testsuite/binutils-all/objcopy.exp
333 (objcopy_test_without_global_symbol): Expect this test to fail on
334 the AArch64 and ARM targets, since they preserve their mapping
337 2016-07-01 Tristan Gingold <gingold@adacore.com>
339 * NEWS: Add marker for 2.27.
341 2016-07-30 Tristan Gingold <gingold@adacore.com>
343 * doc/binutils.texi (objdump): Fix mis-placement.
345 2016-06-28 Nick Clifton <nickc@redhat.com>
347 * testsuite/binutils-all/ar.exp: Relax previous restriction on
348 Alpha targets. Allow ELF based Alpha targets.
350 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
352 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
353 the `unique_symbol' test.
355 2016-06-28 Alan Modra <amodra@gmail.com>
358 * objdump.c (objdump_print_symname): Don't attempt to retrieve
359 version info from synthetic symbols.
361 2016-06-24 Alan Modra <amodra@gmail.com>
363 * objcopy.c (find_section_rename): Forward declare. Remove
364 ibfd and sec_ptr param. Add old_name param. Allow for NULL
365 returned_flags. Move read of section name and flags to..
366 (setup_section): ..here. Update find_section_rename call.
367 (filter_symbols): Rename section symbols for renamed sections.
368 (copy_object): Call filter_symbols when renamed sections.
369 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
370 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
372 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
374 (localize-hidden-1): xfail if is_bad_symtab.
375 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
378 2016-06-24 Alan Modra <amodra@gmail.com>
380 * objdump.c (struct print_file_list): Add "max_printed".
381 (try_print_file_open): Init new field.
382 (show_line): Don't show 5 context lines when redisplaying source.
384 2016-06-22 Nick Clifton <nickc@redhat.com>
386 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
387 Skip bfdtest1 tests for tic30 target.
388 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
390 * testsuite/binutils-all/compress.exp: Expect some tests to fail
392 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
393 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
395 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
397 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
398 if the bintest.o file was created. Use the
399 get_standard_section_names proc to get the name of the data
401 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
403 * testsuite/binutils-all/readelf.exp: Use
404 get_standard_section_names proc to get the name of the data
406 * testsuite/binutils-all/readelf.r: Allow for non standard text
408 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
409 * testsuite/binutils-all/size.exp: Allow for non standard section
411 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
412 to fail on mips targets.
413 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
414 get_standard_section_names proc.
415 (run_dump_test): Likewise.
416 (proc get_standard_section_names): New proc.
418 2016-06-22 Nick Clifton <nickc@redhat.com>
420 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
421 (process_mips_specific): Likewise.
422 (process_gnu_liblist): Likewise.
424 2016-06-21 Graham Markall <graham.markall@embecosm.com>
426 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
429 2016-06-15 Nick Clifton <nickc@redhat.com>
431 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
434 2016-06-14 John Baldwin <jhb@FreeBSD.org>
436 * objcopy.c (do_elf_stt_common): Use correct type.
438 2016-06-14 Alan Modra <amodra@gmail.com>
440 * ar.c: Expand uses of bfd_my_archive.
443 2016-06-14 Alan Modra <amodra@gmail.com>
446 * bucomm.c (bfd_get_archive_filename): Return file name within thin
449 2016-06-02 Nick Clifton <nickc@redhat.com>
452 * objcopy.c (group_signature): Fail if the input symbol table has
453 not been loaded, or if the sh_info field of the group header is 0.
455 * dwarf.c (display_debug_frames): Do not display any
456 interpretation if the block consists solely of DW__CFA_NOPs.
458 2016-05-31 Alan Modra <amodra@gmail.com>
460 * objcopy.c: Formatting, whitespace throughout.
461 (copy_main): Init newsym->othersym.
462 (parse_symflags): Make len a size_t. Adjust uses.
464 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
467 * NEWS: Mention --enable-64-bit-archive.
469 2016-05-18 Nick Clifton <nickc@redhat.com>
472 * objcopy.c (copy_relocations_in_section): Also check for the
473 symbol pointed to by sym_ptr_ptr being NULL.
475 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
477 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
478 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
480 * testsuite/binutils-all/mips/mips.exp: Run the new test.
482 2016-05-18 Nick Clifton <nickc@redhat.com>
484 * po/sv.po: Updated Swedish translation.
486 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
488 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
489 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
490 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
491 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
492 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
493 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
494 `d_val' rather than `d_ptr' member of the dynamic entry.
496 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
498 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
500 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
501 with the `strip-10' test.
503 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
505 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
508 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
510 * readelf.c (print_mips_ases): Add DSPR3.
512 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
514 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
515 (arm_attr_public_tags): Define DSP_extension attribute.
517 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
519 * doc/binutils.texi (nm): Update description of --size-sort.
521 2016-05-09 Nick Clifton <nickc@redhat.com>
524 * readelf.c (get_32bit_section_headers): Warn if an out of range
525 sh_link or sh_info field is encountered.
526 (get_64bit_section_headers): Likewise.
528 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
530 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
532 2016-05-03 Nick Clifton <nickc@redhat.com>
534 * po/sv.po: Updated Swedish translation.
536 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
538 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
539 PC relocation for AVR target.
540 (is_none_reloc): Return true if reloc is any of AVR diff
543 2016-04-29 Nick Clifton <nickc@redhat.com>
546 * readelf.c (get_solaris_segment_type): New function.
547 (get_segment_type): Call it.
549 2016-04-28 Nick Clifton <nickc@redhat.com>
551 * po/zh_CN.po: Updated Chinese (simplified) translation.
553 2016-04-28 Nick Clifton <nickc@redhat.com>
556 * testsuite/binutils-all/aarch64/illegal.s: New test.
557 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
559 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
561 * resres.c: Likewise.
563 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
565 * Makefile.in: Regenerated with automake 1.11.6.
566 * aclocal.m4: Likewise.
567 * doc/Makefile.in: Likewise.
569 2016-04-14 Nick Clifton <nickc@redhat.com>
572 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
573 string sections possibly having the SHF_STRINGS flag bit set.
574 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
575 * testsuite/binutils-all/readelf.s: Likewise.
576 * testsuite/binutils-all/readelf.s-64: Likewise.
577 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
578 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
580 2016-04-13 Nick Clifton <nickc@redhat.com>
583 * readelf.c (get_solaris_section_type): New function: Returns the
584 name of Solaris specific section types.
585 (get_solaris_dynamic_type): New function: Return the name of
586 Solaris specific dynamic types.
587 (get_dynamic_type): Use get_solaris_dynamic_type.
588 (get_section_type_name): Use get_solaris_section_type.
589 (get_solaris_symbol_visibility): New function: Returns Solaris
590 specific symbol visibilities.
591 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
592 (process_symbol_table): Likewise.
594 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
596 * dwarf.h (init_dwarf_regnames_s390): Declare.
597 * dwarf.c (dwarf_regnames_s390): New.
598 (init_dwarf_regnames_s390): New.
599 (init_dwarf_regnames): Call it.
600 * objdump.c (dump_dwarf): Likewise.
602 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
604 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
605 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
607 * testsuite/binutils-all/mips/mips.exp: Run the new test.
609 2016-04-04 Nick Clifton <nickc@redhat.com>
612 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
613 version number if the version is zero.
615 2016-03-29 Alan Modra <amodra@gmail.com>
617 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
618 (get_dynamic_data): Likewise.
620 2016-03-22 Nick Clifton <nickc@redhat.com>
623 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
624 with run time size check.
626 * configure: Regenerate.
628 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
630 * readelf.c (decode_ARC_machine_flags): Handle nps400.
632 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
634 * readelf.c (get_machine_flags): Move arc processing into...
635 (decode_ARC_machine_flags): ... new function. Remove use of
636 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
637 "unknown arc". Merged ABI printing between two machine types.
639 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
641 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
642 to the architecture list.
644 2016-03-21 Nick Clifton <nickc@redhat.com>
646 * dlltool.c: Replace use of alloca with call to xmalloc.
647 * dllwrap.c: Likewise.
648 * nlmconv.c: Likewise.
649 * objdump.c: Likewise.
651 * winduni.c: Likewise.
652 * configure: Regenerate.
654 2016-03-07 Nick Clifton <nickc@redhat.com>
657 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
659 * testsuite/binutils-all/empty: New, empty, file.
661 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
663 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
665 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
668 * NEWS: Mention --elf-stt-common= for objcopy.
669 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
670 * objcopy.c (do_elf_stt_common): New.
671 (command_line_switch): Add OPTION_ELF_STT_COMMON.
672 (copy_options): Add --elf-stt-common=.
673 (copy_usage): Add --elf-stt-common=.
674 (copy_object): Also check do_elf_stt_common for ELF targets.
675 (copy_file): Handle do_elf_stt_common.
676 (copy_main): Handle OPTION_ELF_STT_COMMON.
677 * readelf.c (apply_relocations): Support STT_COMMON.
678 * testsuite/binutils-all/common-1.s: New file.
679 * testsuite/binutils-all/common-1a.d: Likewise.
680 * testsuite/binutils-all/common-1b.d: Likewise.
681 * testsuite/binutils-all/common-1c.d: Likewise.
682 * testsuite/binutils-all/common-1d.d: Likewise.
683 * testsuite/binutils-all/common-1e.d: Likewise.
684 * testsuite/binutils-all/common-1f.d: Likewise.
685 * testsuite/binutils-all/common-2.s: Likewise.
686 * testsuite/binutils-all/common-2a.d: Likewise.
687 * testsuite/binutils-all/common-2b.d: Likewise.
688 * testsuite/binutils-all/common-2c.d: Likewise.
689 * testsuite/binutils-all/common-2d.d: Likewise.
690 * testsuite/binutils-all/common-2e.d: Likewise.
691 * testsuite/binutils-all/common-2f.d: Likewise.
692 * testsuite/binutils-all/objcopy.exp
693 (objcopy_test_elf_common_symbols): New proc.
694 Run objcopy_test_elf_common_symbols for ELF targets
696 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
699 * readelf.c (get_section_type_name): Add a missing break.
701 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
703 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
705 2016-02-15 Nick Clifton <nickc@redhat.com>
707 * readelf.c (get_section_type_name): Add hex prefix to offsets
708 printed for LOPROC and LOOS values. Ensure that a result is
709 always returned for the V850 target, even when an unrecognised
710 processor specific value is encountered.
711 (process_section_headers): Display key values in the order in
712 which they appear to the user. Add the "C (compressed)" value to
715 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
717 * doc/binutils.texi: Fix a typo.
719 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
721 * testsuite/binutils-all/objdump.exp: Update expected default
722 architecture value for ARC binaries.
724 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
727 * testsuite/binutils-all/objcopy.exp
728 (objcopy_test_without_global_symbol): New proc.
729 Run objcopy_test_without_global_symbol.
730 * testsuite/binutils-all/pr19547.c: New file.
732 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
735 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
737 * Makefile.in: Regenerated.
738 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
740 Run test_gnu_debuglink for native ELF build.
742 2016-01-20 Nick Clifton <nickc@redhat.com>
745 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
746 do not support inserting leading underscores.
748 2016-01-20 Mickael Guene <mickael.guene@st.com>
750 * readelf.c (get_elf_section_flags): Display y letter for section
751 with SHF_ARM_NOREAD section flag in readelf section output.
752 (process_section_headers): Add y letter in readelf section output
753 key mapping for ARM architecture.
754 * objdump.c (dump_section_header): Display NOREAD attributes as
756 * doc/binutils.texi (objdump): Note that it is correct for
757 sections to have both the READONLY and NOREAD attributes.
759 2016-01-19 John Baldwin <jhb@FreeBSD.org>
761 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
763 2016-01-19 John Baldwin <jhb@FreeBSD.org>
765 * readelf.c (get_freebsd_elfcore_note_type): New
766 (process_note): Add support for FreeBSD core notes.
768 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
769 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
771 * readelf.c (get_machine_flags): Add support for newer ARC ELF
774 2016-01-18 Alan Modra <amodra@gmail.com>
776 * configure: Regenerate.
778 2016-01-17 Alan Modra <amodra@gmail.com>
780 * configure: Regenerate.
782 2016-01-17 Alan Modra <amodra@gmail.com>
784 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
785 for m68hc11/12 and xgate triples.
787 2016-01-17 Alan Modra <amodra@gmail.com>
789 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
791 2016-01-01 Alan Modra <amodra@gmail.com>
793 Update year range in copyright notice of all files.
795 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
797 Copyright (C) 2016 Free Software Foundation, Inc.
799 Copying and distribution of this file, with or without modification,
800 are permitted in any medium without royalty provided the copyright
801 notice and this notice are preserved.
807 version-control: never