More fixes for buffer overruns instigated by corrupt binaries.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
5a3f568b
NC
12014-11-03 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17512
4 * objdump.c (slurp_symtab): Fail gracefully if the table could not
5 be read.
6 (dump_relocs_in_section): Likewise.
7
ba241f2d
NC
82014-11-03 Nick Clifton <nickc@redhat.com>
9
10 * po/fi.po: Updated Finnish translation.
11 * po/sv.po: Updated Swedish translation.
12
2a03f307
HPN
132014-11-01 Hans-Peter Nilsson <hp@axis.com>
14
15 * readelf.c (get_32bit_elf_symbols): Cast error
16 parameters of bfd_size_type with the %lx format to
17 unsigned long.
18
2c629856
N
192014-10-31 Andrew Pinski <apinski@cavium.com>
20 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
21
22 * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
23
da37262b
IB
242014-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
25
26 * cxxfilt.c (main): Add case for dlang_demangling style.
27
f54498b4
NC
282014-10-31 Nick Clifton <nickc@redhat.com>
29
30 PR binutils/17512
31 * readelf.c (process_program_headers): Avoid memory exhaustion due
32 to corrupt values in a dynamis segment header.
33 (get_32bit_elf_symbols): Do not attempt to read an over-large
34 section.
35 (get_64bit_elf_symbols): Likewise.
36
fe060053
NC
372014-10-31 Nick Clifton <nickc@redhat.com>
38
39 * strings.c: Add new command line option --data to only scan the
40 initialized, loadable data secions of binaries. Choose the
41 default behaviour of --all or --data based upon a configure
42 option.
43 * doc/binutils.texi (strings): Update documentation. Include
44 description of why the --data option might be unsafe.
45 * configure.ac: Add new option --disable-default-strings-all which
46 restores the old behaviour of strings using --data by default. If
47 the option is not used make strings use --all by default.
48 * NEWS: Mention the new behaviour of strings.
49 * configure: Regenerate.
50 * config.in: Regenerate.
51
76ca31c0
NC
522014-10-30 Nick Clifton <nickc@redhat.com>
53
54 * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
55 there is a single string for translation.
56 (dynamic_section_mips_val): Likewise.
57
64b588b5
NC
582014-10-29 Nick Clifton <nickc@redhat.com>
59
60 * po/bg.po: Updated Bulgarian translation.
61 * po/sr.po: New Serbian translation.
62 * po/sv.po: Updated Swedish translation.
63
00ac7aa0
MF
642014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
65
66 * readelf.c (print_mips_ases): Print unknown ASEs.
67 (print_mips_isa_ext): Print the value of an unknown extension.
68
91dc4e0a
TG
692014-10-15 Tristan Gingold <gingold@adacore.com>
70
71 * configure: Regenerate.
72
c50415e2
TG
732014-10-14 Tristan Gingold <gingold@adacore.com>
74
75 * NEWS: Add marker for 2.25.
76
65879393
AM
772014-10-14 Alan Modra <amodra@gmail.com>
78
79 PR 17453
80 * dwarf.c (read_leb128): Avoid signed overflow.
81 (read_debug_line_header): Likewise.
82
9495b2e6
AM
832014-10-14 Alan Modra <amodra@gmail.com>
84
85 PR 17453
86 * readelf.c (process_program_headers): Correct fscanf format used
87 for interpreter.
88
3d68f91c
JM
892014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
90
91 * readelf.c (display_sparc_hwcaps2): New function.
92 (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
93 handling `Tag_GNU_Sparc_HWCAPS2' attributes.
94
49727e46
AM
952014-09-22 Alan Modra <amodra@gmail.com>
96
97 PR 16563
98 * dwarf.c (GET): Remove semicolon.
99 (read_cie): New function, extracted from..
100 (display_debug_frames): ..here. Correctly handle signed offset
101 from FDE to CIE in .eh_frame. Decode forward referenced CIEs too.
102
70e99720
TG
1032014-09-16 Nick Clifton <nickc@redhat.com>
104
105 * readelf.c (display_arm_attribute): Use unsigned int type for
106 tag, val and type variables.
107
40c7a7cb
KLC
1082014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
109
110 * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
111
7361da2c
AB
1122014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
113 Matthew Fortune <matthew.fortune@imgtec.com>
114
115 * readelf.c (get_machine_flags): Add support for mips32r6 and
116 mips64r6.
117
74fffc39
JT
1182014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
119
120 * objcopy.c (is_nondebug_keep_contents_section): Change
121 '.build-id' to '.buildid'.
122
4ee22035
RH
1232014-08-22 Richard Henderson <rth@redhat.com>
124
125 * dwarf.h (init_dwarf_regnames_aarch64): Declare.
126 * dwarf.c (dwarf_regnames_aarch64): New.
127 (init_dwarf_regnames_aarch64): New.
128 (init_dwarf_regnames): Call it.
129 * objdump.c (dump_dwarf): Likewise.
130
2974be62
AM
1312014-08-19 Alan Modra <amodra@gmail.com>
132
133 * configure: Regenerate.
134
b879806f
AM
1352014-08-14 Alan Modra <amodra@gmail.com>
136
137 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
138 * config.in: Regenerate.
139 * configure: Regenerate.
140
351cdf24
MF
1412014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
142
143 * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
144 (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
145 (display_mips_gnu_attribute): Abstracted fp abi printing to...
146 (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
147 (print_mips_ases, print_mips_isa_ext): New static functions.
148 (get_mips_reg_size): Likewise.
149 (process_mips_specific): Display abiflags data.
150
b794fc1d
AM
1512014-07-28 Alan Modra <amodra@gmail.com>
152
153 PR 13227
154 * nm.c (filter_symbols): Warn on __gnu_lto_slim.
155
3510a7b8
NC
1562014-07-07 Nick Clifton <nickc@redhat.com>
157
158 * readelf.c (get_symbol_type): Revert accidental change to
159 detection of thumb function symbols.
160
35eafcc7
AM
1612014-07-04 Alan Modra <amodra@gmail.com>
162
163 * configure.ac: Rename from configure.in.
164 * Makefile.in: Regenerate.
165 * config.in: Regenerate.
166 * doc/Makefile.in: Regenerate.
167
2e98a7bd
AM
1682014-07-04 Alan Modra <amodra@gmail.com>
169
170 * configure.in: Include bfd/version.m4.
171 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
172 (BFD_VERSION): Delete.
173 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
174 * configure: Regenerate.
175 * Makefile.in: Regenerate.
176 * doc/Makefile.in: Regenerate.
177
8d112f9e
TG
1782014-07-03 Tristan Gingold <gingold@adacore.com>
179
180 * doc/binutils.texi: Clarify addr2line output.
181
b6a1c03a
AM
1822014-07-01 Alan Modra <amodra@gmail.com>
183
184 * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
185
334ac421
EA
1862014-06-26 Erik Akermann <kurterikackermann@gmail.com>
187
188 * strings.c: Add -w/--include-all-whitespace option to include any
189 whitespace character in the displayed strings.
190 * NEWS: Mention the new feature.
191 * doc/binutils.texi (strings): Document the new command line
192 option.
193
df565f32
NC
1942014-06-26 Nick Clifton <nickc@redhat.com>
195
196 * readelf.c (process_note_sections): If there are no note sections
197 try processing note segments instead.
198
548a2357
NC
1992014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
200
201 PR binutils/16923
202 * rcparse.y (fixedverinfo): Prevent large version numbers from
203 corrupting other values.
204
d71ad7fc
RC
2052014-06-09 Romain Chastenet <romain.chastenet@free.fr>
206
207 PR binutils/16252
208 * dwarf.c (display_debug_frames): Remember the state of the
209 cfa_offset, cfa_reg, ra and cfa_exp field
210
270c9937
JB
2112014-06-05 Joel Brobecker <brobecker@adacore.com>
212
213 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
214 bfd's development.sh.
215 * Makefile.in, configure: Regenerate.
216
6e6e7cfc
JT
2172014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
218
219 * objcopy.c (is_nondebug_keep_contents_section): New function.
220 (setup_section): Use it.
221
856ea05c
KP
2222014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
223
224 * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
225
6d00b590
AM
2262014-05-02 Alan Modra <amodra@gmail.com>
227
228 * emul_aix.c: Update bfd target vector naming.
229 * testsuite/binutils-all/objcopy.exp: Likewise.
230
b2bcb4bd
CS
2312014-04-24 Christian Svensson <blue@cmd.nu>
232
233 * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
234
7d64c587
AB
2352014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
236
237 * doc/binutils.texi: Document the disassemble MIPS XPA instructions
238 command line option.
239
73589c9d
CS
2402014-04-22 Christian Svensson <blue@cmd.nu>
241
242 * readelf.c: Remove openrisc and or32 support. Add support for or1k.
243
c9ffd2ea
TG
2442014-04-18 Tristan Gingold <gingold@adacore.com>
245
246 * od-macho.c (dump_section_map): Adjust as load commands
247 are now chained.
248 (dump_load_command, dump_section_content): Likewise.
249
e89d3dee
TG
2502014-04-16 Tristan Gingold <gingold@adacore.com>
251
252 * od-macho.c (OPT_DYLD_INFO): New macro.
253 (options): Add entry for dyld_info.
254 (mach_o_help): Likewise.
255 (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
256 (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
257 (bfd_mach_o_dyld_rebase_type_name): New array.
258 (export_info_data): New struct.
259 (dump_dyld_info): Add verbose argument. Dump rebase, bind and
260 exports data.
261 (dump_load_command): Adjust dump_dyld_info call.
262 (mach_o_dump): Handle dyld_info.
263
47f8a107
TG
2642014-04-16 Tristan Gingold <gingold@adacore.com>
265
266 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
267 (dump_segment): Reformat output.
268 (dump_dyld_info): Also display end offsets.
269 (dump_load_command): Add IDX argument, display commands size
270 and offset, reformat display.
271 (dump_load_commands): Adjust for added argument.
272
5063a421
AM
2732014-04-07 Alan Modra <amodra@gmail.com>
274
275 PR binutils/16811
276 * objcopy.c (copy_object): Error if no sections.
277
92b1b678
MT
2782014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
279
280 PR binutils/14698
281 ar.c: Set plugin_target early if plugins are supported.
282 nm.c: Likewise.
283
965b60c9
TG
2842014-04-03 Tristan Gingold <gingold@adacore.com>
285
286 * od-macho.c (printf_uint64): New function.
287 (dump_load_command, dump_obj_compact_unwind): Use it.
288 (dump_exe_compact_unwind): Display personality functions.
289
7a79c514
TG
2902014-04-02 Tristan Gingold <gingold@adacore.com>
291
292 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
293 (options): Add entry for twolevel_hints.
294 (dump_data_in_code): Fix error message.
295 (dump_twolevel_hints): New function.
296 (dump_load_command): Handle prebound dylib, prebind cksum
297 and twolevel hints.
298 (mach_o_dump): Handle twolevel hints.
299
c275b681
TG
3002014-04-01 Tristan Gingold <gingold@adacore.com>
301
302 * od-macho.c (OPT_DATA_IN_CODE): New macro.
303 (options): Add entry for data in code.
304 (mach_o_help): Ditto.
305 (data_in_code_kind_name): New array.
306 (dump_data_in_code): New function.
307 (dump_load_command): Handle data in code.
308 (mach_o_dump): Ditto.
309 (dump_header): Display a terminal newline.
310
10be66a4
TG
3112014-03-27 Tristan Gingold <gingold@adacore.com>
312
313 * od-macho.c (dump_load_command): Display value for
314 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
315 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
316
3cc27770
TG
3172014-03-27 Tristan Gingold <gingold@adacore.com>
318
319 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
320 (options): Add entry for function_starts.
321 (mach_o_help): Ditto.
322 (disp_segment_prot): New function.
323 (dump_section_map): Call disp_segment_prot.
324 (dump_function_starts): New function.
325 (dump_obj_compact_unwind): Fix ouput indentation.
326 (dump_exe_compact_unwind): Fix ouput indentation.
327 (mach_o_dump): Handle function_starts.
328
d8028530
TG
3292014-03-26 Tristan Gingold <gingold@adacore.com>
330
331 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
332
595330b7
TG
3332014-03-24 Tristan Gingold <gingold@adacore.com>
334
335 * objdump.c (load_specific_debug_section): Set address of section.
336
aa9fa1e2
TG
3372014-03-24 Tristan Gingold <gingold@adacore.com>
338
339 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
340 (dump_exe_compact_unwind): Change the condition. Improve
341 indentation.
342
bcf83b2a
NC
3432014-03-20 Nick Clifton <nickc@redhat.com>
344
345 * readelf.c (process_version_sections): Fix off-by-one error in
346 previous delta.
347
c24cf8b6
NC
3482014-03-19 Nick Clifton <nickc@redhat.com>
349
350 PR binutils/16723
351 * readelf.c (process_version_sections): Prevent an infinite loop
352 when the vn_next field is zero but there are still entries to be
353 processed.
354
167e1c1f
TG
3552014-03-17 Tristan Gingold <gingold@adacore.com>
356
357 * od-macho.c (dump_section_header): Renames of dump_section.
358 (dump_segment): Adjust after renaming.
359 (OPT_COMPACT_UNWIND): Define.
360 (options): Add compact unwind.
361 (mach_o_help): Document compact_unwind.
362 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
363 (dump_unwind_encoding_x86, dump_unwind_encoding)
364 (dump_obj_compact_unwind, dump_exe_compact_unwind)
365 (dump_section_content): New functions.
366 (mach_o_dump): Handle compact unwind.
367
fbe383b9
TG
3682014-03-17 Tristan Gingold <gingold@adacore.com>
369
370 * od-macho.c (dump_load_command): Handle lazy load dylib.
371
182a105a
AG
3722014-03-14 Anthony Green <green@moxielogic.com>
373
374 * objcopy.c (copy_object): Check fwrite return code.
375
5a026fc9
NC
3762014-03-14 Meador Inge <meadori@codesourcery.com>
377
9495b2e6
AM
378 * dwarf.c (strnlen): Move prototype ...
379 * sysdep.h (strnlen): ... to here.
5a026fc9 380
8a1373cc
NC
3812014-03-12 Nick Clifton <nickc@redhat.com>
382
383 PR binutils/16652
384 * doc/binutils.texi (ar cmdline): Move --plugin command line
385 option to after the command option.
386
c63043aa
DG
3872014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
388
389 PR binutils/16567
390 * deflex.l: Add noinput and nounput options.
391
fa47fa92
AM
3922014-03-12 Alan Modra <amodra@gmail.com>
393
394 * Makefile.in: Regenerate.
395 * doc/Makefile.in: Regenerate.
396
e9847026
NC
3972014-03-06 Nick Clifton <nickc@redhat.com>
398
399 PR binutils/16664
400 * readelf.c (process_attributes): Add checks for corrupt
401 attribute section names.
402
4b95cf5c
AM
4032014-03-05 Alan Modra <amodra@gmail.com>
404
405 Update copyright years.
406
2c80b753
AM
4072014-03-03 Alan Modra <amodra@gmail.com>
408
409 * README: Add "Copyright Notices" paragraph.
410
503a6091
CC
4112014-02-11 Cary Coutant <ccoutant@google.com>
412
413 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
414 for zero-length attribute value.
415
c1c69e83
AM
4162014-02-10 Alan Modra <amodra@gmail.com>
417
418 * po/binutils.pot: Regenerate.
419
d32e5c54
AP
4202014-02-06 Andrew Pinski <apinski@cavium.com>
421
422 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
423
926c5385
CC
4242014-02-06 Cary Coutant <ccoutant@google.com>
425
426 PR binutils/16444
427 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
428
221fd5d5
L
4292014-01-08 H.J. Lu <hongjiu.lu@intel.com>
430
431 * version.c (print_version): Update copyright year to 2014.
432
1651e569
TT
4332014-01-07 Tom Tromey <tromey@redhat.com>
434
435 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
436 stdarg macros.
437 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
438 macros.
439 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
440 stdarg macros.
441
b51f1626
TT
4422014-01-07 Tom Tromey <tromey@redhat.com>
443
444 * coffgrok.h (coff_ofile): Don't use PARAMS.
445 * nlmheader.y (strerror): Don't use PARAMS.
446
5fb776a6 447For older changes see ChangeLog-2013
252b5132 448\f
5fb776a6 449Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
450
451Copying and distribution of this file, with or without modification,
452are permitted in any medium without royalty provided the copyright
453notice and this notice are preserved.
454
252b5132
RH
455Local Variables:
456mode: change-log
457left-margin: 8
458fill-column: 74
459version-control: never
460End:
This page took 0.647127 seconds and 4 git commands to generate.