1 2010-08-25 Alan Modra <amodra@gmail.com>
3 * NEWS: Mention ampersand in macro change.
5 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
7 * elfedit.c (input_elf_osabi): New.
8 (output_elf_osbi): Likewise.
10 (elf_osabi): Likewise.
11 (update_elf_header): Support updating ELF OSABI.
12 (make_qualified_name): Break long line.
13 (command_line_switch): Add OPTION_INPUT_OSABI and
16 (usage): Add --input-osabi and --output-osabi.
17 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
19 * doc/binutils.texi: Document --input-osabi and --output-osabi
22 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
24 * readelf.c (display_mips_gnu_attribute): Replace GCC options
25 with a textual description of a MIPS32r2 64-bit FPU.
27 2010-08-19 Alan Modra <amodra@gmail.com>
29 * NEWS: Mention change in linker script expression evaluation.
31 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
34 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
36 (get_64bit_elf_symbols): Likewise.
37 (process_symbol_table): Likewise.
38 (process_section_groups): Check for corrupt headers.
39 (process_version_sections): Check for corrupt indicies.
40 (process_corefile_note_segment): Likewise.
42 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
44 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
47 2010-08-13 Tom Tromey <tromey@redhat.com>
49 * dwarf.c (process_debug_info): Don't subtract section address
50 when calculating location of cu abbrev within section.
52 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
55 * readelf.c (get_archive_member_name): Do not read beyond the end
58 2010-08-03 Tristan Gingold <gingold@adacore.com>
60 * dwarf.c (display_debug_lines): Mark file argument unused.
61 Do not try to load .debug_info section.
63 2010-08-02 Alan Modra <amodra@gmail.com>
65 * readelf.c (apply_relocations): D30V is really REL.
67 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
68 Ina Pandit <ina.pandit@kpitcummins.com>
70 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
72 2010-07-22 Alan Modra <amodra@gmail.com>
74 * readelf.c: Add Moxie support.
76 2010-07-20 Alan Modra <amodra@gmail.com>
78 * readelf.c (process_program_headers): Don't ignore all zero size
81 2010-07-19 Andreas Schwab <schwab@redhat.com>
83 * readelf.c (process_section_headers): Update key to flags.
85 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
87 * objcopy.c (copy_usage): Tweak previous typofix.
89 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
91 * objcopy.c (copy_usage): Fix a typo.
93 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
95 * dllwrap.c (main): Make sure is_leading_underscore
96 gets initialized with correct default.
98 2010-07-05 Alan Modra <amodra@gmail.com>
100 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
102 2010-07-03 Cary Coutant <ccoutant@google.com>
104 * objdump.c (load_specific_debug_section): Decompress section contents
105 before applying relocations.
106 * readelf.c (load_specific_debug_section): Update section size after
109 2010-06-29 Alan Modra <amodra@gmail.com>
112 * objcopy.c (is_strip_section): Revert 2006-09-05.
113 (setup_section): Make SHT_GROUP section nobits.
115 2010-06-29 Alan Modra <amodra@gmail.com>
117 * configure: Regenerate.
118 * po/POTFILES.in: Regenerate.
120 2010-06-27 Alan Modra <amodra@gmail.com>
122 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
124 2010-06-17 Nick Clifton <nickc@redhat.com>
127 * windres.c (enum option_values): New enum.
128 (long_options): Use separate option number for --include-dir
130 (main): Separate backwards compatibility check from code to
131 implement --include-dir. Check to see if directory exists and do
132 not complain if it does.
134 2010-06-15 Joseph Myers <joseph@codesourcery.com>
136 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
138 (process_arch_specific): Call process_tic6x_specific for
141 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
143 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
146 2010-06-11 Tristan Gingold <gingold@adacore.com>
147 Doug Rupp <rupp@gnat.com>
149 * readelf.c (is_ia64_vms): New function.
150 (dump_relocations): Use it.
151 (get_machine_flags): Display IA-64 OpenVMS flags.
152 (process_program_headers): No error on OpenVMS if no .dynamic section.
153 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
155 (dump_ia64_vms_dynamic_fixups): New function.
156 (dump_ia64_vms_dynamic_relocs): Ditto.
157 (process_ia64_vms_dynamic_relocs): Ditto.
158 (process_relocs): Handle IA-64 OpenVMS relocs.
159 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
160 (print_vms_time): New function.
161 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
162 DT_IA_64_VMS_LNKFLAGS.
163 (get_ia64_symbol_other): New function.
164 (get_symbol_other): Handle EM_IA_64.
166 2010-06-11 Tristan Gingold <gingold@adacore.com>
168 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
169 (UNW_DEC_ABI): Ditto for abiname.
170 (unw_decode_table): Make it const.
172 2010-06-10 Tristan Gingold <gingold@adacore.com>
174 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
177 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
178 Joseph Myers <joseph@codesourcery.com>
179 Andrew Stubbs <ams@codesourcery.com>
181 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
183 2010-05-25 Jay Krell <jay.krell@cornell.edu>
186 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
187 * Makefile.in: Regenerate.
189 2010-05-24 Tristan Gingold <gingold@adacore.com>
191 * readelf.c (usage): Add new trace sections for --debug-dump.
192 (process_section_headers): Handle dump of trace sections.
193 * objdump.c (usage): Add new trace sections for --dwarf.
194 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
195 (do_trace_aranges): Ditto.
196 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
197 and trace_aranges literals.
198 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
199 (do_trace_aranges): Ditto.
200 (process_debug_info): Add abbrev_sec argument and replace
201 abbrev with abbrev_sec.
202 (load_debug_info): Adjust call of process_debug_info.
203 (display_debug_info): Ditto.
204 (display_trace_info): New function.
205 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
206 and trace_aranges sections name.
207 (dwarf_select_sections_all): Also select trace sections.
208 (debug_displays): Reindent. Add entries for the trace sections.
209 * doc/binutils.texi (readelf): Document new --dwarf parameters.
212 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
215 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
218 2010-05-07 Tristan Gingold <gingold@adacore.com>
220 * Makefile.in: Regenerate with automake 1.11.1.
222 * doc/Makefile.in: Ditto.
224 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
226 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
227 * readelf.c (get_elf_section_flags): Likewise.
228 (process_section_headers): Likewise.
230 2010-05-05 Nick Clifton <nickc@redhat.com>
232 * po/es.po: Updated Spanish translation.
234 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
236 * dlltool.c (main): Query for bfd's underscoring default for
239 2010-04-27 Nick Clifton <nickc@redhat.com>
241 * po/ru.po: Updated Russian translation.
243 2010-04-23 Alan Modra <amodra@gmail.com>
245 * readelf.c (process_program_headers): Replace use of
246 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
248 2010-04-22 Nick Clifton <nickc@redhat.com>
250 * po/binutils.pot: Updated by the Translation project.
251 * po/fi.po: Updated Finnish translation.
252 * po/vi.po: Updated Vietnamese translation.
253 * po/bg.po: New Bulgarian translation.
254 * configure.in (ALL_LINGUAS): Add bg.
255 * configure: Regenerate.
257 2010-04-20 Nick Clifton <nickc@redhat.com>
259 * po/fr.po: Updated french translation.
261 2010-04-20 Nick Clifton <nickc@redhat.com>
263 * readelf.c: Add _() macros to constant strings that are
266 * readelf.c (display_mips_gnu_attribute): Replace GCC options
267 with a textual description of single and double precision float.
269 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
271 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
272 (arm_attr_tag_ABI_align8_needed): Remove.
273 (arm_attr_tag_ABI_align8_preserved): Remove.
274 (arm_attr_tag_ABI_HardFP_use): Update text strings.
275 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
276 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
278 2010-04-13 Nick Clifton <nickc@redhat.com>
281 * dwarf.c (process_debug_info): Initialise the signature array.
283 2010-04-09 Nick Clifton <nickc@redhat.com>
285 * dwarf.c (process_debug_info): Remove unused variable
286 cu_abbrev_offset_ptr.
287 (display_debug_lines_decoded): Remove unused variable prev_line.
288 * elfedit.c (process_archive): Remove unused variable
290 * ieee.c (ieee_start_compilation_unit): Remove unused variable
292 (ieee_set_type): Remove unused variables info, targetindx and
294 * objdump.c (disassmble_byte): Remove unused variable done_dot.
295 * rddbg.c (read_section_stabs_debugging_info): Remove unused
297 * readelf.c (dump_section_as_strings): Remove unused variable
299 (process_archive): Remove unused variable file_name_size.
300 * stabs.c (parse_stab_string): Mark desc parameter as unused.
301 Remove unused variable lineno.
302 (parse_stab_struct_type): Remove unused variable orig.
303 (stab_demangle_type): Remove unused variables constp, volatilep
306 2010-04-07 Alan Modra <amodra@gmail.com>
308 * configure: Regenerate.
310 2010-04-06 Nick Clifton <nickc@redhat.com>
312 * po/vi.po: Updated Vietnamese translation.
314 2010-04-05 Jakub Jelinek <jakub@redhat.com>
316 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
318 (display_debug_frames): Handle CIE version 4.
320 * dwarf.c (struct State_Machine_Registers): Add op_index field,
321 change end_sequence type to unsigned char.
322 (reset_state_machine): Clear op_index.
323 (process_extended_line_op): For DW_LNE_set_address clear op_index.
324 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
325 Track op_index state machine register and print it if
326 li_max_ops_per_insn is != 1.
327 (display_debug_lines_decoded): Likewise.
329 2010-04-01 Jakub Jelinek <jakub@redhat.com>
331 * dwarf.c (read_and_display_attr_value): Don't reject
332 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
334 (process_debug_info): Handle cu_version == 4.
335 (display_debug_lines_raw, display_debug_lines_decoded): Handle
338 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
340 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
341 * Makefile.in: Regenerate.
343 2010-03-25 Joseph Myers <joseph@codesourcery.com>
345 * MAINTAINERS: Add self as TI C6X maintainer.
346 * NEWS: Add news entry for TI C6X support.
347 * readelf.c: Include elf/tic6x.h.
348 (guess_is_rela): Handle EM_TI_C6000.
349 (dump_relocations): Likewise.
350 (get_tic6x_dynamic_type): New.
351 (get_dynamic_type): Call it.
352 (get_machine_flags): Handle EF_C6000_REL.
353 (get_osabi_name): Handle machine-specific values only for relevant
354 machines. Handle C6X values.
355 (get_tic6x_segment_type): New.
356 (get_segment_type): Call it.
357 (get_tic6x_section_type_name): New.
358 (get_section_type_name): Call it.
359 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
362 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
364 * doc/binutils.texi (readelf) <unwind information>: Mention support for
367 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
369 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
371 2010-03-17 Alan Modra <amodra@gmail.com>
373 * readelf.c (dump_arm_unwind): Warning fix.
375 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
377 * MAINTAINERS: Update my email address. List Tristan Gingold
378 as the release branch maintainer.
380 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
382 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
384 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
386 * NEWS: Document .ARM.exidx / .ARM.extab support.
388 * dwarf.c (read_leb128): Make non-static.
389 * dwarf.h (read_leb128): Declare.
390 * readelf.c (REMOVE_ARCH_BITS): Define.
391 (find_section_by_address): New.
392 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
393 (find_symbol_for_address): Handle the Thumb bit for ARM, by
394 using REMOVE_ARCH_BITS.
395 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
396 (arm_free_section, arm_section_get_word, decode_arm_unwind)
397 (dump_arm_unwind, arm_process_unwind): New.
398 (process_unwind): Handle ARM.
400 2010-02-26 Jie Zhang <jie@codesourcery.com>
402 * MAINTAINERS: Update my email address.
404 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
407 * doc/binutils.texi (windmc): Fix synopsis and description of
410 2010-02-19 Alan Modra <amodra@gmail.com>
412 * readelf.c (get_group_flags): Return empty string when flags zero.
413 Add space in other returned values.
414 (process_section_groups): Adjust format string.
416 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
418 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
419 newly permitted attribute values.
420 (arm_attr_tag_Virtualization_use): Likewise.
421 (arm_attr_tag_DIV_use): Add description of new attribute.
422 (arm_attr_tag_MPextension_use_legacy): Likewise.
424 2010-02-15 Nick Clifton <nickc@redhat.com>
426 * po/vi.po: Updated Vietnamese translation.
428 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
430 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
431 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
433 2010-02-08 Jim Blandy <jimb@red-bean.com>
435 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
436 'z' augmentation strings.
438 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
440 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
441 a new address, so as not to reuse a previous, non-related reloc.
443 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
445 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
447 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
449 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
452 2010-01-28 Nick Clifton <nickc@redhat.com>
455 * objdump.c (only): Replace with linked list.
456 (only_size, only_used): Replace with only_list.
457 (process_section_p): Set seen field on matches sections.
458 (add_only): New function.
459 (free_only_list): New function.
460 (disassemble_section): Check only_list.
461 (main): Use add_only and free_only_list.
463 2010-01-26 Tristan Gingold <gingold@adacore.com>
465 * Makefile.am (bin2c): Add libintl dependance and library.
466 * Makefile.in: Regenerate.
468 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
470 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
472 2010-01-19 Ian Lance Taylor <iant@google.com>
474 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
475 with non-ordinary files like /dev/null.
477 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
478 Alan Modra <amodra@gmail.com>
480 * readelf.c (process_file_header): Handle e_phnum extension.
482 2010-01-14 Tristan Gingold <gingold@adacore.com>
484 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
485 and DW_AT_GNAT_descriptive_type.
487 2010-01-13 Tristan Gingold <gingold@adacore.com>
489 * ar.c (main): Use lbasename.
491 * objdump.c (update_source_path): Ditto.
493 2010-01-12 Tristan Gingold <gingold@adacore.com>
495 * makefile.vms (CFLAGS): Turns warnings into informational messages.
497 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
500 * NEWS: Mention --dyn-syms for readelf.
502 * readelf.c (do_dyn_syms): New.
503 (OPTION_DYN_SYMS): Likewise.
504 (options): Add "dyn-syms".
505 (usage): Add --dyn-syms.
506 (parse_args): Handle OPTION_DYN_SYMS.
507 (process_symbol_table): Handle do_dyn_syms.
508 (process_object): Likewise.
509 (process_archive): Likewise.
511 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
512 symbol hash tables for -D.
514 2010-01-11 Nick Clifton <nickc@redhat.com>
516 * NEWS: Mention addition of elfedit.
518 * po/fi.po: Updated Finnish translation.
520 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
522 * Makefile.in: Regenerate.
523 * configure: Regenerate.
524 * doc/Makefile.in: Regenerate.
526 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
528 * version.c (print_version): Change to "Copyright 2010".
530 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
532 * elfedit.c (input_elf_type): New.
533 (output_elf_type): Likewise.
534 (elf_type): Likewise.
535 (update_elf_header): Support updating ELF file type.
536 (command_line_switch): Add OPTION_INPUT_TYPE and
539 (usage): Add --input-type and --output-type.
540 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
541 one of --output-mach and --output-type must be specified.
543 * doc/binutils.texi: Document --input-type and --output-type
546 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
548 * doc/binutils.texi: Fix a typo.
550 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
552 * elfedit.c (update_elf_header): Don't change input_elf_class
553 nor input_elf_machine if they are -1.
555 2010-01-08 Tristan Gingold <gingold@adacore.com>
557 * ar.c: Remove bfd_special_undocumented_glue prototype.
559 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
561 * elfedit.c (update_elf_header): Reformat.
563 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
565 * readelf.c (usage): Fix indent for --symbols.
567 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
569 * doc/binutils.texi: Replace -histogram with --histogram.
571 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
574 * Makefile.am (ELFEDIT_PROG): New.
575 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
576 (CFILES): Add elfedit.c.
577 (elfedit_DEPENDENCIES): New.
578 (elfedit_SOURCES): Likewise.
579 (elfedit_LDADD): Likewise.
580 * Makefile.in: Regenerated.
584 * doc/binutils.texi: Document elfedit.
586 * doc/Makefile.am (man_MANS): Add elfedit.1.
588 * doc/Makefile.in: Regenerated.
590 2010-01-06 Tristan Gingold <gingold@adacore.com>
592 * nm.c (usage): Remove extra blanks.
594 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
596 * objcopy.c: Update copyright.
597 * readelf.c: Likewise.
599 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
602 * objcopy.c (copy_object): Remove "Warning: " from error
605 2010-01-04 Nick Clifton <nickc@redhat.com>
608 * readelf.c (dump_section_as_strings): Use two separate
609 invocations of printf() in order to work around bugs in
610 the Solaris 8 implementation.
612 2010-01-04 Nick Clifton <nickc@redhat.com>
614 * po/ru.po: Updated Russian translation.
616 For older changes see ChangeLog-2009
622 version-control: never