This patch fixes a flaw in the SREC parser which could cause a stack overflow
[external/binutils.git] / binutils / ChangeLog
1 2014-10-22  Matthew Fortune  <matthew.fortune@imgtec.com>
2
3         * readelf.c (print_mips_ases): Print unknown ASEs.
4         (print_mips_isa_ext): Print the value of an unknown extension.
5
6 2014-10-15  Tristan Gingold  <gingold@adacore.com>
7
8         * configure: Regenerate.
9
10 2014-10-14  Tristan Gingold  <gingold@adacore.com>
11
12         * NEWS: Add marker for 2.25.
13
14 2014-10-14  Alan Modra  <amodra@gmail.com>
15
16         PR 17453
17         * dwarf.c (read_leb128): Avoid signed overflow.
18         (read_debug_line_header): Likewise.
19
20 2014-10-14  Alan Modra  <amodra@gmail.com>
21
22         PR 17453
23         * readelf.c (process_program_headers): Correct fscanf format used
24         for interpreter.
25
26 2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
27
28         * readelf.c (display_sparc_hwcaps2): New function.
29         (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
30         handling `Tag_GNU_Sparc_HWCAPS2' attributes.
31
32 2014-09-22  Alan Modra  <amodra@gmail.com>
33
34         PR 16563
35         * dwarf.c (GET): Remove semicolon.
36         (read_cie): New function, extracted from..
37         (display_debug_frames): ..here.  Correctly handle signed offset
38         from FDE to CIE in .eh_frame.  Decode forward referenced CIEs too.
39
40 2014-09-16  Nick Clifton  <nickc@redhat.com>
41
42         * readelf.c (display_arm_attribute): Use unsigned int type for
43         tag, val and type variables.
44
45 2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
46
47         * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
48
49 2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
50             Matthew Fortune  <matthew.fortune@imgtec.com>
51
52         * readelf.c (get_machine_flags): Add support for mips32r6 and
53         mips64r6.
54
55 2014-09-01  Jon TURNEY  <jon.turney@dronecode.org.uk>
56
57         * objcopy.c (is_nondebug_keep_contents_section): Change
58         '.build-id' to '.buildid'.
59
60 2014-08-22  Richard Henderson  <rth@redhat.com>
61
62         * dwarf.h (init_dwarf_regnames_aarch64): Declare.
63         * dwarf.c (dwarf_regnames_aarch64): New.
64         (init_dwarf_regnames_aarch64): New.
65         (init_dwarf_regnames): Call it.
66         * objdump.c (dump_dwarf): Likewise.
67
68 2014-08-19  Alan Modra  <amodra@gmail.com>
69
70         * configure: Regenerate.
71
72 2014-08-14  Alan Modra  <amodra@gmail.com>
73
74         * configure.ac: Move ACX_LARGEFILE after LT_INIT.
75         * config.in: Regenerate.
76         * configure: Regenerate.
77
78 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
79
80         * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
81         (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
82         (display_mips_gnu_attribute): Abstracted fp abi printing to...
83         (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
84         (print_mips_ases, print_mips_isa_ext): New static functions.
85         (get_mips_reg_size): Likewise.
86         (process_mips_specific): Display abiflags data.
87
88 2014-07-28  Alan Modra  <amodra@gmail.com>
89
90         PR 13227
91         * nm.c (filter_symbols): Warn on __gnu_lto_slim.
92
93 2014-07-07  Nick Clifton  <nickc@redhat.com>
94
95         * readelf.c (get_symbol_type): Revert accidental change to
96         detection of thumb function symbols.
97
98 2014-07-04  Alan Modra  <amodra@gmail.com>
99
100         * configure.ac: Rename from configure.in.
101         * Makefile.in: Regenerate.
102         * config.in: Regenerate.
103         * doc/Makefile.in: Regenerate.
104
105 2014-07-04  Alan Modra  <amodra@gmail.com>
106
107         * configure.in: Include bfd/version.m4.
108         (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
109         (BFD_VERSION): Delete.
110         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
111         * configure: Regenerate.
112         * Makefile.in: Regenerate.
113         * doc/Makefile.in: Regenerate.
114
115 2014-07-03  Tristan Gingold  <gingold@adacore.com>
116
117         * doc/binutils.texi: Clarify addr2line output.
118
119 2014-07-01  Alan Modra  <amodra@gmail.com>
120
121         * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
122
123 2014-06-26  Erik Akermann  <kurterikackermann@gmail.com>
124
125         * strings.c: Add -w/--include-all-whitespace option to include any
126         whitespace character in the displayed strings.
127         * NEWS: Mention the new feature.
128         * doc/binutils.texi (strings): Document the new command line
129         option.
130
131 2014-06-26  Nick Clifton  <nickc@redhat.com>
132
133         * readelf.c (process_note_sections): If there are no note sections
134         try processing note segments instead.
135
136 2014-06-17  Anton Lavrentiwev  <lavr@ncbi.nim.nih.gov>
137
138         PR binutils/16923
139         * rcparse.y (fixedverinfo): Prevent large version numbers from
140         corrupting other values.
141
142 2014-06-09  Romain Chastenet  <romain.chastenet@free.fr>
143
144         PR binutils/16252
145         * dwarf.c (display_debug_frames): Remember the state of the
146         cfa_offset, cfa_reg, ra and cfa_exp field
147
148 2014-06-05  Joel Brobecker  <brobecker@adacore.com>
149
150         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
151         bfd's development.sh.
152         * Makefile.in, configure: Regenerate.
153
154 2014-05-16  Jon Turney  <jon.turney@dronecode.org.uk>
155
156         * objcopy.c (is_nondebug_keep_contents_section): New function.
157         (setup_section): Use it.
158
159 2014-05-16  Kaushik Phata  <Kaushik.Phatak@kpit.com>
160
161         * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
162
163 2014-05-02  Alan Modra  <amodra@gmail.com>
164
165         * emul_aix.c: Update bfd target vector naming.
166         * testsuite/binutils-all/objcopy.exp: Likewise.
167
168 2014-04-24  Christian Svensson  <blue@cmd.nu>
169
170         * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
171
172 2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
173
174         * doc/binutils.texi: Document the disassemble MIPS XPA instructions
175         command line option.
176
177 2014-04-22  Christian Svensson  <blue@cmd.nu>
178
179         * readelf.c: Remove openrisc and or32 support.  Add support for or1k.
180
181 2014-04-18  Tristan Gingold  <gingold@adacore.com>
182
183         * od-macho.c (dump_section_map): Adjust as load commands
184         are now chained.
185         (dump_load_command, dump_section_content): Likewise.
186
187 2014-04-16  Tristan Gingold  <gingold@adacore.com>
188
189         * od-macho.c (OPT_DYLD_INFO): New macro.
190         (options): Add entry for dyld_info.
191         (mach_o_help): Likewise.
192         (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
193         (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
194         (bfd_mach_o_dyld_rebase_type_name): New array.
195         (export_info_data): New struct.
196         (dump_dyld_info): Add verbose argument.  Dump rebase, bind and
197         exports data.
198         (dump_load_command): Adjust dump_dyld_info call.
199         (mach_o_dump): Handle dyld_info.
200
201 2014-04-16  Tristan Gingold  <gingold@adacore.com>
202
203         * od-macho.c (dump_header): Display sizeofcmds in decimal too.
204         (dump_segment): Reformat output.
205         (dump_dyld_info): Also display end offsets.
206         (dump_load_command): Add IDX argument, display commands size
207         and offset, reformat display.
208         (dump_load_commands): Adjust for added argument.
209
210 2014-04-07  Alan Modra  <amodra@gmail.com>
211
212         PR binutils/16811
213         * objcopy.c (copy_object): Error if no sections.
214
215 2014-04-03  Markus Trippelsdorf  <markus@trippelsdorf.de>
216
217         PR binutils/14698
218         ar.c: Set plugin_target early if plugins are supported.
219         nm.c: Likewise.
220
221 2014-04-03  Tristan Gingold  <gingold@adacore.com>
222
223         * od-macho.c (printf_uint64): New function.
224         (dump_load_command, dump_obj_compact_unwind): Use it.
225         (dump_exe_compact_unwind): Display personality functions.
226
227 2014-04-02  Tristan Gingold  <gingold@adacore.com>
228
229         * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
230         (options): Add entry for twolevel_hints.
231         (dump_data_in_code): Fix error message.
232         (dump_twolevel_hints): New function.
233         (dump_load_command): Handle prebound dylib, prebind cksum
234         and twolevel hints.
235         (mach_o_dump): Handle twolevel hints.
236
237 2014-04-01  Tristan Gingold  <gingold@adacore.com>
238
239         * od-macho.c (OPT_DATA_IN_CODE): New macro.
240         (options): Add entry for data in code.
241         (mach_o_help): Ditto.
242         (data_in_code_kind_name): New array.
243         (dump_data_in_code): New function.
244         (dump_load_command): Handle data in code.
245         (mach_o_dump): Ditto.
246         (dump_header): Display a terminal newline.
247
248 2014-03-27  Tristan Gingold  <gingold@adacore.com>
249
250         * od-macho.c (dump_load_command): Display value for
251         BFD_MACH_O_LC_DYLD_ENVIRONMENT.  Handle BFD_MACH_O_LC_DATA_IN_CODE
252         and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
253
254 2014-03-27  Tristan Gingold  <gingold@adacore.com>
255
256         * od-macho.c (OPT_FUNCTION_STARTS): New macro.
257         (options): Add entry for function_starts.
258         (mach_o_help): Ditto.
259         (disp_segment_prot): New function.
260         (dump_section_map): Call disp_segment_prot.
261         (dump_function_starts): New function.
262         (dump_obj_compact_unwind): Fix ouput indentation.
263         (dump_exe_compact_unwind): Fix ouput indentation.
264         (mach_o_dump): Handle function_starts.
265
266 2014-03-26  Tristan Gingold  <gingold@adacore.com>
267
268         * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
269
270 2014-03-24  Tristan Gingold  <gingold@adacore.com>
271
272         * objdump.c (load_specific_debug_section): Set address of section.
273
274 2014-03-24  Tristan Gingold  <gingold@adacore.com>
275
276         * od-macho.c (dump_unwind_encoding_x86): Set the factor.
277         (dump_exe_compact_unwind): Change the condition.  Improve
278         indentation.
279
280 2014-03-20  Nick Clifton  <nickc@redhat.com>
281
282         * readelf.c (process_version_sections): Fix off-by-one error in
283         previous delta.
284
285 2014-03-19  Nick Clifton  <nickc@redhat.com>
286
287         PR binutils/16723
288         * readelf.c (process_version_sections): Prevent an infinite loop
289         when the vn_next field is zero but there are still entries to be
290         processed.
291
292 2014-03-17  Tristan Gingold  <gingold@adacore.com>
293
294         * od-macho.c (dump_section_header): Renames of dump_section.
295         (dump_segment): Adjust after renaming.
296         (OPT_COMPACT_UNWIND): Define.
297         (options): Add compact unwind.
298         (mach_o_help): Document compact_unwind.
299         (unwind_x86_64_regs, unwind_x86_regs): New arrays.
300         (dump_unwind_encoding_x86, dump_unwind_encoding)
301         (dump_obj_compact_unwind, dump_exe_compact_unwind)
302         (dump_section_content): New functions.
303         (mach_o_dump): Handle compact unwind.
304
305 2014-03-17  Tristan Gingold  <gingold@adacore.com>
306
307         * od-macho.c (dump_load_command): Handle lazy load dylib.
308
309 2014-03-14  Anthony Green  <green@moxielogic.com>
310
311         * objcopy.c (copy_object): Check fwrite return code.
312
313 2014-03-14  Meador Inge  <meadori@codesourcery.com>
314
315         * dwarf.c (strnlen): Move prototype ...
316         * sysdep.h (strnlen): ... to here.
317
318 2014-03-12  Nick Clifton  <nickc@redhat.com>
319
320         PR binutils/16652
321         * doc/binutils.texi (ar cmdline): Move --plugin command line
322         option to after the command option.
323
324 2014-03-12  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
325
326         PR binutils/16567
327         * deflex.l: Add noinput and nounput options.
328
329 2014-03-12  Alan Modra  <amodra@gmail.com>
330
331         * Makefile.in: Regenerate.
332         * doc/Makefile.in: Regenerate.
333
334 2014-03-06  Nick Clifton  <nickc@redhat.com>
335
336         PR binutils/16664
337         * readelf.c (process_attributes): Add checks for corrupt
338         attribute section names.
339
340 2014-03-05  Alan Modra  <amodra@gmail.com>
341
342         Update copyright years.
343
344 2014-03-03  Alan Modra  <amodra@gmail.com>
345
346         * README: Add "Copyright Notices" paragraph.
347
348 2014-02-11  Cary Coutant  <ccoutant@google.com>
349
350         * binutils/dwarf.c (read_and_display_attr_value): Don't warn
351         for zero-length attribute value.
352
353 2014-02-10  Alan Modra  <amodra@gmail.com>
354
355         * po/binutils.pot: Regenerate.
356
357 2014-02-06  Andrew Pinski  <apinski@cavium.com>
358
359         * readelf.c  (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
360
361 2014-02-06  Cary Coutant  <ccoutant@google.com>
362
363         PR binutils/16444
364         * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
365
366 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
367
368         * version.c (print_version): Update copyright year to 2014.
369
370 2014-01-07  Tom Tromey  <tromey@redhat.com>
371
372         * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
373         stdarg macros.
374         * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
375         macros.
376         * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
377         stdarg macros.
378
379 2014-01-07  Tom Tromey  <tromey@redhat.com>
380
381         * coffgrok.h (coff_ofile): Don't use PARAMS.
382         * nlmheader.y (strerror): Don't use PARAMS.
383
384 For older changes see ChangeLog-2013
385 \f
386 Copyright (C) 2014 Free Software Foundation, Inc.
387
388 Copying and distribution of this file, with or without modification,
389 are permitted in any medium without royalty provided the copyright
390 notice and this notice are preserved.
391
392 Local Variables:
393 mode: change-log
394 left-margin: 8
395 fill-column: 74
396 version-control: never
397 End: