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