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