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