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