Fix a typo in "objcopy --help".
[external/binutils.git] / binutils / ChangeLog
1 2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * objcopy.c (copy_usage): Fix a typo.
4
5 2010-07-15  Kai Tietz <kai.tietz@onevision.com>
6
7         * dllwrap.c (main): Make sure is_leading_underscore
8         gets initialized with correct default.
9
10 2010-07-05  Alan Modra  <amodra@gmail.com>
11
12         * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
13
14 2010-07-03  Cary Coutant  <ccoutant@google.com>
15
16         * objdump.c (load_specific_debug_section): Decompress section contents
17         before applying relocations.
18         * readelf.c (load_specific_debug_section): Update section size after
19         decompression.
20
21 2010-06-29  Alan Modra  <amodra@gmail.com>
22
23         PR binutils/3166
24         * objcopy.c (is_strip_section): Revert 2006-09-05.
25         (setup_section): Make SHT_GROUP section nobits.
26
27 2010-06-29  Alan Modra  <amodra@gmail.com>
28
29         * configure: Regenerate.
30         * po/POTFILES.in: Regenerate.
31
32 2010-06-27  Alan Modra  <amodra@gmail.com>
33
34         * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
35
36 2010-06-17  Nick Clifton  <nickc@redhat.com>
37
38         PR binutils/11711
39         * windres.c (enum option_values): New enum.
40         (long_options): Use separate option number for --include-dir
41         option.
42         (main): Separate backwards compatibility check from code to
43         implement --include-dir.  Check to see if directory exists and do
44         not complain if it does.
45
46 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
47
48         * readelf.c (display_tic6x_attribute, process_tic6x_specific):
49         New.
50         (process_arch_specific): Call process_tic6x_specific for
51         EM_TI_C6000.
52
53 2010-06-11  H.J. Lu  <hongjiu.lu@intel.com>
54
55         * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
56         for 0x%lx.
57
58 2010-06-11  Tristan Gingold  <gingold@adacore.com>
59             Doug Rupp <rupp@gnat.com>
60
61         * readelf.c (is_ia64_vms): New function.
62         (dump_relocations): Use it.
63         (get_machine_flags): Display IA-64 OpenVMS flags.
64         (process_program_headers): No error on OpenVMS if no .dynamic section.
65         (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
66         declarations.
67         (dump_ia64_vms_dynamic_fixups): New function.
68         (dump_ia64_vms_dynamic_relocs): Ditto.
69         (process_ia64_vms_dynamic_relocs): Ditto.
70         (process_relocs): Handle IA-64 OpenVMS relocs.
71         (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
72         (print_vms_time): New function.
73         (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
74         DT_IA_64_VMS_LNKFLAGS.
75         (get_ia64_symbol_other): New function.
76         (get_symbol_other): Handle EM_IA_64.
77
78 2010-06-11  Tristan Gingold  <gingold@adacore.com>
79
80         * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
81         (UNW_DEC_ABI): Ditto for abiname.
82         (unw_decode_table): Make it const.
83
84 2010-06-10  Tristan Gingold  <gingold@adacore.com>
85
86         * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
87         not inplace.
88
89 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
90             Joseph Myers  <joseph@codesourcery.com>
91             Andrew Stubbs  <ams@codesourcery.com>
92
93         * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
94
95 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
96
97         PR ld/11621
98         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
99         * Makefile.in: Regenerate.
100
101 2010-05-24  Tristan Gingold  <gingold@adacore.com>
102
103         * readelf.c (usage): Add new trace sections for --debug-dump.
104         (process_section_headers): Handle dump of trace sections.
105         * objdump.c (usage): Add new trace sections for --dwarf.
106         * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
107         (do_trace_aranges): Ditto.
108         (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
109         and trace_aranges literals.
110         * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
111         (do_trace_aranges): Ditto.
112         (process_debug_info): Add abbrev_sec argument and replace
113         abbrev with abbrev_sec.
114         (load_debug_info): Adjust call of process_debug_info.
115         (display_debug_info): Ditto.
116         (display_trace_info): New function.
117         (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
118         and trace_aranges sections name.
119         (dwarf_select_sections_all): Also select trace sections.
120         (debug_displays): Reindent.  Add entries for the trace sections.
121         * doc/binutils.texi (readelf): Document new --dwarf parameters.
122         (objdump): Ditto.
123
124 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
125
126         PR gas/11600
127         * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
128         generic flag.
129
130 2010-05-07  Tristan Gingold  <gingold@adacore.com>
131
132         * Makefile.in: Regenerate with automake 1.11.1.
133         * aclocal.m4: Ditto.
134         * doc/Makefile.in: Ditto.
135
136 2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>
137
138         * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
139         * readelf.c (get_elf_section_flags): Likewise.
140         (process_section_headers): Likewise.
141
142 2010-05-05  Nick Clifton  <nickc@redhat.com>
143
144         * po/es.po: Updated Spanish translation.
145
146 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
147
148         * dlltool.c (main): Query for bfd's underscoring default for
149         default target case.
150
151 2010-04-27  Nick Clifton  <nickc@redhat.com>
152
153         * po/ru.po: Updated Russian translation.
154
155 2010-04-23  Alan Modra  <amodra@gmail.com>
156
157         * readelf.c (process_program_headers): Replace use of
158         ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
159
160 2010-04-22  Nick Clifton  <nickc@redhat.com>
161
162         * po/binutils.pot: Updated by the Translation project.
163         * po/fi.po: Updated Finnish translation.
164         * po/vi.po: Updated Vietnamese translation.
165         * po/bg.po: New Bulgarian translation.
166         * configure.in (ALL_LINGUAS): Add bg.
167         * configure: Regenerate.
168
169 2010-04-20  Nick Clifton  <nickc@redhat.com>
170
171         * po/fr.po: Updated french translation.
172
173 2010-04-20  Nick Clifton  <nickc@redhat.com>
174
175         * readelf.c: Add _() macros to constant strings that are
176         translatable.
177
178 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
179
180         * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
181         (arm_attr_tag_ABI_align8_needed): Remove.
182         (arm_attr_tag_ABI_align8_preserved): Remove.
183         (arm_attr_tag_ABI_HardFP_use): Update text strings.
184         (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
185         (display_arm_attribute): Add decoding of ABI v2.08 attributes.
186
187 2010-04-13  Nick Clifton  <nickc@redhat.com>
188
189         PR binutils/11419
190         * dwarf.c (process_debug_info): Initialise the signature array.
191
192 2010-04-09  Nick Clifton  <nickc@redhat.com>
193
194         * dwarf.c (process_debug_info): Remove unused variable
195         cu_abbrev_offset_ptr.
196         (display_debug_lines_decoded): Remove unused variable prev_line.
197         * elfedit.c (process_archive): Remove unused variable
198         file_name_size.
199         * ieee.c (ieee_start_compilation_unit): Remove unused variable
200         nindx.
201         (ieee_set_type): Remove unused variables info, targetindx and
202         baseindx.
203         * objdump.c (disassmble_byte): Remove unused variable done_dot.
204         * rddbg.c (read_section_stabs_debugging_info): Remove unused
205         variable other.
206         * readelf.c (dump_section_as_strings): Remove unused variable
207         addr.
208         (process_archive): Remove unused variable file_name_size.
209         * stabs.c (parse_stab_string): Mark desc parameter as unused.
210         Remove unused variable lineno.
211         (parse_stab_struct_type): Remove unused variable orig.
212         (stab_demangle_type): Remove unused variables constp, volatilep
213         and hold.
214
215 2010-04-07  Alan Modra  <amodra@gmail.com>
216
217         * configure: Regenerate.
218
219 2010-04-06  Nick Clifton  <nickc@redhat.com>
220
221         * po/vi.po: Updated Vietnamese translation.
222
223 2010-04-05  Jakub Jelinek  <jakub@redhat.com>
224
225         * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
226         fields.
227         (display_debug_frames): Handle CIE version 4.
228
229         * dwarf.c (struct State_Machine_Registers): Add op_index field,
230         change end_sequence type to unsigned char.
231         (reset_state_machine): Clear op_index.
232         (process_extended_line_op): For DW_LNE_set_address clear op_index.
233         (display_debug_lines_raw): Initialize li_max_ops_per_insn.
234         Track op_index state machine register and print it if
235         li_max_ops_per_insn is != 1.
236         (display_debug_lines_decoded): Likewise.
237
238 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
239
240         * dwarf.c (read_and_display_attr_value): Don't reject
241         dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
242         and DW_FORM_exprloc.
243         (process_debug_info): Handle cu_version == 4.
244         (display_debug_lines_raw, display_debug_lines_decoded): Handle
245         li_version == 4.
246
247 2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
248
249         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
250         * Makefile.in: Regenerate.
251
252 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
253
254         * MAINTAINERS: Add self as TI C6X maintainer.
255         * NEWS: Add news entry for TI C6X support.
256         * readelf.c: Include elf/tic6x.h.
257         (guess_is_rela): Handle EM_TI_C6000.
258         (dump_relocations): Likewise.
259         (get_tic6x_dynamic_type): New.
260         (get_dynamic_type): Call it.
261         (get_machine_flags): Handle EF_C6000_REL.
262         (get_osabi_name): Handle machine-specific values only for relevant
263         machines.  Handle C6X values.
264         (get_tic6x_segment_type): New.
265         (get_segment_type): Call it.
266         (get_tic6x_section_type_name): New.
267         (get_section_type_name): Call it.
268         (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
269         EM_TI_C6000.
270
271 2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
272
273         * doc/binutils.texi (readelf) <unwind information>: Mention support for
274         ARM unwind tables.
275
276 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
277
278         * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
279
280 2010-03-17  Alan Modra  <amodra@gmail.com>
281
282         * readelf.c (dump_arm_unwind): Warning fix.
283
284 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
285
286         * MAINTAINERS: Update my email address.  List Tristan Gingold
287         as the release branch maintainer.
288
289 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
290
291         * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
292
293 2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
294
295         * NEWS: Document .ARM.exidx / .ARM.extab support.
296
297         * dwarf.c (read_leb128): Make non-static.
298         * dwarf.h (read_leb128): Declare.
299         * readelf.c (REMOVE_ARCH_BITS): Define.
300         (find_section_by_address): New.
301         (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
302         (find_symbol_for_address): Handle the Thumb bit for ARM, by
303         using REMOVE_ARCH_BITS.
304         (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
305         (arm_free_section, arm_section_get_word, decode_arm_unwind)
306         (dump_arm_unwind, arm_process_unwind): New.
307         (process_unwind): Handle ARM.
308
309 2010-02-26  Jie Zhang  <jie@codesourcery.com>
310
311         * MAINTAINERS: Update my email address.
312
313 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
314
315         PR binutils/11298
316         * doc/binutils.texi (windmc): Fix synopsis and description of
317         ASCII options.
318
319 2010-02-19  Alan Modra  <amodra@gmail.com>
320
321         * readelf.c (get_group_flags): Return empty string when flags zero.
322         Add space in other returned values.
323         (process_section_groups): Adjust format string.
324
325 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
326
327         * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
328         newly permitted attribute values.
329         (arm_attr_tag_Virtualization_use): Likewise.
330         (arm_attr_tag_DIV_use): Add description of new attribute.
331         (arm_attr_tag_MPextension_use_legacy): Likewise.
332
333 2010-02-15  Nick Clifton  <nickc@redhat.com>
334
335         * po/vi.po: Updated Vietnamese translation.
336
337 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
338
339         * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
340         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
341
342 2010-02-08  Jim Blandy  <jimb@red-bean.com>
343
344         * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
345         'z' augmentation strings.
346
347 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
348
349         * objdump.c (disassemble_bytes): Clear aux->reloc before printing
350         a new address, so as not to reuse a previous, non-related reloc.
351
352 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
353
354         * readelf.c (get_note_type): Handle NT_X86_XSTATE.
355
356 2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
357
358         * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
359         sections.
360
361 2010-01-28  Nick Clifton  <nickc@redhat.com>
362
363         PR 11225
364         * objdump.c (only): Replace with linked list.
365         (only_size, only_used): Replace with only_list.
366         (process_section_p): Set seen field on matches sections.
367         (add_only): New function.
368         (free_only_list): New function.
369         (disassemble_section): Check only_list.
370         (main): Use add_only and free_only_list.
371
372 2010-01-26  Tristan Gingold  <gingold@adacore.com>
373
374         * Makefile.am (bin2c): Add libintl dependance and library.
375         * Makefile.in: Regenerate.
376
377 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
378
379         * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
380
381 2010-01-19  Ian Lance Taylor  <iant@google.com>
382
383         * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
384         with non-ordinary files like /dev/null.
385
386 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
387             Alan Modra <amodra@gmail.com>
388
389         * readelf.c (process_file_header): Handle e_phnum extension.
390
391 2010-01-14  Tristan Gingold  <gingold@adacore.com>
392
393         * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
394         and DW_AT_GNAT_descriptive_type.
395
396 2010-01-13  Tristan Gingold  <gingold@adacore.com>
397
398         * ar.c (main): Use lbasename.
399         (normalize): Ditto.
400         * objdump.c (update_source_path): Ditto.
401
402 2010-01-12  Tristan Gingold  <gingold@adacore.com>
403
404         * makefile.vms (CFLAGS): Turns warnings into informational messages.
405
406 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
407
408         PR ld/11146
409         * NEWS: Mention --dyn-syms for readelf.
410
411         * readelf.c (do_dyn_syms): New.
412         (OPTION_DYN_SYMS): Likewise.
413         (options): Add "dyn-syms".
414         (usage): Add --dyn-syms.
415         (parse_args): Handle OPTION_DYN_SYMS.
416         (process_symbol_table): Handle do_dyn_syms.
417         (process_object): Likewise.
418         (process_archive): Likewise.
419
420         * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
421         symbol hash tables for -D.
422
423 2010-01-11  Nick Clifton  <nickc@redhat.com>
424
425         * NEWS: Mention addition of elfedit.
426
427         * po/fi.po: Updated Finnish translation.
428
429 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
430
431         * Makefile.in: Regenerate.
432         * configure: Regenerate.
433         * doc/Makefile.in: Regenerate.
434
435 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
436
437         * version.c (print_version): Change to "Copyright 2010".
438
439 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
440
441         * elfedit.c (input_elf_type): New.
442         (output_elf_type): Likewise.
443         (elf_type): Likewise.
444         (update_elf_header): Support updating ELF file type.
445         (command_line_switch): Add OPTION_INPUT_TYPE and
446         OPTION_OUTPUT_TYPE.
447         (options): Likewise.
448         (usage): Add --input-type and --output-type.
449         (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
450         one of --output-mach and --output-type must be specified.
451
452         * doc/binutils.texi: Document --input-type and --output-type
453         for elfedit.
454
455 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
456
457         * doc/binutils.texi: Fix a typo.
458
459 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
460
461         * elfedit.c (update_elf_header): Don't change input_elf_class
462         nor input_elf_machine if they are -1.
463
464 2010-01-08  Tristan Gingold  <gingold@adacore.com>
465
466         * ar.c: Remove bfd_special_undocumented_glue prototype.
467
468 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
469
470         * elfedit.c (update_elf_header): Reformat.
471
472 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
473
474         * readelf.c (usage): Fix indent for --symbols.
475
476 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
477
478         * doc/binutils.texi: Replace -histogram with --histogram.
479
480 2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
481
482         PR binutils/11131
483         * Makefile.am (ELFEDIT_PROG): New.
484         (bin_PROGRAMS): Add $(ELFEDIT_PROG).
485         (CFILES): Add elfedit.c.
486         (elfedit_DEPENDENCIES): New.
487         (elfedit_SOURCES): Likewise.
488         (elfedit_LDADD): Likewise.
489         * Makefile.in: Regenerated.
490
491         * elfedit.c: New.
492
493         * doc/binutils.texi: Document elfedit.
494
495         * doc/Makefile.am (man_MANS): Add elfedit.1.
496         (elfedit.1): New.
497         * doc/Makefile.in: Regenerated.
498
499 2010-01-06  Tristan Gingold  <gingold@adacore.com>
500
501         * nm.c (usage): Remove extra blanks.
502
503 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
504
505         * objcopy.c: Update copyright.
506         * readelf.c: Likewise.
507
508 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
509
510         PR binutils/11130
511         * objcopy.c (copy_object): Remove "Warning: " from error
512         message.
513
514 2010-01-04  Nick Clifton  <nickc@redhat.com>
515
516         PR 11128
517         * readelf.c (dump_section_as_strings): Use two separate
518         invocations of printf() in order to work around bugs in
519         the Solaris 8 implementation.
520
521 2010-01-04  Nick Clifton  <nickc@redhat.com>
522
523         * po/ru.po: Updated Russian translation.
524
525 For older changes see ChangeLog-2009
526 \f
527 Local Variables:
528 mode: change-log
529 left-margin: 8
530 fill-column: 74
531 version-control: never
532 End: