PR binutils/11742
[binutils-gdb.git] / binutils / ChangeLog
1 2010-11-18 Alan Modra <amodra@gmail.com>
2
3 PR binutils/11742
4 * readelf.c (get_archive_member_name): Formatting. Properly
5 handle full size ar_name.
6
7 2010-11-17 Alan Modra <amodra@gmail.com>
8
9 * ar.c (print_contents): Don't internationalize strings without words.
10 * dwarf.c (process_extended_line_op): Likewise.
11 (process_debug_info): Likwise.
12 (display_debug_lines_raw): Likewise.
13 (display_debug_lines_decoded): Likewise.
14 (display_debug_abbrev): Likewise.
15 * readelf.c (process_file_header): Likewise.
16 (GET_OP): Likewise.
17 (decode_arm_unwind): Likewise.
18 (process_mips_specific): Likewise.
19 * resrc.c (run_cmd): Likewise.
20 (rcparse_warning): Likewise.
21 * objdump.c (dump_headers): Don't print "Pg".
22
23 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
24
25 * windmc.c: ,%s' -> `%s' in a number of strings.
26
27 2010-11-16 Jie Zhang <jie.zhang@analog.com>
28
29 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
30
31 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
32
33 * readelf.c (get_machine_flags): Add loongson-3a.
34
35 2010-11-10 Nick Clifton <nickc@redhat.com>
36
37 * po/ja.po: Updated Japanese translation.
38 * po/fr.po: Updated French translation.
39
40 2010-11-08 Nick Clifton <nickc@redhat.com>
41
42 * po/ja.po: Updated Japanese translation.
43
44 2010-11-08 Alan Modra <amodra@gmail.com>
45
46 * objcopy.c (copy_main): No need to rename sections when compressing
47 or decompressing.
48
49 2010-11-05 Alan Modra <amodra@gmail.com>
50
51 * bin2c.c: Remove internationalization and version report.
52 * Makefile.am: Update bin2c rule.
53 * Makefile.in: Regenerate.
54
55 2010-11-05 Tristan Gingold <gingold@adacore.com>
56
57 * po/binutils.pot: Regenerate
58
59 2010-11-05 Tristan Gingold <gingold@adacore.com>
60
61 * NEWS: Add marker for 2.21.
62
63 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
64
65 * objdump.c (dump_bfd_header): Don't display
66 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
67
68 2010-11-02 Joseph Myers <joseph@codesourcery.com>
69
70 * readelf.c (display_tic6x_attribute): Handle more attributes.
71
72 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
73
74 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
75 directives.
76
77 2010-10-29 Joseph Myers <joseph@codesourcery.com>
78
79 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
80 not hardcoded 32. Display name of this attribute.
81
82 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
83
84 * addr2line.c (process_file): Set BFD_DECOMPRESS.
85
86 * objcopy.c (do_debug_sections): New.
87 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
88 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
89 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
90 OPTION_DECOMPRESS_DEBUG_SECTIONS.
91 (copy_usage): Add --compress-debug-sections and
92 --decompress-debug-sections.
93 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
94 (copy_section): Replace bfd_get_section_contents with
95 bfd_get_full_section_contents.
96 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
97 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
98 rename DWARF debug sections.
99
100 * objdump.c (load_specific_debug_section): Replace
101 bfd_get_section_contents with bfd_get_full_section_contents.
102 Remove bfd_uncompress_section_contents.
103 (dump_section): Replace bfd_get_section_contents with
104 bfd_get_full_section_contents.
105 (display_file): Set BFD_DECOMPRESS if needed.
106
107 * readelf.c (uncompress_section_contents): Set buffer to NULL
108 to indiate decompression failure.
109 (load_specific_debug_section): Always call
110 uncompress_section_contents.
111
112 * doc/binutils.texi: Document --compress-debug-sections and
113 --decompress-debug-sections.
114
115 2010-10-29 Nick Clifton <nickc@redhat.com>
116
117 PR binutils/12058
118 * ar.c (usage): Revert previous change. Describe how 's' can be
119 used as a command letter.
120 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
121 a command letter.
122
123 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
124 Joseph Myers <joseph@codesourcery.com>
125
126 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
127
128 2010-10-28 Nick Clifton <nickc@redhat.com>
129
130 PR binutils/12058
131 * ar.c (usage): Remove spurious 's' from list of accepted command
132 letters.
133
134 2010-10-28 Alan Modra <amodra@gmail.com>
135
136 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
137 (is_32bit_pcrel_reloc): Support microblaze.
138
139 2010-10-26 Nick Clifton <nickc@redhat.com>
140
141 * po/ja.po: Updated Japanese transaltion.
142
143 2010-10-21 Joseph Myers <joseph@codesourcery.com>
144
145 * readelf.c (display_tic6x_attribute): Update for attribute
146 renaming.
147
148 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
149
150 * dwarf.c (byte_get_signed): Make it extern.
151
152 * dwarf.h (byte_get_signed): New.
153
154 * readelf.c (BYTE_GET_SIGNED): New.
155 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
156 (dump_relocations): Properly dump r_addend.
157
158 2010-10-08 Joseph Myers <joseph@codesourcery.com>
159
160 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
161 (set_print_radix): Update for __MSVCRT__ definition of
162 value_format_64bit.
163
164 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
165
166 Fix build with -DDEBUG=7
167 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
168
169 2010-10-06 Alan Modra <amodra@gmail.com>
170
171 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
172
173 2010-10-05 Alan Modra <amodra@gmail.com>
174
175 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
176 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
177 (list_supported_targets): Tidy.
178 * objdump.c (free_only_list): Formatting.
179 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
180 object".
181 (update_source_path): Delete redundant check for NULL filename.
182 (disassemble_bytes): Error if disassemble_fn returns a value
183 that won't increment address.
184 (disassemble_data): Don't capitalize error message.
185 (read_section_stabs): Likewise.
186 (main): Return non-zero exit status on bad options.
187
188 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
189
190 PR binutils/12088
191 * nm.c (plugin_target): New.
192 (main): Set plugin_target to "plugin" for --plugin.
193 (display_file): Pass plugin_target to bfd_openr if target
194 isn't set.
195
196 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
197
198 * configure: Regenerate.
199
200 2010-09-22 Mike Frysinger <vapier@gentoo.org>
201
202 * MAINTAINERS: Add self as ADI Blackfin maintainer.
203
204 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
205
206 * emul_aix.c (ar_emul_aix_append): Add a target argument
207 and ignore it if it is set.
208 (ar_emul_aix5_append): Likewise.
209 (ar_emul_aix_replace): Likewise.
210 (ar_emul_aix5_replace): Likewise.
211
212 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
213
214 * ar.c (plugin_target): New.
215 (main): Set plugin_target to "plugin" for --plugin.
216 (open_inarch): Initialize target to plugin_target.
217 (replace_members): Pass plugin_target to ar_emul_replace
218 and ar_emul_append.
219
220 * binemul.h (ar_emul_append): Add a target argument.
221 (ar_emul_default_append): Likewise.
222 (ar_emul_replace): Likewise.
223 (ar_emul_default_replace): Likewise.
224 (bin_emulation_xfer_struct): Add a target argument to
225 ar_append and ar_replace.
226
227 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
228 (do_ar_emul_default_append): Likewise.
229 (ar_emul_default_append): Likewise.
230 (ar_emul_replace): Likewise.
231 (ar_emul_default_replace): Likewise.
232
233 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
234
235 * objcopy.c: Add --interleave-width option to allow interleaving
236 of more than one byte at a time.
237 (copy_width): New variable.
238 (copy_options): Add --interleave-width.
239 (copy_section): When interleaving copy in units of copy_width
240 bytes.
241 (copy_main): Parse the new option.
242 * doc/binutils: Document the new option.
243 * NEWS: Mention the new feature.
244
245 2010-09-09 Jakub Jelinek <jakub@redhat.com>
246
247 * dwarf.c (decode_location_expression): Fix data adjustment
248 for DW_OP_GNU_implicit_pointer in v3+.
249
250 2010-09-09 Tristan Gingold <gingold@adacore.com>
251
252 * NEWS: Add entry to NEWS for hppa/som.
253
254 2010-09-09 Jakub Jelinek <jakub@redhat.com>
255
256 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
257 * dwarf.c (decode_location_expression): Add offset_size and
258 dwarf_version arguments. Prefix DIE offset with 0x for
259 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
260 complain if in frame info section. Handle
261 DW_OP_GNU_implicit_pointer.
262 (read_and_display_attr_value, display_debug_loc,
263 display_debug_frames): Adjust decode_location_expression callers.
264 (process_debug_info): Save offset_size and dwarf_version values
265 into debug_information array.
266
267 2010-09-07 Nick Clifton <nickc@redhat.com>
268
269 * readelf.c (process_section_headers): Mention meaning of 'l'
270 section flag for x86-64 targets.
271
272 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
273 Jakub Jelinek <jakub@redhat.com>
274
275 * dwarf.c (regname): New declaration.
276 (decode_location_expression): Print for registers also regname output.
277
278 2010-09-02 Richard Henderson <rth@redhat.com>
279
280 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
281 (init_dwarf_regnames): Use them.
282 * dwarf.h: Declare them.
283 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
284 the regnames, rather than using elf_machine_code.
285
286 2010-09-02 Richard Henderson <rth@redhat.com>
287
288 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
289
290 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
291
292 * elfedit.c (input_elf_osabi): New.
293 (output_elf_osbi): Likewise.
294 (osabis): Likewise.
295 (elf_osabi): Likewise.
296 (update_elf_header): Support updating ELF OSABI.
297 (make_qualified_name): Break long line.
298 (command_line_switch): Add OPTION_INPUT_OSABI and
299 OPTION_OUTPUT_OSABI.
300 (options): Likewise.
301 (usage): Add --input-osabi and --output-osabi.
302 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
303
304 * doc/binutils.texi: Document --input-osabi and --output-osabi
305 for elfedit.
306
307 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
308
309 * readelf.c (display_mips_gnu_attribute): Replace GCC options
310 with a textual description of a MIPS32r2 64-bit FPU.
311
312 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
313
314 PR binutils/11889
315 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
316 sh_entsize.
317 (get_64bit_elf_symbols): Likewise.
318 (process_symbol_table): Likewise.
319 (process_section_groups): Check for corrupt headers.
320 (process_version_sections): Check for corrupt indicies.
321 (process_corefile_note_segment): Likewise.
322
323 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
324
325 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
326 variants.
327
328 2010-08-13 Tom Tromey <tromey@redhat.com>
329
330 * dwarf.c (process_debug_info): Don't subtract section address
331 when calculating location of cu abbrev within section.
332
333 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
334
335 PR binutils/11742
336 * readelf.c (get_archive_member_name): Do not read beyond the end
337 of the ar_name field.
338
339 2010-08-03 Tristan Gingold <gingold@adacore.com>
340
341 * dwarf.c (display_debug_lines): Mark file argument unused.
342 Do not try to load .debug_info section.
343
344 2010-08-02 Alan Modra <amodra@gmail.com>
345
346 * readelf.c (apply_relocations): D30V is really REL.
347
348 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
349 Ina Pandit <ina.pandit@kpitcummins.com>
350
351 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
352
353 2010-07-22 Alan Modra <amodra@gmail.com>
354
355 * readelf.c: Add Moxie support.
356
357 2010-07-20 Alan Modra <amodra@gmail.com>
358
359 * readelf.c (process_program_headers): Don't ignore all zero size
360 sections.
361
362 2010-07-19 Andreas Schwab <schwab@redhat.com>
363
364 * readelf.c (process_section_headers): Update key to flags.
365
366 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
367
368 * objcopy.c (copy_usage): Tweak previous typofix.
369
370 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
371
372 * objcopy.c (copy_usage): Fix a typo.
373
374 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
375
376 * dllwrap.c (main): Make sure is_leading_underscore
377 gets initialized with correct default.
378
379 2010-07-05 Alan Modra <amodra@gmail.com>
380
381 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
382
383 2010-07-03 Cary Coutant <ccoutant@google.com>
384
385 * objdump.c (load_specific_debug_section): Decompress section contents
386 before applying relocations.
387 * readelf.c (load_specific_debug_section): Update section size after
388 decompression.
389
390 2010-06-29 Alan Modra <amodra@gmail.com>
391
392 PR binutils/3166
393 * objcopy.c (is_strip_section): Revert 2006-09-05.
394 (setup_section): Make SHT_GROUP section nobits.
395
396 2010-06-29 Alan Modra <amodra@gmail.com>
397
398 * configure: Regenerate.
399 * po/POTFILES.in: Regenerate.
400
401 2010-06-27 Alan Modra <amodra@gmail.com>
402
403 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
404
405 2010-06-17 Nick Clifton <nickc@redhat.com>
406
407 PR binutils/11711
408 * windres.c (enum option_values): New enum.
409 (long_options): Use separate option number for --include-dir
410 option.
411 (main): Separate backwards compatibility check from code to
412 implement --include-dir. Check to see if directory exists and do
413 not complain if it does.
414
415 2010-06-15 Joseph Myers <joseph@codesourcery.com>
416
417 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
418 New.
419 (process_arch_specific): Call process_tic6x_specific for
420 EM_TI_C6000.
421
422 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
423
424 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
425 for 0x%lx.
426
427 2010-06-11 Tristan Gingold <gingold@adacore.com>
428 Doug Rupp <rupp@gnat.com>
429
430 * readelf.c (is_ia64_vms): New function.
431 (dump_relocations): Use it.
432 (get_machine_flags): Display IA-64 OpenVMS flags.
433 (process_program_headers): No error on OpenVMS if no .dynamic section.
434 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
435 declarations.
436 (dump_ia64_vms_dynamic_fixups): New function.
437 (dump_ia64_vms_dynamic_relocs): Ditto.
438 (process_ia64_vms_dynamic_relocs): Ditto.
439 (process_relocs): Handle IA-64 OpenVMS relocs.
440 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
441 (print_vms_time): New function.
442 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
443 DT_IA_64_VMS_LNKFLAGS.
444 (get_ia64_symbol_other): New function.
445 (get_symbol_other): Handle EM_IA_64.
446
447 2010-06-11 Tristan Gingold <gingold@adacore.com>
448
449 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
450 (UNW_DEC_ABI): Ditto for abiname.
451 (unw_decode_table): Make it const.
452
453 2010-06-10 Tristan Gingold <gingold@adacore.com>
454
455 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
456 not inplace.
457
458 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
459 Joseph Myers <joseph@codesourcery.com>
460 Andrew Stubbs <ams@codesourcery.com>
461
462 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
463
464 2010-05-25 Jay Krell <jay.krell@cornell.edu>
465
466 PR ld/11621
467 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
468 * Makefile.in: Regenerate.
469
470 2010-05-24 Tristan Gingold <gingold@adacore.com>
471
472 * readelf.c (usage): Add new trace sections for --debug-dump.
473 (process_section_headers): Handle dump of trace sections.
474 * objdump.c (usage): Add new trace sections for --dwarf.
475 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
476 (do_trace_aranges): Ditto.
477 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
478 and trace_aranges literals.
479 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
480 (do_trace_aranges): Ditto.
481 (process_debug_info): Add abbrev_sec argument and replace
482 abbrev with abbrev_sec.
483 (load_debug_info): Adjust call of process_debug_info.
484 (display_debug_info): Ditto.
485 (display_trace_info): New function.
486 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
487 and trace_aranges sections name.
488 (dwarf_select_sections_all): Also select trace sections.
489 (debug_displays): Reindent. Add entries for the trace sections.
490 * doc/binutils.texi (readelf): Document new --dwarf parameters.
491 (objdump): Ditto.
492
493 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
494
495 PR gas/11600
496 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
497 generic flag.
498
499 2010-05-07 Tristan Gingold <gingold@adacore.com>
500
501 * Makefile.in: Regenerate with automake 1.11.1.
502 * aclocal.m4: Ditto.
503 * doc/Makefile.in: Ditto.
504
505 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
506
507 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
508 * readelf.c (get_elf_section_flags): Likewise.
509 (process_section_headers): Likewise.
510
511 2010-05-05 Nick Clifton <nickc@redhat.com>
512
513 * po/es.po: Updated Spanish translation.
514
515 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
516
517 * dlltool.c (main): Query for bfd's underscoring default for
518 default target case.
519
520 2010-04-27 Nick Clifton <nickc@redhat.com>
521
522 * po/ru.po: Updated Russian translation.
523
524 2010-04-23 Alan Modra <amodra@gmail.com>
525
526 * readelf.c (process_program_headers): Replace use of
527 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
528
529 2010-04-22 Nick Clifton <nickc@redhat.com>
530
531 * po/binutils.pot: Updated by the Translation project.
532 * po/fi.po: Updated Finnish translation.
533 * po/vi.po: Updated Vietnamese translation.
534 * po/bg.po: New Bulgarian translation.
535 * configure.in (ALL_LINGUAS): Add bg.
536 * configure: Regenerate.
537
538 2010-04-20 Nick Clifton <nickc@redhat.com>
539
540 * po/fr.po: Updated french translation.
541
542 2010-04-20 Nick Clifton <nickc@redhat.com>
543
544 * readelf.c: Add _() macros to constant strings that are
545 translatable.
546
547 * readelf.c (display_mips_gnu_attribute): Replace GCC options
548 with a textual description of single and double precision float.
549
550 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
551
552 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
553 (arm_attr_tag_ABI_align8_needed): Remove.
554 (arm_attr_tag_ABI_align8_preserved): Remove.
555 (arm_attr_tag_ABI_HardFP_use): Update text strings.
556 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
557 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
558
559 2010-04-13 Nick Clifton <nickc@redhat.com>
560
561 PR binutils/11419
562 * dwarf.c (process_debug_info): Initialise the signature array.
563
564 2010-04-09 Nick Clifton <nickc@redhat.com>
565
566 * dwarf.c (process_debug_info): Remove unused variable
567 cu_abbrev_offset_ptr.
568 (display_debug_lines_decoded): Remove unused variable prev_line.
569 * elfedit.c (process_archive): Remove unused variable
570 file_name_size.
571 * ieee.c (ieee_start_compilation_unit): Remove unused variable
572 nindx.
573 (ieee_set_type): Remove unused variables info, targetindx and
574 baseindx.
575 * objdump.c (disassmble_byte): Remove unused variable done_dot.
576 * rddbg.c (read_section_stabs_debugging_info): Remove unused
577 variable other.
578 * readelf.c (dump_section_as_strings): Remove unused variable
579 addr.
580 (process_archive): Remove unused variable file_name_size.
581 * stabs.c (parse_stab_string): Mark desc parameter as unused.
582 Remove unused variable lineno.
583 (parse_stab_struct_type): Remove unused variable orig.
584 (stab_demangle_type): Remove unused variables constp, volatilep
585 and hold.
586
587 2010-04-07 Alan Modra <amodra@gmail.com>
588
589 * configure: Regenerate.
590
591 2010-04-06 Nick Clifton <nickc@redhat.com>
592
593 * po/vi.po: Updated Vietnamese translation.
594
595 2010-04-05 Jakub Jelinek <jakub@redhat.com>
596
597 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
598 fields.
599 (display_debug_frames): Handle CIE version 4.
600
601 * dwarf.c (struct State_Machine_Registers): Add op_index field,
602 change end_sequence type to unsigned char.
603 (reset_state_machine): Clear op_index.
604 (process_extended_line_op): For DW_LNE_set_address clear op_index.
605 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
606 Track op_index state machine register and print it if
607 li_max_ops_per_insn is != 1.
608 (display_debug_lines_decoded): Likewise.
609
610 2010-04-01 Jakub Jelinek <jakub@redhat.com>
611
612 * dwarf.c (read_and_display_attr_value): Don't reject
613 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
614 and DW_FORM_exprloc.
615 (process_debug_info): Handle cu_version == 4.
616 (display_debug_lines_raw, display_debug_lines_decoded): Handle
617 li_version == 4.
618
619 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
620
621 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
622 * Makefile.in: Regenerate.
623
624 2010-03-25 Joseph Myers <joseph@codesourcery.com>
625
626 * MAINTAINERS: Add self as TI C6X maintainer.
627 * NEWS: Add news entry for TI C6X support.
628 * readelf.c: Include elf/tic6x.h.
629 (guess_is_rela): Handle EM_TI_C6000.
630 (dump_relocations): Likewise.
631 (get_tic6x_dynamic_type): New.
632 (get_dynamic_type): Call it.
633 (get_machine_flags): Handle EF_C6000_REL.
634 (get_osabi_name): Handle machine-specific values only for relevant
635 machines. Handle C6X values.
636 (get_tic6x_segment_type): New.
637 (get_segment_type): Call it.
638 (get_tic6x_section_type_name): New.
639 (get_section_type_name): Call it.
640 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
641 EM_TI_C6000.
642
643 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
644
645 * doc/binutils.texi (readelf) <unwind information>: Mention support for
646 ARM unwind tables.
647
648 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
649
650 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
651
652 2010-03-17 Alan Modra <amodra@gmail.com>
653
654 * readelf.c (dump_arm_unwind): Warning fix.
655
656 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
657
658 * MAINTAINERS: Update my email address. List Tristan Gingold
659 as the release branch maintainer.
660
661 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
662
663 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
664
665 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
666
667 * NEWS: Document .ARM.exidx / .ARM.extab support.
668
669 * dwarf.c (read_leb128): Make non-static.
670 * dwarf.h (read_leb128): Declare.
671 * readelf.c (REMOVE_ARCH_BITS): Define.
672 (find_section_by_address): New.
673 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
674 (find_symbol_for_address): Handle the Thumb bit for ARM, by
675 using REMOVE_ARCH_BITS.
676 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
677 (arm_free_section, arm_section_get_word, decode_arm_unwind)
678 (dump_arm_unwind, arm_process_unwind): New.
679 (process_unwind): Handle ARM.
680
681 2010-02-26 Jie Zhang <jie@codesourcery.com>
682
683 * MAINTAINERS: Update my email address.
684
685 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
686
687 PR binutils/11298
688 * doc/binutils.texi (windmc): Fix synopsis and description of
689 ASCII options.
690
691 2010-02-19 Alan Modra <amodra@gmail.com>
692
693 * readelf.c (get_group_flags): Return empty string when flags zero.
694 Add space in other returned values.
695 (process_section_groups): Adjust format string.
696
697 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
698
699 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
700 newly permitted attribute values.
701 (arm_attr_tag_Virtualization_use): Likewise.
702 (arm_attr_tag_DIV_use): Add description of new attribute.
703 (arm_attr_tag_MPextension_use_legacy): Likewise.
704
705 2010-02-15 Nick Clifton <nickc@redhat.com>
706
707 * po/vi.po: Updated Vietnamese translation.
708
709 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
710
711 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
712 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
713
714 2010-02-08 Jim Blandy <jimb@red-bean.com>
715
716 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
717 'z' augmentation strings.
718
719 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
720
721 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
722 a new address, so as not to reuse a previous, non-related reloc.
723
724 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
725
726 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
727
728 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
729
730 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
731 sections.
732
733 2010-01-28 Nick Clifton <nickc@redhat.com>
734
735 PR 11225
736 * objdump.c (only): Replace with linked list.
737 (only_size, only_used): Replace with only_list.
738 (process_section_p): Set seen field on matches sections.
739 (add_only): New function.
740 (free_only_list): New function.
741 (disassemble_section): Check only_list.
742 (main): Use add_only and free_only_list.
743
744 2010-01-26 Tristan Gingold <gingold@adacore.com>
745
746 * Makefile.am (bin2c): Add libintl dependance and library.
747 * Makefile.in: Regenerate.
748
749 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750
751 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
752
753 2010-01-19 Ian Lance Taylor <iant@google.com>
754
755 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
756 with non-ordinary files like /dev/null.
757
758 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
759 Alan Modra <amodra@gmail.com>
760
761 * readelf.c (process_file_header): Handle e_phnum extension.
762
763 2010-01-14 Tristan Gingold <gingold@adacore.com>
764
765 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
766 and DW_AT_GNAT_descriptive_type.
767
768 2010-01-13 Tristan Gingold <gingold@adacore.com>
769
770 * ar.c (main): Use lbasename.
771 (normalize): Ditto.
772 * objdump.c (update_source_path): Ditto.
773
774 2010-01-12 Tristan Gingold <gingold@adacore.com>
775
776 * makefile.vms (CFLAGS): Turns warnings into informational messages.
777
778 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
779
780 PR ld/11146
781 * NEWS: Mention --dyn-syms for readelf.
782
783 * readelf.c (do_dyn_syms): New.
784 (OPTION_DYN_SYMS): Likewise.
785 (options): Add "dyn-syms".
786 (usage): Add --dyn-syms.
787 (parse_args): Handle OPTION_DYN_SYMS.
788 (process_symbol_table): Handle do_dyn_syms.
789 (process_object): Likewise.
790 (process_archive): Likewise.
791
792 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
793 symbol hash tables for -D.
794
795 2010-01-11 Nick Clifton <nickc@redhat.com>
796
797 * NEWS: Mention addition of elfedit.
798
799 * po/fi.po: Updated Finnish translation.
800
801 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
802
803 * Makefile.in: Regenerate.
804 * configure: Regenerate.
805 * doc/Makefile.in: Regenerate.
806
807 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
808
809 * version.c (print_version): Change to "Copyright 2010".
810
811 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
812
813 * elfedit.c (input_elf_type): New.
814 (output_elf_type): Likewise.
815 (elf_type): Likewise.
816 (update_elf_header): Support updating ELF file type.
817 (command_line_switch): Add OPTION_INPUT_TYPE and
818 OPTION_OUTPUT_TYPE.
819 (options): Likewise.
820 (usage): Add --input-type and --output-type.
821 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
822 one of --output-mach and --output-type must be specified.
823
824 * doc/binutils.texi: Document --input-type and --output-type
825 for elfedit.
826
827 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
828
829 * doc/binutils.texi: Fix a typo.
830
831 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
832
833 * elfedit.c (update_elf_header): Don't change input_elf_class
834 nor input_elf_machine if they are -1.
835
836 2010-01-08 Tristan Gingold <gingold@adacore.com>
837
838 * ar.c: Remove bfd_special_undocumented_glue prototype.
839
840 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
841
842 * elfedit.c (update_elf_header): Reformat.
843
844 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
845
846 * readelf.c (usage): Fix indent for --symbols.
847
848 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
849
850 * doc/binutils.texi: Replace -histogram with --histogram.
851
852 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
853
854 PR binutils/11131
855 * Makefile.am (ELFEDIT_PROG): New.
856 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
857 (CFILES): Add elfedit.c.
858 (elfedit_DEPENDENCIES): New.
859 (elfedit_SOURCES): Likewise.
860 (elfedit_LDADD): Likewise.
861 * Makefile.in: Regenerated.
862
863 * elfedit.c: New.
864
865 * doc/binutils.texi: Document elfedit.
866
867 * doc/Makefile.am (man_MANS): Add elfedit.1.
868 (elfedit.1): New.
869 * doc/Makefile.in: Regenerated.
870
871 2010-01-06 Tristan Gingold <gingold@adacore.com>
872
873 * nm.c (usage): Remove extra blanks.
874
875 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
876
877 * objcopy.c: Update copyright.
878 * readelf.c: Likewise.
879
880 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
881
882 PR binutils/11130
883 * objcopy.c (copy_object): Remove "Warning: " from error
884 message.
885
886 2010-01-04 Nick Clifton <nickc@redhat.com>
887
888 PR 11128
889 * readelf.c (dump_section_as_strings): Use two separate
890 invocations of printf() in order to work around bugs in
891 the Solaris 8 implementation.
892
893 2010-01-04 Nick Clifton <nickc@redhat.com>
894
895 * po/ru.po: Updated Russian translation.
896
897 For older changes see ChangeLog-2009
898 \f
899 Local Variables:
900 mode: change-log
901 left-margin: 8
902 fill-column: 74
903 version-control: never
904 End: