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