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