]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
gdb/
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
43234a1e
L
12013-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
1ae40aa4
NC
172013-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
faf786e6
NC
242013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
25
26 * ar.c (usage): Fix C conformance issue.
27
9f758fdc
NC
282013-07-18 Nick Clifton <nickc@redhat.com>
29
39b07303
NC
30 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
31 documentation.
32
9f758fdc
NC
33 * readelf.c (process_unwind): Do not return the result of a void
34 function.
35
d929bc19
MR
362013-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
ba92f887
MR
412013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
42
43 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
44
868d1840
TG
452013-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
c1094734
TG
572013-07-09 Tristan Gingold <gingold@adacore.com>
58
59 * configure.com: Add new defines to match changes in configure.
60
fe59e83d
CC
612013-05-28 Cary Coutant <ccoutant@google.com>
62
63 * dwarf.c (display_debug_lines_raw): Print section offsets.
64
87bc83b3
CC
652013-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
b015e599
AP
762013-05-09 Andrew Pinski <apinski@cavium.com>
77
78 * doc/binutils.texi: Document -Mvirt disassembler option.
79
6945071a
NC
802013-05-02 Nick Clifton <nickc@redhat.com>
81
82 * readelf.c: Add support for MSP430X architecture.
83
4925cdd7
NC
842013-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
b40bf0a2
NC
902013-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
ee441d9a
ILT
1012013-04-26 Ian Lance Taylor <iant@google.com>
102
103 * MAINTAINERS: Add myself and Cary as gold maintainers.
104
4337774f
TT
1052013-04-08 Tom Tromey <tromey@redhat.com>
106
107 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
108
2e97048a
TT
1092013-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
952781e8
AM
1152013-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
f048b142
L
1232013-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
7e93ea4b
NC
1282013-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
2bdc3eca
AM
1352013-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
0c588247
NC
1402013-03-26 Nick Clifton <nickc@redhat.com>
141
f4155c00 142 PR binutils/15206
0c588247
NC
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
f6f0e17b
NC
1692013-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
c8da6823
NC
2042013-03-22 Nick Clifton <nickc@redhat.com>
205
c842b54b
NC
206 PR binutils/15201
207 * dwarf.c (display_debug_ranges): Add checks for reading beyond
208 the end of the section.
209
c8da6823
NC
210 PR binutils/15157
211 * readelf.c (apply_relocations): Catch relocations with negative
212 offsets.
213
0d0fb1ba
NC
2142013-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
d5c7e0e9
NC
2202013-03-14 Markos Chandras <markos.chandras@imgtec.com>
221
222 * MAINTAINERS: Add myself as Meta maintainer.
223
abb3f6cc
NC
2242013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
225
226 * readelf.c (get_note_type): Add NT_S390_TDB.
227
c54e2ec1
AM
2282013-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
ee36d918
CV
2342013-03-05 Corinna Vinschen <vinschen@redhat.com>
235
236 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
237 * configure: Regenerate.
238
fafd911d
NC
2392013-03-04 Nick Clifton <nickc@redhat.com>
240
241 * elfcomm.c (error): Flush stdout before emitting the error
242 message.
243 (warn): Likewise.
244
341f9135
CC
2452013-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
15b42fb0
AM
2602013-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
9dd3a467
NC
2692013-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
76d8cf45
KT
2752013-02-15 Kai Tietz <ktietz@redhat.com>
276
277 * objcopy.c (copy_main): Initialize context variable.
278
a043396b
NC
2792013-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
2e62b721
NC
2902013-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
d99b05a3
NC
3072013-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
83ee86b1
NC
3142013-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
36591ba1
SL
3192013-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
7e26601c
NC
3342013-01-29 Xi Wang <xi.wang@gmail.com>
335
336 * readelf.c (process_version_sections): Fix overflow checks to
337 avoid undefined behaviour.
338
aa170720
DE
3392013-01-28 Doug Evans <dje@google.com>
340
341 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
342
5dddde8e
AM
3432013-01-28 Robert Schiele <rschiele@gmail.com>
344
345 * objcopy.c (parse_flags): Add merge and strings section flags.
346
fab128ef
CC
3472013-01-25 Cary Coutant <ccoutant@google.com>
348
15b42fb0
AM
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.
fab128ef 357
9b8bf321
NC
3582013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
359
360 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
361
90f9a987
DE
3622013-01-24 Doug Evans <dje@google.com>
363
364 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
365
78c8d46c
NC
3662013-01-24 Nick Clifton <nickc@redhat.com>
367
368 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
369
a367d729
AK
3702013-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
a477bfd1
NC
3752013-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
c32d6f7b
AM
3812013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
382
383 * objdump.c (dump_target_specific): Fix NULL pointer test.
384
cb566e3a
AM
3852013-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
a3c62988
NC
3922013-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
652451f8
YZ
4002013-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
955d0b3b
RM
4052013-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
7ca01ed9
NC
4192013-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
574b25e8
AS
4242013-01-04 Andreas Schwab <schwab@linux-m68k.org>
425
426 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
427
5b2ab150
MS
4282013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
429
430 * MAINTAINERS: Add myself as AArch64 co-maintainer.
431
62658407
L
4322013-01-02 H.J. Lu <hongjiu.lu@intel.com>
433
434 * version.c (print_version): Update copyright year to 2013.
435
4e5f3f9d 436For older changes see ChangeLog-2012
252b5132 437\f
4e5f3f9d 438Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
439
440Copying and distribution of this file, with or without modification,
441are permitted in any medium without royalty provided the copyright
442notice and this notice are preserved.
443
252b5132
RH
444Local Variables:
445mode: change-log
446left-margin: 8
447fill-column: 74
448version-control: never
449End: