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