1 2016-10-17 Nick Clifton <nickc@redhat.com>
3 * readelf.c (apply_relocations): Fail if the symbol table section
4 linked to by the reloc section does not have either the SHT_SYMTAB
6 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
7 Print the contents of unknown note types.
8 (process_note): Add the file and section to the parameter list.
9 Use print_symbol to display the note name.
10 Display the contents of unknown note types.
11 (process_corefile_note_segment): Rename to process_notes_at.
12 Add section parameter. Apply relocations to the notes when
13 loading from a section. Display section name when processing
15 * testsuite/binutils-all/readelf.n: Update expected output.
17 2016-10-17 Nick Clifton <nickc@redhat.com>
19 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
20 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
21 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
22 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
23 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
24 EM_Z80, EM_AMDGPU, EM_RISCV.
25 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
26 (get_group_flags): Update to handle flags in the
27 GRP_MASKOS and GRP_MASKPROC ranges.
29 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
31 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
32 to copy file to remote host.
34 2016-10-11 Nick Clifton <nickc@redhat.com>
36 * objdump.c (is_significant_symbol_name): New function.
37 (remove_useless_symbols): Do not remove significanr symbols.
38 (find_symbol_for_address): If an exact match for the specified
39 address has not been found, try scanning the dynamic relocs to see
40 if one of these matches the address. If so, use the symbol
41 associated with the reloc.
42 (objdump_print_addr_with_symbol): Do not print offsets to symbols
44 (disassemble_section): Only use dynamic relocs if the user
46 (disassemble_data): Always load dynamic relocs if they are
49 2016-10-06 Alan Modra <amodra@gmail.com>
51 * dlltool.c: Spell fall through comments consistently.
52 * objcopy.c: Likewise.
53 * readelf.c: Likewise.
54 * dwarf.c: Add missing fall through comments.
55 * elfcomm.c: Likewise.
56 * sysinfo.y: Likewise.
57 * readelf.c: Likewise. Also remove extraneous comments.
59 2016-10-06 Alan Modra <amodra@gmail.com>
61 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
62 * elfedit.c (usage): Likewise.
63 * nm.c (usage): Likewise.
64 * objcopy.c (copy_usage, strip_usage): Likewise.
65 * srconv.c (show_usage): Likewise.
66 * strings.c (usage): Likewise.
67 * sysdump.c (show_usage): Likewise.
68 * srconv.c: Remove unneeded forward function declarations.
69 * strings.c: Likewise.
70 * sysdump.c: Likewise.
72 2016-10-06 Alan Modra <amodra@gmail.com>
74 * coffdump.c (dump_coff_where): Add missing break.
75 * stabs.c (stab_xcoff_builtin_type): Likewise.
77 2016-09-29 Alan Modra <amodra@gmail.com>
79 * readelf.c (process_arch_specific): Call process_power_specific
82 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
84 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
85 when building with CC_FOR_BUILD compiler.
86 * Makefile.in: Regenerate.
87 * configure: Likewise.
88 * doc/Makefile.in: Likewise.
90 2016-09-26 Alan Modra <amodra@gmail.com>
92 * readelf.c (display_power_gnu_attribute): Catch truncated section
93 for all powerpc attributes. Display long double ABI. Don't
94 capitalize words, except for names. Show known bits of tag values
95 when some unknown bits are present. Whitespace fixes.
97 2016-09-26 Alan Modra <amodra@gmail.com>
99 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
100 strings, use asprintf instead.
101 (get_coff_symbol_type): Likewise.
103 2016-09-19 Alan Modra <amodra@gmail.com>
105 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
107 (print_size_symbols, print_symbols): Adjust to suit, deleting
108 now unused synth_count param and fromsynth var.
109 (display_rel_file): Adjust, localizing synth_count.
111 2016-09-14 Ed Maste <emaste@freebsd.org>
113 * readelf.c (process_mips_specific): Fix typo in error message.
115 2016-09-06 Nick Clifton <nickc@redhat.com>
117 * readelf.c (request_dump_bynumber): Only call memcpy if
118 dump_sects is not NULL.
120 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
122 * readelf.c (load_specific_debug_section): Check the external
123 compression header size.
125 2016-08-19 Nick Clifton <nickc@redhat.com>
127 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
129 * testsuite/binutils-all/readelf.s-64: Likewise.
131 2016-08-12 Nick Clifton <nickc@redhat.com>
133 * readelf.c (process_symbol_table): Generate a warning if a local
134 symbol is found at and offste greater than or equal to the sh_info
135 field of it's section header.
137 2016-08-08 Nick Clifton <nickc@redhat.com>
140 * dwarf.c (display_debug_lines_decoded): Add checks for running
141 off the end of the section when populating the directory table and
143 (frame_display_row): Set max_regs equal to ncols.
144 * readelf.c (load_specific_debug_section): If the section is
145 compressed, but it is not big enough to hold a compression
146 header then warn and return 0.
149 * dwarf.c (display_debug_lines_decoded): Check directory and file
150 indicies before using them to access directory and file tables.
152 2016-08-02 Nick Clifton <nickc@redhat.com>
155 * resbin.c (bin_to_res_version): Cast variables to correct type
156 for printing in error message.
158 2016-07-28 Nick Clifton <nickc@redhat.com>
161 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
162 * resbin.c (bin_to_res_version): Allow for the padded length of a
163 version block to be longer than the recorded length. Skip padding
166 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
168 * configure: Regenerated.
170 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
172 * doc/binutils.texi (objdump): Add ARC disassembler options.
173 * testsuite/binutils-all/arc/dsp.s: New file.
174 * testsuite/binutils-all/arc/objdump.exp: Likewise.
175 * NEWS: Mention the new feature.
177 2016-07-20 Nick Clifton <nickc@redhat.com>
179 * doc/binutils.texi (objcopy): Note that the localize symbol
180 options do not affect unique symbols.
182 2016-07-16 Alan Modra <amodra@gmail.com>
184 * ar.c: Include plugin-api.h.
187 2016-07-16 Alan Modra <amodra@gmail.com>
189 * bucomm.c: Don't include libbfd.h.
190 (endian_string, display_target_list): Delete forward declaration.
191 (display_info_table, display_target_tables): Likewise.
192 (LONGEST_ARCH): Delete.
193 (struct display_target): New.
194 (do_display_target): New function.
195 (display_target_list, display_info): Rewrite functions.
196 (display_info_table): Delete.
197 (do_info_size, do_info_header, do_info_row): New functions.
199 2016-07-16 Alan Modra <amodra@gmail.com>
201 * elfcomm.h (HOST_WIDEST_INT): Move to..
203 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
204 (dump_dyld_info_rebase): Use read_leb128 rather than
205 read_unsigned_leb128.
206 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
207 (dump_segment_split_info): Likewise.
208 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
209 (dump_load_command): Likewise.
211 2016-07-16 Alan Modra <amodra@gmail.com>
213 * ar.c: Don't include libbfd.h.
214 * objcopy.c: Likewise.
215 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
218 2016-07-15 Alan Modra <amodra@gmail.com>
220 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
222 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
224 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
226 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
227 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
228 (struct option strip_options): Add 'remove-relocations'.
229 (struct option copy_options): Likewise.
230 (copy_usage): Likewise.
231 (strip_usage): Likewise.
232 (handle_remove_relocations_option): New function.
233 (discard_relocations): New function.
234 (handle_remove_section_option): New function.
235 (copy_relocations_in_section): Use discard_relocations.
236 (strip_main): Use handle_remove_section_option for
237 'remove-section', and handle 'remove-relocations' option.
238 (copy_main): Likewise.
239 * testsuite/binutils-all/objcopy.exp: Run new tests.
240 * testsuite/binutils-all/remove-relocs-01.d: New file.
241 * testsuite/binutils-all/remove-relocs-01.s: New file.
242 * testsuite/binutils-all/remove-relocs-02.d: New file.
243 * testsuite/binutils-all/remove-relocs-03.d: New file.
244 * testsuite/binutils-all/remove-relocs-04.d: New file.
245 * testsuite/binutils-all/remove-relocs-05.d: New file.
246 * testsuite/binutils-all/remove-relocs-06.d: New file.
247 * NEWS: Mention new option.
249 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
251 * objcopy.c (find_section_list): Handle section patterns starting
252 with '!' being a non-matching pattern.
253 * doc/binutils.texi (objcopy): Give example of using '!' with
254 --remove-section and --only-section.
255 (strip): Give example of using '!' with --remove-section.
256 * testsuite/binutils-all/data-sections.s: New file.
257 * testsuite/binutils-all/only-section-01.d: New file.
258 * testsuite/binutils-all/remove-section-01.d: New file.
259 * testsuite/binutils-all/objcopy.exp: Run new tests.
260 * NEWS: Mention new feature.
262 2016-07-09 Alan Modra <amodra@gmail.com>
265 * objdump.c (compare_symbols): For ELF, sort same value/type
266 symbols according to size.
268 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
270 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
272 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
273 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
274 (process_section_headers): Rename noread to purecode.
276 * section.c (SEC_ELF_NOREAD): Rename to ...
277 (SEC_ELF_PURECODE): ... this.
279 2016-07-01 Nick Clifton <nickc@redhat.com>
281 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
282 extremely large decimal value.
283 (pr_range_type): Likewise.
284 (pr_array_type): Likewise.
285 (pr_struct_field): Likewise.
286 (pr_class_baseclass): Likewise.
287 (pr_class_method_variant): Likewise.
288 (pr_tag_type): Likewise.
289 (pr_int_constant): Likewise.
290 (pr_typed_constant): Likewise.
291 (pr_variable): Likewise.
292 (pr_function_parameter): Likewise.
293 (pr_start_block): Likewise.
294 (pr_lineno): Likewise.
295 (pr_end_block): Likewise.
296 (tg_enum_type): Likewise.
297 (tg_int_constant): Likewise.
298 (tg_typed_constant): Likewise.
299 (tg_start_block): Likewise.
301 2016-07-01 Nick Clifton <nickc@redhat.com>
303 * testsuite/binutils-all/objcopy.exp
304 (objcopy_test_without_global_symbol): Expect this test to fail on
305 the AArch64 and ARM targets, since they preserve their mapping
308 2016-07-01 Tristan Gingold <gingold@adacore.com>
310 * NEWS: Add marker for 2.27.
312 2016-07-30 Tristan Gingold <gingold@adacore.com>
314 * doc/binutils.texi (objdump): Fix mis-placement.
316 2016-06-28 Nick Clifton <nickc@redhat.com>
318 * testsuite/binutils-all/ar.exp: Relax previous restriction on
319 Alpha targets. Allow ELF based Alpha targets.
321 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
323 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
324 the `unique_symbol' test.
326 2016-06-28 Alan Modra <amodra@gmail.com>
329 * objdump.c (objdump_print_symname): Don't attempt to retrieve
330 version info from synthetic symbols.
332 2016-06-24 Alan Modra <amodra@gmail.com>
334 * objcopy.c (find_section_rename): Forward declare. Remove
335 ibfd and sec_ptr param. Add old_name param. Allow for NULL
336 returned_flags. Move read of section name and flags to..
337 (setup_section): ..here. Update find_section_rename call.
338 (filter_symbols): Rename section symbols for renamed sections.
339 (copy_object): Call filter_symbols when renamed sections.
340 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
341 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
343 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
345 (localize-hidden-1): xfail if is_bad_symtab.
346 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
349 2016-06-24 Alan Modra <amodra@gmail.com>
351 * objdump.c (struct print_file_list): Add "max_printed".
352 (try_print_file_open): Init new field.
353 (show_line): Don't show 5 context lines when redisplaying source.
355 2016-06-22 Nick Clifton <nickc@redhat.com>
357 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
358 Skip bfdtest1 tests for tic30 target.
359 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
361 * testsuite/binutils-all/compress.exp: Expect some tests to fail
363 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
364 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
366 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
368 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
369 if the bintest.o file was created. Use the
370 get_standard_section_names proc to get the name of the data
372 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
374 * testsuite/binutils-all/readelf.exp: Use
375 get_standard_section_names proc to get the name of the data
377 * testsuite/binutils-all/readelf.r: Allow for non standard text
379 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
380 * testsuite/binutils-all/size.exp: Allow for non standard section
382 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
383 to fail on mips targets.
384 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
385 get_standard_section_names proc.
386 (run_dump_test): Likewise.
387 (proc get_standard_section_names): New proc.
389 2016-06-22 Nick Clifton <nickc@redhat.com>
391 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
392 (process_mips_specific): Likewise.
393 (process_gnu_liblist): Likewise.
395 2016-06-21 Graham Markall <graham.markall@embecosm.com>
397 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
400 2016-06-15 Nick Clifton <nickc@redhat.com>
402 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
405 2016-06-14 John Baldwin <jhb@FreeBSD.org>
407 * objcopy.c (do_elf_stt_common): Use correct type.
409 2016-06-14 Alan Modra <amodra@gmail.com>
411 * ar.c: Expand uses of bfd_my_archive.
414 2016-06-14 Alan Modra <amodra@gmail.com>
417 * bucomm.c (bfd_get_archive_filename): Return file name within thin
420 2016-06-02 Nick Clifton <nickc@redhat.com>
423 * objcopy.c (group_signature): Fail if the input symbol table has
424 not been loaded, or if the sh_info field of the group header is 0.
426 * dwarf.c (display_debug_frames): Do not display any
427 interpretation if the block consists solely of DW__CFA_NOPs.
429 2016-05-31 Alan Modra <amodra@gmail.com>
431 * objcopy.c: Formatting, whitespace throughout.
432 (copy_main): Init newsym->othersym.
433 (parse_symflags): Make len a size_t. Adjust uses.
435 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
438 * NEWS: Mention --enable-64-bit-archive.
440 2016-05-18 Nick Clifton <nickc@redhat.com>
443 * objcopy.c (copy_relocations_in_section): Also check for the
444 symbol pointed to by sym_ptr_ptr being NULL.
446 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
448 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
449 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
451 * testsuite/binutils-all/mips/mips.exp: Run the new test.
453 2016-05-18 Nick Clifton <nickc@redhat.com>
455 * po/sv.po: Updated Swedish translation.
457 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
459 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
460 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
461 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
462 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
463 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
464 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
465 `d_val' rather than `d_ptr' member of the dynamic entry.
467 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
469 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
471 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
472 with the `strip-10' test.
474 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
476 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
479 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
481 * readelf.c (print_mips_ases): Add DSPR3.
483 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
485 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
486 (arm_attr_public_tags): Define DSP_extension attribute.
488 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
490 * doc/binutils.texi (nm): Update description of --size-sort.
492 2016-05-09 Nick Clifton <nickc@redhat.com>
495 * readelf.c (get_32bit_section_headers): Warn if an out of range
496 sh_link or sh_info field is encountered.
497 (get_64bit_section_headers): Likewise.
499 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
501 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
503 2016-05-03 Nick Clifton <nickc@redhat.com>
505 * po/sv.po: Updated Swedish translation.
507 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
509 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
510 PC relocation for AVR target.
511 (is_none_reloc): Return true if reloc is any of AVR diff
514 2016-04-29 Nick Clifton <nickc@redhat.com>
517 * readelf.c (get_solaris_segment_type): New function.
518 (get_segment_type): Call it.
520 2016-04-28 Nick Clifton <nickc@redhat.com>
522 * po/zh_CN.po: Updated Chinese (simplified) translation.
524 2016-04-28 Nick Clifton <nickc@redhat.com>
527 * testsuite/binutils-all/aarch64/illegal.s: New test.
528 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
530 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
532 * resres.c: Likewise.
534 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
536 * Makefile.in: Regenerated with automake 1.11.6.
537 * aclocal.m4: Likewise.
538 * doc/Makefile.in: Likewise.
540 2016-04-14 Nick Clifton <nickc@redhat.com>
543 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
544 string sections possibly having the SHF_STRINGS flag bit set.
545 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
546 * testsuite/binutils-all/readelf.s: Likewise.
547 * testsuite/binutils-all/readelf.s-64: Likewise.
548 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
549 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
551 2016-04-13 Nick Clifton <nickc@redhat.com>
554 * readelf.c (get_solaris_section_type): New function: Returns the
555 name of Solaris specific section types.
556 (get_solaris_dynamic_type): New function: Return the name of
557 Solaris specific dynamic types.
558 (get_dynamic_type): Use get_solaris_dynamic_type.
559 (get_section_type_name): Use get_solaris_section_type.
560 (get_solaris_symbol_visibility): New function: Returns Solaris
561 specific symbol visibilities.
562 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
563 (process_symbol_table): Likewise.
565 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
567 * dwarf.h (init_dwarf_regnames_s390): Declare.
568 * dwarf.c (dwarf_regnames_s390): New.
569 (init_dwarf_regnames_s390): New.
570 (init_dwarf_regnames): Call it.
571 * objdump.c (dump_dwarf): Likewise.
573 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
575 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
576 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
578 * testsuite/binutils-all/mips/mips.exp: Run the new test.
580 2016-04-04 Nick Clifton <nickc@redhat.com>
583 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
584 version number if the version is zero.
586 2016-03-29 Alan Modra <amodra@gmail.com>
588 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
589 (get_dynamic_data): Likewise.
591 2016-03-22 Nick Clifton <nickc@redhat.com>
594 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
595 with run time size check.
597 * configure: Regenerate.
599 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
601 * readelf.c (decode_ARC_machine_flags): Handle nps400.
603 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
605 * readelf.c (get_machine_flags): Move arc processing into...
606 (decode_ARC_machine_flags): ... new function. Remove use of
607 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
608 "unknown arc". Merged ABI printing between two machine types.
610 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
612 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
613 to the architecture list.
615 2016-03-21 Nick Clifton <nickc@redhat.com>
617 * dlltool.c: Replace use of alloca with call to xmalloc.
618 * dllwrap.c: Likewise.
619 * nlmconv.c: Likewise.
620 * objdump.c: Likewise.
622 * winduni.c: Likewise.
623 * configure: Regenerate.
625 2016-03-07 Nick Clifton <nickc@redhat.com>
628 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
630 * testsuite/binutils-all/empty: New, empty, file.
632 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
634 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
636 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
639 * NEWS: Mention --elf-stt-common= for objcopy.
640 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
641 * objcopy.c (do_elf_stt_common): New.
642 (command_line_switch): Add OPTION_ELF_STT_COMMON.
643 (copy_options): Add --elf-stt-common=.
644 (copy_usage): Add --elf-stt-common=.
645 (copy_object): Also check do_elf_stt_common for ELF targets.
646 (copy_file): Handle do_elf_stt_common.
647 (copy_main): Handle OPTION_ELF_STT_COMMON.
648 * readelf.c (apply_relocations): Support STT_COMMON.
649 * testsuite/binutils-all/common-1.s: New file.
650 * testsuite/binutils-all/common-1a.d: Likewise.
651 * testsuite/binutils-all/common-1b.d: Likewise.
652 * testsuite/binutils-all/common-1c.d: Likewise.
653 * testsuite/binutils-all/common-1d.d: Likewise.
654 * testsuite/binutils-all/common-1e.d: Likewise.
655 * testsuite/binutils-all/common-1f.d: Likewise.
656 * testsuite/binutils-all/common-2.s: Likewise.
657 * testsuite/binutils-all/common-2a.d: Likewise.
658 * testsuite/binutils-all/common-2b.d: Likewise.
659 * testsuite/binutils-all/common-2c.d: Likewise.
660 * testsuite/binutils-all/common-2d.d: Likewise.
661 * testsuite/binutils-all/common-2e.d: Likewise.
662 * testsuite/binutils-all/common-2f.d: Likewise.
663 * testsuite/binutils-all/objcopy.exp
664 (objcopy_test_elf_common_symbols): New proc.
665 Run objcopy_test_elf_common_symbols for ELF targets
667 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
670 * readelf.c (get_section_type_name): Add a missing break.
672 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
674 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
676 2016-02-15 Nick Clifton <nickc@redhat.com>
678 * readelf.c (get_section_type_name): Add hex prefix to offsets
679 printed for LOPROC and LOOS values. Ensure that a result is
680 always returned for the V850 target, even when an unrecognised
681 processor specific value is encountered.
682 (process_section_headers): Display key values in the order in
683 which they appear to the user. Add the "C (compressed)" value to
686 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
688 * doc/binutils.texi: Fix a typo.
690 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
692 * testsuite/binutils-all/objdump.exp: Update expected default
693 architecture value for ARC binaries.
695 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
698 * testsuite/binutils-all/objcopy.exp
699 (objcopy_test_without_global_symbol): New proc.
700 Run objcopy_test_without_global_symbol.
701 * testsuite/binutils-all/pr19547.c: New file.
703 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
706 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
708 * Makefile.in: Regenerated.
709 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
711 Run test_gnu_debuglink for native ELF build.
713 2016-01-20 Nick Clifton <nickc@redhat.com>
716 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
717 do not support inserting leading underscores.
719 2016-01-20 Mickael Guene <mickael.guene@st.com>
721 * readelf.c (get_elf_section_flags): Display y letter for section
722 with SHF_ARM_NOREAD section flag in readelf section output.
723 (process_section_headers): Add y letter in readelf section output
724 key mapping for ARM architecture.
725 * objdump.c (dump_section_header): Display NOREAD attributes as
727 * doc/binutils.texi (objdump): Note that it is correct for
728 sections to have both the READONLY and NOREAD attributes.
730 2016-01-19 John Baldwin <jhb@FreeBSD.org>
732 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
734 2016-01-19 John Baldwin <jhb@FreeBSD.org>
736 * readelf.c (get_freebsd_elfcore_note_type): New
737 (process_note): Add support for FreeBSD core notes.
739 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
740 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
742 * readelf.c (get_machine_flags): Add support for newer ARC ELF
745 2016-01-18 Alan Modra <amodra@gmail.com>
747 * configure: Regenerate.
749 2016-01-17 Alan Modra <amodra@gmail.com>
751 * configure: Regenerate.
753 2016-01-17 Alan Modra <amodra@gmail.com>
755 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
756 for m68hc11/12 and xgate triples.
758 2016-01-17 Alan Modra <amodra@gmail.com>
760 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
762 2016-01-01 Alan Modra <amodra@gmail.com>
764 Update year range in copyright notice of all files.
766 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
768 Copyright (C) 2016 Free Software Foundation, Inc.
770 Copying and distribution of this file, with or without modification,
771 are permitted in any medium without royalty provided the copyright
772 notice and this notice are preserved.
778 version-control: never