OSDN Git Service

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