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