]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
windows-nat.c: Don't install a deprecated_xfer_memory method.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
5e080929
L
12013-08-23 H.J. Lu <hongjiu.lu@intel.com>
2
3 * doc/binutils.texi: Remove the extra space.
4
e956b7d3
NC
52013-08-23 Mikael Pettersson <mikpe@it.uu.se>
6
7 PR binutils/15779
8 * doc/binutils.texi (ranlib -D): Correct description.
a575c958
NC
9 PR binutils/15777
10 (nm --special-syms): Fix typo.
e956b7d3 11
ce0570c7
NC
122013-08-23 Nick Clifton <nickc@redhat.com>
13
14 PR binutils/15798
15 * doc/binutils.texi (ar cmdline): Update description of 'q'
16 command.
17
021f8a30
NC
18 PR binutils/14136
19 (nm): Add description of 'I' symbol type.
20
9aff4b7a
NC
212013-08-23 Yuri Chornoivan <yurchor@ukr.net>
22
23 PR binutils/15834
24 * od-xcoff.c: Fix typos.
25
8b64b65e
TG
262013-08-19 Tristan Gingold <gingold@adacore.com>
27
28 * nm.c (print_size_symbols): Directly get symbol size.
29
643902a4
AS
302013-08-12 Andreas Schwab <schwab@suse.de>
31
32 PR binutils/15818
33 * objdump.c (disassemble_section): Return early if nothing from
34 this section needs to be disassembled.
35
4046d87a
NC
362013-08-09 Nick Clifton <nickc@redhat.com>
37
38 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
39
43234a1e
L
402013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
41 Alexander Ivchenko <alexander.ivchenko@intel.com>
42 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
43 Sergey Lega <sergey.s.lega@intel.com>
44 Anna Tikhonova <anna.tikhonova@intel.com>
45 Ilya Tocar <ilya.tocar@intel.com>
46 Andrey Turetskiy <andrey.turetskiy@intel.com>
47 Ilya Verbin <ilya.verbin@intel.com>
48 Kirill Yukhin <kirill.yukhin@intel.com>
49 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
50
51 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
52 numeration in comments.
53 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
54 dwarf table.
55
1ae40aa4
NC
562013-07-19 Nick Clifton <nickc@redhat.com>
57
58 PR binutils/15745
59 * readelf.c (get_unwind_section_word): Whilst searching for a
60 reloc section associated with an unwind section, check the type as
61 well as the section number.
62
faf786e6
NC
632013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
64
65 * ar.c (usage): Fix C conformance issue.
66
9f758fdc
NC
672013-07-18 Nick Clifton <nickc@redhat.com>
68
39b07303
NC
69 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
70 documentation.
71
9f758fdc
NC
72 * readelf.c (process_unwind): Do not return the result of a void
73 function.
74
d929bc19
MR
752013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
76
77 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
78 numbers with enum values.
79
ba92f887
MR
802013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
81
82 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
83
868d1840
TG
842013-07-10 Tristan Gingold <gingold@adacore.com>
85
86 * od-xcoff.c (OPT_LDINFO): Define.
87 (options): Add ldinfo.
88 (xcoff_help): Mention ldinfo.
89 (xcoff_dump): Rename to ...
90 (xcoff_dump_obj): ... this. Add a break.
91 (dump_dumpx_core): New function.
92 (xcoff_dump_core): Likewise.
93 (xcoff_dump): Likewise.
94 * doc/binutils.texi (objdump): Mention ldinfo.
95
c1094734
TG
962013-07-09 Tristan Gingold <gingold@adacore.com>
97
98 * configure.com: Add new defines to match changes in configure.
99
fe59e83d
CC
1002013-05-28 Cary Coutant <ccoutant@google.com>
101
102 * dwarf.c (display_debug_lines_raw): Print section offsets.
103
87bc83b3
CC
1042013-05-15 Cary Coutant <ccoutant@google.com>
105
106 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
107 don't increment PTR.
108 (decode_location_expression): DW_OP_const2u should read 2 bytes.
109 (display_debug_lines_decoded): Adjust formatting.
110 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
111 7-byte reads.
112 (byte_get_big_endian): Likewise.
113 (byte_get_signed): Likewise.
114
b015e599
AP
1152013-05-09 Andrew Pinski <apinski@cavium.com>
116
117 * doc/binutils.texi: Document -Mvirt disassembler option.
118
6945071a
NC
1192013-05-02 Nick Clifton <nickc@redhat.com>
120
121 * readelf.c: Add support for MSP430X architecture.
122
4925cdd7
NC
1232013-05-02 Nick Clifton <nickc@redhat.com>
124
125 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
126 sections as if they were fragmentary .debug_line sections.
127 (display_debug_lines_decoded): Likewise.
128
b40bf0a2
NC
1292013-04-29 Nick Clifton <nickc@redhat.com>
130
131 * dwarf.c (read_debug_line_header): New function. Reads in a
132 header in a .debug_line section.
133 (display_debug_lines_raw): Use new function. Handle fragmentary
134 .debug_line sections.
135 (display_debug_lines_decoded): Likewise.
136 * readelf.c (process_section_headers): Handle fragmenatry
137 .debug_line sections.
138 (display_debug_section): Likewise.
139
ee441d9a
ILT
1402013-04-26 Ian Lance Taylor <iant@google.com>
141
142 * MAINTAINERS: Add myself and Cary as gold maintainers.
143
4337774f
TT
1442013-04-08 Tom Tromey <tromey@redhat.com>
145
146 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
147
2e97048a
TT
1482013-04-08 Tom Tromey <tromey@redhat.com>
149
150 * dwarf-mode.el: Bump version number.
151 (dwarf-mode): Remove autoload.
152 (dwarf-die-reference): Relax regexp.
153
952781e8
AM
1542013-04-05 Alan Modra <amodra@gmail.com>
155
156 PR binutils/15324
157 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
158 * dwarf.c (strnlen): Provide fallback decl.
159 * config.in: Regnerate.
160 * configure: Regenerate.
161
f048b142
L
1622013-03-29 H.J. Lu <hongjiu.lu@intel.com>
163
164 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
165 SAFE_BYTE_GET64.
166
7e93ea4b
NC
1672013-03-27 Phil Krylov <phil.krylov@gmail.com>
168
169 PR binutils/13409
170 * winduni.c (codepages[]): Use UTF-16LE.
171 (wind_MultiByteToWideChar): Likewise.
172 (wind_WideCharToMultiByte): Likewise.
173
2bdc3eca
AM
1742013-03-27 Alan Modra <amodra@gmail.com>
175
176 PR binutils/15206
177 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
178
0c588247
NC
1792013-03-26 Nick Clifton <nickc@redhat.com>
180
f4155c00 181 PR binutils/15206
0c588247
NC
182 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
183 space before calling byte_get.
184 (SAFE_BYTE_GET_AND_INC): New macro.
185 (SAFE_SIGNED_BYTE_GET): New macro.
186 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
187 (SAFE_BYTE_GET64): New macro.
188 (process_extened_line_op): Use new macros. Use strnlen when
189 appropriate.
190 (fetch_indirect_string): Likewise.
191 (get_FORM_name): Likewise.
192 (decode_location_expression): Likewise.
193 (read_and_display_attr_value): Likewise.
194 (process_debug_info): Likewise.
195 (display_debug_lines_raw): Likewise.
196 (display_debug_lines_decoded): Likewise.
197 (display_debug_pubnames): Likewise.
198 (display_debug_macinfo): Likewise.
199 (get_line_filename_and_dirname): Likewise.
200 (display_debug_macro): Likewise.
201 (display_loc_list): Likewise.
202 (display_loc_list_dwo): Likewise.
203 (display_debug_aranges): Likewise.
204 (display_debug_ranges): Likewise.
205 (frame_display_row): Likewise.
206 (display_debug_frames): Likewise.
207
f6f0e17b
NC
2082013-03-25 Nick Clifton <nickc@redhat.com>
209
210 PR binutils/15202
211 * dwarf.c (read_leb128): Add END parameter. Do not read at or
212 beyond end.
213 (read_sleb128): Add END parameter.
214 (read_uleb128): New function.
215 (process_extended_line_op): Pass END to leb128 functions.
216 (process_abbrev_section): Likewise.
217 (decode_location_expression): Likewise.
218 (read_and_display_attr_value): Likewise.
219 (read_and_display_attr): Likewise.
220 (process_debug_info): Likewise.
221 (display_debug_lines_raw): Likewise.
222 (display_debug_lines_decoded): Likewise.
223 (display_debug_macinfo): Likewise.
224 (get_line_filename_and_dirname): Likewise.
225 (display_debug_macro): Likewise.
226 (display_loc_list_dwo): Likewise.
227 (display_debug_ranges): Likewise.
228 * dwarf.h (read_leb128): Update prototype.
229 * readelf.c (read_uleb128): Add END parameter.
230 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
231 (decode_tic6x_unwind_bytecode): Likewise.
232 (display_tag_value): New function.
233 (display_arm_attribute): Add END parameter. Pass END to
234 read_uleb128. Use display_tag_value.
235 (display_gnu_attribute): Likewise.
236 (display_power_gnu_attribute): Likewise.
237 (display_sparc_gnu_attribute): Likewise.
238 (display_mips_gnu_attribute): Likewise.
239 (display_tic6x_attribute): Likewise.
240 (process_attributes): Likewise.
241 (display_raw_attribute): New function.
242
c8da6823
NC
2432013-03-22 Nick Clifton <nickc@redhat.com>
244
c842b54b
NC
245 PR binutils/15201
246 * dwarf.c (display_debug_ranges): Add checks for reading beyond
247 the end of the section.
248
c8da6823
NC
249 PR binutils/15157
250 * readelf.c (apply_relocations): Catch relocations with negative
251 offsets.
252
0d0fb1ba
NC
2532013-03-15 Nick Clifton <nickc@redhat.com>
254
255 * addr2line.c (slurp_symtab): If canonicalization reveals that
256 there were no ordinary symbols, try loading the dynamic symbols
257 instead.
258
d5c7e0e9
NC
2592013-03-14 Markos Chandras <markos.chandras@imgtec.com>
260
261 * MAINTAINERS: Add myself as Meta maintainer.
262
abb3f6cc
NC
2632013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
264
265 * readelf.c (get_note_type): Add NT_S390_TDB.
266
c54e2ec1
AM
2672013-03-07 Alan Modra <amodra@gmail.com>
268
269 * strings.c (get_char): Dispense with buf[]. Instead shift
270 chars into big-endian value and byte-swap later if
271 little-endian. Don't EOF check value read from object.
272
ee36d918
CV
2732013-03-05 Corinna Vinschen <vinschen@redhat.com>
274
275 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
276 * configure: Regenerate.
277
fafd911d
NC
2782013-03-04 Nick Clifton <nickc@redhat.com>
279
280 * elfcomm.c (error): Flush stdout before emitting the error
281 message.
282 (warn): Likewise.
283
341f9135
CC
2842013-03-01 Cary Coutant <ccoutant@google.com>
285
286 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
287 (shndx_pool_used): Move to top of file.
288 (struct cu_tu_set): New type.
289 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
290 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
291 (find_cu_tu_set_v2): New function.
292 (read_and_display_attr_value): Add "this_set" parameter.
293 (read_and_display_attr): Likewise.
294 (process_debug_info): Track base offsets for DWARF package files.
295 (load_debug_info): Call load_cu_tu_indexes.
296 (get_DW_SECT_short_name): New function.
297 (process_cu_tu_index): Add support for version 2 DWARF package files.
298
15b42fb0
AM
2992013-02-27 Alan Modra <amodra@gmail.com>
300
301 PR binutils/15191
302 * readelf.c (offsetof): Define.
303 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
304 (process_corefile_note_segment): Allow notes without name or
305 desc. Combine out-of-range checks. Disallow "negative"
306 notesz or descsz.
307
9dd3a467
NC
3082013-02-26 Nick Clifton <nickc@redhat.com>
309
310 PR binutils/15191
311 * readelf.c (process_corefile_note_segment): Prevent attempts to
312 read beyond the end of the note buffer.
313
76d8cf45
KT
3142013-02-15 Kai Tietz <ktietz@redhat.com>
315
316 * objcopy.c (copy_main): Initialize context variable.
317
a043396b
NC
3182013-02-15 Nick Clifton <nickc@redhat.com>
319
320 PR binutils/15140
321 * ar.c (open_inarch): Fail on attempts to convert a normal archive
322 to a thin archive or vice versa.
323 * elfcomm.c (make_qualified_name): Handle corrupted thin
324 archives.
325 * readelf.c (process_archive): Likewise.
326 * doc/binutils.texi: Clarify documentation describing thin
327 archives.
328
2e62b721
NC
3292013-02-15 Nick Clifton <nickc@redhat.com>
330
331 PR binutils/15033
332 * objcopy.c (enum change_action): Delete.
333 (struct section_list): Delete remove, copy, change_vma, change_lma
334 and set_flags fields. Add context field.
335 (find_section_list): Add a context parameter. Add support for
336 wildcard characters in section names.
337 (is_strip_section): Check for sections being both copied and
338 removed.
339 (copy_object): Pass context to find_section_list.
340 (setup_section): Likewise.
341 (copy_section): Likewise.
342 (copy_main): Likewise.
343 * doc/binutils: Document the new behaviour.
344 * NEWS: Mention the new feature
345
d99b05a3
NC
3462013-02-14 Nick Clifton <nickc@redhat.com>
347
348 PR binutils/15125
349 * objcopy.c (copy_object): Provide a helpful warning message when
350 adding a gnu_debuglink section to an object which already contains
351 one.
352
83ee86b1
NC
3532013-02-07 Nick Clifton <nickc@redhat.com>
354
355 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
356 corrupt archive uses long names but has no long name table.
357
36591ba1
SL
3582013-02-06 Sandra Loosemore <sandra@codesourcery.com>
359 Andrew Jenner <andrew@codesourcery.com>
360
361 Based on patches from Altera Corporation.
362
363 * readelf.c: Include elf/nios2.h.
364 (dump_relocations): Add case for EM_ALTERA_NIOS2.
365 (get_nios2_dynamic_type): New.
366 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
367 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
368 (is_16bit_abs_reloc): Likewise.
369 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
370 * NEWS: Note Altera Nios II support.
371 * MAINTAINERS: Add Nios II maintainers.
372
7e26601c
NC
3732013-01-29 Xi Wang <xi.wang@gmail.com>
374
375 * readelf.c (process_version_sections): Fix overflow checks to
376 avoid undefined behaviour.
377
aa170720
DE
3782013-01-28 Doug Evans <dje@google.com>
379
380 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
381
5dddde8e
AM
3822013-01-28 Robert Schiele <rschiele@gmail.com>
383
384 * objcopy.c (parse_flags): Add merge and strings section flags.
385
fab128ef
CC
3862013-01-25 Cary Coutant <ccoutant@google.com>
387
15b42fb0
AM
388 * dwarf.c (display_loc_list): Update offset for each line
389 printed.
390 (print_addr_index): New function.
391 (display_loc_list_dwo): Update offset for each line printed.
392 Fix problems displaying loclists in .dwo files. Add support
393 for type 4 entries.
394 (display_debug_loc): Remove custom header for .dwo files.
395 (display_debug_addr): Adjust formatting.
fab128ef 396
9b8bf321
NC
3972013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
398
399 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
400
90f9a987
DE
4012013-01-24 Doug Evans <dje@google.com>
402
403 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
404
78c8d46c
NC
4052013-01-24 Nick Clifton <nickc@redhat.com>
406
407 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
408
a367d729
AK
4092013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
410
411 * readelf.c: Add strings for NT_S390_LAST_BREAK and
412 NT_S390_SYSTEM_CALL.
413
a477bfd1
NC
4142013-01-18 Nick Clifton <nickc@redhat.com>
415
416 PR binutils/15026
417 * addr2line.c (translate_addresses): When pretty printing, print
418 unknown function names on the same line as unknown symbol names.
419
c32d6f7b
AM
4202013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
421
422 * objdump.c (dump_target_specific): Fix NULL pointer test.
423
cb566e3a
AM
4242013-01-16 Alan Modra <amodra@gmail.com>
425
426 PR binutils/15018
427 * stabs.c (parse_stab_members): Always set physname here to avoid
428 gcc warning..
429 (parse_stab_argtypes): ..and don't duplicate the init here.
430
a3c62988
NC
4312013-01-10 Will Newton <will.newton@imgtec.com>
432
433 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
434 (dump_relocations): Add EM_METAG.
435 (get_machine_name): Correct case for Meta.
436 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
437 (is_none_reloc): Add support for Meta NONE reloc.
438
652451f8
YZ
4392013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
440
441 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
442 and NT_ARM_HW_WATCH.
443
955d0b3b
RM
4442013-01-07 Roland McGrath <mcgrathr@google.com>
445
446 * objcopy.c (deterministic): Make int rather than bfd_boolean,
447 initialize to -1.
448 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
449 (default_deterministic): New function.
450 (strip_main, copy_main): Handle -U. Call default_deterministic.
451 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
452 the default based on DEFAULT_AR_DETERMINISTIC.
453 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
454 configure options on -D.
455
456 * ar.c (default_deterministic): Comment fix.
457
7ca01ed9
NC
4582013-01-07 Patrice Dumas <pertusus@free.fr>
459
460 * doc/binutils.texi: Fix ordering of top level nodes.
461 Replace erroneous uses of @itemx with @item.
462
574b25e8
AS
4632013-01-04 Andreas Schwab <schwab@linux-m68k.org>
464
465 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
466
5b2ab150
MS
4672013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
468
469 * MAINTAINERS: Add myself as AArch64 co-maintainer.
470
62658407
L
4712013-01-02 H.J. Lu <hongjiu.lu@intel.com>
472
473 * version.c (print_version): Update copyright year to 2013.
474
4e5f3f9d 475For older changes see ChangeLog-2012
252b5132 476\f
4e5f3f9d 477Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
478
479Copying and distribution of this file, with or without modification,
480are permitted in any medium without royalty provided the copyright
481notice and this notice are preserved.
482
252b5132
RH
483Local Variables:
484mode: change-log
485left-margin: 8
486fill-column: 74
487version-control: never
488End: