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