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