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