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