1 2010-06-29 Alan Modra <amodra@gmail.com>
4 * objcopy.c (is_strip_section): Revert 2006-09-05.
5 (setup_section): Make SHT_GROUP section nobits.
7 2010-06-29 Alan Modra <amodra@gmail.com>
9 * configure: Regenerate.
10 * po/POTFILES.in: Regenerate.
12 2010-06-27 Alan Modra <amodra@gmail.com>
14 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
16 2010-06-17 Nick Clifton <nickc@redhat.com>
19 * windres.c (enum option_values): New enum.
20 (long_options): Use separate option number for --include-dir
22 (main): Separate backwards compatibility check from code to
23 implement --include-dir. Check to see if directory exists and do
24 not complain if it does.
26 2010-06-15 Joseph Myers <joseph@codesourcery.com>
28 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
30 (process_arch_specific): Call process_tic6x_specific for
33 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
35 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
38 2010-06-11 Tristan Gingold <gingold@adacore.com>
39 Doug Rupp <rupp@gnat.com>
41 * readelf.c (is_ia64_vms): New function.
42 (dump_relocations): Use it.
43 (get_machine_flags): Display IA-64 OpenVMS flags.
44 (process_program_headers): No error on OpenVMS if no .dynamic section.
45 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
47 (dump_ia64_vms_dynamic_fixups): New function.
48 (dump_ia64_vms_dynamic_relocs): Ditto.
49 (process_ia64_vms_dynamic_relocs): Ditto.
50 (process_relocs): Handle IA-64 OpenVMS relocs.
51 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
52 (print_vms_time): New function.
53 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
54 DT_IA_64_VMS_LNKFLAGS.
55 (get_ia64_symbol_other): New function.
56 (get_symbol_other): Handle EM_IA_64.
58 2010-06-11 Tristan Gingold <gingold@adacore.com>
60 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
61 (UNW_DEC_ABI): Ditto for abiname.
62 (unw_decode_table): Make it const.
64 2010-06-10 Tristan Gingold <gingold@adacore.com>
66 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
69 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
70 Joseph Myers <joseph@codesourcery.com>
71 Andrew Stubbs <ams@codesourcery.com>
73 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
75 2010-05-25 Jay Krell <jay.krell@cornell.edu>
78 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
79 * Makefile.in: Regenerate.
81 2010-05-24 Tristan Gingold <gingold@adacore.com>
83 * readelf.c (usage): Add new trace sections for --debug-dump.
84 (process_section_headers): Handle dump of trace sections.
85 * objdump.c (usage): Add new trace sections for --dwarf.
86 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
87 (do_trace_aranges): Ditto.
88 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
89 and trace_aranges literals.
90 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
91 (do_trace_aranges): Ditto.
92 (process_debug_info): Add abbrev_sec argument and replace
93 abbrev with abbrev_sec.
94 (load_debug_info): Adjust call of process_debug_info.
95 (display_debug_info): Ditto.
96 (display_trace_info): New function.
97 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
98 and trace_aranges sections name.
99 (dwarf_select_sections_all): Also select trace sections.
100 (debug_displays): Reindent. Add entries for the trace sections.
101 * doc/binutils.texi (readelf): Document new --dwarf parameters.
104 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
107 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
110 2010-05-07 Tristan Gingold <gingold@adacore.com>
112 * Makefile.in: Regenerate with automake 1.11.1.
114 * doc/Makefile.in: Ditto.
116 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
118 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
119 * readelf.c (get_elf_section_flags): Likewise.
120 (process_section_headers): Likewise.
122 2010-05-05 Nick Clifton <nickc@redhat.com>
124 * po/es.po: Updated Spanish translation.
126 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
128 * dlltool.c (main): Query for bfd's underscoring default for
131 2010-04-27 Nick Clifton <nickc@redhat.com>
133 * po/ru.po: Updated Russian translation.
135 2010-04-23 Alan Modra <amodra@gmail.com>
137 * readelf.c (process_program_headers): Replace use of
138 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
140 2010-04-22 Nick Clifton <nickc@redhat.com>
142 * po/binutils.pot: Updated by the Translation project.
143 * po/fi.po: Updated Finnish translation.
144 * po/vi.po: Updated Vietnamese translation.
145 * po/bg.po: New Bulgarian translation.
146 * configure.in (ALL_LINGUAS): Add bg.
147 * configure: Regenerate.
149 2010-04-20 Nick Clifton <nickc@redhat.com>
151 * po/fr.po: Updated french translation.
153 2010-04-20 Nick Clifton <nickc@redhat.com>
155 * readelf.c: Add _() macros to constant strings that are
158 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
160 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
161 (arm_attr_tag_ABI_align8_needed): Remove.
162 (arm_attr_tag_ABI_align8_preserved): Remove.
163 (arm_attr_tag_ABI_HardFP_use): Update text strings.
164 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
165 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
167 2010-04-13 Nick Clifton <nickc@redhat.com>
170 * dwarf.c (process_debug_info): Initialise the signature array.
172 2010-04-09 Nick Clifton <nickc@redhat.com>
174 * dwarf.c (process_debug_info): Remove unused variable
175 cu_abbrev_offset_ptr.
176 (display_debug_lines_decoded): Remove unused variable prev_line.
177 * elfedit.c (process_archive): Remove unused variable
179 * ieee.c (ieee_start_compilation_unit): Remove unused variable
181 (ieee_set_type): Remove unused variables info, targetindx and
183 * objdump.c (disassmble_byte): Remove unused variable done_dot.
184 * rddbg.c (read_section_stabs_debugging_info): Remove unused
186 * readelf.c (dump_section_as_strings): Remove unused variable
188 (process_archive): Remove unused variable file_name_size.
189 * stabs.c (parse_stab_string): Mark desc parameter as unused.
190 Remove unused variable lineno.
191 (parse_stab_struct_type): Remove unused variable orig.
192 (stab_demangle_type): Remove unused variables constp, volatilep
195 2010-04-07 Alan Modra <amodra@gmail.com>
197 * configure: Regenerate.
199 2010-04-06 Nick Clifton <nickc@redhat.com>
201 * po/vi.po: Updated Vietnamese translation.
203 2010-04-05 Jakub Jelinek <jakub@redhat.com>
205 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
207 (display_debug_frames): Handle CIE version 4.
209 * dwarf.c (struct State_Machine_Registers): Add op_index field,
210 change end_sequence type to unsigned char.
211 (reset_state_machine): Clear op_index.
212 (process_extended_line_op): For DW_LNE_set_address clear op_index.
213 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
214 Track op_index state machine register and print it if
215 li_max_ops_per_insn is != 1.
216 (display_debug_lines_decoded): Likewise.
218 2010-04-01 Jakub Jelinek <jakub@redhat.com>
220 * dwarf.c (read_and_display_attr_value): Don't reject
221 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
223 (process_debug_info): Handle cu_version == 4.
224 (display_debug_lines_raw, display_debug_lines_decoded): Handle
227 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
229 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
230 * Makefile.in: Regenerate.
232 2010-03-25 Joseph Myers <joseph@codesourcery.com>
234 * MAINTAINERS: Add self as TI C6X maintainer.
235 * NEWS: Add news entry for TI C6X support.
236 * readelf.c: Include elf/tic6x.h.
237 (guess_is_rela): Handle EM_TI_C6000.
238 (dump_relocations): Likewise.
239 (get_tic6x_dynamic_type): New.
240 (get_dynamic_type): Call it.
241 (get_machine_flags): Handle EF_C6000_REL.
242 (get_osabi_name): Handle machine-specific values only for relevant
243 machines. Handle C6X values.
244 (get_tic6x_segment_type): New.
245 (get_segment_type): Call it.
246 (get_tic6x_section_type_name): New.
247 (get_section_type_name): Call it.
248 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
251 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
253 * doc/binutils.texi (readelf) <unwind information>: Mention support for
256 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
258 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
260 2010-03-17 Alan Modra <amodra@gmail.com>
262 * readelf.c (dump_arm_unwind): Warning fix.
264 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
266 * MAINTAINERS: Update my email address. List Tristan Gingold
267 as the release branch maintainer.
269 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
271 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
273 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
275 * NEWS: Document .ARM.exidx / .ARM.extab support.
277 * dwarf.c (read_leb128): Make non-static.
278 * dwarf.h (read_leb128): Declare.
279 * readelf.c (REMOVE_ARCH_BITS): Define.
280 (find_section_by_address): New.
281 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
282 (find_symbol_for_address): Handle the Thumb bit for ARM, by
283 using REMOVE_ARCH_BITS.
284 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
285 (arm_free_section, arm_section_get_word, decode_arm_unwind)
286 (dump_arm_unwind, arm_process_unwind): New.
287 (process_unwind): Handle ARM.
289 2010-02-26 Jie Zhang <jie@codesourcery.com>
291 * MAINTAINERS: Update my email address.
293 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
296 * doc/binutils.texi (windmc): Fix synopsis and description of
299 2010-02-19 Alan Modra <amodra@gmail.com>
301 * readelf.c (get_group_flags): Return empty string when flags zero.
302 Add space in other returned values.
303 (process_section_groups): Adjust format string.
305 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
307 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
308 newly permitted attribute values.
309 (arm_attr_tag_Virtualization_use): Likewise.
310 (arm_attr_tag_DIV_use): Add description of new attribute.
311 (arm_attr_tag_MPextension_use_legacy): Likewise.
313 2010-02-15 Nick Clifton <nickc@redhat.com>
315 * po/vi.po: Updated Vietnamese translation.
317 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
319 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
320 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
322 2010-02-08 Jim Blandy <jimb@red-bean.com>
324 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
325 'z' augmentation strings.
327 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
329 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
330 a new address, so as not to reuse a previous, non-related reloc.
332 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
334 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
336 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
338 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
341 2010-01-28 Nick Clifton <nickc@redhat.com>
344 * objdump.c (only): Replace with linked list.
345 (only_size, only_used): Replace with only_list.
346 (process_section_p): Set seen field on matches sections.
347 (add_only): New function.
348 (free_only_list): New function.
349 (disassemble_section): Check only_list.
350 (main): Use add_only and free_only_list.
352 2010-01-26 Tristan Gingold <gingold@adacore.com>
354 * Makefile.am (bin2c): Add libintl dependance and library.
355 * Makefile.in: Regenerate.
357 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
359 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
361 2010-01-19 Ian Lance Taylor <iant@google.com>
363 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
364 with non-ordinary files like /dev/null.
366 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
367 Alan Modra <amodra@gmail.com>
369 * readelf.c (process_file_header): Handle e_phnum extension.
371 2010-01-14 Tristan Gingold <gingold@adacore.com>
373 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
374 and DW_AT_GNAT_descriptive_type.
376 2010-01-13 Tristan Gingold <gingold@adacore.com>
378 * ar.c (main): Use lbasename.
380 * objdump.c (update_source_path): Ditto.
382 2010-01-12 Tristan Gingold <gingold@adacore.com>
384 * makefile.vms (CFLAGS): Turns warnings into informational messages.
386 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
389 * NEWS: Mention --dyn-syms for readelf.
391 * readelf.c (do_dyn_syms): New.
392 (OPTION_DYN_SYMS): Likewise.
393 (options): Add "dyn-syms".
394 (usage): Add --dyn-syms.
395 (parse_args): Handle OPTION_DYN_SYMS.
396 (process_symbol_table): Handle do_dyn_syms.
397 (process_object): Likewise.
398 (process_archive): Likewise.
400 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
401 symbol hash tables for -D.
403 2010-01-11 Nick Clifton <nickc@redhat.com>
405 * NEWS: Mention addition of elfedit.
407 * po/fi.po: Updated Finnish translation.
409 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411 * Makefile.in: Regenerate.
412 * configure: Regenerate.
413 * doc/Makefile.in: Regenerate.
415 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
417 * version.c (print_version): Change to "Copyright 2010".
419 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
421 * elfedit.c (input_elf_type): New.
422 (output_elf_type): Likewise.
423 (elf_type): Likewise.
424 (update_elf_header): Support updating ELF file type.
425 (command_line_switch): Add OPTION_INPUT_TYPE and
428 (usage): Add --input-type and --output-type.
429 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
430 one of --output-mach and --output-type must be specified.
432 * doc/binutils.texi: Document --input-type and --output-type
435 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
437 * doc/binutils.texi: Fix a typo.
439 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
441 * elfedit.c (update_elf_header): Don't change input_elf_class
442 nor input_elf_machine if they are -1.
444 2010-01-08 Tristan Gingold <gingold@adacore.com>
446 * ar.c: Remove bfd_special_undocumented_glue prototype.
448 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
450 * elfedit.c (update_elf_header): Reformat.
452 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
454 * readelf.c (usage): Fix indent for --symbols.
456 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
458 * doc/binutils.texi: Replace -histogram with --histogram.
460 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
463 * Makefile.am (ELFEDIT_PROG): New.
464 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
465 (CFILES): Add elfedit.c.
466 (elfedit_DEPENDENCIES): New.
467 (elfedit_SOURCES): Likewise.
468 (elfedit_LDADD): Likewise.
469 * Makefile.in: Regenerated.
473 * doc/binutils.texi: Document elfedit.
475 * doc/Makefile.am (man_MANS): Add elfedit.1.
477 * doc/Makefile.in: Regenerated.
479 2010-01-06 Tristan Gingold <gingold@adacore.com>
481 * nm.c (usage): Remove extra blanks.
483 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
485 * objcopy.c: Update copyright.
486 * readelf.c: Likewise.
488 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
491 * objcopy.c (copy_object): Remove "Warning: " from error
494 2010-01-04 Nick Clifton <nickc@redhat.com>
497 * readelf.c (dump_section_as_strings): Use two separate
498 invocations of printf() in order to work around bugs in
499 the Solaris 8 implementation.
501 2010-01-04 Nick Clifton <nickc@redhat.com>
503 * po/ru.po: Updated Russian translation.
505 For older changes see ChangeLog-2009
511 version-control: never