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