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