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