Prevent large (or negative) version values from overflowing into other fields when
[binutils-gdb.git] / binutils / ChangeLog
1 2014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
2
3 PR binutils/16923
4 * rcparse.y (fixedverinfo): Prevent large version numbers from
5 corrupting other values.
6
7 2014-06-09 Romain Chastenet <romain.chastenet@free.fr>
8
9 PR binutils/16252
10 * dwarf.c (display_debug_frames): Remember the state of the
11 cfa_offset, cfa_reg, ra and cfa_exp field
12
13 2014-06-05 Joel Brobecker <brobecker@adacore.com>
14
15 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
16 bfd's development.sh.
17 * Makefile.in, configure: Regenerate.
18
19 2014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
20
21 * objcopy.c (is_nondebug_keep_contents_section): New function.
22 (setup_section): Use it.
23
24 2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
25
26 * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
27
28 2014-05-02 Alan Modra <amodra@gmail.com>
29
30 * emul_aix.c: Update bfd target vector naming.
31 * testsuite/binutils-all/objcopy.exp: Likewise.
32
33 2014-04-24 Christian Svensson <blue@cmd.nu>
34
35 * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
36
37 2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
38
39 * doc/binutils.texi: Document the disassemble MIPS XPA instructions
40 command line option.
41
42 2014-04-22 Christian Svensson <blue@cmd.nu>
43
44 * readelf.c: Remove openrisc and or32 support. Add support for or1k.
45
46 2014-04-18 Tristan Gingold <gingold@adacore.com>
47
48 * od-macho.c (dump_section_map): Adjust as load commands
49 are now chained.
50 (dump_load_command, dump_section_content): Likewise.
51
52 2014-04-16 Tristan Gingold <gingold@adacore.com>
53
54 * od-macho.c (OPT_DYLD_INFO): New macro.
55 (options): Add entry for dyld_info.
56 (mach_o_help): Likewise.
57 (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
58 (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
59 (bfd_mach_o_dyld_rebase_type_name): New array.
60 (export_info_data): New struct.
61 (dump_dyld_info): Add verbose argument. Dump rebase, bind and
62 exports data.
63 (dump_load_command): Adjust dump_dyld_info call.
64 (mach_o_dump): Handle dyld_info.
65
66 2014-04-16 Tristan Gingold <gingold@adacore.com>
67
68 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
69 (dump_segment): Reformat output.
70 (dump_dyld_info): Also display end offsets.
71 (dump_load_command): Add IDX argument, display commands size
72 and offset, reformat display.
73 (dump_load_commands): Adjust for added argument.
74
75 2014-04-07 Alan Modra <amodra@gmail.com>
76
77 PR binutils/16811
78 * objcopy.c (copy_object): Error if no sections.
79
80 2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
81
82 PR binutils/14698
83 ar.c: Set plugin_target early if plugins are supported.
84 nm.c: Likewise.
85
86 2014-04-03 Tristan Gingold <gingold@adacore.com>
87
88 * od-macho.c (printf_uint64): New function.
89 (dump_load_command, dump_obj_compact_unwind): Use it.
90 (dump_exe_compact_unwind): Display personality functions.
91
92 2014-04-02 Tristan Gingold <gingold@adacore.com>
93
94 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
95 (options): Add entry for twolevel_hints.
96 (dump_data_in_code): Fix error message.
97 (dump_twolevel_hints): New function.
98 (dump_load_command): Handle prebound dylib, prebind cksum
99 and twolevel hints.
100 (mach_o_dump): Handle twolevel hints.
101
102 2014-04-01 Tristan Gingold <gingold@adacore.com>
103
104 * od-macho.c (OPT_DATA_IN_CODE): New macro.
105 (options): Add entry for data in code.
106 (mach_o_help): Ditto.
107 (data_in_code_kind_name): New array.
108 (dump_data_in_code): New function.
109 (dump_load_command): Handle data in code.
110 (mach_o_dump): Ditto.
111 (dump_header): Display a terminal newline.
112
113 2014-03-27 Tristan Gingold <gingold@adacore.com>
114
115 * od-macho.c (dump_load_command): Display value for
116 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
117 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
118
119 2014-03-27 Tristan Gingold <gingold@adacore.com>
120
121 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
122 (options): Add entry for function_starts.
123 (mach_o_help): Ditto.
124 (disp_segment_prot): New function.
125 (dump_section_map): Call disp_segment_prot.
126 (dump_function_starts): New function.
127 (dump_obj_compact_unwind): Fix ouput indentation.
128 (dump_exe_compact_unwind): Fix ouput indentation.
129 (mach_o_dump): Handle function_starts.
130
131 2014-03-26 Tristan Gingold <gingold@adacore.com>
132
133 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
134
135 2014-03-24 Tristan Gingold <gingold@adacore.com>
136
137 * objdump.c (load_specific_debug_section): Set address of section.
138
139 2014-03-24 Tristan Gingold <gingold@adacore.com>
140
141 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
142 (dump_exe_compact_unwind): Change the condition. Improve
143 indentation.
144
145 2014-03-20 Nick Clifton <nickc@redhat.com>
146
147 * readelf.c (process_version_sections): Fix off-by-one error in
148 previous delta.
149
150 2014-03-19 Nick Clifton <nickc@redhat.com>
151
152 PR binutils/16723
153 * readelf.c (process_version_sections): Prevent an infinite loop
154 when the vn_next field is zero but there are still entries to be
155 processed.
156
157 2014-03-17 Tristan Gingold <gingold@adacore.com>
158
159 * od-macho.c (dump_section_header): Renames of dump_section.
160 (dump_segment): Adjust after renaming.
161 (OPT_COMPACT_UNWIND): Define.
162 (options): Add compact unwind.
163 (mach_o_help): Document compact_unwind.
164 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
165 (dump_unwind_encoding_x86, dump_unwind_encoding)
166 (dump_obj_compact_unwind, dump_exe_compact_unwind)
167 (dump_section_content): New functions.
168 (mach_o_dump): Handle compact unwind.
169
170 2014-03-17 Tristan Gingold <gingold@adacore.com>
171
172 * od-macho.c (dump_load_command): Handle lazy load dylib.
173
174 2014-03-14 Anthony Green <green@moxielogic.com>
175
176 * objcopy.c (copy_object): Check fwrite return code.
177
178 2014-03-14 Meador Inge <meadori@codesourcery.com>
179
180 * dwarf.c (strnlen): Move prototype ...
181 * sysdep.h (strnlen): ... to here.
182
183 2014-03-12 Nick Clifton <nickc@redhat.com>
184
185 PR binutils/16652
186 * doc/binutils.texi (ar cmdline): Move --plugin command line
187 option to after the command option.
188
189 2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
190
191 PR binutils/16567
192 * deflex.l: Add noinput and nounput options.
193
194 2014-03-12 Alan Modra <amodra@gmail.com>
195
196 * Makefile.in: Regenerate.
197 * doc/Makefile.in: Regenerate.
198
199 2014-03-06 Nick Clifton <nickc@redhat.com>
200
201 PR binutils/16664
202 * readelf.c (process_attributes): Add checks for corrupt
203 attribute section names.
204
205 2014-03-05 Alan Modra <amodra@gmail.com>
206
207 Update copyright years.
208
209 2014-03-03 Alan Modra <amodra@gmail.com>
210
211 * README: Add "Copyright Notices" paragraph.
212
213 2014-02-11 Cary Coutant <ccoutant@google.com>
214
215 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
216 for zero-length attribute value.
217
218 2014-02-10 Alan Modra <amodra@gmail.com>
219
220 * po/binutils.pot: Regenerate.
221
222 2014-02-06 Andrew Pinski <apinski@cavium.com>
223
224 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
225
226 2014-02-06 Cary Coutant <ccoutant@google.com>
227
228 PR binutils/16444
229 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
230
231 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
232
233 * version.c (print_version): Update copyright year to 2014.
234
235 2014-01-07 Tom Tromey <tromey@redhat.com>
236
237 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
238 stdarg macros.
239 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
240 macros.
241 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
242 stdarg macros.
243
244 2014-01-07 Tom Tromey <tromey@redhat.com>
245
246 * coffgrok.h (coff_ofile): Don't use PARAMS.
247 * nlmheader.y (strerror): Don't use PARAMS.
248
249 For older changes see ChangeLog-2013
250 \f
251 Copyright (C) 2014 Free Software Foundation, Inc.
252
253 Copying and distribution of this file, with or without modification,
254 are permitted in any medium without royalty provided the copyright
255 notice and this notice are preserved.
256
257 Local Variables:
258 mode: change-log
259 left-margin: 8
260 fill-column: 74
261 version-control: never
262 End: