Add Intel AVX-512 support
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
2 Alexander Ivchenko <alexander.ivchenko@intel.com>
3 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
4 Sergey Lega <sergey.s.lega@intel.com>
5 Anna Tikhonova <anna.tikhonova@intel.com>
6 Ilya Tocar <ilya.tocar@intel.com>
7 Andrey Turetskiy <andrey.turetskiy@intel.com>
8 Ilya Verbin <ilya.verbin@intel.com>
9 Kirill Yukhin <kirill.yukhin@intel.com>
10 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11
12 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
13 numeration in comments.
14 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
15 dwarf table.
16
17 2013-07-19 Nick Clifton <nickc@redhat.com>
18
19 PR binutils/15745
20 * readelf.c (get_unwind_section_word): Whilst searching for a
21 reloc section associated with an unwind section, check the type as
22 well as the section number.
23
24 2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
25
26 * ar.c (usage): Fix C conformance issue.
27
28 2013-07-18 Nick Clifton <nickc@redhat.com>
29
30 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
31 documentation.
32
33 * readelf.c (process_unwind): Do not return the result of a void
34 function.
35
36 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
37
38 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
39 numbers with enum values.
40
41 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
42
43 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
44
45 2013-07-10 Tristan Gingold <gingold@adacore.com>
46
47 * od-xcoff.c (OPT_LDINFO): Define.
48 (options): Add ldinfo.
49 (xcoff_help): Mention ldinfo.
50 (xcoff_dump): Rename to ...
51 (xcoff_dump_obj): ... this. Add a break.
52 (dump_dumpx_core): New function.
53 (xcoff_dump_core): Likewise.
54 (xcoff_dump): Likewise.
55 * doc/binutils.texi (objdump): Mention ldinfo.
56
57 2013-07-09 Tristan Gingold <gingold@adacore.com>
58
59 * configure.com: Add new defines to match changes in configure.
60
61 2013-05-28 Cary Coutant <ccoutant@google.com>
62
63 * dwarf.c (display_debug_lines_raw): Print section offsets.
64
65 2013-05-15 Cary Coutant <ccoutant@google.com>
66
67 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
68 don't increment PTR.
69 (decode_location_expression): DW_OP_const2u should read 2 bytes.
70 (display_debug_lines_decoded): Adjust formatting.
71 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
72 7-byte reads.
73 (byte_get_big_endian): Likewise.
74 (byte_get_signed): Likewise.
75
76 2013-05-09 Andrew Pinski <apinski@cavium.com>
77
78 * doc/binutils.texi: Document -Mvirt disassembler option.
79
80 2013-05-02 Nick Clifton <nickc@redhat.com>
81
82 * readelf.c: Add support for MSP430X architecture.
83
84 2013-05-02 Nick Clifton <nickc@redhat.com>
85
86 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
87 sections as if they were fragmentary .debug_line sections.
88 (display_debug_lines_decoded): Likewise.
89
90 2013-04-29 Nick Clifton <nickc@redhat.com>
91
92 * dwarf.c (read_debug_line_header): New function. Reads in a
93 header in a .debug_line section.
94 (display_debug_lines_raw): Use new function. Handle fragmentary
95 .debug_line sections.
96 (display_debug_lines_decoded): Likewise.
97 * readelf.c (process_section_headers): Handle fragmenatry
98 .debug_line sections.
99 (display_debug_section): Likewise.
100
101 2013-04-26 Ian Lance Taylor <iant@google.com>
102
103 * MAINTAINERS: Add myself and Cary as gold maintainers.
104
105 2013-04-08 Tom Tromey <tromey@redhat.com>
106
107 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
108
109 2013-04-08 Tom Tromey <tromey@redhat.com>
110
111 * dwarf-mode.el: Bump version number.
112 (dwarf-mode): Remove autoload.
113 (dwarf-die-reference): Relax regexp.
114
115 2013-04-05 Alan Modra <amodra@gmail.com>
116
117 PR binutils/15324
118 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
119 * dwarf.c (strnlen): Provide fallback decl.
120 * config.in: Regnerate.
121 * configure: Regenerate.
122
123 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
124
125 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
126 SAFE_BYTE_GET64.
127
128 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
129
130 PR binutils/13409
131 * winduni.c (codepages[]): Use UTF-16LE.
132 (wind_MultiByteToWideChar): Likewise.
133 (wind_WideCharToMultiByte): Likewise.
134
135 2013-03-27 Alan Modra <amodra@gmail.com>
136
137 PR binutils/15206
138 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
139
140 2013-03-26 Nick Clifton <nickc@redhat.com>
141
142 PR binutils/15206
143 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
144 space before calling byte_get.
145 (SAFE_BYTE_GET_AND_INC): New macro.
146 (SAFE_SIGNED_BYTE_GET): New macro.
147 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
148 (SAFE_BYTE_GET64): New macro.
149 (process_extened_line_op): Use new macros. Use strnlen when
150 appropriate.
151 (fetch_indirect_string): Likewise.
152 (get_FORM_name): Likewise.
153 (decode_location_expression): Likewise.
154 (read_and_display_attr_value): Likewise.
155 (process_debug_info): Likewise.
156 (display_debug_lines_raw): Likewise.
157 (display_debug_lines_decoded): Likewise.
158 (display_debug_pubnames): Likewise.
159 (display_debug_macinfo): Likewise.
160 (get_line_filename_and_dirname): Likewise.
161 (display_debug_macro): Likewise.
162 (display_loc_list): Likewise.
163 (display_loc_list_dwo): Likewise.
164 (display_debug_aranges): Likewise.
165 (display_debug_ranges): Likewise.
166 (frame_display_row): Likewise.
167 (display_debug_frames): Likewise.
168
169 2013-03-25 Nick Clifton <nickc@redhat.com>
170
171 PR binutils/15202
172 * dwarf.c (read_leb128): Add END parameter. Do not read at or
173 beyond end.
174 (read_sleb128): Add END parameter.
175 (read_uleb128): New function.
176 (process_extended_line_op): Pass END to leb128 functions.
177 (process_abbrev_section): Likewise.
178 (decode_location_expression): Likewise.
179 (read_and_display_attr_value): Likewise.
180 (read_and_display_attr): Likewise.
181 (process_debug_info): Likewise.
182 (display_debug_lines_raw): Likewise.
183 (display_debug_lines_decoded): Likewise.
184 (display_debug_macinfo): Likewise.
185 (get_line_filename_and_dirname): Likewise.
186 (display_debug_macro): Likewise.
187 (display_loc_list_dwo): Likewise.
188 (display_debug_ranges): Likewise.
189 * dwarf.h (read_leb128): Update prototype.
190 * readelf.c (read_uleb128): Add END parameter.
191 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
192 (decode_tic6x_unwind_bytecode): Likewise.
193 (display_tag_value): New function.
194 (display_arm_attribute): Add END parameter. Pass END to
195 read_uleb128. Use display_tag_value.
196 (display_gnu_attribute): Likewise.
197 (display_power_gnu_attribute): Likewise.
198 (display_sparc_gnu_attribute): Likewise.
199 (display_mips_gnu_attribute): Likewise.
200 (display_tic6x_attribute): Likewise.
201 (process_attributes): Likewise.
202 (display_raw_attribute): New function.
203
204 2013-03-22 Nick Clifton <nickc@redhat.com>
205
206 PR binutils/15201
207 * dwarf.c (display_debug_ranges): Add checks for reading beyond
208 the end of the section.
209
210 PR binutils/15157
211 * readelf.c (apply_relocations): Catch relocations with negative
212 offsets.
213
214 2013-03-15 Nick Clifton <nickc@redhat.com>
215
216 * addr2line.c (slurp_symtab): If canonicalization reveals that
217 there were no ordinary symbols, try loading the dynamic symbols
218 instead.
219
220 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
221
222 * MAINTAINERS: Add myself as Meta maintainer.
223
224 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
225
226 * readelf.c (get_note_type): Add NT_S390_TDB.
227
228 2013-03-07 Alan Modra <amodra@gmail.com>
229
230 * strings.c (get_char): Dispense with buf[]. Instead shift
231 chars into big-endian value and byte-swap later if
232 little-endian. Don't EOF check value read from object.
233
234 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
235
236 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
237 * configure: Regenerate.
238
239 2013-03-04 Nick Clifton <nickc@redhat.com>
240
241 * elfcomm.c (error): Flush stdout before emitting the error
242 message.
243 (warn): Likewise.
244
245 2013-03-01 Cary Coutant <ccoutant@google.com>
246
247 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
248 (shndx_pool_used): Move to top of file.
249 (struct cu_tu_set): New type.
250 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
251 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
252 (find_cu_tu_set_v2): New function.
253 (read_and_display_attr_value): Add "this_set" parameter.
254 (read_and_display_attr): Likewise.
255 (process_debug_info): Track base offsets for DWARF package files.
256 (load_debug_info): Call load_cu_tu_indexes.
257 (get_DW_SECT_short_name): New function.
258 (process_cu_tu_index): Add support for version 2 DWARF package files.
259
260 2013-02-27 Alan Modra <amodra@gmail.com>
261
262 PR binutils/15191
263 * readelf.c (offsetof): Define.
264 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
265 (process_corefile_note_segment): Allow notes without name or
266 desc. Combine out-of-range checks. Disallow "negative"
267 notesz or descsz.
268
269 2013-02-26 Nick Clifton <nickc@redhat.com>
270
271 PR binutils/15191
272 * readelf.c (process_corefile_note_segment): Prevent attempts to
273 read beyond the end of the note buffer.
274
275 2013-02-15 Kai Tietz <ktietz@redhat.com>
276
277 * objcopy.c (copy_main): Initialize context variable.
278
279 2013-02-15 Nick Clifton <nickc@redhat.com>
280
281 PR binutils/15140
282 * ar.c (open_inarch): Fail on attempts to convert a normal archive
283 to a thin archive or vice versa.
284 * elfcomm.c (make_qualified_name): Handle corrupted thin
285 archives.
286 * readelf.c (process_archive): Likewise.
287 * doc/binutils.texi: Clarify documentation describing thin
288 archives.
289
290 2013-02-15 Nick Clifton <nickc@redhat.com>
291
292 PR binutils/15033
293 * objcopy.c (enum change_action): Delete.
294 (struct section_list): Delete remove, copy, change_vma, change_lma
295 and set_flags fields. Add context field.
296 (find_section_list): Add a context parameter. Add support for
297 wildcard characters in section names.
298 (is_strip_section): Check for sections being both copied and
299 removed.
300 (copy_object): Pass context to find_section_list.
301 (setup_section): Likewise.
302 (copy_section): Likewise.
303 (copy_main): Likewise.
304 * doc/binutils: Document the new behaviour.
305 * NEWS: Mention the new feature
306
307 2013-02-14 Nick Clifton <nickc@redhat.com>
308
309 PR binutils/15125
310 * objcopy.c (copy_object): Provide a helpful warning message when
311 adding a gnu_debuglink section to an object which already contains
312 one.
313
314 2013-02-07 Nick Clifton <nickc@redhat.com>
315
316 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
317 corrupt archive uses long names but has no long name table.
318
319 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
320 Andrew Jenner <andrew@codesourcery.com>
321
322 Based on patches from Altera Corporation.
323
324 * readelf.c: Include elf/nios2.h.
325 (dump_relocations): Add case for EM_ALTERA_NIOS2.
326 (get_nios2_dynamic_type): New.
327 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
328 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
329 (is_16bit_abs_reloc): Likewise.
330 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
331 * NEWS: Note Altera Nios II support.
332 * MAINTAINERS: Add Nios II maintainers.
333
334 2013-01-29 Xi Wang <xi.wang@gmail.com>
335
336 * readelf.c (process_version_sections): Fix overflow checks to
337 avoid undefined behaviour.
338
339 2013-01-28 Doug Evans <dje@google.com>
340
341 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
342
343 2013-01-28 Robert Schiele <rschiele@gmail.com>
344
345 * objcopy.c (parse_flags): Add merge and strings section flags.
346
347 2013-01-25 Cary Coutant <ccoutant@google.com>
348
349 * dwarf.c (display_loc_list): Update offset for each line
350 printed.
351 (print_addr_index): New function.
352 (display_loc_list_dwo): Update offset for each line printed.
353 Fix problems displaying loclists in .dwo files. Add support
354 for type 4 entries.
355 (display_debug_loc): Remove custom header for .dwo files.
356 (display_debug_addr): Adjust formatting.
357
358 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
359
360 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
361
362 2013-01-24 Doug Evans <dje@google.com>
363
364 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
365
366 2013-01-24 Nick Clifton <nickc@redhat.com>
367
368 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
369
370 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
371
372 * readelf.c: Add strings for NT_S390_LAST_BREAK and
373 NT_S390_SYSTEM_CALL.
374
375 2013-01-18 Nick Clifton <nickc@redhat.com>
376
377 PR binutils/15026
378 * addr2line.c (translate_addresses): When pretty printing, print
379 unknown function names on the same line as unknown symbol names.
380
381 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
382
383 * objdump.c (dump_target_specific): Fix NULL pointer test.
384
385 2013-01-16 Alan Modra <amodra@gmail.com>
386
387 PR binutils/15018
388 * stabs.c (parse_stab_members): Always set physname here to avoid
389 gcc warning..
390 (parse_stab_argtypes): ..and don't duplicate the init here.
391
392 2013-01-10 Will Newton <will.newton@imgtec.com>
393
394 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
395 (dump_relocations): Add EM_METAG.
396 (get_machine_name): Correct case for Meta.
397 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
398 (is_none_reloc): Add support for Meta NONE reloc.
399
400 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
401
402 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
403 and NT_ARM_HW_WATCH.
404
405 2013-01-07 Roland McGrath <mcgrathr@google.com>
406
407 * objcopy.c (deterministic): Make int rather than bfd_boolean,
408 initialize to -1.
409 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
410 (default_deterministic): New function.
411 (strip_main, copy_main): Handle -U. Call default_deterministic.
412 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
413 the default based on DEFAULT_AR_DETERMINISTIC.
414 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
415 configure options on -D.
416
417 * ar.c (default_deterministic): Comment fix.
418
419 2013-01-07 Patrice Dumas <pertusus@free.fr>
420
421 * doc/binutils.texi: Fix ordering of top level nodes.
422 Replace erroneous uses of @itemx with @item.
423
424 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
425
426 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
427
428 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
429
430 * MAINTAINERS: Add myself as AArch64 co-maintainer.
431
432 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
433
434 * version.c (print_version): Update copyright year to 2013.
435
436 For older changes see ChangeLog-2012
437 \f
438 Copyright (C) 2013 Free Software Foundation, Inc.
439
440 Copying and distribution of this file, with or without modification,
441 are permitted in any medium without royalty provided the copyright
442 notice and this notice are preserved.
443
444 Local Variables:
445 mode: change-log
446 left-margin: 8
447 fill-column: 74
448 version-control: never
449 End:
This page took 0.038379 seconds and 4 git commands to generate.