1 2016-12-05 Nick Clifton <nickc@redhat.com>
4 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
5 symbol pointer before attempting to mark the symbol as kept.
7 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
12 2016-11-30 Nick Clifton <nickc@redhat.com>
15 * readelf.c (process_program_headers): Do not warn about out of
16 order PT_LOAD segments.
18 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
20 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
23 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
25 * dwarf.c: Fix spelling in comments.
26 * dwarf.h: Fix spelling in comments.
27 * objcopy.c: Fix spelling in comments.
28 * od-macho.c: Fix spelling in comments.
29 * rclex.c: Fix spelling in comments.
30 * readelf.c: Fix spelling in comments.
31 * stabs.c: Fix spelling in comments.
33 2016-11-23 Nick Clifton <nickc@redhat.com>
36 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
37 segments for validity.
39 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
41 * configure: Regenerate.
43 2016-11-22 Alan Modra <amodra@gmail.com>
46 * NEWS: Mention PowerPC VLE relocation error.
48 2016-11-16 Mark Wielaard <mark@klomp.org>
50 * cxxfilt.c (main): Recognize rust_demangling.
52 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
55 * dlltool.c (struct export): Remove hint field.
56 (make_one_lib_file): Store the ordinal value for IDATA6 not the
58 (gen_lib_file): Delete reference to hint field.
59 (mangle_defs): Delete computation of hint field.
61 2016-11-11 Nick Clifton <nickc@redhat.com>
64 * nm.c (with_symbol_versions): New local variable.
65 (long_options): Add --with-symbol-versions.
66 (usage): Mention --with-symbol-versions.
67 (print_symbol): If with_symbol_versions is set then display the
68 version information associated with the symbol.
69 * NEWS: Mention the new feature.
70 * doc/binutils.texi (nm): Document the new option.
71 (objdump): Describe how symbol version information is displayed
72 for dynamic symbol dumps.
73 (readelf): Describe how symbol version information is displayed.
74 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
76 2016-11-08 Nick Clifton <nickc@redhat.com>
79 * readelf.c (process_section_headers): Fix off-by-one error when
80 checking for invalid sh_link and sh_info fields.
82 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
84 * objcopy.c (copy_section): Add extra calls to free for error
87 2016-11-04 Tom Tromey <tom@tromey.com>
89 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
92 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
94 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
97 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
98 Andrew Waterman <andrew@sifive.com>
100 Add support for RISC-V architecture.
101 * readelf.c (guess_is_rela): Add EM_RISCV.
102 (get_machine_name): Likewise.
103 (dump_relocations): Add support for riscv relocations.
104 (get_machine_flags): Add support for riscv flags.
105 (is_32bit_abs_reloc): Add R_RISCV_32.
106 (is_64bit_abs_reloc): Add R_RISCV_64.
107 (is_none_reloc): Add R_RISCV_NONE.
108 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
109 Expect the debug_ranges test to fail.
111 2016-10-17 Nick Clifton <nickc@redhat.com>
113 * readelf.c (apply_relocations): Fail if the symbol table section
114 linked to by the reloc section does not have either the SHT_SYMTAB
116 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
117 Print the contents of unknown note types.
118 (process_note): Add the file and section to the parameter list.
119 Use print_symbol to display the note name.
120 Display the contents of unknown note types.
121 (process_corefile_note_segment): Rename to process_notes_at.
122 Add section parameter. Apply relocations to the notes when
123 loading from a section. Display section name when processing
125 * testsuite/binutils-all/readelf.n: Update expected output.
127 2016-10-17 Nick Clifton <nickc@redhat.com>
129 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
130 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
131 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
132 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
133 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
134 EM_Z80, EM_AMDGPU, EM_RISCV.
135 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
136 (get_group_flags): Update to handle flags in the
137 GRP_MASKOS and GRP_MASKPROC ranges.
139 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
141 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
142 to copy file to remote host.
144 2016-10-11 Nick Clifton <nickc@redhat.com>
146 * objdump.c (is_significant_symbol_name): New function.
147 (remove_useless_symbols): Do not remove significanr symbols.
148 (find_symbol_for_address): If an exact match for the specified
149 address has not been found, try scanning the dynamic relocs to see
150 if one of these matches the address. If so, use the symbol
151 associated with the reloc.
152 (objdump_print_addr_with_symbol): Do not print offsets to symbols
154 (disassemble_section): Only use dynamic relocs if the user
156 (disassemble_data): Always load dynamic relocs if they are
159 2016-10-06 Alan Modra <amodra@gmail.com>
161 * dlltool.c: Spell fall through comments consistently.
162 * objcopy.c: Likewise.
163 * readelf.c: Likewise.
164 * dwarf.c: Add missing fall through comments.
165 * elfcomm.c: Likewise.
166 * sysinfo.y: Likewise.
167 * readelf.c: Likewise. Also remove extraneous comments.
169 2016-10-06 Alan Modra <amodra@gmail.com>
171 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
172 * elfedit.c (usage): Likewise.
173 * nm.c (usage): Likewise.
174 * objcopy.c (copy_usage, strip_usage): Likewise.
175 * srconv.c (show_usage): Likewise.
176 * strings.c (usage): Likewise.
177 * sysdump.c (show_usage): Likewise.
178 * srconv.c: Remove unneeded forward function declarations.
179 * strings.c: Likewise.
180 * sysdump.c: Likewise.
182 2016-10-06 Alan Modra <amodra@gmail.com>
184 * coffdump.c (dump_coff_where): Add missing break.
185 * stabs.c (stab_xcoff_builtin_type): Likewise.
187 2016-09-29 Alan Modra <amodra@gmail.com>
189 * readelf.c (process_arch_specific): Call process_power_specific
192 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
194 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
195 when building with CC_FOR_BUILD compiler.
196 * Makefile.in: Regenerate.
197 * configure: Likewise.
198 * doc/Makefile.in: Likewise.
200 2016-09-26 Alan Modra <amodra@gmail.com>
202 * readelf.c (display_power_gnu_attribute): Catch truncated section
203 for all powerpc attributes. Display long double ABI. Don't
204 capitalize words, except for names. Show known bits of tag values
205 when some unknown bits are present. Whitespace fixes.
207 2016-09-26 Alan Modra <amodra@gmail.com>
209 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
210 strings, use asprintf instead.
211 (get_coff_symbol_type): Likewise.
213 2016-09-19 Alan Modra <amodra@gmail.com>
215 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
217 (print_size_symbols, print_symbols): Adjust to suit, deleting
218 now unused synth_count param and fromsynth var.
219 (display_rel_file): Adjust, localizing synth_count.
221 2016-09-14 Ed Maste <emaste@freebsd.org>
223 * readelf.c (process_mips_specific): Fix typo in error message.
225 2016-09-06 Nick Clifton <nickc@redhat.com>
227 * readelf.c (request_dump_bynumber): Only call memcpy if
228 dump_sects is not NULL.
230 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
232 * readelf.c (load_specific_debug_section): Check the external
233 compression header size.
235 2016-08-19 Nick Clifton <nickc@redhat.com>
237 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
239 * testsuite/binutils-all/readelf.s-64: Likewise.
241 2016-08-12 Nick Clifton <nickc@redhat.com>
243 * readelf.c (process_symbol_table): Generate a warning if a local
244 symbol is found at and offste greater than or equal to the sh_info
245 field of it's section header.
247 2016-08-08 Nick Clifton <nickc@redhat.com>
250 * dwarf.c (display_debug_lines_decoded): Add checks for running
251 off the end of the section when populating the directory table and
253 (frame_display_row): Set max_regs equal to ncols.
254 * readelf.c (load_specific_debug_section): If the section is
255 compressed, but it is not big enough to hold a compression
256 header then warn and return 0.
259 * dwarf.c (display_debug_lines_decoded): Check directory and file
260 indicies before using them to access directory and file tables.
262 2016-08-02 Nick Clifton <nickc@redhat.com>
265 * resbin.c (bin_to_res_version): Cast variables to correct type
266 for printing in error message.
268 2016-07-28 Nick Clifton <nickc@redhat.com>
271 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
272 * resbin.c (bin_to_res_version): Allow for the padded length of a
273 version block to be longer than the recorded length. Skip padding
276 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
278 * configure: Regenerated.
280 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
282 * doc/binutils.texi (objdump): Add ARC disassembler options.
283 * testsuite/binutils-all/arc/dsp.s: New file.
284 * testsuite/binutils-all/arc/objdump.exp: Likewise.
285 * NEWS: Mention the new feature.
287 2016-07-20 Nick Clifton <nickc@redhat.com>
289 * doc/binutils.texi (objcopy): Note that the localize symbol
290 options do not affect unique symbols.
292 2016-07-16 Alan Modra <amodra@gmail.com>
294 * ar.c: Include plugin-api.h.
297 2016-07-16 Alan Modra <amodra@gmail.com>
299 * bucomm.c: Don't include libbfd.h.
300 (endian_string, display_target_list): Delete forward declaration.
301 (display_info_table, display_target_tables): Likewise.
302 (LONGEST_ARCH): Delete.
303 (struct display_target): New.
304 (do_display_target): New function.
305 (display_target_list, display_info): Rewrite functions.
306 (display_info_table): Delete.
307 (do_info_size, do_info_header, do_info_row): New functions.
309 2016-07-16 Alan Modra <amodra@gmail.com>
311 * elfcomm.h (HOST_WIDEST_INT): Move to..
313 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
314 (dump_dyld_info_rebase): Use read_leb128 rather than
315 read_unsigned_leb128.
316 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
317 (dump_segment_split_info): Likewise.
318 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
319 (dump_load_command): Likewise.
321 2016-07-16 Alan Modra <amodra@gmail.com>
323 * ar.c: Don't include libbfd.h.
324 * objcopy.c: Likewise.
325 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
328 2016-07-15 Alan Modra <amodra@gmail.com>
330 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
332 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
334 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
336 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
337 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
338 (struct option strip_options): Add 'remove-relocations'.
339 (struct option copy_options): Likewise.
340 (copy_usage): Likewise.
341 (strip_usage): Likewise.
342 (handle_remove_relocations_option): New function.
343 (discard_relocations): New function.
344 (handle_remove_section_option): New function.
345 (copy_relocations_in_section): Use discard_relocations.
346 (strip_main): Use handle_remove_section_option for
347 'remove-section', and handle 'remove-relocations' option.
348 (copy_main): Likewise.
349 * testsuite/binutils-all/objcopy.exp: Run new tests.
350 * testsuite/binutils-all/remove-relocs-01.d: New file.
351 * testsuite/binutils-all/remove-relocs-01.s: New file.
352 * testsuite/binutils-all/remove-relocs-02.d: New file.
353 * testsuite/binutils-all/remove-relocs-03.d: New file.
354 * testsuite/binutils-all/remove-relocs-04.d: New file.
355 * testsuite/binutils-all/remove-relocs-05.d: New file.
356 * testsuite/binutils-all/remove-relocs-06.d: New file.
357 * NEWS: Mention new option.
359 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
361 * objcopy.c (find_section_list): Handle section patterns starting
362 with '!' being a non-matching pattern.
363 * doc/binutils.texi (objcopy): Give example of using '!' with
364 --remove-section and --only-section.
365 (strip): Give example of using '!' with --remove-section.
366 * testsuite/binutils-all/data-sections.s: New file.
367 * testsuite/binutils-all/only-section-01.d: New file.
368 * testsuite/binutils-all/remove-section-01.d: New file.
369 * testsuite/binutils-all/objcopy.exp: Run new tests.
370 * NEWS: Mention new feature.
372 2016-07-09 Alan Modra <amodra@gmail.com>
375 * objdump.c (compare_symbols): For ELF, sort same value/type
376 symbols according to size.
378 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
380 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
382 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
383 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
384 (process_section_headers): Rename noread to purecode.
386 * section.c (SEC_ELF_NOREAD): Rename to ...
387 (SEC_ELF_PURECODE): ... this.
389 2016-07-01 Nick Clifton <nickc@redhat.com>
391 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
392 extremely large decimal value.
393 (pr_range_type): Likewise.
394 (pr_array_type): Likewise.
395 (pr_struct_field): Likewise.
396 (pr_class_baseclass): Likewise.
397 (pr_class_method_variant): Likewise.
398 (pr_tag_type): Likewise.
399 (pr_int_constant): Likewise.
400 (pr_typed_constant): Likewise.
401 (pr_variable): Likewise.
402 (pr_function_parameter): Likewise.
403 (pr_start_block): Likewise.
404 (pr_lineno): Likewise.
405 (pr_end_block): Likewise.
406 (tg_enum_type): Likewise.
407 (tg_int_constant): Likewise.
408 (tg_typed_constant): Likewise.
409 (tg_start_block): Likewise.
411 2016-07-01 Nick Clifton <nickc@redhat.com>
413 * testsuite/binutils-all/objcopy.exp
414 (objcopy_test_without_global_symbol): Expect this test to fail on
415 the AArch64 and ARM targets, since they preserve their mapping
418 2016-07-01 Tristan Gingold <gingold@adacore.com>
420 * NEWS: Add marker for 2.27.
422 2016-07-30 Tristan Gingold <gingold@adacore.com>
424 * doc/binutils.texi (objdump): Fix mis-placement.
426 2016-06-28 Nick Clifton <nickc@redhat.com>
428 * testsuite/binutils-all/ar.exp: Relax previous restriction on
429 Alpha targets. Allow ELF based Alpha targets.
431 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
433 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
434 the `unique_symbol' test.
436 2016-06-28 Alan Modra <amodra@gmail.com>
439 * objdump.c (objdump_print_symname): Don't attempt to retrieve
440 version info from synthetic symbols.
442 2016-06-24 Alan Modra <amodra@gmail.com>
444 * objcopy.c (find_section_rename): Forward declare. Remove
445 ibfd and sec_ptr param. Add old_name param. Allow for NULL
446 returned_flags. Move read of section name and flags to..
447 (setup_section): ..here. Update find_section_rename call.
448 (filter_symbols): Rename section symbols for renamed sections.
449 (copy_object): Call filter_symbols when renamed sections.
450 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
451 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
453 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
455 (localize-hidden-1): xfail if is_bad_symtab.
456 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
459 2016-06-24 Alan Modra <amodra@gmail.com>
461 * objdump.c (struct print_file_list): Add "max_printed".
462 (try_print_file_open): Init new field.
463 (show_line): Don't show 5 context lines when redisplaying source.
465 2016-06-22 Nick Clifton <nickc@redhat.com>
467 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
468 Skip bfdtest1 tests for tic30 target.
469 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
471 * testsuite/binutils-all/compress.exp: Expect some tests to fail
473 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
474 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
476 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
478 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
479 if the bintest.o file was created. Use the
480 get_standard_section_names proc to get the name of the data
482 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
484 * testsuite/binutils-all/readelf.exp: Use
485 get_standard_section_names proc to get the name of the data
487 * testsuite/binutils-all/readelf.r: Allow for non standard text
489 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
490 * testsuite/binutils-all/size.exp: Allow for non standard section
492 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
493 to fail on mips targets.
494 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
495 get_standard_section_names proc.
496 (run_dump_test): Likewise.
497 (proc get_standard_section_names): New proc.
499 2016-06-22 Nick Clifton <nickc@redhat.com>
501 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
502 (process_mips_specific): Likewise.
503 (process_gnu_liblist): Likewise.
505 2016-06-21 Graham Markall <graham.markall@embecosm.com>
507 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
510 2016-06-15 Nick Clifton <nickc@redhat.com>
512 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
515 2016-06-14 John Baldwin <jhb@FreeBSD.org>
517 * objcopy.c (do_elf_stt_common): Use correct type.
519 2016-06-14 Alan Modra <amodra@gmail.com>
521 * ar.c: Expand uses of bfd_my_archive.
524 2016-06-14 Alan Modra <amodra@gmail.com>
527 * bucomm.c (bfd_get_archive_filename): Return file name within thin
530 2016-06-02 Nick Clifton <nickc@redhat.com>
533 * objcopy.c (group_signature): Fail if the input symbol table has
534 not been loaded, or if the sh_info field of the group header is 0.
536 * dwarf.c (display_debug_frames): Do not display any
537 interpretation if the block consists solely of DW__CFA_NOPs.
539 2016-05-31 Alan Modra <amodra@gmail.com>
541 * objcopy.c: Formatting, whitespace throughout.
542 (copy_main): Init newsym->othersym.
543 (parse_symflags): Make len a size_t. Adjust uses.
545 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
548 * NEWS: Mention --enable-64-bit-archive.
550 2016-05-18 Nick Clifton <nickc@redhat.com>
553 * objcopy.c (copy_relocations_in_section): Also check for the
554 symbol pointed to by sym_ptr_ptr being NULL.
556 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
558 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
559 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
561 * testsuite/binutils-all/mips/mips.exp: Run the new test.
563 2016-05-18 Nick Clifton <nickc@redhat.com>
565 * po/sv.po: Updated Swedish translation.
567 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
569 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
570 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
571 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
572 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
573 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
574 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
575 `d_val' rather than `d_ptr' member of the dynamic entry.
577 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
579 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
581 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
582 with the `strip-10' test.
584 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
586 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
589 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
591 * readelf.c (print_mips_ases): Add DSPR3.
593 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
595 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
596 (arm_attr_public_tags): Define DSP_extension attribute.
598 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
600 * doc/binutils.texi (nm): Update description of --size-sort.
602 2016-05-09 Nick Clifton <nickc@redhat.com>
605 * readelf.c (get_32bit_section_headers): Warn if an out of range
606 sh_link or sh_info field is encountered.
607 (get_64bit_section_headers): Likewise.
609 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
611 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
613 2016-05-03 Nick Clifton <nickc@redhat.com>
615 * po/sv.po: Updated Swedish translation.
617 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
619 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
620 PC relocation for AVR target.
621 (is_none_reloc): Return true if reloc is any of AVR diff
624 2016-04-29 Nick Clifton <nickc@redhat.com>
627 * readelf.c (get_solaris_segment_type): New function.
628 (get_segment_type): Call it.
630 2016-04-28 Nick Clifton <nickc@redhat.com>
632 * po/zh_CN.po: Updated Chinese (simplified) translation.
634 2016-04-28 Nick Clifton <nickc@redhat.com>
637 * testsuite/binutils-all/aarch64/illegal.s: New test.
638 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
640 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
642 * resres.c: Likewise.
644 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
646 * Makefile.in: Regenerated with automake 1.11.6.
647 * aclocal.m4: Likewise.
648 * doc/Makefile.in: Likewise.
650 2016-04-14 Nick Clifton <nickc@redhat.com>
653 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
654 string sections possibly having the SHF_STRINGS flag bit set.
655 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
656 * testsuite/binutils-all/readelf.s: Likewise.
657 * testsuite/binutils-all/readelf.s-64: Likewise.
658 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
659 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
661 2016-04-13 Nick Clifton <nickc@redhat.com>
664 * readelf.c (get_solaris_section_type): New function: Returns the
665 name of Solaris specific section types.
666 (get_solaris_dynamic_type): New function: Return the name of
667 Solaris specific dynamic types.
668 (get_dynamic_type): Use get_solaris_dynamic_type.
669 (get_section_type_name): Use get_solaris_section_type.
670 (get_solaris_symbol_visibility): New function: Returns Solaris
671 specific symbol visibilities.
672 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
673 (process_symbol_table): Likewise.
675 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
677 * dwarf.h (init_dwarf_regnames_s390): Declare.
678 * dwarf.c (dwarf_regnames_s390): New.
679 (init_dwarf_regnames_s390): New.
680 (init_dwarf_regnames): Call it.
681 * objdump.c (dump_dwarf): Likewise.
683 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
685 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
686 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
688 * testsuite/binutils-all/mips/mips.exp: Run the new test.
690 2016-04-04 Nick Clifton <nickc@redhat.com>
693 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
694 version number if the version is zero.
696 2016-03-29 Alan Modra <amodra@gmail.com>
698 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
699 (get_dynamic_data): Likewise.
701 2016-03-22 Nick Clifton <nickc@redhat.com>
704 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
705 with run time size check.
707 * configure: Regenerate.
709 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
711 * readelf.c (decode_ARC_machine_flags): Handle nps400.
713 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
715 * readelf.c (get_machine_flags): Move arc processing into...
716 (decode_ARC_machine_flags): ... new function. Remove use of
717 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
718 "unknown arc". Merged ABI printing between two machine types.
720 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
722 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
723 to the architecture list.
725 2016-03-21 Nick Clifton <nickc@redhat.com>
727 * dlltool.c: Replace use of alloca with call to xmalloc.
728 * dllwrap.c: Likewise.
729 * nlmconv.c: Likewise.
730 * objdump.c: Likewise.
732 * winduni.c: Likewise.
733 * configure: Regenerate.
735 2016-03-07 Nick Clifton <nickc@redhat.com>
738 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
740 * testsuite/binutils-all/empty: New, empty, file.
742 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
744 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
746 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
749 * NEWS: Mention --elf-stt-common= for objcopy.
750 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
751 * objcopy.c (do_elf_stt_common): New.
752 (command_line_switch): Add OPTION_ELF_STT_COMMON.
753 (copy_options): Add --elf-stt-common=.
754 (copy_usage): Add --elf-stt-common=.
755 (copy_object): Also check do_elf_stt_common for ELF targets.
756 (copy_file): Handle do_elf_stt_common.
757 (copy_main): Handle OPTION_ELF_STT_COMMON.
758 * readelf.c (apply_relocations): Support STT_COMMON.
759 * testsuite/binutils-all/common-1.s: New file.
760 * testsuite/binutils-all/common-1a.d: Likewise.
761 * testsuite/binutils-all/common-1b.d: Likewise.
762 * testsuite/binutils-all/common-1c.d: Likewise.
763 * testsuite/binutils-all/common-1d.d: Likewise.
764 * testsuite/binutils-all/common-1e.d: Likewise.
765 * testsuite/binutils-all/common-1f.d: Likewise.
766 * testsuite/binutils-all/common-2.s: Likewise.
767 * testsuite/binutils-all/common-2a.d: Likewise.
768 * testsuite/binutils-all/common-2b.d: Likewise.
769 * testsuite/binutils-all/common-2c.d: Likewise.
770 * testsuite/binutils-all/common-2d.d: Likewise.
771 * testsuite/binutils-all/common-2e.d: Likewise.
772 * testsuite/binutils-all/common-2f.d: Likewise.
773 * testsuite/binutils-all/objcopy.exp
774 (objcopy_test_elf_common_symbols): New proc.
775 Run objcopy_test_elf_common_symbols for ELF targets
777 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
780 * readelf.c (get_section_type_name): Add a missing break.
782 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
784 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
786 2016-02-15 Nick Clifton <nickc@redhat.com>
788 * readelf.c (get_section_type_name): Add hex prefix to offsets
789 printed for LOPROC and LOOS values. Ensure that a result is
790 always returned for the V850 target, even when an unrecognised
791 processor specific value is encountered.
792 (process_section_headers): Display key values in the order in
793 which they appear to the user. Add the "C (compressed)" value to
796 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
798 * doc/binutils.texi: Fix a typo.
800 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
802 * testsuite/binutils-all/objdump.exp: Update expected default
803 architecture value for ARC binaries.
805 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
808 * testsuite/binutils-all/objcopy.exp
809 (objcopy_test_without_global_symbol): New proc.
810 Run objcopy_test_without_global_symbol.
811 * testsuite/binutils-all/pr19547.c: New file.
813 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
816 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
818 * Makefile.in: Regenerated.
819 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
821 Run test_gnu_debuglink for native ELF build.
823 2016-01-20 Nick Clifton <nickc@redhat.com>
826 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
827 do not support inserting leading underscores.
829 2016-01-20 Mickael Guene <mickael.guene@st.com>
831 * readelf.c (get_elf_section_flags): Display y letter for section
832 with SHF_ARM_NOREAD section flag in readelf section output.
833 (process_section_headers): Add y letter in readelf section output
834 key mapping for ARM architecture.
835 * objdump.c (dump_section_header): Display NOREAD attributes as
837 * doc/binutils.texi (objdump): Note that it is correct for
838 sections to have both the READONLY and NOREAD attributes.
840 2016-01-19 John Baldwin <jhb@FreeBSD.org>
842 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
844 2016-01-19 John Baldwin <jhb@FreeBSD.org>
846 * readelf.c (get_freebsd_elfcore_note_type): New
847 (process_note): Add support for FreeBSD core notes.
849 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
850 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
852 * readelf.c (get_machine_flags): Add support for newer ARC ELF
855 2016-01-18 Alan Modra <amodra@gmail.com>
857 * configure: Regenerate.
859 2016-01-17 Alan Modra <amodra@gmail.com>
861 * configure: Regenerate.
863 2016-01-17 Alan Modra <amodra@gmail.com>
865 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
866 for m68hc11/12 and xgate triples.
868 2016-01-17 Alan Modra <amodra@gmail.com>
870 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
872 2016-01-01 Alan Modra <amodra@gmail.com>
874 Update year range in copyright notice of all files.
876 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
878 Copyright (C) 2016 Free Software Foundation, Inc.
880 Copying and distribution of this file, with or without modification,
881 are permitted in any medium without royalty provided the copyright
882 notice and this notice are preserved.
888 version-control: never