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