xref: /netbsd-src/external/gpl3/binutils.old/dist/binutils/ChangeLog-2015 (revision e058c8347842b87e4b9a56e53953d195abd0ac94)
1*e058c834Schristos2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2*e058c834Schristos
3*e058c834Schristos	* readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Baseline Tag_CPU_arch
4*e058c834Schristos	value.
5*e058c834Schristos
6*e058c834Schristos2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
7*e058c834Schristos
8*e058c834Schristos	* readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Mainline Tag_CPU_arch
9*e058c834Schristos	value.
10*e058c834Schristos	(arm_attr_tag_THUMB_ISA_use): Add ARMv8-M Mainline Tag_THUMB_ISA_use
11*e058c834Schristos	value.
12*e058c834Schristos
13*e058c834Schristos2015-12-22  Nick Clifton  <nickc@redhat.com>
14*e058c834Schristos
15*e058c834Schristos	* readelf.c (get_elf_section_flags): Add support for ARM specific
16*e058c834Schristos	section flags.
17*e058c834Schristos
18*e058c834Schristos2015-12-17  Maciej W. Rozycki  <macro@imgtec.com>
19*e058c834Schristos
20*e058c834Schristos	* MAINTAINERS: Add myself as MIPS maintainer.
21*e058c834Schristos
22*e058c834Schristos2015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
23*e058c834Schristos
24*e058c834Schristos	* readelf.c (get_machine_flags): Add support for RX v2 flag.
25*e058c834Schristos
26*e058c834Schristos2015-12-14  Jan Beulich  <jbeulich@suse.com>
27*e058c834Schristos
28*e058c834Schristos	* nm.c: Include coff/external.h, coff/internal.h, and
29*e058c834Schristos	libcoff.h.
30*e058c834Schristos	(struct extended_symbol_info): New field "coffinfo".
31*e058c834Schristos	(get_symbol_type): Rename to get_elf_symbol_type.
32*e058c834Schristos	(get_coff_symbol_type): New.
33*e058c834Schristos	(print_symbol): Also init info.coffinfo.
34*e058c834Schristos	(print_symbol_info_sysv): Print type and section name also for
35*e058c834Schristos	COFF symbols.
36*e058c834Schristos
37*e058c834Schristos2015-12-08  Nick Clifton  <nickc@redhat.com>
38*e058c834Schristos
39*e058c834Schristos	PR binutils/19310
40*e058c834Schristos	* dwarf.c (display_debug_frames): Recode range test to avoid
41*e058c834Schristos	undefined behaviour.
42*e058c834Schristos
43*e058c834Schristos2015-12-03  Tristan Gingold  <gingold@adacore.com>
44*e058c834Schristos
45*e058c834Schristos	* od-macho.c (bfd_mach_o_header_flags_name): Add name
46*e058c834Schristos	for flags until BFD_MACH_O_MH_APP_EXTENSION_SAFE.
47*e058c834Schristos
48*e058c834Schristos2015-12-01  Alan Modra  <amodra@gmail.com>
49*e058c834Schristos
50*e058c834Schristos	* configure: Regenerate.
51*e058c834Schristos
52*e058c834Schristos2015-11-30  Andrew Burgess  <andrew.burgess@embecosm.com>
53*e058c834Schristos
54*e058c834Schristos	* dwarf.c (is_max_address): New function.
55*e058c834Schristos	(display_loc_list): Remove out of date comment, use
56*e058c834Schristos	is_max_address.
57*e058c834Schristos	(display_debug_ranges): Likewise.
58*e058c834Schristos
59*e058c834Schristos2015-11-28  Cary Coutant  <ccoutant@gmail.com>
60*e058c834Schristos
61*e058c834Schristos	* MAINTAINERS: Update my email address.
62*e058c834Schristos
63*e058c834Schristos2015-11-20  Ronald Hoogenboom  <hoogenboom30@zonnet.nl>
64*e058c834Schristos
65*e058c834Schristos	* objcopy.c (parse_symflags): Use xstrndup in place of strndup.
66*e058c834Schristos	(copy_main): Likewise.
67*e058c834Schristos
68*e058c834Schristos2015-11-20  Nick Clifton  <nickc@redhat.com>
69*e058c834Schristos
70*e058c834Schristos	* po/ca.po: New Catalan translation.
71*e058c834Schristos	* configure.ac (ALL_LINGUAS): Add ca.
72*e058c834Schristos	* configure: Regenerate.
73*e058c834Schristos
74*e058c834Schristos2015-11-18  Tristan Gingold  <gingold@adacore.com>
75*e058c834Schristos
76*e058c834Schristos	* od-macho.c (bfd_mach_o_load_command_name): Add new
77*e058c834Schristos	entries.
78*e058c834Schristos	(dump_unwind_encoding_arm64): New function.
79*e058c834Schristos	(dump_unwind_encoding): Handle arm64.
80*e058c834Schristos
81*e058c834Schristos2015-11-13  Tristan Gingold  <gingold@adacore.com>
82*e058c834Schristos
83*e058c834Schristos	* configure: Regenerate.
84*e058c834Schristos
85*e058c834Schristos2015-11-13  Tristan Gingold  <gingold@adacore.com>
86*e058c834Schristos
87*e058c834Schristos	* NEWS: Add marker for 2.26.
88*e058c834Schristos
89*e058c834Schristos2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
90*e058c834Schristos
91*e058c834Schristos	* dwarf.c (read_leb128): Fix left shift of negative value.
92*e058c834Schristos
93*e058c834Schristos2015-11-03  Alan Modra  <amodra@gmail.com>
94*e058c834Schristos
95*e058c834Schristos	* readelf (process_version_sections): Check DT_VERNEED and
96*e058c834Schristos	DT_VERDEF for all symbols.  Report "*both*" should a symbol
97*e058c834Schristos	have both a verneed and verdef.
98*e058c834Schristos	(get_symbol_version_string): Reduce indentation by early
99*e058c834Schristos	exits.  Don't use SHT_NOBITS heuristic to detect case where a
100*e058c834Schristos	defined symbol has a verneed entry.
101*e058c834Schristos
102*e058c834Schristos2015-10-30  Nick Clifton  <nickc@redhat.com>
103*e058c834Schristos
104*e058c834Schristos	* po/zh_CN.po: Updated (simplified) Chinese translation.
105*e058c834Schristos
106*e058c834Schristos2015-10-27  Stephen Fisher  <sfisher@panix.com>
107*e058c834Schristos
108*e058c834Schristos	* binutils.c (process_netbsd_elf_note): New function.
109*e058c834Schristos	(process_note): Call the new function for NetBSD core notes.
110*e058c834Schristos
111*e058c834Schristos2015-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
112*e058c834Schristos
113*e058c834Schristos	* objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data
114*e058c834Schristos	call when extract_symbol.
115*e058c834Schristos
116*e058c834Schristos2015-10-21  Ronald Hoogenboom  <rhoogenboom@irdeto.com>
117*e058c834Schristos
118*e058c834Schristos	PR binutils/19104
119*e058c834Schristos	* objcopy.c (command_line_switch): Add OPTION_ADD_SYMBOL.
120*e058c834Schristos	(copy_options): Add add-symbol.
121*e058c834Schristos	(copy_usage): Likewise.
122*e058c834Schristos	(parse_symflags): New function.
123*e058c834Schristos	(need_sym_before): New function.
124*e058c834Schristos	(create_new_symbol): New function.
125*e058c834Schristos	(filter_symbols): Add code to insert new symbols.
126*e058c834Schristos	(copy_main): Process OPTION_ADD_SYMBOL.
127*e058c834Schristos	* doc/binutils.texi: Document new feature.
128*e058c834Schristos	* NEWS: Add note about the new feature.
129*e058c834Schristos
130*e058c834Schristos2015-10-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
131*e058c834Schristos
132*e058c834Schristos	PR binutils/19147
133*e058c834Schristos	* readelf.c (print_core_note): Fix off-by-one bug.
134*e058c834Schristos
135*e058c834Schristos2015-10-15  Alan Modra  <amodra@gmail.com>
136*e058c834Schristos
137*e058c834Schristos	* objcopy.c (copy_object): Don't omit bfd_copy_private_bfd_data
138*e058c834Schristos	call when extract_symbol.
139*e058c834Schristos
140*e058c834Schristos2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
141*e058c834Schristos
142*e058c834Schristos	* od-elf32_avr.c (elf32_avr_dump_avr_prop): Fix printing of align
143*e058c834Schristos	specific data, fix formatting for align and org data.
144*e058c834Schristos
145*e058c834Schristos2015-09-01  Claudiu Zissulescu  <claziss@synopsys.com>
146*e058c834Schristos	    Cupertino Miranda  <cmiranda@synopsys.com>
147*e058c834Schristos
148*e058c834Schristos	* readelf.c (get_machine_name): Remove A5 reference. Add ARCompact
149*e058c834Schristos	and ARCv2.
150*e058c834Schristos	(get_machine_flags): Handle EM_ARCV2 and EM_ARCOMPACT.
151*e058c834Schristos	(guess_is_rela): Likewise.
152*e058c834Schristos	(dump_relocations): Likewise.
153*e058c834Schristos	(is_32bit_abs_reloc): Likewise.
154*e058c834Schristos	(is_16bit_abs_reloc): Likewise.
155*e058c834Schristos	(is_none_reloc): Likewise.
156*e058c834Schristos	* NEWS: Mention the new feature.
157*e058c834Schristos
158*e058c834Schristos2015-09-29  Andrew Stubbs  <ams@codesourcery.com>
159*e058c834Schristos	    H.J. Lu  <hongjiu.lu@intel.com>
160*e058c834Schristos
161*e058c834Schristos	PR binutils/19020
162*e058c834Schristos	* objcopy.c (copy_object): Don't adjust the output section size
163*e058c834Schristos	when copying from input sections.
164*e058c834Schristos	(copy_section): Use input section size for the copy.  Get the
165*e058c834Schristos	updated section size from bfd_convert_section_contents.
166*e058c834Schristos
167*e058c834Schristos2015-09-29  H.J. Lu  <hongjiu.lu@intel.com>
168*e058c834Schristos
169*e058c834Schristos	PR binutils/19005
170*e058c834Schristos	* objcopy.c (copy_object): Adjust the output section size to
171*e058c834Schristos	skip gap fills between sections when copying from input sections
172*e058c834Schristos	to output sections.
173*e058c834Schristos
174*e058c834Schristos2015-09-28  Nick Clifton  <nickc@redhat.com>
175*e058c834Schristos
176*e058c834Schristos	* po/fr.po: Updated French translation.
177*e058c834Schristos
178*e058c834Schristos2015-09-25  James Bowman  <james.bowman@ftdichip.com>
179*e058c834Schristos
180*e058c834Schristos	* ft32-dis.c (print_insn_ft32): Fix incorrect data field mask.
181*e058c834Schristos
182*e058c834Schristos2015-09-23  Nick Clifton  <nickc@redhat.com>
183*e058c834Schristos
184*e058c834Schristos	PR binutils/15835
185*e058c834Schristos	* readelf.c (struct elf_section_list): New structure.
186*e058c834Schristos	(symtab_shndx_hdr): Replace with symtab_shndx_list.
187*e058c834Schristos	(get_32bit_elf_symbols): Scan for a symbol index table matching
188*e058c834Schristos	the symbol table in use.
189*e058c834Schristos	(get_64bit_elf_symbols): Likewise.
190*e058c834Schristos	(process_section_headers): Handle multiple symbol index sections.
191*e058c834Schristos
192*e058c834Schristos2015-09-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
193*e058c834Schristos
194*e058c834Schristos	* readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE.
195*e058c834Schristos
196*e058c834Schristos2015-09-10  Erik Ackermann  <kurterikackermann@gmail.com>
197*e058c834Schristos
198*e058c834Schristos	* strings.c: Add -s/--output-separator option to specify custom
199*e058c834Schristos	separator string.
200*e058c834Schristos	* NEWS: Mention the new feature.
201*e058c834Schristos	* doc/binutils.text (strings): Document the new command line
202*e058c834Schristos	option.
203*e058c834Schristos
204*e058c834Schristos2015-09-09  Nick Clifton  <nickc@redhat.com>
205*e058c834Schristos
206*e058c834Schristos	* doc/binutils.texi (ar): Remove bogus sentance concerning thin
207*e058c834Schristos	archives and invalid paths.
208*e058c834Schristos
209*e058c834Schristos2015-09-03  Nick Clifton  <nickc@redhat.com>
210*e058c834Schristos
211*e058c834Schristos	PR binutils/18879
212*e058c834Schristos	* readelf.c (get_unwind_section_word): Check for negative offsets
213*e058c834Schristos	and very small sections.
214*e058c834Schristos	(dump_arm_unwind): Warn if the table offset is too large.
215*e058c834Schristos
216*e058c834Schristos2015-08-28  H.J. Lu  <hongjiu.lu@intel.com>
217*e058c834Schristos
218*e058c834Schristos	* Makefile.am (TOOL_PROGS): Add readelf.
219*e058c834Schristos	* Makefile.in: Regenerated.
220*e058c834Schristos
221*e058c834Schristos2015-08-24  Yaakov Selkowitz  <yselkowi@redhat.com>
222*e058c834Schristos
223*e058c834Schristos	* configure: Regenerate.
224*e058c834Schristos
225*e058c834Schristos2015-08-17  Alan Modra  <amodra@gmail.com>
226*e058c834Schristos
227*e058c834Schristos	* configure: Regenerate.
228*e058c834Schristos
229*e058c834Schristos2015-08-07  Andrew Burgess  <andrew.burgess@embecosm.com>
230*e058c834Schristos
231*e058c834Schristos	* objcopy.c (is_specified_symbol_predicate): Don't stop at first
232*e058c834Schristos	match.  Non-match rules set found to FALSE.
233*e058c834Schristos
234*e058c834Schristos2015-08-06  Yaakov Selkowitz  <yselkowi@redhat.com>
235*e058c834Schristos
236*e058c834Schristos	* configure: Regenerate.
237*e058c834Schristos
238*e058c834Schristos2015-08-05  Nick Clifton  <nickc@redhat.com>
239*e058c834Schristos
240*e058c834Schristos	* doc/binutils.texi: Document that the --only-keep-debug option
241*e058c834Schristos	to strip and objcopy preserves the section headers of stripped
242*e058c834Schristos	sections.
243*e058c834Schristos
244*e058c834Schristos2015-08-04  Yuriy M. Kaminskiy"  <yumkam@gmail.com>
245*e058c834Schristos	    Tyler Hicks  <tyhicks@canonical.com>
246*e058c834Schristos
247*e058c834Schristos	PR binutils/18750
248*e058c834Schristos	* readelf.c (process_mips_specific): Fix incorrect escape
249*e058c834Schristos	sequence handling.
250*e058c834Schristos
251*e058c834Schristos2015-08-04  Nick Clifton  <nickc@redhat.com>
252*e058c834Schristos
253*e058c834Schristos	* ar.c (extract_file): Free cbuf if the path is invalid.
254*e058c834Schristos
255*e058c834Schristos2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
256*e058c834Schristos
257*e058c834Schristos	* configure: Regenerated.
258*e058c834Schristos
259*e058c834Schristos2015-07-24  H.J. Lu  <hongjiu.lu@intel.com>
260*e058c834Schristos
261*e058c834Schristos	* stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL.
262*e058c834Schristos
263*e058c834Schristos2015-07-22  Alan Modra  <amodra@gmail.com>
264*e058c834Schristos
265*e058c834Schristos	* readelf.c (dump_relocations): Show MIN_INT addends as negative.
266*e058c834Schristos
267*e058c834Schristos2015-07-20  Alan Modra  <amodra@gmail.com>
268*e058c834Schristos
269*e058c834Schristos	* doc/Makefile.in: Regenerate.
270*e058c834Schristos
271*e058c834Schristos2015-07-16  Alan Modra  <amodra@gmail.com>
272*e058c834Schristos
273*e058c834Schristos	PR binutils/18672
274*e058c834Schristos	* readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
275*e058c834Schristos	(get_64bit_dynamic_section): Likewise.
276*e058c834Schristos
277*e058c834Schristos2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
278*e058c834Schristos
279*e058c834Schristos	* objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not
280*e058c834Schristos	zlib-gnu.
281*e058c834Schristos	* doc/binutils.texi: Change --compress-debug-sections and
282*e058c834Schristos	--compress-debug-sections=zlib to zlib-gabi.
283*e058c834Schristos
284*e058c834Schristos2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
285*e058c834Schristos
286*e058c834Schristos	PR binutils/18656
287*e058c834Schristos	* objcopy.c (setup_section): Call bfd_convert_section_size
288*e058c834Schristos	to get the output section size.
289*e058c834Schristos	(copy_section): Get the section size from the output section
290*e058c834Schristos	and call bfd_get_full_section_contents to convert section
291*e058c834Schristos	contents for output.
292*e058c834Schristos
293*e058c834Schristos2015-07-10  H.J. Lu  <hongjiu.lu@intel.com>
294*e058c834Schristos
295*e058c834Schristos	* readelf.c (dump_section_as_strings): Warn unsupported compress
296*e058c834Schristos	type and corrupted compressed section.
297*e058c834Schristos	(dump_section_as_bytes): Likewise.
298*e058c834Schristos	(load_specific_debug_section): Likewise.
299*e058c834Schristos
300*e058c834Schristos2015-07-09  Catherine Moore  <clm@codesourcery.com>
301*e058c834Schristos
302*e058c834Schristos	* readelf.c (print_mips_fp_abi_value): Handle
303*e058c834Schristos	Val_GNU_MIPS_ABI_FP_NAN2008.
304*e058c834Schristos
305*e058c834Schristos2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
306*e058c834Schristos
307*e058c834Schristos	* readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
308*e058c834Schristos
309*e058c834Schristos2015-06-22  Nick Clifton  <nickc@redhat.com>
310*e058c834Schristos
311*e058c834Schristos	* objdump.c (disassemble_bytes): Set the stop_vma field in the
312*e058c834Schristos	disassemble_info structure when disassembling code sections with
313*e058c834Schristos	-d.
314*e058c834Schristos	* doc/binutils.texi (objdump): Document the discrepancy between -d
315*e058c834Schristos	and -D.
316*e058c834Schristos
317*e058c834Schristos2015-06-05  Nick Clifton  <nickc@redhat.com>
318*e058c834Schristos
319*e058c834Schristos	* dwarf.c (read_debug_line_header): Use reloc_at to detect
320*e058c834Schristos	incomplete .debug_line headers
321*e058c834Schristos
322*e058c834Schristos2015-05-29  Roland McGrath  <mcgrathr@google.com>
323*e058c834Schristos
324*e058c834Schristos	* readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
325*e058c834Schristos	GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
326*e058c834Schristos
327*e058c834Schristos2015-05-29  Stephen Kitt  <steve@sk2.org>
328*e058c834Schristos
329*e058c834Schristos	* dlltool.c (make_one_lib_file): Clear .idata$6 before use.
330*e058c834Schristos	(main): Fail if the output file specified by the -z option cannot
331*e058c834Schristos	be opened.
332*e058c834Schristos
333*e058c834Schristos2015-05-18  Nick Clifton  <nickc@redhat.com>
334*e058c834Schristos
335*e058c834Schristos	PR binutils/18420
336*e058c834Schristos	* ia64-unwind.c (unw_decode): Add end parameter.  Pass parameter
337*e058c834Schristos	on to decode functions.
338*e058c834Schristos	(unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK.
339*e058c834Schristos	(UNW_DEC_SPILL_MASK): Add end parameter.  Check that unw_rlen does
340*e058c834Schristos	not take us beyond the end of the buffer.
341*e058c834Schristos	* ia64-unwind.h (unw_decode): Update prototype.
342*e058c834Schristos	* readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
343*e058c834Schristos
344*e058c834Schristos2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
345*e058c834Schristos
346*e058c834Schristos	* readelf.c (dump_section_as_strings): Change pointers from
347*e058c834Schristos	char * to unsigned char *.
348*e058c834Schristos
349*e058c834Schristos2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
350*e058c834Schristos
351*e058c834Schristos	PR binutis/18386
352*e058c834Schristos	* doc/binutils.texi: Document -Mamd64 and -Mintel64.
353*e058c834Schristos
354*e058c834Schristos2015-05-15  Nick Clifton  <nickc@redhat.com>
355*e058c834Schristos
356*e058c834Schristos	* readelf.c (options): Add "decompress".
357*e058c834Schristos	(usage): Mention -z/--decompress.
358*e058c834Schristos	(parse_args): Handle -z.
359*e058c834Schristos	(uncompress_section_contents): Move to earlier in the file.
360*e058c834Schristos	(dump_section_as_strings): If requested, decompress the section
361*e058c834Schristos	before dumping.
362*e058c834Schristos	(dump_section_as_bytes): Likewise.
363*e058c834Schristos	* doc/binutils.texi: Document the new option.
364*e058c834Schristos
365*e058c834Schristos2015-05-14  Peter Bergner  <bergner@vnet.ibm.com>
366*e058c834Schristos
367*e058c834Schristos	* MAINTAINERS: Add myself as PPC maintainer.
368*e058c834Schristos
369*e058c834Schristos2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
370*e058c834Schristos
371*e058c834Schristos	* readelf.c (uncompress_section_contents): Add a parameter for
372*e058c834Schristos	uncompressed size.  Don't check the zlib header.
373*e058c834Schristos	(load_specific_debug_section): Updated.
374*e058c834Schristos
375*e058c834Schristos2015-05-15  Nick Clifton  <nickc@redhat.com>
376*e058c834Schristos
377*e058c834Schristos	PR binutils/18374
378*e058c834Schristos	* dwarf.h (struct dwarf_section): Add reloc_info and num_relocs
379*e058c834Schristos	fields.
380*e058c834Schristos	(struct dwarf_section_display): Change bitfield to boolean.
381*e058c834Schristos	(reloc_at): Add prototype.
382*e058c834Schristos	* dwarf.c (display_loc_list): Ignore list terminators if there are
383*e058c834Schristos	relocs against them.
384*e058c834Schristos	(display_debug_loc): Issue a warning if there are relocs against
385*e058c834Schristos	the .debug_loc section.
386*e058c834Schristos	(display_displays): Initialise reloc_info and num_relocs fields.
387*e058c834Schristos	* objdump.c (load_specific_debug_section): Initialise reloc_info
388*e058c834Schristos	and num_relocs fields.
389*e058c834Schristos	(reloc_at): New function.
390*e058c834Schristos	* readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB
391*e058c834Schristos	reloc.
392*e058c834Schristos	(reloc_at): New function.
393*e058c834Schristos	(apply_relocations): Add relocs_return and num_relocs_return
394*e058c834Schristos	parameters.  Fill them in with the loaded relocs if non-NULL.
395*e058c834Schristos	(dump_section_as_bytes): Update call to apply_relocations.
396*e058c834Schristos	(load_specific_debug_section): Initialise reloc_info and
397*e058c834Schristos	num_relocs fields.
398*e058c834Schristos
399*e058c834Schristos2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
400*e058c834Schristos
401*e058c834Schristos	* elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
402*e058c834Schristos
403*e058c834Schristos2015-05-13  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
404*e058c834Schristos
405*e058c834Schristos	* MAINTAINERS: Add myself as s390 and s390x maintainer.
406*e058c834Schristos
407*e058c834Schristos2015-05-12  Stephen Kitt  <steve@sk2.org>
408*e058c834Schristos
409*e058c834Schristos	* dlltool.c (main): Accept -t as an abbreviation for
410*e058c834Schristos	--temp-prefix.
411*e058c834Schristos
412*e058c834Schristos2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
413*e058c834Schristos
414*e058c834Schristos	* dwarf.c (dwarf_regnames_iamcu): New.
415*e058c834Schristos	(init_dwarf_regnames_iamcu): Likewise.
416*e058c834Schristos	(init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU.
417*e058c834Schristos	* dwarf.h (init_dwarf_regnames_iamcu): New.
418*e058c834Schristos	* objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for
419*e058c834Schristos	bfd_arch_iamcu.
420*e058c834Schristos
421*e058c834Schristos2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
422*e058c834Schristos
423*e058c834Schristos	* elfedit.c (enum elfclass): New.
424*e058c834Schristos	(input_elf_class): Change type to enum elfclass.
425*e058c834Schristos	(output_elf_class): New.
426*e058c834Schristos	(elf_class): Change return type to enum elfclass.  Support EM_386
427*e058c834Schristos	and EM_IAMCU.
428*e058c834Schristos	(update_elf_header): Check if input and output ELF classes match.
429*e058c834Schristos	(elf_machine): Support EM_386 and EM_IAMCU.
430*e058c834Schristos	(main): Update input_elf_class.  Set output_elf_class.
431*e058c834Schristos	* doc/binutils.texi: Update elfedit.
432*e058c834Schristos
433*e058c834Schristos2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
434*e058c834Schristos
435*e058c834Schristos	* dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
436*e058c834Schristos	* readelf.c (guess_is_rela): Likewise.
437*e058c834Schristos	(dump_relocations): Likewise.
438*e058c834Schristos	(get_machine_name): Likewise.
439*e058c834Schristos	(get_elf_section_flags): Likewise.
440*e058c834Schristos	(process_section_headers): Likewise.
441*e058c834Schristos	(is_32bit_abs_reloc): Likewise.
442*e058c834Schristos	(is_32bit_pcrel_reloc): Likewise.
443*e058c834Schristos
444*e058c834Schristos2015-04-30  Nick Clifton  <nickc@redhat.com>
445*e058c834Schristos
446*e058c834Schristos	* readelf.c (get_machine_flags): Add description of MeP flags.
447*e058c834Schristos
448*e058c834Schristos2015-04-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
449*e058c834Schristos
450*e058c834Schristos	* readelf.c (display_s390_gnu_attribute): New function.
451*e058c834Schristos	(process_s390_specific): New function.
452*e058c834Schristos	(process_arch_specific): Call process_s390_specific.
453*e058c834Schristos
454*e058c834Schristos2015-04-24  Nick Clifton  <nickc@redhat.com>
455*e058c834Schristos
456*e058c834Schristos	PR 18313
457*e058c834Schristos	* ieee.c (ieee_read_cxx_class): Initialise the varargs variable.
458*e058c834Schristos	* readelf.c (uncompress_section_contents): Zero initialise the
459*e058c834Schristos	zstream structure.
460*e058c834Schristos
461*e058c834Schristos2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
462*e058c834Schristos
463*e058c834Schristos	PR binutils/18209
464*e058c834Schristos	* objcopy.c (setup_section): Copy compress status.
465*e058c834Schristos
466*e058c834Schristos2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
467*e058c834Schristos
468*e058c834Schristos	* NEWS: Mention
469*e058c834Schristos	--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
470*e058c834Schristos
471*e058c834Schristos2015-04-14  Nick Clifton  <nickc@redhat.com>
472*e058c834Schristos
473*e058c834Schristos	* readelf.c (target_specific_reloc_handling): Add code to handle
474*e058c834Schristos	RL78 complex relocs.
475*e058c834Schristos
476*e058c834Schristos2015-04-13  Doug Evans  <dje@google.com>
477*e058c834Schristos
478*e058c834Schristos	PR binutils/18218
479*e058c834Schristos	* readelf.c (printable_section_name): Constify sec argument.
480*e058c834Schristos	(apply_relocations): Ditto.  New arg "size".  All callers updated.
481*e058c834Schristos	(load_specific_debug_section): Constify sec argument.
482*e058c834Schristos	Remove side-effect of modifying sec->sh_size.
483*e058c834Schristos
484*e058c834Schristos2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
485*e058c834Schristos
486*e058c834Schristos	* objcopy.c (do_debug_sections): Use bit patterns.
487*e058c834Schristos	(copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
488*e058c834Schristos	and compress_gabi_zlib on non-ELF input.
489*e058c834Schristos	(copy_file): Don't check non-ELF input here.
490*e058c834Schristos
491*e058c834Schristos2015-04-09  Nick Clifton  <nickc@redhat.com>
492*e058c834Schristos
493*e058c834Schristos	* readelf.c (get_machine_flags): Report the setting of the string
494*e058c834Schristos	insn using bits.
495*e058c834Schristos
496*e058c834Schristos2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
497*e058c834Schristos
498*e058c834Schristos	* objcopy.c (do_debug_sections): Add compress_zlib,
499*e058c834Schristos	compress_gnu_zlib and compress_gabi_zlib.
500*e058c834Schristos	(copy_options): Use optional_argument on compress-debug-sections.
501*e058c834Schristos	(copy_usage): Update --compress-debug-sections.
502*e058c834Schristos	(copy_file): Handle compress_zlib, compress_gnu_zlib and
503*e058c834Schristos	compress_gabi_zlib.
504*e058c834Schristos	(copy_main): Handle
505*e058c834Schristos	--compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
506*e058c834Schristos	* doc/binutils.texi: Document
507*e058c834Schristos	--compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
508*e058c834Schristos
509*e058c834Schristos2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
510*e058c834Schristos
511*e058c834Schristos	* objcopy.c (copy_usage): Replace "--interleave [<number>]" with
512*e058c834Schristos	--interleave[=<number>].
513*e058c834Schristos
514*e058c834Schristos2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
515*e058c834Schristos
516*e058c834Schristos	* readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
517*e058c834Schristos	(get_compression_header): New.
518*e058c834Schristos	(process_section_headers): Dump compression header if needed.
519*e058c834Schristos	(uncompress_section_contents): Don't free compressed_buffer here.
520*e058c834Schristos	(load_specific_debug_section): Free the compressed buffer, update
521*e058c834Schristos	the section buffer and the section size if uncompress is
522*e058c834Schristos	successful.
523*e058c834Schristos
524*e058c834Schristos2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
525*e058c834Schristos
526*e058c834Schristos	* configure: Regenerated.
527*e058c834Schristos
528*e058c834Schristos2015-04-02  Mike Frysinger  <vapier@gentoo.org>
529*e058c834Schristos
530*e058c834Schristos	* MAINTAINERS: Update my e-mail address.
531*e058c834Schristos
532*e058c834Schristos2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
533*e058c834Schristos
534*e058c834Schristos	* configure: Regenerated.
535*e058c834Schristos
536*e058c834Schristos2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
537*e058c834Schristos
538*e058c834Schristos	* configure.ac: Revert the AM_ZLIB change.
539*e058c834Schristos	* Makefile.in: Regenerated.
540*e058c834Schristos	* aclocal.m4: Likewise.
541*e058c834Schristos	* configure: Likewise.
542*e058c834Schristos
543*e058c834Schristos2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
544*e058c834Schristos
545*e058c834Schristos	* Makefile.am (ZLIB): New.
546*e058c834Schristos	(ZLIBINC): Likewise.
547*e058c834Schristos	(AM_CFLAGS): Add $(ZLIBINC).
548*e058c834Schristos	(readelf_LDADD): Add $(ZLIB).
549*e058c834Schristos	* configure.ac (AM_ZLIB): Removed.
550*e058c834Schristos	(zlibdir): New.  AC_SUBST.
551*e058c834Schristos	(zlibinc): Likewise.
552*e058c834Schristos	Add --with-system-zlib.
553*e058c834Schristos	* Makefile.in: Regenerated.
554*e058c834Schristos	* config.in: Likewise.
555*e058c834Schristos	* configure: Likewise.
556*e058c834Schristos
557*e058c834Schristos2015-03-19  Nick Clifton  <nickc@redhat.com>
558*e058c834Schristos
559*e058c834Schristos	* readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags.
560*e058c834Schristos
561*e058c834Schristos2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
562*e058c834Schristos	    Nick Clifton  <nickc@redhat.com>
563*e058c834Schristos
564*e058c834Schristos	PR binutils/18087
565*e058c834Schristos	* doc/binutils.texi: Note that when objcopy compresses debug
566*e058c834Schristos	sections the compression is only performed if it makes the section
567*e058c834Schristos	smaller.
568*e058c834Schristos
569*e058c834Schristos2015-03-10  H.J. Lu  <hongjiu.lu@intel.com>
570*e058c834Schristos
571*e058c834Schristos	PR binutils/18101
572*e058c834Schristos	* readelf.c (parse_args): Move nothing to do warning to ...
573*e058c834Schristos	(main): Here.
574*e058c834Schristos
575*e058c834Schristos2015-03-10  Nick Clifton  <nickc@redhat.com>
576*e058c834Schristos
577*e058c834Schristos	PR binutils/18101
578*e058c834Schristos	* readelf.c (parse_args): Enhance check for nothing to do by
579*e058c834Schristos	accounting for the --wide option.
580*e058c834Schristos
581*e058c834Schristos	PR binutils/17636
582*e058c834Schristos	* objcopy.c (copy_object): Avoid calling fatal as that does not
583*e058c834Schristos	allow the parent to clean up temporary files.
584*e058c834Schristos
585*e058c834Schristos2015-03-10  Yuri Gribov  <y.gribov@samsung.arm>
586*e058c834Schristos
587*e058c834Schristos	PR ld/16572
588*e058c834Schristos	* readelf.c: Remove support for ELF_ARM_HASENTRY.
589*e058c834Schristos
590*e058c834Schristos2015-03-05  Nick Clifton  <nickc@redhat.com>
591*e058c834Schristos
592*e058c834Schristos	PR binutils/18064
593*e058c834Schristos	* doc/binutils.texi (objcopy): Extend description of
594*e058c834Schristos	--add-gnu-debuglink option to explain that the separate debug info
595*e058c834Schristos	file must exist.  Add a description of what to do if the debug
596*e058c834Schristos	info file is built in one place but then installed into a separate
597*e058c834Schristos	location.
598*e058c834Schristos
599*e058c834Schristos2015-03-05  Nick Clifton  <nickc@redhat.com>
600*e058c834Schristos
601*e058c834Schristos	PR binutils/17994
602*e058c834Schristos	* dlltool.c (temp_file_to_remove): New local array.
603*e058c834Schristos	(unlink_temp_files): New functions - unlinks any file in the
604*e058c834Schristos	temp_file_to_remove array, unless dotdeltemps is set.
605*e058c834Schristos	(gen_exp_file): Add temp files to array.
606*e058c834Schristos	(make_head): Likewise.
607*e058c834Schristos	(make_delay_head): Likewise.
608*e058c834Schristos	(make_tail): Likewise.
609*e058c834Schristos	(gen_lib_file): Call unlink_temp_files.
610*e058c834Schristos
611*e058c834Schristos2015-02-28  Andrew Burgess  <andrew.burgess@embecosm.com>
612*e058c834Schristos
613*e058c834Schristos	* objcopy.c (update_sections): New list.
614*e058c834Schristos	(command_line_switch): Add OPTION_UPDATE_SECTION.
615*e058c834Schristos	(copy_options): Add update-section.
616*e058c834Schristos	(copy_usage): Document new option.
617*e058c834Schristos	(is_update_section): New function.
618*e058c834Schristos	(is_strip_section_1): Add check for attempt to update and remove
619*e058c834Schristos	the same section.
620*e058c834Schristos	(copy_object): Update size and content of requested sections.
621*e058c834Schristos	(skip_section): Don't copy for updated sections.
622*e058c834Schristos	(copy_main): Handle --update-section.
623*e058c834Schristos	* doc/binutils.texi (objcopy): Add description of --update-section
624*e058c834Schristos	option.
625*e058c834Schristos	* NEWS: Mention --update-section option.
626*e058c834Schristos
627*e058c834Schristos2015-02-26  Nick Clifton  <nickc@redhat.com>
628*e058c834Schristos
629*e058c834Schristos	PR binutils/17512
630*e058c834Schristos	* coffgrok.c (do_type): Check for an out of range tag index.
631*e058c834Schristos	Check for integer overflow computing array dimension.
632*e058c834Schristos	(do_define): Likewise.
633*e058c834Schristos
634*e058c834Schristos2015-02-26  Andrew Burgess  <andrew.burgess@embecosm.com>
635*e058c834Schristos
636*e058c834Schristos	* objcopy.c (init_section_add): Rename optarg to arg in order to
637*e058c834Schristos	avoid shadowing a global variable.
638*e058c834Schristos
639*e058c834Schristos2015-02-26  Nick Clifton  <nickc@redhat.com>
640*e058c834Schristos
641*e058c834Schristos	PR binutils/17512
642*e058c834Schristos	* resrc.c (write_rc_messagetable): Tighten check for invalid
643*e058c834Schristos	message lengths.
644*e058c834Schristos
645*e058c834Schristos	* dwarf.c (display_debug_loc): Pacify the undefined behaviour
646*e058c834Schristos	sanitizer by simplifying address difference calculation.
647*e058c834Schristos	(struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in
648*e058c834Schristos	order to avoid arithmetic overflows.
649*e058c834Schristos	(frame_display_row): Cast cfa_offset before printing it.
650*e058c834Schristos	(display_debug_frames): Likewise.
651*e058c834Schristos	Check for an unexpected segment size.
652*e058c834Schristos	Chnage type of 'l' local to dwarf_vma and cast it back to an int
653*e058c834Schristos	when printing.
654*e058c834Schristos	(process_cu_tu_index): Tighten check for an invalid ncols value.
655*e058c834Schristos	* readelf.c (process_corefile_note_segment): Check for
656*e058c834Schristos	inote.descdata extending beyond the end of the section.
657*e058c834Schristos	(process_v850_notes): Likewise.
658*e058c834Schristos
659*e058c834Schristos2015-02-26  Terry Guo  <terry.guo@arm.com>
660*e058c834Schristos
661*e058c834Schristos	* readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
662*e058c834Schristos	display it.
663*e058c834Schristos
664*e058c834Schristos2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
665*e058c834Schristos
666*e058c834Schristos	* objcopy.c (init_section_add): New function.
667*e058c834Schristos	(section_add_load_file): New function.
668*e058c834Schristos	(copy_main): Make use of new functions.
669*e058c834Schristos
670*e058c834Schristos2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
671*e058c834Schristos
672*e058c834Schristos	* od-elf32_avr.c: Add elf32-avr.h include.
673*e058c834Schristos	(OPT_AVRPROP): Define.
674*e058c834Schristos	(options[]): Add 'avr-prop' entry.
675*e058c834Schristos	(elf32_avr_help): Add avr-prop help text.
676*e058c834Schristos	(elf32_avr_dump_avr_prop): New function.
677*e058c834Schristos	(elf32_avr_dump): Add check for avr-prop.
678*e058c834Schristos
679*e058c834Schristos2015-02-24  Nick Clifton  <nickc@redhat.com>
680*e058c834Schristos
681*e058c834Schristos	* readelf.c (get_machine_flags): Remove deprecated V850 machine
682*e058c834Schristos	flags.
683*e058c834Schristos	(get_v850_section_type_name): New function.  Handles V850 special
684*e058c834Schristos	sections.
685*e058c834Schristos	(get_section_type_name): Add support for V850.
686*e058c834Schristos	(get_v850_elf_note_type): New function.  Returns the name of a
687*e058c834Schristos	V850 note.
688*e058c834Schristos	(print_v850_note): New function.  Prints a V850 note.
689*e058c834Schristos	(process_v850_notes): New function.  Prints V850 notes.
690*e058c834Schristos	(process_note_sections): Add support for V850.
691*e058c834Schristos
692*e058c834Schristos2015-02-24  Mike Frysinger  <vapier@gentoo.org>
693*e058c834Schristos
694*e058c834Schristos	PR binutils/17531
695*e058c834Schristos	* readelf.c (process_symbol_table): Declare chained.  Increment it
696*e058c834Schristos	in every loop.  Abort when chained is larger than nchains.  Move
697*e058c834Schristos	error check outside of chain loop.
698*e058c834Schristos
699*e058c834Schristos2015-02-24  Dmitry Antipov  <dantipov@nvidia.com>
700*e058c834Schristos
701*e058c834Schristos	* readelf.c (find_symbol_for_address): Use a binary search to
702*e058c834Schristos	speed up symbol location.  Skip check for function symbol type.
703*e058c834Schristos	(*_unw_aux_info): Add funtab and nfuns fields contains a sorted
704*e058c834Schristos	list of function symbols.
705*e058c834Schristos	(dump_ia64_unwind): Initialise the funtab and nfuns fields and
706*e058c834Schristos	pass them to find_symbol_for_address.
707*e058c834Schristos	(dump_hppa_unwind): Likewise.
708*e058c834Schristos	(arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
709*e058c834Schristos	(dump_arm_unwind): Initialise the funtab and nfuns fields.
710*e058c834Schristos
711*e058c834Schristos2015-02-24  Nick Clifton  <nickc@redhat.com>
712*e058c834Schristos
713*e058c834Schristos	* objdump.c (dump_section): Extend the warning message displayed
714*e058c834Schristos	when a section cannot be loaded.
715*e058c834Schristos
716*e058c834Schristos2015-02-21  Mike Frysinger  <vapier@gentoo.org>
717*e058c834Schristos
718*e058c834Schristos	* readelf.c (process_program_headers): Add newline to warning
719*e058c834Schristos	message.
720*e058c834Schristos
721*e058c834Schristos2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
722*e058c834Schristos
723*e058c834Schristos	* readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
724*e058c834Schristos	NT_S390_VXRS_HIGH.
725*e058c834Schristos
726*e058c834Schristos2015-02-13  Nick Clifton  <nickc@redhat.com>
727*e058c834Schristos
728*e058c834Schristos	PR binutils/17512
729*e058c834Schristos	* dwarf.c (read_leb128): Fix test for shift becoming too large.
730*e058c834Schristos
731*e058c834Schristos	* coffgrok.c (do_define): Add check for type size overflow.
732*e058c834Schristos	* srconv.c (walk_tree_sfile): Check that enough sections are
733*e058c834Schristos	available before parsing.
734*e058c834Schristos	(prescan): Likewise.
735*e058c834Schristos
736*e058c834Schristos	PR binutils/17531
737*e058c834Schristos	* dwarf.c (display_debug_aranges): Add check for an excessive
738*e058c834Schristos	ar_length value.
739*e058c834Schristos	(process_cu_tu_index): Check for a row * columns sum being too
740*e058c834Schristos	large.
741*e058c834Schristos
742*e058c834Schristos2015-02-13  Alan Modra  <amodra@gmail.com>
743*e058c834Schristos
744*e058c834Schristos	* dwarf.c: Formatting, whitespace.
745*e058c834Schristos	(process_debug_info): Style fix.
746*e058c834Schristos
747*e058c834Schristos2015-02-11  Nick Clifton  <nickc@redhat.com>
748*e058c834Schristos
749*e058c834Schristos	* rl78-decode.opc: Add 'a' attribute to instructions that support
750*e058c834Schristos	[HL+0] addressing.
751*e058c834Schristos	* rl78-decode.c: Regenerate.
752*e058c834Schristos	* rl78-dis.c (print_insn_rl78): Display the offset in [HL+0]
753*e058c834Schristos	addresses.
754*e058c834Schristos
755*e058c834Schristos2015-02-11  Nick Clifton  <nickc@redhat.com>
756*e058c834Schristos
757*e058c834Schristos	PR binutils/17531
758*e058c834Schristos	* dwarf.c (display_debug_pubnames_worker): Work around compiler
759*e058c834Schristos	bug checking address ranges.
760*e058c834Schristos	(display_debug_frames): Likewise.
761*e058c834Schristos	(display_gdb_index): Likewise.
762*e058c834Schristos	(process_cu_tu_index): Add range check on the ncols value.
763*e058c834Schristos
764*e058c834Schristos2015-02-10  Nick Clifton  <nickc@redhat.com>
765*e058c834Schristos
766*e058c834Schristos	PR binutils/17512
767*e058c834Schristos	* dwarf.c (eh_addr_size): Use an unsigned type.
768*e058c834Schristos	(size_of_encoded_value): Return an unsigned type.
769*e058c834Schristos	(read_leb128): Break if the shift becomes too big.
770*e058c834Schristos	(process_extended_line_op): Do not read the address if the length
771*e058c834Schristos	is too long.
772*e058c834Schristos	(read_cie): Warn and fail if the pointer size or segment size are
773*e058c834Schristos	too big.
774*e058c834Schristos	* dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect
775*e058c834Schristos	structure definition.
776*e058c834Schristos	(DWARF2_External_PubNames): Likewise.
777*e058c834Schristos	(DWARF2_External_CompUnit): Likewise.
778*e058c834Schristos	(DWARF2_External_ARange): Likewise.
779*e058c834Schristos	(DWARF2_Internal_LineInfo): Use dwarf_vma type for
780*e058c834Schristos	li_prologue_length.
781*e058c834Schristos	(eh_addr_size): Update prototype.
782*e058c834Schristos
783*e058c834Schristos	PR binutils/17531
784*e058c834Schristos	* dwarf.c (process_debug_info): Zero the debug information array
785*e058c834Schristos	since correct initialisation cannot be relied upon.
786*e058c834Schristos	(process_cu_tu_index): Improve range checks.
787*e058c834Schristos
788*e058c834Schristos	PR binutils/17531
789*e058c834Schristos	* dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
790*e058c834Schristos	offset.
791*e058c834Schristos	* readelf.c (dump_relocations): Handle printing offsets which are
792*e058c834Schristos	MIN_INT.
793*e058c834Schristos	(process_corefile_note_segment): Add range check of the namesz
794*e058c834Schristos	field.
795*e058c834Schristos
796*e058c834Schristos2015-02-09  Mark Wielaard  <mjw@redhat.com>
797*e058c834Schristos
798*e058c834Schristos	* dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
799*e058c834Schristos	and DW_LANG_Fortran08.
800*e058c834Schristos
801*e058c834Schristos2015-02-06  Nick Clifton  <nickc@redhat.com>
802*e058c834Schristos
803*e058c834Schristos	PR binutils/17512
804*e058c834Schristos	* dwarf.c (display_debug_frames): Fix range checks to work on
805*e058c834Schristos	32-bit binaries complied on a 64-bit host.
806*e058c834Schristos
807*e058c834Schristos	PR binutils/17531
808*e058c834Schristos	* dwarf.c (xcmalloc): Fail if the arguments are too big.
809*e058c834Schristos	(xcrealloc): Likewise.
810*e058c834Schristos	(xcalloc2): Likewise.
811*e058c834Schristos	* readelf.c (process_mips_specific): Fail if an option has an
812*e058c834Schristos	invalid size.
813*e058c834Schristos
814*e058c834Schristos2015-02-05  Alan Modra  <amodra@gmail.com>
815*e058c834Schristos
816*e058c834Schristos	PR binutils/17926
817*e058c834Schristos	* dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
818*e058c834Schristos
819*e058c834Schristos2015-02-04  Nick Clifton  <nickc@redhat.com>
820*e058c834Schristos
821*e058c834Schristos	PR binutils/17531
822*e058c834Schristos	* dwarf.c (read_and_display_attr_value): Test for a block length
823*e058c834Schristos	being so long that it wraps around to before the start of the block.
824*e058c834Schristos	(process_debug_info): Test for section_begin wrapping around to
825*e058c834Schristos	before the start of the section.
826*e058c834Schristos	(display_gdb_index): Test for num_cus being so large that the end
827*e058c834Schristos	address wraps around to before the start of the section.
828*e058c834Schristos	(process_cu_tu_index): Test for j being so large that the section
829*e058c834Schristos	index pool wraps around to before the start of the section.
830*e058c834Schristos
831*e058c834Schristos2015-02-03  Nick Clifton  <nickc@redhat.com>
832*e058c834Schristos
833*e058c834Schristos	PR binutils/17531
834*e058c834Schristos	* dwarf.c (process_debug_info): Add range check.
835*e058c834Schristos	(display_debug_pubnames_worker): Likewise.
836*e058c834Schristos	(display_gdb_index): Fix range check.
837*e058c834Schristos	(process_cu_tu_index): Add range check.
838*e058c834Schristos	* readelf.c (get_data): Change parameter types from size_t to
839*e058c834Schristos	bfd_size_type.  Add checks for loss of accuracy when casting from
840*e058c834Schristos	bfd_size_type to size_t.
841*e058c834Schristos	(get_dynamic_data): Likewise.
842*e058c834Schristos	(process_section_groups): Limit number of error messages.
843*e058c834Schristos
844*e058c834Schristos2015-02-03  Nick Clifton  <nickc@redhat.com>
845*e058c834Schristos
846*e058c834Schristos	PR binutils/17512
847*e058c834Schristos	* objdump.c (display_any_bfd): Fail if archives nest too deeply.
848*e058c834Schristos
849*e058c834Schristos2015-01-28  James Bowman  <james.bowman@ftdichip.com>
850*e058c834Schristos
851*e058c834Schristos	* readelf.c: Add FT32 support.
852*e058c834Schristos
853*e058c834Schristos2015-01-27  Nick Clifton  <nickc@redhat.com>
854*e058c834Schristos
855*e058c834Schristos	PR binutils/17512
856*e058c834Schristos	* dlltool.c (identify_search_archive): If the last archive was the
857*e058c834Schristos	same as the current archive, terminate the loop.
858*e058c834Schristos
859*e058c834Schristos	* addr2line.c (slurp_symtab): If the symcount is zero, free the
860*e058c834Schristos	symbol table pointer.
861*e058c834Schristos
862*e058c834Schristos	* rcparse.y: Add checks to avoid integer divide by zero.
863*e058c834Schristos	* rescoff.c (read_coff_rsrc): Add check on the size of the
864*e058c834Schristos	resource section.
865*e058c834Schristos	(read_coff_res_dir): Add check on the nesting level.
866*e058c834Schristos	Check for resource names overrunning the buffer.
867*e058c834Schristos	* resrc.c (write_rc_messagetable): Update formatting.
868*e058c834Schristos	Add check of 'elen' being zero.
869*e058c834Schristos
870*e058c834Schristos2015-01-23  Nick Clifton  <nickc@redhat.com>
871*e058c834Schristos
872*e058c834Schristos	* nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
873*e058c834Schristos	by recent delta, when compiling on for a 32-bit host.
874*e058c834Schristos
875*e058c834Schristos2015-01-21  Nick Clifton  <nickc@redhat.com>
876*e058c834Schristos
877*e058c834Schristos	PR binutils/17512
878*e058c834Schristos	* addr2line.c (main): Call bfd_set_error_program_name.
879*e058c834Schristos	* ar.c (main): Likewise.
880*e058c834Schristos	* coffdump.c (main): Likewise.
881*e058c834Schristos	* cxxfilt.c (main): Likewise.
882*e058c834Schristos	* dlltool.c (main): Likewise.
883*e058c834Schristos	* nlmconv.c (main): Likewise.
884*e058c834Schristos	* nm.c (main): Likewise.
885*e058c834Schristos	* objdump.c (main): Likewise.
886*e058c834Schristos	* size.c (main): Likewise.
887*e058c834Schristos	* srconv.c (main): Likewise.
888*e058c834Schristos	* strings.c (main): Likewise.
889*e058c834Schristos	* sysdump.c (main): Likewise.
890*e058c834Schristos	* windmc.c (main): Likewise.
891*e058c834Schristos	* windres.c (main): Likewise.
892*e058c834Schristos	* objcopy.c (main): Likewise.
893*e058c834Schristos	(copy_relocations_in_section): Check for relocs without associated
894*e058c834Schristos	symbol pointers.
895*e058c834Schristos
896*e058c834Schristos2015-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
897*e058c834Schristos
898*e058c834Schristos	* MAINTAINERS: Add self to ARM maintainers list.
899*e058c834Schristos
900*e058c834Schristos2015-01-21  Nick Clifton  <nickc@redhat.com>
901*e058c834Schristos
902*e058c834Schristos	PR binutils/17512
903*e058c834Schristos	* coffgrok.c (do_type): Check that computed ref exists.
904*e058c834Schristos	(doit): Add range checks when computing section for scope.
905*e058c834Schristos
906*e058c834Schristos2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
907*e058c834Schristos
908*e058c834Schristos	* dwarf.c (process_debug_info): Properly check abbrev size.
909*e058c834Schristos
910*e058c834Schristos2015-01-12  Nick Clifton  <nickc@redhat.com>
911*e058c834Schristos
912*e058c834Schristos	PR binutils/17531
913*e058c834Schristos	* dwarf.c (process_debug_info): Check for abbrev_base being larger
914*e058c834Schristos	than the section size.
915*e058c834Schristos	(process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
916*e058c834Schristos	arrays.
917*e058c834Schristos	(xcalloc2): New function.  Like xcalloc, but checks for overflow.
918*e058c834Schristos	(display_debug_addr): Use xcalloc to allocate the debug_addr_info
919*e058c834Schristos	array.  Check for an address_base that is too large.
920*e058c834Schristos
921*e058c834Schristos	* dwarf.h (xcalloc2): Prototype.
922*e058c834Schristos
923*e058c834Schristos2015-01-12  Alan Modra  <amodra@gmail.com>
924*e058c834Schristos
925*e058c834Schristos	* prdbg.c (print_debugging_info): Don't use void* for function
926*e058c834Schristos	pointer param.
927*e058c834Schristos	* budbg.h (print_debugging_info): Update prototype.
928*e058c834Schristos
929*e058c834Schristos2015-01-08  Nick Clifton  <nickc@redhat.com>
930*e058c834Schristos
931*e058c834Schristos	PR binutils/17512
932*e058c834Schristos	* ojcopy.c (copy_object): Free the symbol table if no symbols
933*e058c834Schristos	could be loaded.
934*e058c834Schristos	(copy_file): Use bfd_close_all_done to close files that could not
935*e058c834Schristos	be copied.
936*e058c834Schristos
937*e058c834Schristos	* sysdump.c (getINT): Fail if reading off the end of the buffer.
938*e058c834Schristos	Replace call to abort with a call to fatal.
939*e058c834Schristos	(getCHARS): Prevetn reading off the end of the buffer.
940*e058c834Schristos
941*e058c834Schristos	* nlmconv.c (i386_mangle_relocs): Skip relocs without an
942*e058c834Schristos	associated symbol.
943*e058c834Schristos	(powerpc_mangle_relocs): Skip unrecognised relocs.  Check address
944*e058c834Schristos	range before applying a reloc.
945*e058c834Schristos
946*e058c834Schristos2015-01-07  Nick Clifton  <nickc@redhat.com>
947*e058c834Schristos
948*e058c834Schristos	PR binutils/17512
949*e058c834Schristos	* dlltool.c (scan_obj_file): Break loop if the last archive
950*e058c834Schristos	displayed matches the current archive.
951*e058c834Schristos
952*e058c834Schristos	* objdump.c (display_any_bfd): Add a depth limit to nested archive
953*e058c834Schristos	display in order to avoid infinite loops.
954*e058c834Schristos	* srconv.c: Replace calls to abort with calls to fatal with an
955*e058c834Schristos	error message.
956*e058c834Schristos
957*e058c834Schristos2015-01-06  Nick Clifton  <nickc@redhat.com>
958*e058c834Schristos
959*e058c834Schristos	PR binutils/17512
960*e058c834Schristos	* coffdump.c (dump_coff_section): Check for a symbol being
961*e058c834Schristos	available before printing its name.
962*e058c834Schristos	(main): Check the return value from coff_grok.
963*e058c834Schristos	* coffgrok.c: Reformat and tidy.
964*e058c834Schristos	Add range checks to most functions.
965*e058c834Schristos	(coff_grok): Return NULL if the input bfd is not in a COFF
966*e058c834Schristos	format.
967*e058c834Schristos	* coffgrok.h: Reformat and tidy.
968*e058c834Schristos	(struct coff_section): Change the nrelocs field to unsigned.
969*e058c834Schristos	* srconv.c (main): Check the return value from coff_grok.
970*e058c834Schristos
971*e058c834Schristos2015-01-05  Nick Clifton  <nickc@redhat.com>
972*e058c834Schristos
973*e058c834Schristos	PR binutils/17512
974*e058c834Schristos	* nm.c (print_symbol): Add 'is_synthetic' parameter.  Use it to
975*e058c834Schristos	help initialize the info.elfinfo field.
976*e058c834Schristos	(print_size_symbols): Add 'synth_count' parameter.  Use it to set
977*e058c834Schristos	the is_synthetic parameter when calling print_symbol.
978*e058c834Schristos	(print_symbols): Likewise.
979*e058c834Schristos	(display_rel_file): Pass synth_count to printing function.
980*e058c834Schristos	(display_archive): Break loop if the last archive displayed
981*e058c834Schristos	matches the current archive.
982*e058c834Schristos	* size.c (display_archive): Likewise.
983*e058c834Schristos
984*e058c834Schristos2015-01-05  Nick Clifton  <nickc@redhat.com>
985*e058c834Schristos
986*e058c834Schristos	PR binutils/17531
987*e058c834Schristos	* dwarf.c (alloc_num_debug_info_entries): New variable.
988*e058c834Schristos	(process_debug_info): Set it.  Use it to avoid displaying
989*e058c834Schristos	attributes for which there is no info.
990*e058c834Schristos	(display_debug_abbrev): Check that the debug_info_entry index is
991*e058c834Schristos	valid before using it.
992*e058c834Schristos	(display_loc_list_dwo): Likewise.
993*e058c834Schristos	(process_cu_tu_index): Add range check for an overlarge dw_sect
994*e058c834Schristos	value.
995*e058c834Schristos	(free_debug_memory): Reset alloc_num_debug_info_entries.
996*e058c834Schristos	* readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
997*e058c834Schristos	be indentified.
998*e058c834Schristos	(dynamic_section_mips_val): Warn if the timestamp is invalid.
999*e058c834Schristos	(print_mips_got_entry): Add a data_end parameter.  Warn if a read
1000*e058c834Schristos	would go beyond the end of the data, and return an error value.
1001*e058c834Schristos	(process_mips_specific): Do not read options from beyond the end
1002*e058c834Schristos	of the section.
1003*e058c834Schristos	Correct code to display optional data at the end of an option.
1004*e058c834Schristos	Warn if there are too many GOT symbols.
1005*e058c834Schristos	Update calls to print_mips_got_entry, and handle error returns.
1006*e058c834Schristos
1007*e058c834Schristos2015-01-05  Daniel Klauer  <daniel.c.klauer@web.de>
1008*e058c834Schristos
1009*e058c834Schristos	PR binutils/17489
1010*e058c834Schristos	* doc/binutils.texi (dlltool): Correct description of --kill-at
1011*e058c834Schristos	option.
1012*e058c834Schristos
1013*e058c834Schristos2015-01-01  Alan Modra  <amodra@gmail.com>
1014*e058c834Schristos
1015*e058c834Schristos	* version.c (print_version): Just print current year.
1016*e058c834Schristos
1017*e058c834Schristos2015-01-01  Alan Modra  <amodra@gmail.com>
1018*e058c834Schristos
1019*e058c834Schristos	Update year range in copyright notice of all files.
1020*e058c834Schristos
1021*e058c834SchristosFor older changes see ChangeLog-2014
1022*e058c834Schristos
1023*e058c834SchristosCopyright (C) 2015 Free Software Foundation, Inc.
1024*e058c834Schristos
1025*e058c834SchristosCopying and distribution of this file, with or without modification,
1026*e058c834Schristosare permitted in any medium without royalty provided the copyright
1027*e058c834Schristosnotice and this notice are preserved.
1028*e058c834Schristos
1029*e058c834SchristosLocal Variables:
1030*e058c834Schristosmode: change-log
1031*e058c834Schristosleft-margin: 8
1032*e058c834Schristosfill-column: 74
1033*e058c834Schristosversion-control: never
1034*e058c834SchristosEnd:
1035