12016-12-23  Maciej W. Rozycki  <macro@imgtec.com>
2
3	* testsuite/binutils-all/mips/mips16-extend-insn.d: Update for
4	ASMACRO support.
5
62016-12-23  Maciej W. Rozycki  <macro@imgtec.com>
7
8	* testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
9	* testsuite/binutils-all/mips/mips16-extend-insn.s: New test
10	source.
11	* testsuite/binutils-all/mips/mips.exp: Run the new tests.
12
132016-12-23  Tristan Gingold  <gingold@adacore.com>
14
15	* configure: Regenerate.
16
172016-12-23  Tristan Gingold  <gingold@adacore.com>
18
19	* NEWS: Add marker for 2.28.
20
212016-12-23  Tristan Gingold  <gingold@adacore.com>
22
23	* po/binutils.pot: Regenerate.
24
252016-12-20  Maciej W. Rozycki  <macro@imgtec.com>
26
27	* testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
28	rather than `.set' to set the ISA level.
29
302016-12-20  Maciej W. Rozycki  <macro@imgtec.com>
31
32	* testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
33	test for separate EXTEND prefix disassembly.
34
352016-12-20  Andrew Waterman  <andrew@sifive.com>
36
37	* readelf.c (get_machine_flags): Use
38	EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
39	EF_RISCV_{SOFT,HARD}_FLOAT.
40
412016-12-14  Maciej W. Rozycki  <macro@imgtec.com>
42
43	* testsuite/binutils-all/mips/mips-ase-1.d: New test.
44	* testsuite/binutils-all/mips/mips-ase-2.d: New test.
45	* testsuite/binutils-all/mips/mips-ase-3.d: New test.
46	* testsuite/binutils-all/mips/mips-ase-1.s: New test source.
47	* testsuite/binutils-all/mips/mips-ase-2.s: New test source.
48	* testsuite/binutils-all/mips/mips.exp: Run the new tests.
49
502016-12-13  Jiong Wang  <jiong.wang@arm.com>
51
52	* readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
53
542016-12-13  Nick Clifton  <nickc@redhat.com>
55
56	* MAINTAINERS (Past Maintainers): New section.  Move Mark
57	Mitchell's name here.
58
592016-12-09  Maciej W. Rozycki  <macro@imgtec.com>
60
61	* testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
62	* testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
63	source.
64	* testsuite/binutils-all/mips/mips.exp: Run the new test.
65
662016-12-08  Maciej W. Rozycki  <macro@imgtec.com>
67
68	* testsuite/binutils-all/mips/mips16-pcrel.d: New test.
69	* testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
70	* testsuite/binutils-all/mips/mips.exp: Run the new test.
71
722016-12-08  ��tienne Buira  <etienne.buira@gmail.com>
73
74	* readelf.c (process_program_headers): Always use hex prefix when
75	displaying the segment alignment.
76
772016-12-06  Nick Clifton  <nickc@redhat.com>
78
79	PR binutils/20930
80	* objcopy.c (mark_symbols_used_in_relocations): Check for a null
81	symbol pointer pointer before attempting to mark the symbol as
82	kept.
83
842016-12-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
85
86	* MAINTAINERS: Add myself as maintainer for the SPARC targets.
87
882016-12-05  Nick Clifton  <nickc@redhat.com>
89
90	PR ld/20923
91	* objcopy.c (mark_symbols_used_in_relocations): Check for a null
92	symbol pointer before attempting to mark the symbol as kept.
93
942016-12-01  Luis Machado  <lgustavo@codesourcery.com>
95
96	* nm.c (sort_symbols_by_size): Don't read symbol size if symbol
97	is synthetic.
98
992016-11-30  Nick Clifton  <nickc@redhat.com>
100
101	PR ld/20815
102	* readelf.c (process_program_headers): Do not warn about out of
103	order PT_LOAD segments.
104
1052016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>
106
107	* testsuite/binutils-all/arc/objdump.exp (Warning test): Update
108	test.
109
1102016-11-27  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
111
112	* dwarf.c: Fix spelling in comments.
113	* dwarf.h: Fix spelling in comments.
114	* objcopy.c: Fix spelling in comments.
115	* od-macho.c: Fix spelling in comments.
116	* rclex.c: Fix spelling in comments.
117	* readelf.c: Fix spelling in comments.
118	* stabs.c: Fix spelling in comments.
119
1202016-11-23  Nick Clifton  <nickc@redhat.com>
121
122	PR ld/20815
123	* readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
124	segments for validity.
125
1262016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
127
128        * configure: Regenerate.
129
1302016-11-22  Alan Modra  <amodra@gmail.com>
131
132	PR 20744
133	* NEWS: Mention PowerPC VLE relocation error.
134
1352016-11-16  Mark Wielaard  <mark@klomp.org>
136
137	* cxxfilt.c (main): Recognize rust_demangling.
138
1392016-11-14  Rudy  <jacky.chouchou@yandex.ru>
140
141	PR binutils/20814
142	* dlltool.c (struct export): Remove hint field.
143	(make_one_lib_file): Store the ordinal value for IDATA6 not the
144	hint.
145	(gen_lib_file): Delete reference to hint field.
146	(mangle_defs): Delete computation of hint field.
147
1482016-11-11  Nick Clifton  <nickc@redhat.com>
149
150	PR binutils/20751
151	* nm.c (with_symbol_versions): New local variable.
152	(long_options): Add --with-symbol-versions.
153	(usage): Mention --with-symbol-versions.
154	(print_symbol): If with_symbol_versions is set then display the
155	version information associated with the symbol.
156	* NEWS: Mention the new feature.
157	* doc/binutils.texi (nm): Document the new option.
158	(objdump): Describe how symbol version information is displayed
159	for dynamic symbol dumps.
160	(readelf): Describe how symbol version information is displayed.
161	* testsuite/binutils-all/nm.exp: Add a test of the new feature.
162
1632016-11-08  Nick Clifton  <nickc@redhat.com>
164
165	PR binutils/20794
166	* readelf.c (process_section_headers): Fix off-by-one error when
167	checking for invalid sh_link and sh_info fields.
168
1692016-11-04  Andrew Burgess  <andrew.burgess@embecosm.com>
170
171	* objcopy.c (copy_section): Add extra calls to free for error
172	paths.
173
1742016-11-04  Tom Tromey  <tom@tromey.com>
175
176	* dwarf-mode.el (dwarf-browse): Set default-directory.  Bump
177	version number.
178
1792016-11-04  Palmer Dabbelt <palmer@dabbelt.com>
180
181	* MAINTAINERS: Add myself and Andrew Waterman as maintainers for
182	the RISC-V target.
183
1842016-11-01  Palmer Dabbelt  <palmer@dabbelt.com>
185	    Andrew Waterman <andrew@sifive.com>
186
187	Add support for RISC-V architecture.
188	* readelf.c (guess_is_rela): Add EM_RISCV.
189	(get_machine_name): Likewise.
190	(dump_relocations): Add support for riscv relocations.
191	(get_machine_flags): Add support for riscv flags.
192	(is_32bit_abs_reloc): Add R_RISCV_32.
193	(is_64bit_abs_reloc): Add R_RISCV_64.
194	(is_none_reloc): Add R_RISCV_NONE.
195	* testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
196	Expect the debug_ranges test to fail.
197
1982016-10-17  Nick Clifton  <nickc@redhat.com>
199
200	* readelf.c (apply_relocations): Fail if the symbol table section
201	linked to by the reloc section does not have either the SHT_SYMTAB
202	or SHT_DYNSYM type.
203	(print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
204	Print the contents of unknown note types.
205	(process_note): Add the file and section to the parameter list.
206	Use print_symbol to display the note name.
207	Display the contents of unknown note types.
208	(process_corefile_note_segment): Rename to process_notes_at.
209	Add section parameter.  Apply relocations to the notes when
210	loading from a section.  Display section name when processing
211	notes in a section.
212	* testsuite/binutils-all/readelf.n: Update expected output.
213
2142016-10-17  Nick Clifton  <nickc@redhat.com>
215
216	* readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
217	(get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
218	EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
219	EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
220	EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
221	EM_Z80, EM_AMDGPU, EM_RISCV.
222	(get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
223	(get_group_flags): Update to handle flags in the
224	GRP_MASKOS and GRP_MASKPROC ranges.
225
2262016-10-14  Luis Machado  <lgustavo@codesourcery.com>
227
228	* testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
229	to copy file to remote host.
230
2312016-10-11  Nick Clifton  <nickc@redhat.com>
232
233	* objdump.c (is_significant_symbol_name): New function.
234	(remove_useless_symbols): Do not remove significanr symbols.
235	(find_symbol_for_address): If an exact match for the specified
236	address has not been found, try scanning the dynamic relocs to see
237	if one of these matches the address.  If so, use the symbol
238	associated with the reloc.
239	(objdump_print_addr_with_symbol): Do not print offsets to symbols
240	with no value.
241	(disassemble_section): Only use dynamic relocs if the user
242	requested this.
243	(disassemble_data): Always load dynamic relocs if they are
244	available.
245
2462016-10-06  Alan Modra  <amodra@gmail.com>
247
248	* dlltool.c: Spell fall through comments consistently.
249	* objcopy.c: Likewise.
250	* readelf.c: Likewise.
251	* dwarf.c: Add missing fall through comments.
252	* elfcomm.c: Likewise.
253	* sysinfo.y: Likewise.
254	* readelf.c: Likewise.  Also remove extraneous comments.
255
2562016-10-06  Alan Modra  <amodra@gmail.com>
257
258	* cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
259	* elfedit.c (usage): Likewise.
260	* nm.c (usage): Likewise.
261	* objcopy.c (copy_usage, strip_usage): Likewise.
262	* srconv.c (show_usage): Likewise.
263	* strings.c (usage): Likewise.
264	* sysdump.c (show_usage): Likewise.
265	* srconv.c: Remove unneeded forward function declarations.
266	* strings.c: Likewise.
267	* sysdump.c: Likewise.
268
2692016-10-06  Alan Modra  <amodra@gmail.com>
270
271	* coffdump.c (dump_coff_where): Add missing break.
272	* stabs.c (stab_xcoff_builtin_type): Likewise.
273
2742016-09-29  Alan Modra  <amodra@gmail.com>
275
276	* readelf.c (process_arch_specific): Call process_power_specific
277	for EM_PPC64.
278
2792016-09-26  Vlad Zakharov  <vzakhar@synopsys.com>
280
281	* Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
282	when building with CC_FOR_BUILD compiler.
283	* Makefile.in: Regenerate.
284	* configure: Likewise.
285	* doc/Makefile.in: Likewise.
286
2872016-09-26  Alan Modra  <amodra@gmail.com>
288
289	* readelf.c (display_power_gnu_attribute): Catch truncated section
290	for all powerpc attributes.  Display long double ABI.  Don't
291	capitalize words, except for names.  Show known bits of tag values
292	when some unknown bits are present.  Whitespace fixes.
293
2942016-09-26  Alan Modra  <amodra@gmail.com>
295
296	* nm.c (get_elf_symbol_type): Don't use sprintf with translated
297	strings, use asprintf instead.
298	(get_coff_symbol_type): Likewise.
299
3002016-09-19  Alan Modra  <amodra@gmail.com>
301
302	* nm.c (print_symbol): Remove is_synthetic param.  Test sym->flags
303	instead.
304	(print_size_symbols, print_symbols): Adjust to suit, deleting
305	now unused synth_count param and fromsynth var.
306	(display_rel_file): Adjust, localizing synth_count.
307
3082016-09-14  Ed Maste  <emaste@freebsd.org>
309
310	* readelf.c (process_mips_specific): Fix typo in error message.
311
3122016-09-06  Nick Clifton  <nickc@redhat.com>
313
314	* readelf.c (request_dump_bynumber): Only call memcpy if
315	dump_sects is not NULL.
316
3172016-08-29  H.J. Lu  <hongjiu.lu@intel.com>
318
319	* readelf.c (load_specific_debug_section): Check the external
320	compression header size.
321
3222016-08-19  Nick Clifton  <nickc@redhat.com>
323
324	* readelf.c (process_section_headers): Sanity check section headers.
325	(process_symbol_table): Don't warn on solaris binaries with local
326	symbols past symtab sh_info.
327	* testsuite/binutils-all/readelf.s: Adjust expected ordering of
328	sections.
329	* testsuite/binutils-all/readelf.s-64: Likewise.
330
3312016-08-12  Nick Clifton  <nickc@redhat.com>
332
333	* readelf.c (process_symbol_table): Generate a warning if a local
334	symbol is found at and offste greater than or equal to the sh_info
335	field of it's section header.
336
3372016-08-08  Nick Clifton  <nickc@redhat.com>
338
339	PR binutils/20440
340	* dwarf.c (display_debug_lines_decoded): Add checks for running
341	off the end of the section when populating the directory table and
342	file table.
343	(frame_display_row): Set max_regs equal to ncols.
344	* readelf.c (load_specific_debug_section): If the section is
345	compressed, but it is not big enough to hold a compression
346	header then warn and return 0.
347
348	PR binutils/20439
349	* dwarf.c (display_debug_lines_decoded): Check directory and file
350	indicies before using them to access directory and file tables.
351
3522016-08-02  Nick Clifton  <nickc@redhat.com>
353
354	PR binutils/17512
355	* resbin.c (bin_to_res_version): Cast variables to correct type
356	for printing in error message.
357
3582016-07-28  Nick Clifton  <nickc@redhat.com>
359
360	PR binutils/17512
361	* rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
362	* resbin.c (bin_to_res_version): Allow for the padded length of a
363	version block to be longer than the recorded length.  Skip padding
364	bytes.
365
3662016-07-21  H.J. Lu  <hongjiu.lu@intel.com>
367
368	* configure: Regenerated.
369
3702016-07-20  Claudiu Zissulescu  <claziss@synopsys.com>
371
372	* doc/binutils.texi (objdump): Add ARC disassembler options.
373	* testsuite/binutils-all/arc/dsp.s: New file.
374	* testsuite/binutils-all/arc/objdump.exp: Likewise.
375	* NEWS: Mention the new feature.
376
3772016-07-20  Nick Clifton  <nickc@redhat.com>
378
379	* doc/binutils.texi (objcopy): Note that the localize symbol
380	options do not affect unique symbols.
381
3822016-07-16  Alan Modra  <amodra@gmail.com>
383
384	* ar.c: Include plugin-api.h.
385	* nm.c: Likewise.
386
3872016-07-16  Alan Modra  <amodra@gmail.com>
388
389	* bucomm.c: Don't include libbfd.h.
390	(endian_string, display_target_list): Delete forward declaration.
391	(display_info_table, display_target_tables): Likewise.
392	(LONGEST_ARCH): Delete.
393	(struct display_target): New.
394	(do_display_target): New function.
395	(display_target_list, display_info): Rewrite functions.
396	(display_info_table): Delete.
397	(do_info_size, do_info_header, do_info_row): New functions.
398
3992016-07-16  Alan Modra  <amodra@gmail.com>
400
401	* elfcomm.h (HOST_WIDEST_INT): Move to..
402	* sysdep.h: ..here.
403	* od-macho.c: Don't include libbfd.h.  Do include dwarf.h
404	(dump_dyld_info_rebase): Use read_leb128 rather than
405	read_unsigned_leb128.
406	(dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
407	(dump_segment_split_info): Likewise.
408	(dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
409	(dump_load_command): Likewise.
410
4112016-07-16  Alan Modra  <amodra@gmail.com>
412
413	* ar.c: Don't include libbfd.h.
414	* objcopy.c: Likewise.
415	* bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
416	bfd_malloc.
417
4182016-07-15  Alan Modra  <amodra@gmail.com>
419
420	* testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
421
4222016-07-14  Andrew Burgess  <andrew.burgess@embecosm.com>
423
424	* doc/binutils.texi (objcopy): Document 'remove-relocations'.
425	(strip): Likewise.
426	* objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
427	(enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
428	(struct option strip_options): Add 'remove-relocations'.
429	(struct option copy_options): Likewise.
430	(copy_usage): Likewise.
431	(strip_usage): Likewise.
432	(handle_remove_relocations_option): New function.
433	(discard_relocations): New function.
434	(handle_remove_section_option): New function.
435	(copy_relocations_in_section): Use discard_relocations.
436	(strip_main): Use handle_remove_section_option for
437	'remove-section', and handle 'remove-relocations' option.
438	(copy_main): Likewise.
439	* testsuite/binutils-all/objcopy.exp: Run new tests.
440	* testsuite/binutils-all/remove-relocs-01.d: New file.
441	* testsuite/binutils-all/remove-relocs-01.s: New file.
442	* testsuite/binutils-all/remove-relocs-02.d: New file.
443	* testsuite/binutils-all/remove-relocs-03.d: New file.
444	* testsuite/binutils-all/remove-relocs-04.d: New file.
445	* testsuite/binutils-all/remove-relocs-05.d: New file.
446	* testsuite/binutils-all/remove-relocs-06.d: New file.
447	* NEWS: Mention new option.
448
4492016-07-14  Andrew Burgess  <andrew.burgess@embecosm.com>
450
451	* objcopy.c (find_section_list): Handle section patterns starting
452	with '!' being a non-matching pattern.
453	* doc/binutils.texi (objcopy): Give example of using '!' with
454	--remove-section and --only-section.
455	(strip): Give example of using '!' with --remove-section.
456	* testsuite/binutils-all/data-sections.s: New file.
457	* testsuite/binutils-all/only-section-01.d: New file.
458	* testsuite/binutils-all/remove-section-01.d: New file.
459	* testsuite/binutils-all/objcopy.exp: Run new tests.
460	* NEWS: Mention new feature.
461
4622016-07-09  Alan Modra  <amodra@gmail.com>
463
464	PR binutils/20337
465	* objdump.c (compare_symbols): For ELF, sort same value/type
466	symbols according to size.
467
4682016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
469
470	* objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
471	to SEC_ELF_NOREAD.
472	* readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
473	ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
474	(process_section_headers): Rename noread to purecode.
475
476	* section.c (SEC_ELF_NOREAD): Rename to ...
477	(SEC_ELF_PURECODE): ... this.
478
4792016-07-01  Nick Clifton  <nickc@redhat.com>
480
481	* prdbg.c (pr_enum_type): Use a buffer big enough to hold an
482	extremely large decimal value.
483	(pr_range_type): Likewise.
484	(pr_array_type): Likewise.
485	(pr_struct_field): Likewise.
486	(pr_class_baseclass): Likewise.
487	(pr_class_method_variant): Likewise.
488	(pr_tag_type): Likewise.
489	(pr_int_constant): Likewise.
490	(pr_typed_constant): Likewise.
491	(pr_variable): Likewise.
492	(pr_function_parameter): Likewise.
493	(pr_start_block): Likewise.
494	(pr_lineno): Likewise.
495	(pr_end_block): Likewise.
496	(tg_enum_type): Likewise.
497	(tg_int_constant): Likewise.
498	(tg_typed_constant): Likewise.
499	(tg_start_block): Likewise.
500
5012016-07-01  Nick Clifton  <nickc@redhat.com>
502
503	* testsuite/binutils-all/objcopy.exp
504	(objcopy_test_without_global_symbol): Expect this test to fail on
505	the AArch64 and ARM targets, since they preserve their mapping
506	symbols.
507
5082016-07-01  Tristan Gingold  <gingold@adacore.com>
509
510	* NEWS: Add marker for 2.27.
511
5122016-07-30  Tristan Gingold  <gingold@adacore.com>
513
514	* doc/binutils.texi (objdump): Fix mis-placement.
515
5162016-06-28  Nick Clifton  <nickc@redhat.com>
517
518	* testsuite/binutils-all/ar.exp: Relax previous restriction on
519	Alpha targets.  Allow ELF based Alpha targets.
520
5212016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
522
523	* testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
524	the `unique_symbol' test.
525
5262016-06-28  Alan Modra  <amodra@gmail.com>
527
528	PR 20304
529	* objdump.c (objdump_print_symname): Don't attempt to retrieve
530	version info from synthetic symbols.
531
5322016-06-24  Alan Modra  <amodra@gmail.com>
533
534	* objcopy.c (find_section_rename): Forward declare.  Remove
535	ibfd and sec_ptr param.  Add old_name param.  Allow for NULL
536	returned_flags.  Move read of section name and flags to..
537	(setup_section): ..here.  Update find_section_rename call.
538	(filter_symbols): Rename section symbols for renamed sections.
539	(copy_object): Call filter_symbols when renamed sections.
540	* testsuite/lib/binutils-common.exp (is_bad_symtab): New.
541	* testsuite/binutils-all/update-section.exp: Revert 96037eb0
542	mips xfail.
543	* testsuite/binutils-all/objcopy.exp (copy_executable): Use
544	is_bad_symtab.
545	(localize-hidden-1): xfail if is_bad_symtab.
546	* testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
547	between mips/tmips.
548
5492016-06-24  Alan Modra  <amodra@gmail.com>
550
551	* objdump.c (struct print_file_list): Add "max_printed".
552	(try_print_file_open): Init new field.
553	(show_line): Don't show 5 context lines when redisplaying source.
554
5552016-06-22  Nick Clifton  <nickc@redhat.com>
556
557	* testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
558	Skip bfdtest1 tests for tic30 target.
559	* testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
560	target.
561	* testsuite/binutils-all/compress.exp: Expect some tests to fail
562	on the nds32.
563	* testsuite/binutils-all/copy-3.d: Skip for go32 targets.
564	* testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
565	targets.
566	* testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
567	targets.
568	* testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
569	if the bintest.o file was created.  Use the
570	get_standard_section_names proc to get the name of the data
571	section.
572	* testsuite/binutils-all/objdump.exp: Update regexps to allow for
573	RX section names.
574	* testsuite/binutils-all/readelf.exp: Use
575	get_standard_section_names proc to get the name of the data
576	section.
577	* testsuite/binutils-all/readelf.r: Allow for non standard text
578	section names.
579	* testsuite/binutils-all/readelf.s: Update regexps for tilepro.
580	* testsuite/binutils-all/size.exp: Allow for non standard section
581	names.
582	* testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
583	to fail on mips targets.
584	* testsuite/lib/utils-lib.exp (default_binutils_run): Use
585	get_standard_section_names proc.
586	(run_dump_test): Likewise.
587	(proc get_standard_section_names): New proc.
588
5892016-06-22  Nick Clifton  <nickc@redhat.com>
590
591	* readelf.c (dynamic_section_mips_val): Increase size of timebuf.
592	(process_mips_specific): Likewise.
593	(process_gnu_liblist): Likewise.
594
5952016-06-21  Graham Markall  <graham.markall@embecosm.com>
596
597	* readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
598	case.
599
6002016-06-15  Nick Clifton  <nickc@redhat.com>
601
602	* readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
603	reloc.
604
6052016-06-14  John Baldwin  <jhb@FreeBSD.org>
606
607	* objcopy.c (do_elf_stt_common): Use correct type.
608
6092016-06-14  Alan Modra  <amodra@gmail.com>
610
611	* ar.c: Expand uses of bfd_my_archive.
612	* size.c: Likewise.
613
6142016-06-14  Alan Modra  <amodra@gmail.com>
615
616	PR ld/20241
617	* bucomm.c (bfd_get_archive_filename): Return file name within thin
618	archive.
619
6202016-06-02  Nick Clifton  <nickc@redhat.com>
621
622	PR 20089
623	* objcopy.c (group_signature): Fail if the input symbol table has
624	not been loaded, or if the sh_info field of the group header is 0.
625
626	* dwarf.c (display_debug_frames): Do not display any
627	interpretation if the block consists solely of DW__CFA_NOPs.
628
6292016-05-31  Alan Modra  <amodra@gmail.com>
630
631	* objcopy.c: Formatting, whitespace throughout.
632	(copy_main): Init newsym->othersym.
633	(parse_symflags): Make len a size_t.  Adjust uses.
634
6352016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
636
637	PR binutils/14625
638	* NEWS: Mention --enable-64-bit-archive.
639
6402016-05-18  Nick Clifton  <nickc@redhat.com>
641
642	PR 20096
643	* objcopy.c (copy_relocations_in_section): Also check for the
644	symbol pointed to by sym_ptr_ptr being NULL.
645
6462016-05-18  Maciej W. Rozycki  <macro@imgtec.com>
647
648	* testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
649	* testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
650	source.
651	* testsuite/binutils-all/mips/mips.exp: Run the new test.
652
6532016-05-18  Nick Clifton  <nickc@redhat.com>
654
655	* po/sv.po: Updated Swedish translation.
656
6572016-05-18  Maciej W. Rozycki  <macro@imgtec.com>
658
659	* readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
660	<DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
661	<DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
662	<DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
663	<DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
664	<DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
665	`d_val' rather than `d_ptr' member of the dynamic entry.
666
6672016-05-17  Maciej W. Rozycki  <macro@imgtec.com>
668
669	* testsuite/lib/binutils-common.exp (supports_gnu_unique): New
670	procedure.
671	* testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
672	with the `strip-10' test.
673
6742016-05-16  Maciej W. Rozycki  <macro@imgtec.com>
675
676	* testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
677	test for the V850.
678
6792016-05-11  Andrew Bennett  <andrew.bennett@imgtec.com>
680
681	* readelf.c (print_mips_ases): Add DSPR3.
682
6832016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
684
685	* readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
686	(arm_attr_public_tags): Define DSP_extension attribute.
687
6882016-05-10  Andrew Burgess  <andrew.burgess@embecosm.com>
689
690	* doc/binutils.texi (nm): Update description of --size-sort.
691
6922016-05-09  Nick Clifton  <nickc@redhat.com>
693
694	PR binutils/20063
695	* readelf.c (get_32bit_section_headers): Warn if an out of range
696	sh_link or sh_info field is encountered.
697	(get_64bit_section_headers): Likewise.
698
6992016-05-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
700
701	* testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
702
7032016-05-03  Nick Clifton  <nickc@redhat.com>
704
705	* po/sv.po: Updated Swedish translation.
706
7072016-04-29  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
708
709	* readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
710	PC relocation for AVR target.
711	(is_none_reloc): Return true if reloc is any of AVR diff
712	relocations.
713
7142016-04-29  Nick Clifton  <nickc@redhat.com>
715
716	PR 19938
717	* readelf.c (get_solaris_segment_type): New function.
718	(get_segment_type): Call it.
719
7202016-04-28  Nick Clifton  <nickc@redhat.com>
721
722	* po/zh_CN.po: Updated Chinese (simplified) translation.
723
7242016-04-28  Nick Clifton  <nickc@redhat.com>
725
726	PR target/19722
727	* testsuite/binutils-all/aarch64/illegal.s: New test.
728	* testsuite/binutils-all/aarch64/illegal.d: New test driver.
729
7302016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
731
732	* resres.c: Likewise.
733
7342016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
735
736	* Makefile.in: Regenerated with automake 1.11.6.
737	* aclocal.m4: Likewise.
738	* doc/Makefile.in: Likewise.
739
7402016-04-14  Nick Clifton  <nickc@redhat.com>
741
742	PR target/19938
743	* testsuite/binutils-all/i386/compressed-1b.d: Allow for the
744	string sections possibly having the SHF_STRINGS flag bit set.
745	* testsuite/binutils-all/i386/compressed-1c.d: Likewise.
746	* testsuite/binutils-all/readelf.s: Likewise.
747	* testsuite/binutils-all/readelf.s-64: Likewise.
748	* testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
749	* testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
750
7512016-04-13  Nick Clifton  <nickc@redhat.com>
752
753	PR target/19938
754	* readelf.c (get_solaris_section_type): New function: Returns the
755	name of Solaris specific section types.
756	(get_solaris_dynamic_type): New function: Return the name of
757	Solaris specific dynamic types.
758	(get_dynamic_type): Use get_solaris_dynamic_type.
759	(get_section_type_name): Use get_solaris_section_type.
760	(get_solaris_symbol_visibility): New function: Returns Solaris
761	specific symbol visibilities.
762	(print_dynamic_symbol): Use get_solaris_symbol_visibility.
763	(process_symbol_table): Likewise.
764
7652016-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
766
767	* dwarf.h (init_dwarf_regnames_s390): Declare.
768	* dwarf.c (dwarf_regnames_s390): New.
769	(init_dwarf_regnames_s390): New.
770	(init_dwarf_regnames): Call it.
771	* objdump.c (dump_dwarf): Likewise.
772
7732016-04-11  Maciej W. Rozycki  <macro@imgtec.com>
774
775	* testsuite/binutils-all/mips/mips16-undecoded.d: New test.
776	* testsuite/binutils-all/mips/mips16-undecoded.s: New test
777	source.
778	* testsuite/binutils-all/mips/mips.exp: Run the new test.
779
7802016-04-04  Nick Clifton  <nickc@redhat.com>
781
782	PR 19872
783	* dwarf.c (display_debug_aranges): Skip warning about unrecognised
784	version number if the version is zero.
785
7862016-03-29  Alan Modra  <amodra@gmail.com>
787
788	* readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
789	(get_dynamic_data): Likewise.
790
7912016-03-22  Nick Clifton  <nickc@redhat.com>
792
793	PR 19851
794	* dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
795	with run time size check.
796
797	* configure: Regenerate.
798
7992016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
800
801	* readelf.c (decode_ARC_machine_flags): Handle nps400.
802
8032016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
804
805	* readelf.c (get_machine_flags): Move arc processing into...
806	(decode_ARC_machine_flags): ... new function.  Remove use of
807	EF_ARC_CPU_GENERIC, change default case from "generic arc" to
808	"unknown arc".  Merged ABI printing between two machine types.
809
8102016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
811
812	* testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
813	to the architecture list.
814
8152016-03-21  Nick Clifton  <nickc@redhat.com>
816
817	* dlltool.c: Replace use of alloca with call to xmalloc.
818	* dllwrap.c: Likewise.
819	* nlmconv.c: Likewise.
820	* objdump.c: Likewise.
821	* resrc.c: Likewise.
822	* winduni.c: Likewise.
823	* configure: Regenerate.
824
8252016-03-07  Nick Clifton  <nickc@redhat.com>
826
827	PR binutils/19775
828	* testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
829	Run the new proc.
830	* testsuite/binutils-all/empty: New, empty, file.
831
8322016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
833
834	* readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
835
8362016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
837
838	PR ld/19645
839	* NEWS: Mention --elf-stt-common= for objcopy.
840	* doc/binutils.texi: Document --elf-stt-common= for objcopy.
841	* objcopy.c (do_elf_stt_common): New.
842	(command_line_switch): Add OPTION_ELF_STT_COMMON.
843	(copy_options): Add --elf-stt-common=.
844	(copy_usage): Add --elf-stt-common=.
845	(copy_object): Also check do_elf_stt_common for ELF targets.
846	(copy_file): Handle do_elf_stt_common.
847	(copy_main): Handle OPTION_ELF_STT_COMMON.
848	* readelf.c (apply_relocations): Support STT_COMMON.
849	* testsuite/binutils-all/common-1.s: New file.
850	* testsuite/binutils-all/common-1a.d: Likewise.
851	* testsuite/binutils-all/common-1b.d: Likewise.
852	* testsuite/binutils-all/common-1c.d: Likewise.
853	* testsuite/binutils-all/common-1d.d: Likewise.
854	* testsuite/binutils-all/common-1e.d: Likewise.
855	* testsuite/binutils-all/common-1f.d: Likewise.
856	* testsuite/binutils-all/common-2.s: Likewise.
857	* testsuite/binutils-all/common-2a.d: Likewise.
858	* testsuite/binutils-all/common-2b.d: Likewise.
859	* testsuite/binutils-all/common-2c.d: Likewise.
860	* testsuite/binutils-all/common-2d.d: Likewise.
861	* testsuite/binutils-all/common-2e.d: Likewise.
862	* testsuite/binutils-all/common-2f.d: Likewise.
863	* testsuite/binutils-all/objcopy.exp
864	(objcopy_test_elf_common_symbols): New proc.
865	Run objcopy_test_elf_common_symbols for ELF targets
866
8672016-02-16  H.J. Lu  <hongjiu.lu@intel.com>
868
869	PR binutils/19647
870	* readelf.c (get_section_type_name): Add a missing break.
871
8722016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
873
874	* readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
875
8762016-02-15  Nick Clifton  <nickc@redhat.com>
877
878	* readelf.c (get_section_type_name): Add hex prefix to offsets
879	printed for LOPROC and LOOS values.  Ensure that a result is
880	always returned for the V850 target, even when an unrecognised
881	processor specific value is encountered.
882	(process_section_headers): Display key values in the order in
883	which they appear to the user.  Add the "C (compressed)" value to
884	the list.
885
8862016-02-12  H.J. Lu  <hongjiu.lu@intel.com>
887
888	* doc/binutils.texi: Fix a typo.
889
8902016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
891
892	* testsuite/binutils-all/objdump.exp: Update expected default
893	architecture value for ARC binaries.
894
8952016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
896
897	PR binutils/19547
898	* testsuite/binutils-all/objcopy.exp
899	(objcopy_test_without_global_symbol): New proc.
900	Run objcopy_test_without_global_symbol.
901	* testsuite/binutils-all/pr19547.c: New file.
902
9032016-01-28  H.J. Lu  <hongjiu.lu@intel.com>
904
905	PR binutils/19523
906	* Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
907	runtest.
908	* Makefile.in: Regenerated.
909	* testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
910	proc.
911	Run test_gnu_debuglink for native ELF build.
912
9132016-01-20  Nick Clifton  <nickc@redhat.com>
914
915	PR 19495
916	* testsuite/binutils-all/dlltool.exp: Fix tests for targets which
917	do not support inserting leading underscores.
918
9192016-01-20  Mickael Guene  <mickael.guene@st.com>
920
921	* readelf.c (get_elf_section_flags): Display y letter for section
922	with SHF_ARM_NOREAD section flag in readelf section output.
923	(process_section_headers): Add y letter in readelf section output
924	key mapping for ARM architecture.
925	* objdump.c (dump_section_header): Display NOREAD attributes as
926	well.
927	* doc/binutils.texi (objdump): Note that it is correct for
928	sections to have both the READONLY and NOREAD attributes.
929
9302016-01-19  John Baldwin  <jhb@FreeBSD.org>
931
932	* readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
933
9342016-01-19  John Baldwin  <jhb@FreeBSD.org>
935
936	* readelf.c (get_freebsd_elfcore_note_type): New
937	(process_note): Add support for FreeBSD core notes.
938
9392016-01-18  Miranda Cupertino  <Cupertino.Miranda@synopsys.com>
940	    Zissulescu Claudiu  <Claudiu.Zissulescu@synopsys.com>
941
942	* readelf.c (get_machine_flags): Add support for newer ARC ELF
943	header flags.
944
9452016-01-18  Alan Modra  <amodra@gmail.com>
946
947	* configure: Regenerate.
948
9492016-01-17  Alan Modra  <amodra@gmail.com>
950
951	* configure: Regenerate.
952
9532016-01-17  Alan Modra  <amodra@gmail.com>
954
955	* testsuite/lib/binutils-common.exp (is_elf_format): Return true
956	for m68hc11/12 and xgate triples.
957
9582016-01-17  Alan Modra  <amodra@gmail.com>
959
960	* readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
961
9622016-01-01  Alan Modra  <amodra@gmail.com>
963
964	Update year range in copyright notice of all files.
965
966For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
967
968Copyright (C) 2016 Free Software Foundation, Inc.
969
970Copying and distribution of this file, with or without modification,
971are permitted in any medium without royalty provided the copyright
972notice and this notice are preserved.
973
974Local Variables:
975mode: change-log
976left-margin: 8
977fill-column: 74
978version-control: never
979End:
980