1 2010-07-20 Alan Modra <amodra@gmail.com>
3 * readelf.c (process_program_headers): Don't ignore all zero size
6 2010-07-19 Andreas Schwab <schwab@redhat.com>
8 * readelf.c (process_section_headers): Update key to flags.
10 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
12 * objcopy.c (copy_usage): Tweak previous typofix.
14 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
16 * objcopy.c (copy_usage): Fix a typo.
18 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
20 * dllwrap.c (main): Make sure is_leading_underscore
21 gets initialized with correct default.
23 2010-07-05 Alan Modra <amodra@gmail.com>
25 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
27 2010-07-03 Cary Coutant <ccoutant@google.com>
29 * objdump.c (load_specific_debug_section): Decompress section contents
30 before applying relocations.
31 * readelf.c (load_specific_debug_section): Update section size after
34 2010-06-29 Alan Modra <amodra@gmail.com>
37 * objcopy.c (is_strip_section): Revert 2006-09-05.
38 (setup_section): Make SHT_GROUP section nobits.
40 2010-06-29 Alan Modra <amodra@gmail.com>
42 * configure: Regenerate.
43 * po/POTFILES.in: Regenerate.
45 2010-06-27 Alan Modra <amodra@gmail.com>
47 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
49 2010-06-17 Nick Clifton <nickc@redhat.com>
52 * windres.c (enum option_values): New enum.
53 (long_options): Use separate option number for --include-dir
55 (main): Separate backwards compatibility check from code to
56 implement --include-dir. Check to see if directory exists and do
57 not complain if it does.
59 2010-06-15 Joseph Myers <joseph@codesourcery.com>
61 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
63 (process_arch_specific): Call process_tic6x_specific for
66 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
68 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
71 2010-06-11 Tristan Gingold <gingold@adacore.com>
72 Doug Rupp <rupp@gnat.com>
74 * readelf.c (is_ia64_vms): New function.
75 (dump_relocations): Use it.
76 (get_machine_flags): Display IA-64 OpenVMS flags.
77 (process_program_headers): No error on OpenVMS if no .dynamic section.
78 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
80 (dump_ia64_vms_dynamic_fixups): New function.
81 (dump_ia64_vms_dynamic_relocs): Ditto.
82 (process_ia64_vms_dynamic_relocs): Ditto.
83 (process_relocs): Handle IA-64 OpenVMS relocs.
84 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
85 (print_vms_time): New function.
86 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
87 DT_IA_64_VMS_LNKFLAGS.
88 (get_ia64_symbol_other): New function.
89 (get_symbol_other): Handle EM_IA_64.
91 2010-06-11 Tristan Gingold <gingold@adacore.com>
93 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
94 (UNW_DEC_ABI): Ditto for abiname.
95 (unw_decode_table): Make it const.
97 2010-06-10 Tristan Gingold <gingold@adacore.com>
99 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
102 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
103 Joseph Myers <joseph@codesourcery.com>
104 Andrew Stubbs <ams@codesourcery.com>
106 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
108 2010-05-25 Jay Krell <jay.krell@cornell.edu>
111 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
112 * Makefile.in: Regenerate.
114 2010-05-24 Tristan Gingold <gingold@adacore.com>
116 * readelf.c (usage): Add new trace sections for --debug-dump.
117 (process_section_headers): Handle dump of trace sections.
118 * objdump.c (usage): Add new trace sections for --dwarf.
119 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
120 (do_trace_aranges): Ditto.
121 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
122 and trace_aranges literals.
123 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
124 (do_trace_aranges): Ditto.
125 (process_debug_info): Add abbrev_sec argument and replace
126 abbrev with abbrev_sec.
127 (load_debug_info): Adjust call of process_debug_info.
128 (display_debug_info): Ditto.
129 (display_trace_info): New function.
130 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
131 and trace_aranges sections name.
132 (dwarf_select_sections_all): Also select trace sections.
133 (debug_displays): Reindent. Add entries for the trace sections.
134 * doc/binutils.texi (readelf): Document new --dwarf parameters.
137 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
140 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
143 2010-05-07 Tristan Gingold <gingold@adacore.com>
145 * Makefile.in: Regenerate with automake 1.11.1.
147 * doc/Makefile.in: Ditto.
149 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
151 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
152 * readelf.c (get_elf_section_flags): Likewise.
153 (process_section_headers): Likewise.
155 2010-05-05 Nick Clifton <nickc@redhat.com>
157 * po/es.po: Updated Spanish translation.
159 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
161 * dlltool.c (main): Query for bfd's underscoring default for
164 2010-04-27 Nick Clifton <nickc@redhat.com>
166 * po/ru.po: Updated Russian translation.
168 2010-04-23 Alan Modra <amodra@gmail.com>
170 * readelf.c (process_program_headers): Replace use of
171 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
173 2010-04-22 Nick Clifton <nickc@redhat.com>
175 * po/binutils.pot: Updated by the Translation project.
176 * po/fi.po: Updated Finnish translation.
177 * po/vi.po: Updated Vietnamese translation.
178 * po/bg.po: New Bulgarian translation.
179 * configure.in (ALL_LINGUAS): Add bg.
180 * configure: Regenerate.
182 2010-04-20 Nick Clifton <nickc@redhat.com>
184 * po/fr.po: Updated french translation.
186 2010-04-20 Nick Clifton <nickc@redhat.com>
188 * readelf.c: Add _() macros to constant strings that are
191 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
193 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
194 (arm_attr_tag_ABI_align8_needed): Remove.
195 (arm_attr_tag_ABI_align8_preserved): Remove.
196 (arm_attr_tag_ABI_HardFP_use): Update text strings.
197 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
198 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
200 2010-04-13 Nick Clifton <nickc@redhat.com>
203 * dwarf.c (process_debug_info): Initialise the signature array.
205 2010-04-09 Nick Clifton <nickc@redhat.com>
207 * dwarf.c (process_debug_info): Remove unused variable
208 cu_abbrev_offset_ptr.
209 (display_debug_lines_decoded): Remove unused variable prev_line.
210 * elfedit.c (process_archive): Remove unused variable
212 * ieee.c (ieee_start_compilation_unit): Remove unused variable
214 (ieee_set_type): Remove unused variables info, targetindx and
216 * objdump.c (disassmble_byte): Remove unused variable done_dot.
217 * rddbg.c (read_section_stabs_debugging_info): Remove unused
219 * readelf.c (dump_section_as_strings): Remove unused variable
221 (process_archive): Remove unused variable file_name_size.
222 * stabs.c (parse_stab_string): Mark desc parameter as unused.
223 Remove unused variable lineno.
224 (parse_stab_struct_type): Remove unused variable orig.
225 (stab_demangle_type): Remove unused variables constp, volatilep
228 2010-04-07 Alan Modra <amodra@gmail.com>
230 * configure: Regenerate.
232 2010-04-06 Nick Clifton <nickc@redhat.com>
234 * po/vi.po: Updated Vietnamese translation.
236 2010-04-05 Jakub Jelinek <jakub@redhat.com>
238 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
240 (display_debug_frames): Handle CIE version 4.
242 * dwarf.c (struct State_Machine_Registers): Add op_index field,
243 change end_sequence type to unsigned char.
244 (reset_state_machine): Clear op_index.
245 (process_extended_line_op): For DW_LNE_set_address clear op_index.
246 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
247 Track op_index state machine register and print it if
248 li_max_ops_per_insn is != 1.
249 (display_debug_lines_decoded): Likewise.
251 2010-04-01 Jakub Jelinek <jakub@redhat.com>
253 * dwarf.c (read_and_display_attr_value): Don't reject
254 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
256 (process_debug_info): Handle cu_version == 4.
257 (display_debug_lines_raw, display_debug_lines_decoded): Handle
260 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
262 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
263 * Makefile.in: Regenerate.
265 2010-03-25 Joseph Myers <joseph@codesourcery.com>
267 * MAINTAINERS: Add self as TI C6X maintainer.
268 * NEWS: Add news entry for TI C6X support.
269 * readelf.c: Include elf/tic6x.h.
270 (guess_is_rela): Handle EM_TI_C6000.
271 (dump_relocations): Likewise.
272 (get_tic6x_dynamic_type): New.
273 (get_dynamic_type): Call it.
274 (get_machine_flags): Handle EF_C6000_REL.
275 (get_osabi_name): Handle machine-specific values only for relevant
276 machines. Handle C6X values.
277 (get_tic6x_segment_type): New.
278 (get_segment_type): Call it.
279 (get_tic6x_section_type_name): New.
280 (get_section_type_name): Call it.
281 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
284 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
286 * doc/binutils.texi (readelf) <unwind information>: Mention support for
289 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
291 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
293 2010-03-17 Alan Modra <amodra@gmail.com>
295 * readelf.c (dump_arm_unwind): Warning fix.
297 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
299 * MAINTAINERS: Update my email address. List Tristan Gingold
300 as the release branch maintainer.
302 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
304 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
306 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
308 * NEWS: Document .ARM.exidx / .ARM.extab support.
310 * dwarf.c (read_leb128): Make non-static.
311 * dwarf.h (read_leb128): Declare.
312 * readelf.c (REMOVE_ARCH_BITS): Define.
313 (find_section_by_address): New.
314 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
315 (find_symbol_for_address): Handle the Thumb bit for ARM, by
316 using REMOVE_ARCH_BITS.
317 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
318 (arm_free_section, arm_section_get_word, decode_arm_unwind)
319 (dump_arm_unwind, arm_process_unwind): New.
320 (process_unwind): Handle ARM.
322 2010-02-26 Jie Zhang <jie@codesourcery.com>
324 * MAINTAINERS: Update my email address.
326 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
329 * doc/binutils.texi (windmc): Fix synopsis and description of
332 2010-02-19 Alan Modra <amodra@gmail.com>
334 * readelf.c (get_group_flags): Return empty string when flags zero.
335 Add space in other returned values.
336 (process_section_groups): Adjust format string.
338 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
340 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
341 newly permitted attribute values.
342 (arm_attr_tag_Virtualization_use): Likewise.
343 (arm_attr_tag_DIV_use): Add description of new attribute.
344 (arm_attr_tag_MPextension_use_legacy): Likewise.
346 2010-02-15 Nick Clifton <nickc@redhat.com>
348 * po/vi.po: Updated Vietnamese translation.
350 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
352 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
353 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
355 2010-02-08 Jim Blandy <jimb@red-bean.com>
357 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
358 'z' augmentation strings.
360 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
362 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
363 a new address, so as not to reuse a previous, non-related reloc.
365 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
367 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
369 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
371 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
374 2010-01-28 Nick Clifton <nickc@redhat.com>
377 * objdump.c (only): Replace with linked list.
378 (only_size, only_used): Replace with only_list.
379 (process_section_p): Set seen field on matches sections.
380 (add_only): New function.
381 (free_only_list): New function.
382 (disassemble_section): Check only_list.
383 (main): Use add_only and free_only_list.
385 2010-01-26 Tristan Gingold <gingold@adacore.com>
387 * Makefile.am (bin2c): Add libintl dependance and library.
388 * Makefile.in: Regenerate.
390 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
392 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
394 2010-01-19 Ian Lance Taylor <iant@google.com>
396 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
397 with non-ordinary files like /dev/null.
399 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
400 Alan Modra <amodra@gmail.com>
402 * readelf.c (process_file_header): Handle e_phnum extension.
404 2010-01-14 Tristan Gingold <gingold@adacore.com>
406 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
407 and DW_AT_GNAT_descriptive_type.
409 2010-01-13 Tristan Gingold <gingold@adacore.com>
411 * ar.c (main): Use lbasename.
413 * objdump.c (update_source_path): Ditto.
415 2010-01-12 Tristan Gingold <gingold@adacore.com>
417 * makefile.vms (CFLAGS): Turns warnings into informational messages.
419 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
422 * NEWS: Mention --dyn-syms for readelf.
424 * readelf.c (do_dyn_syms): New.
425 (OPTION_DYN_SYMS): Likewise.
426 (options): Add "dyn-syms".
427 (usage): Add --dyn-syms.
428 (parse_args): Handle OPTION_DYN_SYMS.
429 (process_symbol_table): Handle do_dyn_syms.
430 (process_object): Likewise.
431 (process_archive): Likewise.
433 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
434 symbol hash tables for -D.
436 2010-01-11 Nick Clifton <nickc@redhat.com>
438 * NEWS: Mention addition of elfedit.
440 * po/fi.po: Updated Finnish translation.
442 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
444 * Makefile.in: Regenerate.
445 * configure: Regenerate.
446 * doc/Makefile.in: Regenerate.
448 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
450 * version.c (print_version): Change to "Copyright 2010".
452 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
454 * elfedit.c (input_elf_type): New.
455 (output_elf_type): Likewise.
456 (elf_type): Likewise.
457 (update_elf_header): Support updating ELF file type.
458 (command_line_switch): Add OPTION_INPUT_TYPE and
461 (usage): Add --input-type and --output-type.
462 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
463 one of --output-mach and --output-type must be specified.
465 * doc/binutils.texi: Document --input-type and --output-type
468 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
470 * doc/binutils.texi: Fix a typo.
472 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
474 * elfedit.c (update_elf_header): Don't change input_elf_class
475 nor input_elf_machine if they are -1.
477 2010-01-08 Tristan Gingold <gingold@adacore.com>
479 * ar.c: Remove bfd_special_undocumented_glue prototype.
481 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
483 * elfedit.c (update_elf_header): Reformat.
485 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
487 * readelf.c (usage): Fix indent for --symbols.
489 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
491 * doc/binutils.texi: Replace -histogram with --histogram.
493 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
496 * Makefile.am (ELFEDIT_PROG): New.
497 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
498 (CFILES): Add elfedit.c.
499 (elfedit_DEPENDENCIES): New.
500 (elfedit_SOURCES): Likewise.
501 (elfedit_LDADD): Likewise.
502 * Makefile.in: Regenerated.
506 * doc/binutils.texi: Document elfedit.
508 * doc/Makefile.am (man_MANS): Add elfedit.1.
510 * doc/Makefile.in: Regenerated.
512 2010-01-06 Tristan Gingold <gingold@adacore.com>
514 * nm.c (usage): Remove extra blanks.
516 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
518 * objcopy.c: Update copyright.
519 * readelf.c: Likewise.
521 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
524 * objcopy.c (copy_object): Remove "Warning: " from error
527 2010-01-04 Nick Clifton <nickc@redhat.com>
530 * readelf.c (dump_section_as_strings): Use two separate
531 invocations of printf() in order to work around bugs in
532 the Solaris 8 implementation.
534 2010-01-04 Nick Clifton <nickc@redhat.com>
536 * po/ru.po: Updated Russian translation.
538 For older changes see ChangeLog-2009
544 version-control: never