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