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