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